royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Tour of Heroes(Angular) of Royale version
Date Fri, 17 Aug 2018 15:13:31 GMT
Hi,

Thanks again for the feedback. I may respond with more details later, but very quickly:  the
ASDoc  example is in examples/royale/ASDoc.  It uses DataContainer and uses the routing classes.
 You can see how to determine what the route was in that code.

HTH,
-Alex

On 8/17/18, 7:55 AM, "Yu.Taro" <yestaro@gmail.com> wrote:

    Hi Carlos
        I don't have website, and glad to publish it as a full article with the
    code.
        and about another questions, i will reply soon. 
    
    Hi Piotr
        Thanks for the example, I'll study it to learn more about royale.
    
    Hi Alex
        Thanks for your reply. following is my thought
    
        1. ...Try DataContainer.  I think it is used in the ASDoc example.
    I can't find any example in ASDoc, does the ASDoc location  here
    <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Froyale.apache.org%2Fasdoc%2F%23!org.apache.royale.html%2FDataContainer&amp;data=02%7C01%7Caharui%40adobe.com%7C434270923ebb4416063508d604516ac3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636701145063554950&amp;sdata=6tTvV4HbyOAUwBFW%2FrHmzmQW2Drzig3hAxVW38iYK4s%3D&amp;reserved=0>
  ?
    
        2. ...I thought this was working.  I will look more into it this
    weekend.  Did you try public vs private static var?
    private is fine, public has error. and I will do more test case.
    
        3. ...ArrayList.removeAll().........Looks like Piotr answer this.
    If removeAll() need to use another Beads, I think it is not intuitive for
    developer.
    Agree Beads is a good design, but databinding is why flex attracting me.
    My thought is databinding is core value and should be easy to use. Beads
    should be use for expand UI component additional functionality.
    In fact, I do not like ApplicationDataBinding / ViewDataBinding /
    ContaninerDataBinding / ItemRendererDataBinding 
    Because UI always handle data, almost all UI need to add DataBinding Beads
    and need to know what kind to add.
    I love flex because it's high produtivity, it is easy to use, that developer
    can focus on their business logic.
    
    
        4. ...Can you show us in code what you want to do?  Keep in mind that
    Vector doesn’t really exist in JS so will be implemented as an Array.
    I know JS has no Vector. but my benchmark is TypeScript. TypeScript has
    Generics. We need it in large application.
    
        5. ...Is this the way it is working now or the way you want it to work?
    I don’t know that we have focus events working properly..
    Haha.. Sorry for my pool english. I mean it is working now. following test
    steps
    Type a character --- trigger change event
    Focus out --- trigger another change event (I think this is unreasonable)
    
        8. ...What do you want to happen if there is a route specified?..
    The Use case will be some one call my application from a url link, and my
    application can respond the right view 
    
        9. ...I think that should work, although we do not recommend altering
    typeNames in application code....
    Yes, you are right, my mistake to use typeNames. I should use className.
    
    
    
    
    
    --
    Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C434270923ebb4416063508d604516ac3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636701145063554950&amp;sdata=PYe3wUqx5Y3UgCGsU0c8Pgfql%2BdBL%2BMpdWYU2R5CbUg%3D&amp;reserved=0
    

Mime
View raw message