Re: initialView in Royale

2018-11-18 Thread hferreira
In fact it was the first impression I had.
It's good to know.



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: initialView in Royale

2018-11-17 Thread Alex Harui
The Basic Application tries to encourage an MVC pattern to try to have clean 
separation of data and views of data and controller logic.  In theory, as you 
eventually try to target other platforms/runtimes/devices, you may need to only 
change the view or controller, but not the data if you have good separation.

The emulation components do not have an initialView.

-Alex

On 11/17/18, 4:50 AM, "hferreira"  wrote:

OK, thank you.



--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C3397561acb3649ba2e7908d64c8b488b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636780558471370515&sdata=tFTzv%2Fd2vR3znditRUnsu7qPB5V7edaRj9oA3Z%2BZLzI%3D&reserved=0




Re: initialView in Royale

2018-11-17 Thread hferreira
OK, thank you.



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: initialView in Royale

2018-11-17 Thread Piotr Zarzycki
Hi Hugo,

This exactly how Royale works. It's just mark that following View is
initial. You have more such of a section in whatever component you
creating. For example each component had section "model" or "beads".

I personally like the idea from the very beginning and haven't seen any
strange in that. It force you to some organization, granulation etc. If I
have one View I may have one mode - everything small and easily managable -
Not with 1000 lines of code.

Piotr

On Sat, Nov 17, 2018, 12:06 PM hferreira  wrote:

> OK, thank you.
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>


Re: initialView in Royale

2018-11-17 Thread hferreira
OK, thank you.



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: initialView in Royale

2018-11-17 Thread Carlos Rovira
maybe others could respond to this. That was as is when I came. I think
something similar was in Flex mobile components, although at that time I
think it was done that way to avoid instantiation of views and help the
poor mobile performance at that moment

El sáb., 17 nov. 2018 a las 11:02, hferreira ()
escribió:

> I saw initialView in every example in Royale.
> This seems strange for me.
> Why not put the component instance directly on mxml ?
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>


-- 
Carlos Rovira
http://about.me/carlosrovira


initialView in Royale

2018-11-17 Thread hferreira
I saw initialView in every example in Royale.
This seems strange for me.
Why not put the component instance directly on mxml ?



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/