Re: Suggestion: Emulation tutorial

2018-11-17 Thread hferreira
Great example Carlos. Thank you very much. I will play around with Royale and I have a few question that I will put in different threads. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Why the namespace Adobe ?

2018-11-17 Thread hferreira
Thanks for the explanation. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Why the namespace Adobe ?

2018-11-17 Thread hferreira
Thanks for the explanation. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Where is the creationComplete in jewel ?

2018-11-17 Thread hferreira
With Flex I can use creationComplete with do stuff after the UI was rendered. What is the equivalent for jewel/Roayle ? -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

What is Card ?

2018-11-17 Thread hferreira
I saw a Card in an example that extends from Group. What is the purpose of using Card instead of Group ? I didn't saw any implementation inside Card. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

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/

Beads

2018-11-17 Thread hferreira
Royale is the equivalent for in Flex/Spark ? -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Where is the creationComplete in jewel ?

2018-11-17 Thread Carlos Rovira
see "initComplete" El sáb., 17 nov. 2018 a las 10:58, hferreira () escribió: > With Flex I can use creationComplete with do stuff after the UI was > rendered. > What is the equivalent for jewel/Roayle ? > > > > -- > Sent from: http://apache-royale-users.20374.n8.nabble.com/ > -- Carlos Rovira

Re: What is Card ?

2018-11-17 Thread Carlos Rovira
Hi Hugo, Card is a component that is used in modern UI development (check material design or other actual UI sets). In Flex Planel was something similar, but Flex Panel use to have a titlebar with a close button and a controlbar. Jewel Card, is in development, and right now is a Group with Vertica

Re: Beads

2018-11-17 Thread Carlos Rovira
No. the strand/beads concept is one of the key concepts in Royale. Is composition over inheritance and PAYG (pay as you go). so each component is a strand and has an array of beads. Some beads are configured in CSS You can add more beads in mxml or via AS3 in that way you have the code more modula

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, hferrei

Re: Beads

2018-11-17 Thread hferreira
OK, I understand now. For one hand it's better than Flex SDK and other frameworks, because avoids to load tons of code that I don't need all the time. For another hand I will end up with final mxml with more code but it's OK. Thank you for the detailed explanation. -- Sent from: http://apache-

Re: Where is the creationComplete in jewel ?

2018-11-17 Thread hferreira
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: What is Card ?

2018-11-17 Thread hferreira
Hi Carlos, OK, it's a Panel. Thank you. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Where is the creationComplete in jewel ?

2018-11-17 Thread hferreira
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

Re: Beads

2018-11-17 Thread Piotr Zarzycki
Hugo, I think you should take a look close to that [1]. I think it is really important to understand from the very beginning what PAYG actually is. It saves you a lot of time and makes your eventually contribution to the project on a good quality. [1] https://apache.github.io/royale-docs/Welcome

Re: initialView in Royale

2018-11-17 Thread hferreira
OK, thank you. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Beads

2018-11-17 Thread hferreira
Thank you very much. Now I understand the Express and Basic and Strands and Beads. Express ends up to be more what Flex is about but Basic + Strands and Beads it's the best way to go. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Jewel dependency

2018-11-17 Thread hferreira
Basic cannot work without Jewel. It is correct ? Jewel it's like a UI implementation using Basic like mx ou spark for Flex, correct ? So, what happens if I'm using Jewel and at some point I would like to completely change my UI aspect ? Or Jewel is the first implement, a set of UI with a default

Re: Jewel dependency

2018-11-17 Thread Piotr Zarzycki
Hugo, First was Basic. Later Carlos introduce Jewel which is separate UI set and not using Basic at all. I mean here that Jewel is not using Basic components. If you would like to use emulation + Jewel for good looking that probably require some work. In theory each component should work in the

Re: Jewel dependency

2018-11-17 Thread hferreira
Jewel which is separate UI set and not using Basic at all > OK, like mx and spark in the Flex framework ? emulation + Jewel for good looking that probably require some work > As the first approach no. first get compiled using emulation and then - Using those components make it visible and working

Re: Jewel dependency

2018-11-17 Thread Piotr Zarzycki
I believe you could think like that like mx and spark, but probably going deeper it can be a bit more. I see this like that - If you jump and learn emulation components and how to create and make them visible for your needs - You earn deeper knowledge what is behind the stage. You will gain the po

Re: royale-compiler environment preparation

2018-11-17 Thread Serkan Taş
Hi Alex, I made compiler work, thanks. I found out that namespace definitons in the beginning of file - in application tag - causes compiler to hang. e.g. xmlns:comps="com.likya.pinara.comps.*" When i remove these namespace definitions, than compiler goes on. This workaround let me to cont

Re: Work on Emulation

2018-11-17 Thread Serkan Taş
Let me preserve thread : I found out that namespace definitions in the beginning of file - in application tag - causes compiler to hang. e.g. xmlns:comps="com.likya.pinara.comps.*" When i remove these namespace definitions, than compiler goes on. This workaround let me to continue a little

Re: Jewel dependency

2018-11-17 Thread hferreira
And the most important more of your code won't need as much changes. > Yes. In a framework change perspective is the cheapest approach but for > now is not there iet (let's see in a near future), meanwhile I will check > Royale without emulation. -- Sent from: http://apache-royale-users.203

Re: Where is the creationComplete in jewel ?

2018-11-17 Thread Harbs
Applications have “initialize” and “applicationComplete”. Components have “initComplete”. > On Nov 17, 2018, at 1:02 PM, hferreira wrote: > > Code). > It is normal ? > > > > -- > Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Where is the creationComplete in jewel ?

2018-11-17 Thread hferreira
That's it. Thank you very much. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Apache Royale Debugging news

2018-11-17 Thread hferreira
How to add that cool debug toolbar to VS Code solution ? Currently I have to do cmd + shift + p (macOS) to do a build-debug and then I have to open the folder and then open the file on my browser. I would like to: 1. Add that same toolbar 2. If possible when build, automatically open the index.html

How to apply Jewel theme using VS Code

2018-11-17 Thread hferreira
I can run this sample https://royale.apache.org/customization-through-the-royale-api nice and easy with VS Code. However this project was created with Moonshine. I just grabbed the mxml source code and run on a test project. The UI it's a basic one. I saw a html template that probably it's the tem

Re: Where is the creationComplete in jewel ?

2018-11-17 Thread Alex Harui
The emulation components will have creationComplete if they don't have it already. On 11/17/18, 8:55 AM, "hferreira" wrote: That's it. Thank you very much. -- Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8

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 g

Re: Jewel dependency

2018-11-17 Thread Alex Harui
IT was my hope that more of the experienced committers on Royale would help get the emulation components to run and train the newcomers. Unfortunately, that has not happened so far, and I don't have enough time to do all of it myself in short order. I keep hoping our committers will step up an

Re: royale-compiler environment preparation

2018-11-17 Thread Alex Harui
That’s a great discovery. Can you then build a small test case that reproduces the problem so I can understand why it is hanging? Thanks, -Alex From: Serkan Taş Reply-To: "users@royale.apache.org" Date: Saturday, November 17, 2018 at 7:34 AM To: "users@royale.apache.org" Subject: Re: royale-