Re: [Royale] Flex to FlexJS migration path

2017-10-03 Thread Carlos Rovira
and custom validators), DropdownList... I will not
> >>>>>>>>>>> enumerate all of them but you understand our needs...
> >>>>>>>>>>>Localization
> >>>>>>>>>>> is also very important to us
> >>>>>>>>>>> (ResourceManager) and also quick and flexible layout management
> >>>>>>>>>>> (but
> >>>>>>>>>> we
> >>>>>>>>>>> never use "custom" layouts).
> >>>>>>>>>>> On the other hand, visual skinning is not the most important
> >>>>>>> thing.
> >>>>>>>>>>> In our world, the most important thing is reliability,
> >>>>>>> performance,
> >>>>>>>>>>> and ease of use. Cosmetics comes at the bottom of our wishlist
> >>>>>>>>>>> (even if it is somehow related to ease of use).
> >>>>>>>>>>>
> >>>>>>>>>>> Another problem we face (for custom components) is dealing with
> >>>>>>>>>>> composition vs inheritance.
> >>>>>>>>>>> The concept is *intellectually* cleaner. No doubt about this.
> >>>>>>>>>>> But for the conceptors/implementors, what was initially very
> >>>>>>> simple
> >>>>>>>>>>> (find the closest existing component, extend it, override what
> >>>>>>>>>>>you
> >>>>>>>>>> need
> >>>>>>>>>>> to, add missing parts) suddenly becomes very very complicated
> >>>>>>>>>>> because you have to guess what are the existing parts you
> >>>>>>>>>>>should
> >>>>>>>>>>> assemble
> >>>>>>>>>>> (compose) among the hundreds of existing parts...(some of them
> >>>>>>>>>>> already composed...!). In the "classic" Flex world, component
> >>>>>>>>>>> compositing was used for...composed components ! (components
> >>>>>>>>>>>with
> >>>>>>>>>>> multiple functional
> >>>>>>>>>>> "areas")  Not for standalone components.
> >>>>>>>>>>> We feel like a contractor building a house, who needs to
> >>>>>>>>>>>install
> >>>>>>>>>>> and tweak a faucet, and instead of having to choose between
> >>>>>>>>>>>four
> >>>>>>>>>>> "kind" of faucets we suddenly have to imagine and assemble a
> >>>>>>>>>>> never-seen-before faucet by choosing between all possible
> >>>>>>>>>>>kinds of
> >>>>>>>>>>> pipes, all possible kinds of rubber, all possible kinds of
> >>>>>>>>>>>metal,
> >>>>>>>>>>> all possible kinds of knobs...
> >>>>>>>>>>>
> >>>>>>>>>>> I would like to say that our job is not to *build* tools but to
> >>>>>>>>>>> *choose* tools in order to build usable software solutions. We
> >>>>>>>>>>>are
> >>>>>>>>>>> &qu

Re: Royale name

2017-10-23 Thread Carlos Rovira
Hi Mandeep,

this topic was largely discussed in dev list. This name was the original
codename for Flex when it was created around 2001 in Macromedia. Then
Macromedia changed it to the final name Flex when it was released. We think
that this name has a great sounding and good meaning in terms of something
"magnificent", "marvelous" or "great", and and  like it was explained in
the change name thread.

we are in royale dev list proping a new web site for Apache Royale here:
http://royale.codeoscopic.com

Hope you like it

Thanks

Carlos




2017-10-23 22:54 GMT+02:00 Mandeep Sarma :

> is there are meaning or significance in the Apache Royale name. from a
> marketing perspective it seems like a strange name. Royale is a French word
> often used in English to give an highfalutin allure often ironically, and
> a popular joke in the Pulp Fiction movie. Apache Royal does not seem to
> invoke any link to any topic involving technology.
>
> Can you imagine if Apple had name it's smart phone Apple Royale ? Nokia
> might still have been the #1 mobile phone maker today.
>
> I'm *NOT criticizing* I'm just curious as to the significance of the name.
>
> Mandeep
> <https://www.merriam-webster.com/dictionary/highfalutin>
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Virus-free.
> www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_4941405094827463169_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>



-- 

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05

http://www.codeoscopic.com


Conocenos Avant2 en 1 minuto! <https://avant2.es/#video>


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.


Re: Royale name

2017-10-24 Thread Carlos Rovira
Hi Nicolas,

you're right Flash is perceive like something "bad", but we'll know that's
not true, but is something that was feed through the years and now is
impossible to remove. Flex is collateral damage, IT people knows that Flex
means in the end Flash, for this reason Flex has been fading out through
all this years. So nothing to do here.

The best strategy is to make something fresh, and better not to say "Flash
Player free" (this message would be bad for people that does not know about
us, we will hurting ourself unnecessarily) but "HTML output ready", "HTML
generation" or whatever sounds good (didn't think about the right sentence
with best marketing sounding.







2017-10-24 10:26 GMT+02:00 Idylog - Nicolas Granon :

> Many thanks for this information.
> I must say that the distinction was not very clear to me neither…
>
> Maybe there is some confusion between the “Flex” concept (most people
> outside Flex developers never heard about it, and Flex developers usually
> have a good feeling about it) and the “Flash Player” concept (about which
> absolutely everybody have heard of, as being “bad” and “old” and “evil” and
> “anti-Apple” thus being anti-anything-modern since Apple equals “modern” in
> the mind of the public).
>
> That is the reason why I do not believe that citing Flex necessarily
> associates it with “old” (after all, js is much older!).
> What we want is something AS3 + MXML, keeping what made Flex shine, but
> definitely “Flash Player-free”. Maybe a “Flash Player free” sticker would
> attract more users ?
>
> Nicolas Granon
>
>
>
> De : Alex Harui [mailto:aha...@adobe.com]
> Envoyé : mardi 24 octobre 2017 07:05
> À : users@royale.apache.org
> Objet : Re: Royale name
>
> Hi Mandeep,
>
> IMO, there are two target markets for Royale:  1) people migrating Flex
> apps.  2) People looking to create new JS apps who have no idea what Flex
> is or think Flex is "old".
>
> Also, at least at Apache, there can a difference between a PROJECT name
> and a PRODUCT name.
>
> As you can see from the discussion, folks looking to target the second
> group are concerned about association with the name "Flex".  I could be
> wrong, but I am hopeful that the big push to migrate Flex apps will not
> last much beyond 2020.  It is extremely difficult to rebrand and rename a
> PROJECT "later", so we gambled and picked a name for the PROJECT that had
> no association with "Flex".  However, I am still pushing for us to have a
> PRODUCT named FlexJS as well as a PRODUCT named Royale in order to target
> both groups.  And, if the FlexJS PRODUCT isn't of interest to many folks
> after 2020, we can retire that one PRODUCT without having to rebrand the
> PROJECT.
>
> We simply have not published enough stuff on any official web sites in
> order to get the search engines to find us in the noise, so yeah, we are
> currently hard to find.  We are always interested in volunteers helping out
> in drawing attention to Royale.
>
> And we are always interested in your and other's thoughts on everything
> related to Royale, including your posts on this topic.  The only thing that
> is unlikely to change is the PROJECT name, but you can still influence
> PRODUCT names and how we market.
>
> Thoughts?
> -Alex
>
> From: Mandeep Sarma 
> Reply-To: "users@royale.apache.org" 
> Date: Monday, October 23, 2017 at 9:33 PM
> To: "users@royale.apache.org" 
> Subject: Re: Royale name
>
> I know it's too late and I'm really not trying to be a pest, but as a
> marketing guy I wanted to add in this discussion topic (
> http://apache-flex-development.247.n4.nabble.com/DISCUSS-Name-of-the-
> FlexJS-Fork-td64199i60.html#a64289) Justin M. Hill makes the most sense.
> Even people who no longer use Flex would probably know what FlexJS could be
> about (like me) but Apache Royale? I had a quick look at the subscribers of
> the Apache Flex User mailing list even they seem confused, imagine the rest
> of us.
> Google Trends indicates to me Royale 1. is not a widely used term, 2. the
> searched term does not seem to have a significant relation with computing
> (except for a game).
> Mandeep
>
> On Mon, Oct 23, 2017 at 7:50 PM, Mandeep Sarma 
> wrote:
> my opinion is not important, 1 person does not make a focus group. I
> learned of the name change today because someone approached the company I
> work for to discuss a Flex app conversion. But a search with Google Trends
> may give more insight.
>
> On Mon, Oct 23, 2017 at 5:03 PM, Carlos Rovira <
> carlos.rov...@codeoscopic.com> wrote:
> Hi Mandeep,
>
> this topic was largely discussed in

Re: Modular system with Apache Royale

2017-10-26 Thread Carlos Rovira
Carlos,

Royale has already modules as Doug pointed

best



2017-10-26 5:54 GMT+02:00 doug777 :

> Hi Carlos,
>
> Take a look at this
>
> https://github.com/apache/royale-asjs/tree/develop/
> examples/royale/ModuleExample
>
> Doug
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05

http://www.codeoscopic.com


Conocenos Avant2 en 1 minuto! <https://avant2.es/#video>


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.


Re: Live PrintUI Demo

2017-10-26 Thread Carlos Rovira
Hi Harbs,

So cool! Great to see your production Apache Royale.

Looks great!, I think we have the first entry in "showcase" website
section!

;)

Carlos



2017-10-26 10:28 GMT+02:00 Harbs :

> FYI, We have a publicly available live demo of our Royale app up on our
> site.[1]
>
> To see the Royale app, you might need to click on the “Use HTML5 Editor”
> button (depending on your platform and Flash settings).
>
> (The weird resizing of the app when it launches is to due a script that
> runs when the app launches. That should probably be fixed.)
>
> Harbs
>
> [1]https://marketinginflection.com/printui-demo.php <
> https://marketinginflection.com/printui-demo.php>




-- 

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05

http://www.codeoscopic.com


Conocenos Avant2 en 1 minuto! <https://avant2.es/#video>


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.


Re: RemoteObject

2017-11-16 Thread Carlos Rovira
Hi Carlos,

along with the RemoteObject classes that Doug said you can check the
example at :

- Royale client: /royale-asjs/examples/royale/RemoteObjectAMFTest
- Royale java: /royale-asjs/examples/amf/SampleAmfWebApp

I already tried string, numbers, collection with value objects with
success, but still didn't try in real app where some last detail problems
could emerge.

Please as you use it, let us know if you find any problems and if you find
any fill an issue in github

Thanks!



2017-11-16 6:58 GMT+01:00 doug777 :

> Remote object is here
>
> https://github.com/apache/royale-asjs/tree/develop/
> frameworks/projects/Network/src/main/royale/org/apache/royale/net
>
> Doug
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: build fails

2017-11-17 Thread Carlos Rovira
Hi Carlos,

I just migrated the steps to build with maven adapted to Apache Royale. For
me is more easy to build with maven. You can give it a try if you want:

https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

Let us know if that work for you

Best,

Carlos


2017-11-17 17:54 GMT+01:00 Peter Ent :

> Hi,
>
> I downloaded the archive given at the link in your email - it should be
> the same one you got. After I decompressed it, I went into the directory
> and ran:
>
> % ant -f InstallAdobeSDKs.xml
>
> I did not run anything else, just that ANT command. As the script
> requested, I downloaded an AIRSDK, the playerglobal SWC (turned out to be
> 27_0). The script completed without errors for me.
>
> I did have JAVA_HOME set to a jdk1.7 installation.  I wrote instructions
> for integration with Flash Builder here:
> https://github.com/apache/royale-asjs/wiki/Flash-Builder-4.7
>
> I hope this helps.
> —peter
>
> From: Carlos Cruz 
> Reply-To: "users@royale.apache.org" 
> Date: Friday, November 17, 2017 at 10:40 AM
> To: "users@royale.apache.org" 
> Subject: RE: build fails
>
> Hi Alex;
>
>
>
> I got it from here: http://apacheflexbuild.cloudapp.net:8080/job/royale-
> asjs/lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheflexbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7C%7C04f0755dfb0f44b63c8808d52dd19443%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636465300515226768&sdata=zYz34TajOeV2EUfrmN1RMVK3MGbCiiORNf519KXF3w8%3D&reserved=0>which
> was a link in one of the emails earlier this week (I think) I just clicked
> on the link, it’s the same link you’re sending me.
>
>
>
> Because I wasn’t able to build Royale last week I started testing with
> FlexJS 0.8, should I still only run : ant –f InstallAdobeSDKs.xml ?
>
>
>
> Thx
>
> Carlos
>
>
>
> *From:* Alex Harui [mailto:aha...@adobe.com ]
> *Sent:* Friday, November 17, 2017 1:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: build fails
>
>
>
> Hi Carlos,
>
>
>
> That sounds like you are using an older build?  Where did you get it?  I
> would suggest getting one of the following:
>
>
>
> JS-Only: http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs-jsonly/
> lastSuccessfulBuild/artifact/out
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheflexbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-jsonly%2FlastSuccessfulBuild%2Fartifact%2Fout&data=02%7C01%7C%7C04f0755dfb0f44b63c8808d52dd19443%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636465300515226768&sdata=YSI3mXPikfU%2FmYqpjYMA0L%2FfSjtrsNLQyHe%2BMpXL%2FY4%3D&reserved=0>
> /
>
>
>
> SWF and JS:  http://apacheflexbuild.cloudapp.net:8080/job/royale-
> asjs/lastSuccessfulBuild/artifact/out
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheflexbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout&data=02%7C01%7C%7C04f0755dfb0f44b63c8808d52dd19443%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636465300515226768&sdata=iATxhF3VmsoOgpdr2KsAnt1yzLZLba0uoZi26Tb3%2FjQ%3D&reserved=0>
> /
>
>
>
> Also, you shouldn't need to build the –bin packages, they are already
> built.  If you are using SWF and JS, you will need to run the
> InstallAdobeSDKs.xml script:
>
>
>
>   ant –f InstallAdobeSDKs.xml
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Carlos Cruz 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, November 16, 2017 at 9:33 PM
> *To: *"users@royale.apache.org" 
> *Subject: *build fails
>
>
>
> Hi
>
>
>
> I’m trying to build apache-royale-0.9.0-bin  and I get this message:
>
> BUILD FAILED
>
> c:\apache-royale-0.9.0-bin\build.xml:547: The following error occurred
> while executing this line:
>
> c:\apache-royale-0.9.0-bin\frameworks\build.xml:117: The following error
> occurred while executing this line:
>
> c:\apache-royale-0.9.0-bin\frameworks\build.xml:277: The following error
> occurred while executing this line:
>
> c:\apache-royale-0.9.0-bin\frameworks\projects\Basic\build.xml:61: The
> following error occurred while executing this line:
>
> c:\apache-royale-0.9.0-bin\frameworks\projects\Basic\src\test\royale\build.xml:113:
> FLEX_HOME must be set to use the Flex Ant Tasks
>
>
>
> is this an environment variable I should be setting, I looked in the
> Readme file I couldn’t see anything relating to Flex_home ?
>
>
>
> thx!
>
> Carlos
>



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


Re: building Royale

2017-11-19 Thread Carlos Rovira
Hi Carlos,

to build with maven you must start with compiler:

git clone https://github.com/apache/royale-compiler.git royale-compiler

cd royale-compiler
git checkout develop

mvn -s settings-template.xml clean install -DskipTests

I did this few days ago with a clean maven repository and all goes
perfect. I'm on Mac, but that should not be a difference.Please, let
me know if this first step work for you in order to follow to the
next. Also note that -DskipTests is important since test are still
failing. If you get this working I promise the rest will be easy



2017-11-19 20:17 GMT+01:00 Carlos Cruz :

> I’m wondering if the name Royale was not named after the whisky Crown
> Royale, because surely Apache Royale is going to drive some users to
> drinking (maybe me) J ….. just to share my results. When I try to build
> with ant it fails because it can’t find AdobeAIRSDK.zip even though it’s in
> the download directory as can be seen in the screen shots below, the only
> thing I can think could cause a problem is I moved my download directory
> from the default drive c: to drive d:
>
>
>
> Maven also fails when trying to build the framework as also shown in one
> of the screen shots.
>
>
>
> Thx!
>
> Carlos
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> As for building with Maven
>



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


Re: Royale wiki pull requests (missing building utils on compiler page)

2017-11-20 Thread Carlos Rovira
Hi Justin,

just made the change, you proposed. Please let me know if is ok.

About how to deal with access in GitHub Wiki, I suppose rules of Apache
will apply as well in GitHub Apache projects, but hope Dave could assists
us in how this should be done since I'm as well wanting to know.

Thanks!

Carlos

2017-11-20 0:05 GMT+01:00 Justin Mclean :

> Hi,
>
> It looks like the Royale GitHub wiki is not set up to accept pull
> requests. In most projects wiki access is given to people who ask but as
> it’s in GitHub I assume you need to be a committer in order to edit it.
> Anyone confirm this / expand on what the policy of the project on this is?
>
> Also can someone be kind enough to apply this patch:
>
> diff --git a/Build-Apache-Royale-with-Maven.md b/Build-Apache-Royale-with-
> Maven.md
> index f404c54..abf70b3 100644
> --- a/Build-Apache-Royale-with-Maven.md
> +++ b/Build-Apache-Royale-with-Maven.md
> @@ -46,7 +46,12 @@ It also has a feature of **assembling a fully
> functional Royale distribution** i
>  git checkout develop
>  ```
>
> -3. Build the compiler:
> +3. Build the compiler utilities (if needed):
> +```
> +mvn -s settings-template.xml clean install -P utils
> +```
> +
> +4. Build the compiler:
>  ```
>  mvn -s settings-template.xml clean install
>  ```
>
> Thanks,
> Justin
>



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


Re: building Royale

2017-11-20 Thread Carlos Rovira
Hi Justin,

just made the patch in wiki instructions you proposed. Is strange since I
tried without the need to do "mvn clean install -P utils"
But Piotr pointed that as well. I should test this in a clean system and
see what happen.
Anyway, with all the info I think now everyone could build with maven
Thanks for provide the solution!

Carlos

2017-11-19 23:59 GMT+01:00 Justin Mclean :

> Hi,
>
> Note there are 3 repos you need to build not 2. We have instruction here
> on how to do it of the wiki [1].
>
> However the instruction are not quite complete as the very first time you
> compile the royale-compiler repo you need to do this:
> mvn clean install -P utils
> mvn clean install
>
> Not the utils line first. I think that this may be the issue you are
> running into to get the maven build working.
>
> "-s settings-template.xml" is only needed if you haven’t set up Apache as
> servers in your maven settings.xml file.
>
>
>  apache.releases.https
>
>
>  apache.snapshots.https
>
>
> (You may need dummy username and password tags in the above)
>
> Thanks,
> Justin
>
> 1. https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven




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


Re: building Royale

2017-11-21 Thread Carlos Rovira
Hi Carlos,

for maven, did you add to the maven instruction "-DskipTests"
Test are still failing due to migration not finished yet.

This

mvn -s settings-template.xml clean install -DskipTests

event this

mvn clean install -DskipTests

should work for you.

Alex is Working on renaming and fix the tests is included in that work

Thanks




2017-11-21 3:28 GMT+01:00 Carlos Cruz :

> I wanted to reply yesterday but I got busy.
> In trying to follow the instruction from : https://github.com/apache/
> royale-asjs/wiki/Build-Apache-Royale-with-Maven
>
> the maven build fails on step #6 Build the Framework (royale-asjs)
>
> using "ant" I think the default task is  "all" it fails with the
> previously attached console output, and just building the sdk also fails
> with the error out put it can't find the air sdk zip in the downloads but
> as I exhibited the air sdk zip is there.
>
> Thx!
> Carlos
>
> -Original Message-
>
> From: Justin Mclean [mailto:jus...@classsoftware.com]
> Sent: Sunday, November 19, 2017 5:59 PM
> To: users@royale.apache.org
> Subject: Re: building Royale
>
> Hi,
>
> Note there are 3 repos you need to build not 2. We have instruction here
> on how to do it of the wiki [1].
>
> However the instruction are not quite complete as the very first time you
> compile the royale-compiler repo you need to do this:
> mvn clean install -P utils
> mvn clean install
>
> Not the utils line first. I think that this may be the issue you are
> running into to get the maven build working.
>
> "-s settings-template.xml" is only needed if you haven’t set up Apache as
> servers in your maven settings.xml file.
>
>
>  apache.releases.https
>
>
>  apache.snapshots.https
>
>
> (You may need dummy username and password tags in the above)
>
> Thanks,
> Justin
>
> 1. https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven=
>
>


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


Re: building Royale

2017-11-22 Thread Carlos Rovira
Hi,

Carlos, thanks for report that you finaly get a successful build with
maven. One thing that is not clear in your mail is if you need -DskipTests,
I assume that without that build fails.

About IDE: Peter made a wiki page for Flash Builder:

https://github.com/apache/royale-asjs/wiki/Flash-Builder-4.7

As I'm not a FB user can say if works for maven distribution, but I think
it should since it must be a valid SDK.

Maybe Peter could say something here

Thanks

Carlos


2017-11-22 6:33 GMT+01:00 Piotr Zarzycki :

> Carlos,
>
> I'm not sure whether Maven distribution package is supported in Flash
> Builder. For sure it is working in Moonshine and VSCode. People who are
> using VSCode can provide you guidance how to use it cause it os not yet
> officially support Royale. In case of Moonshine there is an instruction
> here [1]
>
> [1] https://github.com/apache/royale-asjs/wiki/Moonshine-IDE
>
> Thanks, Piotr
>
> On Wed, Nov 22, 2017, 04:11 Carlos Cruz  wrote:
>
>> Hi;
>>
>> Today I was able to build the Royale Framework (royale-asjs) and I was
>> able to build the Royale SDK with C:\royale-asjs>mvn -s
>> settings-template.xml -DdistributionTargetFolder=c:\royale_sdk-0.9.0 -P
>> build-distribution clean install (-DskipTests)
>>
>> * I tried with and without –DskipTests
>>
>>
>>
>> When I try to add the Royale SDK to Flash Builder 4.7 as per
>> https://github.com/apache/royale-asjs/wiki/Flash-Builder-4.7
>>
>> I get a Flex 2 is not supported….
>>
>>
>>
>> Thx!
>>
>> Carlos
>>
>>
>>
>>
>>
>> *From:* carlos.rov...@gmail.com [mailto:carlos.rov...@gmail.com] *On
>> Behalf Of *Carlos Rovira
>> *Sent:* Tuesday, November 21, 2017 7:26 AM
>>
>>
>> *To:* users@royale.apache.org
>> *Subject:* Re: building Royale
>>
>>
>>
>> Hi Carlos,
>>
>>
>>
>> for maven, did you add to the maven instruction "-DskipTests"
>>
>> Test are still failing due to migration not finished yet.
>>
>>
>>
>> This
>>
>>
>>
>> mvn -s settings-template.xml clean install -DskipTests
>>
>> event this
>>
>>
>>
>> mvn clean install -DskipTests
>>
>> should work for you.
>>
>>
>>
>> Alex is Working on renaming and fix the tests is included in that work
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 2017-11-21 3:28 GMT+01:00 Carlos Cruz :
>>
>> I wanted to reply yesterday but I got busy.
>> In trying to follow the instruction from : https://github.com/apache/
>> royale-asjs/wiki/Build-Apache-Royale-with-Maven
>>
>> the maven build fails on step #6 Build the Framework (royale-asjs)
>>
>> using "ant" I think the default task is  "all" it fails with the
>> previously attached console output, and just building the sdk also fails
>> with the error out put it can't find the air sdk zip in the downloads but
>> as I exhibited the air sdk zip is there.
>>
>> Thx!
>> Carlos
>>
>> -Original Message-
>>
>> From: Justin Mclean [mailto:jus...@classsoftware.com]
>> Sent: Sunday, November 19, 2017 5:59 PM
>> To: users@royale.apache.org
>> Subject: Re: building Royale
>>
>>
>> Hi,
>>
>> Note there are 3 repos you need to build not 2. We have instruction here
>> on how to do it of the wiki [1].
>>
>> However the instruction are not quite complete as the very first time you
>> compile the royale-compiler repo you need to do this:
>> mvn clean install -P utils
>> mvn clean install
>>
>> Not the utils line first. I think that this may be the issue you are
>> running into to get the maven build working.
>>
>> "-s settings-template.xml" is only needed if you haven’t set up Apache as
>> servers in your maven settings.xml file.
>>
>>
>>  apache.releases.https
>>
>>
>>  apache.snapshots.https
>>
>>
>> (You may need dummy username and password tags in the above)
>>
>> Thanks,
>> Justin
>>
>> 1. https://github.com/apache/royale-asjs/wiki/Build-Apache-
>> Royale-with-Maven=
>>
>>
>>
>>
>>
>> --
>>
>> Carlos Rovira
>>
>> http://about.me/carlosrovira
>>
>>
>>
>


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


Re: Royale Documentation

2018-01-06 Thread Carlos Rovira
Now I see working!

Thanks Alex! :)

2018-01-05 22:53 GMT+01:00 Alex Harui :

> ASDoc seems to be working again:
>
> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/
> Royale_ASDoc_Example/lastSuccessfulBuild/artifact/
> examples/royale/ASDoc/bin/js-debug/index.html
>
> Still ugly and needs help looking pretty.
>
> -Alex
>
> From: Piotr Zarzycki 
> Reply-To: "users@royale.apache.org" 
> Date: Thursday, January 4, 2018 at 11:20 PM
> To: "users@royale.apache.org" 
> Subject: Re: Royale Documentation
>
> Alex,
>
> Unfortunately I don't know about what JSON file you are talking about.. :(
>
> Piotr
>
> 2018-01-05 8:04 GMT+01:00 Alex Harui :
>
>> I haven't got that far yet.  Still trying to get the JSON files to show
>> up.  Piotr, you should be able to use login to Jenkins and make the
>> changes.
>>
>> -Alex
>>
>> On 1/4/18, 10:33 PM, "Olaf Krueger"  wrote:
>>
>> >I guess Piotr is referring to this [1]
>> >
>> >[1]
>> >https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fsnag.gy%2
>> >F1Zjc89.jpg&data=02%7C01%7Caharui%40adobe.com
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F40adobe.com&data=02%7C01%7Caharui%40adobe.com%7Caeef51b535d94ad7a27508d5540cc209%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636507336134610653&sdata=PAQWNjo3RffoPoIL5VYcZfx1r%2F4zD2YE%2BateZtyRMEE%3D&reserved=0>
>> %7C2c1913a19b5d4b2f159b08d554
>> >063038%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365073
>> 07913268427&sda
>> >ta=Z%2F3TF%2BKPR92SB9Fh7uyS4lfUaPQb%2BesVLDd2dSwprXI%3D&reserved=0
>> >
>> >
>> >
>> >--
>> >Sent from:
>> >https://na01.safelinks.protection.outlook.com/?url=http%3A%
>> 2F%2Fapache-roy
>> >ale-users.20374.n8.nabble.com
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fale-users.20374.n8.nabble.com&data=02%7C01%7Caharui%40adobe.com%7Caeef51b535d94ad7a27508d5540cc209%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636507336134610653&sdata=NlKO9IJu2GoSpEueO6wU89%2BefH%2FA7ldTjDMbzQyKfZ0%3D&reserved=0>
>> %2F&data=02%7C01%7Caharui%40adobe.com
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F40adobe.com&data=02%7C01%7Caharui%40adobe.com%7Caeef51b535d94ad7a27508d5540cc209%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636507336134610653&sdata=PAQWNjo3RffoPoIL5VYcZfx1r%2F4zD2YE%2BateZtyRMEE%3D&reserved=0>
>> %7C2c191
>> >3a19b5d4b2f159b08d554063038%7Cfa7b1b5a7b34438794aed2c178dec
>> ee1%7C0%7C0%7C6
>> >36507307913268427&sdata=%2FfwGr1tCMLU3ij0kmTinYGVFRipAHJYZW
>> STrGO9nUYM%3D&r
>> >eserved=0
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Caeef51b535d94ad7a27508d5540cc209%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636507336134610653&sdata=%2F%2BmLctvCbwfUNFoKBsO8oSJVd4rfi3w4nDGnKtEYo8A%3D&reserved=0>*
>



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


Fwd: Apache Royale (old Apache FlexJS) website is released

2018-01-10 Thread Carlos Rovira
Hi,

just want to let you know about the new Apache Royale website released
today:

More info in the new website:

http://royale.apache.org

You can follow the new twitter account:

http://twitter.com/ApacheRoyale

Or our facebook page:

https://www.facebook.com/Apache-Royale-249305752259661/

Hope you like it

Enjoy! :)

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


Re: RemoteObject

2018-01-15 Thread Carlos Rovira
Hi,

there's an example that we get it working nicely at:

https://github.com/apache/royale-asjs/tree/develop/examples/royale/RemoteObjectAMFTest

you can use that as a starting point for your test

As well a java web app that is used along that royale client example is at:

https://github.com/apache/royale-asjs/tree/develop/examples/amf

thanks


2018-01-15 3:56 GMT+01:00 Carlos Cruz :

> I have a lot of experience with Flex remoting and BlazeDS with Java, but
> with FlexJS and Royale I have none, but extrapolating from some JS tests
> I've done with AMF at this line: amfTestService.send("getShippingMethods",
> []); you have to call a class in gateway.php and a method. Your request
> needs at least 3 properties.
>
>
>
> I'm also assuming your JS file and gateway.php are in the same domain and
> same port (this gave me problems).
>
>
>
> Take what I said regarding my experience with FlexJS and Royale into
> account.
>
>
>
> Carlos
>
>
>
>
>
> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
> *Sent:* Sunday, January 14, 2018 4:01 PM
>
> *To:* users@royale.apache.org
> *Subject:* Re: RemoteObject
>
>
>
> Script tag was stripped from the post:
>
>
>
> import org.apache.royale.events.MouseEvent;
>
>  import org.apache.royale.net.events.FaultEvent;
>
>  import org.apache.royale.net.events.ResultEvent;
>
>
>
>  protected function textbutton_clickHandler(event:
> org.apache.royale.events.MouseEvent):void
>
>  {
>
>statusLabel.text = "calling...";
>
>amfTestService.addEventListener("fault",
> amfTestService_faultHandler);
>
>amfTestService.addEventListener("result",
> amfTestService_resultHandler);
>
>amfTestService.send("getShippingMethods", []);
>
>  }
>
>
>
>  protected function amfTestService_faultHandler(
> event:FaultEvent):void
>
>  {
>
>statusLabel.text = "error!";
>
>  }
>
>
>
>  protected function amfTestService_resultHandler(
> event:ResultEvent):void
>
>  {
>
>statusLabel.text = "result!";
>
>  }
>
>
>
> none of the events are triggered ..URL is http://winkelbeheer.
> cityfashion.be/amfphp/gateway.php
>
>
>
> On Fri, Jan 12, 2018 at 4:55 AM, Carlos Cruz 
> wrote:
>
> I may be blind (and or ignorant as I'm more familiar with Flex) but where
> are you sending an AMF request? I don't see any code that sends a request
> to
> a service and invokes method.
>
>
> -Original Message-
> From: coxfrederic [mailto:coxfrede...@gmail.com]
> Sent: Thursday, January 11, 2018 9:09 PM
> To: users@royale.apache.org
> Subject: Re: RemoteObject
>
> 
>
> http://ns.adobe.com/mxml/2009";
>xmlns:js="library://ns.apache.org/royale/basic" >
> 
>
> 
> 
> 
> 
>
> 
> 
> 
> endPoint="http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
>  destination="Meta"
> source="Meta" />
> 
>
> 
> 
> 
> 
>  click="textbutton_clickHandler(event)" />
> 
> 
> 
> 
>
>
> Any idea why I'm not getting a fault nor success event on this?
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>
>
>



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


Apache Royale Facebook Page

2018-01-15 Thread Carlos Rovira
Hi,

our facebook page is over 30 people so I can select a @username
I selected @ApacheRoyaleSDK, since @apacheroyale was not available, there's
a facebook page for Japanese clothes called "Apache Royale Clothing"

so in facebook links are:


   - @ApacheRoyaleSDK
   
<https://l.facebook.com/l.php?u=https%3A%2F%2Ffb.me%2FApacheRoyaleSDK&h=ATOxyVCNLuNlPSX0YwjtIQ6qsu_fLmnQirEhi7kiXWI1s5-qzfqzgqz1ajK21zTwPwLRNTPpZKJPbLxhnphcLrt02ORNtPx_rISjyPiMqlPpiQf1VTEEk8lymM18-wFlleWePPxH5WH47Mkk>
username
   - fb.me/ApacheRoyaleSDK
   
<https://l.facebook.com/l.php?u=https%3A%2F%2Ffb.me%2FApacheRoyaleSDK&h=ATP8rfPHTjAWyGpvBwdbVflqYyTdLYYYN6y0SgYnIcCJCWCAcicCdJe6NnhYuGJwgSf2wRB58sv_CDeX4p2JV7VJk2iWRkM-QWaSLHLmw0YHP6f_KEAAix7bWwEjC-yJOaBv5xrsedtsTPuz>
to
   go quickly to our facebook page
   - m.me/ApacheRoyaleSDK to send msgs


Please follow the page and click some likes! :)


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


Re: RemoteObject

2018-01-15 Thread Carlos Rovira
Hi Piotr,
I'll put this on my to do list, but have to do some things first.
thanks

2018-01-15 9:26 GMT+01:00 Piotr Zarzycki :

> Hi Carlos,
>
> Can you describe more how to setup those examples ? Could you add to
> RemoteObjectAMFTest README.md file where you describe steps. I would like
> to have AMF on my list for tests and improvements. Whenever I look into
> that I don't know how to proceed with it.
>
> Thanks, Piotr
>
> 2018-01-15 9:21 GMT+01:00 Carlos Rovira :
>
>> Hi,
>>
>> there's an example that we get it working nicely at:
>>
>> https://github.com/apache/royale-asjs/tree/develop/examples/
>> royale/RemoteObjectAMFTest
>>
>> you can use that as a starting point for your test
>>
>> As well a java web app that is used along that royale client example is
>> at:
>>
>> https://github.com/apache/royale-asjs/tree/develop/examples/amf
>>
>> thanks
>>
>>
>> 2018-01-15 3:56 GMT+01:00 Carlos Cruz :
>>
>>> I have a lot of experience with Flex remoting and BlazeDS with Java, but
>>> with FlexJS and Royale I have none, but extrapolating from some JS tests
>>> I've done with AMF at this line: amfTestService.send("get
>>> ShippingMethods", []); you have to call a class in gateway.php and a
>>> method. Your request needs at least 3 properties.
>>>
>>>
>>>
>>> I'm also assuming your JS file and gateway.php are in the same domain
>>> and same port (this gave me problems).
>>>
>>>
>>>
>>> Take what I said regarding my experience with FlexJS and Royale into
>>> account.
>>>
>>>
>>>
>>> Carlos
>>>
>>>
>>>
>>>
>>>
>>> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
>>> *Sent:* Sunday, January 14, 2018 4:01 PM
>>>
>>> *To:* users@royale.apache.org
>>> *Subject:* Re: RemoteObject
>>>
>>>
>>>
>>> Script tag was stripped from the post:
>>>
>>>
>>>
>>> import org.apache.royale.events.MouseEvent;
>>>
>>>  import org.apache.royale.net.events.FaultEvent;
>>>
>>>  import org.apache.royale.net.events.ResultEvent;
>>>
>>>
>>>
>>>  protected function textbutton_clickHandler(event:
>>> org.apache.royale.events.MouseEvent):void
>>>
>>>  {
>>>
>>>statusLabel.text = "calling...";
>>>
>>>amfTestService.addEventListener("fault",
>>> amfTestService_faultHandler);
>>>
>>>amfTestService.addEventListener("result",
>>> amfTestService_resultHandler);
>>>
>>>amfTestService.send("getShippingMethods",
>>> []);
>>>
>>>  }
>>>
>>>
>>>
>>>  protected function amfTestService_faultHandler(ev
>>> ent:FaultEvent):void
>>>
>>>  {
>>>
>>>statusLabel.text = "error!";
>>>
>>>  }
>>>
>>>
>>>
>>>  protected function amfTestService_resultHandler(e
>>> vent:ResultEvent):void
>>>
>>>  {
>>>
>>>statusLabel.text = "result!";
>>>
>>>  }
>>>
>>>
>>>
>>> none of the events are triggered ..URL is http://winkelbeheer.cityfas
>>> hion.be/amfphp/gateway.php
>>>
>>>
>>>
>>> On Fri, Jan 12, 2018 at 4:55 AM, Carlos Cruz 
>>> wrote:
>>>
>>> I may be blind (and or ignorant as I'm more familiar with Flex) but where
>>> are you sending an AMF request? I don't see any code that sends a
>>> request to
>>> a service and invokes method.
>>>
>>>
>>> -Original Message-
>>> From: coxfrederic [mailto:coxfrede...@gmail.com]
>>> Sent: Thursday, January 11, 2018 9:09 PM
>>> To: users@royale.apache.org
>>> Subject: Re: RemoteObject
>>>
>>> 
>>>
>>> http://ns.adobe.com/mxml/2009";
>>>xmlns:js="library://ns.apache.org/royale/basic" >
>>> 
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>> >>
>>> endPoint="http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
>>>  destination="Meta"
>>> source="Meta" />
>>> 
>>>
>>> 
>>> 
>>> 
>>> 
>>> >> click="textbutton_clickHandler(event)" />
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>> Any idea why I'm not getting a fault nor success event on this?
>>>
>>>
>>>
>>> --
>>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>>
>>>
>>>
>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: Substitutes in Apache Royale

2018-02-15 Thread Carlos Rovira
Hi Harbs,

mostly agree but for me ArrayCollection, FaultEvent and ResultEvent are
very close to the business logic we don't want to migrate or try to left
untouched.
I think that three classes should have Royale counterparts to reduce
migration pain.

I'm talking more from a user role or someone that wants in the end make the
same Alina is doing with our Avant2 app at Codeoscopic

thanks


2018-02-15 10:15 GMT+01:00 Gabe Harbs :

> CloseEvent,FaultEvent and ResultEvent are not really needed in Royale.
> Royale takes a much more “laid back” approach to Events and only creates
> new Event classes when they are absolutely needed.
>
> 99% if the uses of ArrayCollection can be replaced with ArrayList which
> exists in Royale.
>
> Sort and SortField do not exist, but I’ve found that I was able to replace
> my uses with a simple Array sort.
>
> For Alert, you can either use Alert or SimpleAlert. Another option is an
> MDL Dialog.
>
> StringUtil is a direct port from mx. The functions in StringUtil will
> gradually be deprecated in favor of package level functions.
>
> Make sure you really need PopUpManager. Like was already mentioned, you
> can probably just use addElement().
>
> HTH,
> Harbs
>
> On Feb 15, 2018, at 9:06 AM, Alina Kazi  wrote:
>
> Hi,
>
> I have replaced few imports in Apache Royale Project after comparison in
> terms of functionality.
> As you all are more familiar to Flex and Apache Royale.
> Are these correct substitutes?
> import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;
> import org.apache.royale.events.CloseEvent; // instead of import
> mx.events.CloseEvent;
> import org.apache.royale.net.events.FaultEvent; // instead of import
> mx.rpc.events.FaultEvent;
> import org.apache.royale.net.events.ResultEvent; //instead of import
> mx.rpc.events.ResultEvent;
> import mx.collections.ArrayCollection; //very similar to
> org.apache.royale.collections.TreeData
> import mx.collections.Sort; // No Alternate found
> import mx.collections.SortField;// No Alternate found
> import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or
> .IPopUpHost
> import org.apache.royale.utils.StringUtil;// instead of import
> mx.utils.StringUtil;
>
> Reference: http://apacheflexbuild.cloudapp.net:
> 8080/job/Royale_ASDoc_Example/lastSuccessfulBuild/artifact/
> examples/royale/ASDoc/bin/js-debug/index.html
>
> Thanks,
> Alina Kazi
>
>
>


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


Re: Substitutes in Apache Royale

2018-02-15 Thread Carlos Rovira
Hi Piotr,

I considered that scenario, but the fact that this classes
(ArrayCollection, ResultEvent and Fault Event), are so close to Flex and to
what all people out there like us did to build their Apps, ends make me
think that this is our task to make this as easy as possible. We are not
talking here of a flex third party component or class that some people was
using. We are talking of some core framework classes that are present in
almost all Flex apps.

So if we want to ease migration of flex to royale, this is a huge point to
consider since it will be lots of DTOs (or VOs or value objects or POJOs)
out there that can be copied without any modification, and the same for
Controllers that works with HTTPService, RemoteObject or WebService
classes...as well lots os BusinessDelegates, and other classes that are
close to the server communication part of the Royale client code.

If we don't create counterparts those means lots of changes in code bases
and not only recreate UI-UX with mxml and new UI sets...

So I think this is important not for concrete users, but for Royale as a
project that has an important task in make as easy as we can ports from
Flex to Royale.




2018-02-15 10:30 GMT+01:00 Piotr Zarzycki :

> Carlos,
>
> I believe it is the matter of trying. Harbs did try and replace his
> ArrayCollection without the problem with ArrayList. I did try it with some
> demo apps and it went well. If you start your migration and face a wall -
> it doesn't have to end up with solution where you adding some things to
> Royale. You can always implement ArrayCollection in your application and
> use it.
>
> My thought is that not everything need to be part of Royale.  :)
>
> Thanks, Piotr
>
> 2018-02-15 10:25 GMT+01:00 Carlos Rovira :
>
>> Hi Harbs,
>>
>> mostly agree but for me ArrayCollection, FaultEvent and ResultEvent are
>> very close to the business logic we don't want to migrate or try to left
>> untouched.
>> I think that three classes should have Royale counterparts to reduce
>> migration pain.
>>
>> I'm talking more from a user role or someone that wants in the end make
>> the same Alina is doing with our Avant2 app at Codeoscopic
>>
>> thanks
>>
>>
>> 2018-02-15 10:15 GMT+01:00 Gabe Harbs :
>>
>>> CloseEvent,FaultEvent and ResultEvent are not really needed in Royale.
>>> Royale takes a much more “laid back” approach to Events and only creates
>>> new Event classes when they are absolutely needed.
>>>
>>> 99% if the uses of ArrayCollection can be replaced with ArrayList which
>>> exists in Royale.
>>>
>>> Sort and SortField do not exist, but I’ve found that I was able to
>>> replace my uses with a simple Array sort.
>>>
>>> For Alert, you can either use Alert or SimpleAlert. Another option is an
>>> MDL Dialog.
>>>
>>> StringUtil is a direct port from mx. The functions in StringUtil will
>>> gradually be deprecated in favor of package level functions.
>>>
>>> Make sure you really need PopUpManager. Like was already mentioned, you
>>> can probably just use addElement().
>>>
>>> HTH,
>>> Harbs
>>>
>>> On Feb 15, 2018, at 9:06 AM, Alina Kazi  wrote:
>>>
>>> Hi,
>>>
>>> I have replaced few imports in Apache Royale Project after comparison in
>>> terms of functionality.
>>> As you all are more familiar to Flex and Apache Royale.
>>> Are these correct substitutes?
>>> import org.apache.royale.html.Alert; //instead of import
>>> mx.controls.Alert;
>>> import org.apache.royale.events.CloseEvent; // instead of import
>>> mx.events.CloseEvent;
>>> import org.apache.royale.net.events.FaultEvent; // instead of import
>>> mx.rpc.events.FaultEvent;
>>> import org.apache.royale.net.events.ResultEvent; //instead of import
>>> mx.rpc.events.ResultEvent;
>>> import mx.collections.ArrayCollection; //very similar to
>>> org.apache.royale.collections.TreeData
>>> import mx.collections.Sort; // No Alternate found
>>> import mx.collections.SortField;// No Alternate found
>>> import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or
>>> .IPopUpHost
>>> import org.apache.royale.utils.StringUtil;// instead of import
>>> mx.utils.StringUtil;
>>>
>>> Reference: http://apacheflexbuild.cloudapp.net:8080/job/Roya
>>> le_ASDoc_Example/lastSuccessfulBuild/artifact/examples/royal
>>> e/ASDoc/bin/js-debug/index.html
>>>
>>> Thanks,
>>> Alina Kazi
>>>
>>>
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: RemoteObject

2018-02-16 Thread Carlos Rovira
gt;> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>
>>>>
>>>> It is not working and showing the following error in the browser:
>>>>
>>>> Failed to load https://winkelbeheer.cityfashion.be/amfphp/gateway.php:
>>>> Response to preflight request doesn't pass access control check: No
>>>> 'Access-Control-Allow-Origin' header is present on the requested resource.
>>>> Origin 'http://localhost' is therefore not allowed access.
>>>> Language.js:238 destination fault handler
>>>>
>>>>1. {code: -1004, message: "Invalid response type.", detail: "Invalid
>>>>XMLHttpRequest response status or type.", data: null}
>>>>   1. code:-1004
>>>>   2. data:null
>>>>   3. detail:"Invalid XMLHttpRequest response status or type."
>>>>   4. message:"Invalid response type."
>>>>   5. __proto__:Object
>>>>
>>>>
>>>>
>>>>
>>>> It is able to compile and run regardless of the errors in compile log:
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> println
>>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>>> he/royale/reflection/AccessorDefinition.js:12: ERROR - required
>>>> "org.apache.royale.reflection.TypeDefinition" namespace not provided
>>>> yet
>>>> goog.require('org.apache.royale.reflection.TypeDefinition');
>>>> ^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> println
>>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>>> he/royale/reflection/AccessorDefinition.js:13: ERROR - required
>>>> "org.apache.royale.reflection.VariableDefinition" namespace not
>>>> provided yet
>>>> goog.require('org.apache.royale.reflection.VariableDefinition');
>>>> ^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> println
>>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>>> he/royale/reflection/MethodDefinition.js:14: ERROR - required
>>>> "org.apache.royale.reflection.TypeDefinition" namespace not provided
>>>> yet
>>>> goog.require('org.apache.royale.reflection.TypeDefinition');
>>>> ^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> println
>>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>>> he/royale/reflection/ParameterDefinition.js:13: ERROR- required
>>>> "org.apache.royale.reflection.TypeDefinition" namespace not provided
>>>> yet
>>>> goog.require('org.apache.royale.reflection.TypeDefinition');
>>>> ^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> println
>>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>>> he/royale/reflection/TypeDefinition.js:15: ERROR - required
>>>> "org.apache.royale.reflection.VariableDefinition" namespace not
>>>> provided yet
>>>> goog.require('org.apache.royale.reflection.VariableDefinition');
>>>> ^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> printSummary
>>>> WARNING: 5 error(s), 0 warning(s)
>>>> The project 'HelloRoyale' has been successfully compiled and optimized.
>>>> 4.566387 seconds
>>>>
>>>>
>>>> On Mon, Jan 15, 2018 at 7:38 PM, Piotr Zarzycki <
>>>> piotrzarzyck...@gmail.com> wrote:
>>>>
>>>>> Carlos,
>>>

Re: RemoteObject

2018-02-16 Thread Carlos Rovira
.apache.royale.reflection.TypeDefinition" namespace not provided
>>>> yet
>>>> goog.require('org.apache.royale.reflection.TypeDefinition');
>>>> ^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> println
>>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>>> he/royale/reflection/AccessorDefinition.js:13: ERROR - required
>>>> "org.apache.royale.reflection.VariableDefinition" namespace not
>>>> provided yet
>>>> goog.require('org.apache.royale.reflection.VariableDefinition');
>>>> ^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> println
>>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>>> he/royale/reflection/MethodDefinition.js:14: ERROR - required
>>>> "org.apache.royale.reflection.TypeDefinition" namespace not provided
>>>> yet
>>>> goog.require('org.apache.royale.reflection.TypeDefinition');
>>>> ^^^^^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> println
>>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>>> he/royale/reflection/ParameterDefinition.js:13: ERROR- required
>>>> "org.apache.royale.reflection.TypeDefinition" namespace not provided
>>>> yet
>>>> goog.require('org.apache.royale.reflection.TypeDefinition');
>>>> ^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> println
>>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>>> he/royale/reflection/TypeDefinition.js:15: ERROR - required
>>>> "org.apache.royale.reflection.VariableDefinition" namespace not
>>>> provided yet
>>>> goog.require('org.apache.royale.reflection.VariableDefinition');
>>>> ^^^
>>>>
>>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>>> printSummary
>>>> WARNING: 5 error(s), 0 warning(s)
>>>> The project 'HelloRoyale' has been successfully compiled and optimized.
>>>> 4.566387 seconds
>>>>
>>>>
>>>> On Mon, Jan 15, 2018 at 7:38 PM, Piotr Zarzycki <
>>>> piotrzarzyck...@gmail.com> wrote:
>>>>
>>>>> Carlos,
>>>>>
>>>>> No problem. I have also couple of huge things related to Royale to do
>>>>> before my hand gets dirty with AMF! :) Unless someone urgently will 
>>>>> needed.
>>>>> :)
>>>>>
>>>>> Thanks, Piotr
>>>>>
>>>>> 2018-01-15 19:27 GMT+01:00 Carlos Rovira :
>>>>>
>>>>>> Hi Piotr,
>>>>>> I'll put this on my to do list, but have to do some things first.
>>>>>> thanks
>>>>>>
>>>>>> 2018-01-15 9:26 GMT+01:00 Piotr Zarzycki :
>>>>>>
>>>>>>> Hi Carlos,
>>>>>>>
>>>>>>> Can you describe more how to setup those examples ? Could you add to
>>>>>>> RemoteObjectAMFTest README.md file where you describe steps. I would 
>>>>>>> like
>>>>>>> to have AMF on my list for tests and improvements. Whenever I look into
>>>>>>> that I don't know how to proceed with it.
>>>>>>>
>>>>>>> Thanks, Piotr
>>>>>>>
>>>>>>> 2018-01-15 9:21 GMT+01:00 Carlos Rovira :
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> there's an example that we get it working nicely at:
>>>>>>>>
>>>>>>>> https://github.com/apache/royale-asjs/tree/de

Re: RemoteObject

2018-02-17 Thread Carlos Rovira
Hi Frederic,
as I stated before, it should work flawlessly since all implementations in
different backends should end doing the same.
If not, that means we can find different scenarios and that other AMF
client code knows how to manage it. For that reason I propose you to start
from our java-royal example (there's a java project example and a royale
project example that works together). If that works ok for you, and was not
broken for something we did in the last months, then I'll try to substitute
java backed by AMFPHP backend and see if that works, and from there you can
evolve.

let me know what do you think about this strategy

thanks Frederic! :)



2018-02-16 15:57 GMT+01:00 Fréderic Cox :

> Hi Carlos,
>
> Sure I’ll see what I can do. Feel I have lots to leatn about Royale and
> AMF (it just works with Flash/AIR so not up to date about the inner
> workings).
>
> I’ll try to test the examples over the weekend. Do you think the AMFPHP
> version could be an issue or is it assumed to work in Royale if it works in
> Flex?
>
> Verstuurd vanaf mijn iPhone
>
> Op 16 feb. 2018 om 12:28 heeft Carlos Rovira 
> het volgende geschreven:
>
> Hi Frederic,
> thanks for filling this and take a look into AMF!
> Hope you could help us a bit with this.
>
> 2018-02-16 0:21 GMT+01:00 Fréderic Cox :
>
>> Hi Alex,
>>
>> I created https://github.com/apache/royale-asjs/issues/119, hope that is
>> in the correct place and with more readable mark-up.
>>
>> Regards,
>>
>> Fréderic
>>
>> On Thu, Feb 15, 2018 at 8:57 PM, Alex Harui  wrote:
>>
>>> Hi Frederic,
>>>
>>> Where is this output you posted coming from, a network monitor?  It was
>>> too hard to read, so please create a bug report on GitHub and post it there.
>>>
>>> You might be able to use a network monitor to compare what Flex sent vs
>>> what Royale is sending.  What does your Flex usage of RemoteObject look
>>> like?
>>>
>>> HTH,
>>> -Alex
>>>
>>> From: Fréderic Cox 
>>> Reply-To: "users@royale.apache.org" 
>>> Date: Thursday, February 15, 2018 at 5:09 AM
>>> To: "users@royale.apache.org" 
>>> Subject: Re: RemoteObject
>>>
>>> Hi Piotr,
>>>
>>> Thanks, I installed the extension and now I'm not getting the CORS error
>>> anymore.
>>> I'm not getting any fault or result event triggered either
>>>
>>> The endPoint set is
>>> https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>>
>>> This is correct, right? (I use this endpoint in Flex and that works fine)
>>>
>>>
>>>1. Request URL:
>>>   https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>>   
>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>>   2. Request Method:
>>>   OPTIONS
>>>   3. Status Code:
>>>   200 OK
>>>   4. Remote Address:
>>>   188.93.153.101:443
>>>   
>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F188.93.153.101%3A443&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=UWqG%2BqQTcL1fTnck9i5BPXmrn3ZlgRf8XCPpQ8EcJrE%3D&reserved=0>
>>>   5. Referrer Policy:
>>>   no-referrer-when-downgrade
>>>   1. Response Headersview source
>>>   1. Connection:
>>>   keep-alive
>>>   2. Content-Encoding:
>>>   gzip
>>>   3. Content-Length:
>>>   286
>>>   4. Content-Type:
>>>   text/html; charset=UTF-8
>>>   5. Date:
>>>   Thu, 15 Feb 2018 13:08:17 GMT
>>>   6. Server:
>>>   nginx
>>>   7. Vary:
>>>   Accept-Encoding
>>>   2. Request Headersview source
>>>   1. Accept:
>>>   */*
>>

Re: RemoteObject

2018-02-17 Thread Carlos Rovira
Hi, I tested some months ago some scenarios with collections sharing some
VOs, and worked, but I think we should try more scenarios since complex
object graphs could be problematic.

Thanks Prashant for looking into this. If you can help trying to evolve the
code I can support you with your pull request to include your changes in
Royale.


2018-02-17 5:37 GMT+01:00 Prashant Kumar :

> Carlos,
>
> If I sends only primary type as int , number , date etc then  all works
> fine but if I sends custom types as a Arraylist , VOs, and other inherited
> types does not work properly.
>
> Regards,
> Prashant
>
> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>
> Updated https://github.com/apache/royale-asjs/issues/119, think I am
> getting closer :-)
>
> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
> wrote:
>
>> Updated https://github.com/apache/royale-asjs/issues/119, can't get the
>> JAVA part to work but changing the AMF endpoint to AMFPHP I get an error
>> code when calling, so maybe that can help further research
>>
>> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
>> wrote:
>>
>>> Any instructions on how to build the example? This is kind of
>>> complicated for me as I have 0 experience with JAVA and even less with
>>> Maven ;-)
>>>
>>
>>
>
>


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


Re: Substitutes in Apache Royale

2018-02-19 Thread Carlos Rovira
Hi Harbs

2018-02-15 10:53 GMT+01:00 Gabe Harbs :
>
> None of the cases where I had ResultEvent and FaultEvent really made a lot
> of sense to keep that logic in Royale (events should generally be of type
> Event), so keeping those events would just mask places where code should
> probably be rewritten.
>
>
I think you was not using AMF. With RemoteObjects, I think Fault and Result
events are a must or at least I can't imagine a way to handle the async
behavior in other way. Maybe your scenario was different right?


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


Re: Substitutes in Apache Royale

2018-02-19 Thread Carlos Rovira
Hi Alex,

2018-02-15 18:16 GMT+01:00 Alex Harui :

> For me, the factors are related to expectations and time.  If Royale has
> an mx.collections.ArrayCollection class, will you expect it to be 100%
> compatible and what will you think if it isn't?  Or has poor performance?
>

No, having similar API and similar behaviour will be sufficient. In the end
Royale is not Flex and all we do to get a better implementation while
maintain the way is used I think it will be ok for people trying to migrate.


>
> So if we say you must search and replace all instances of
> mx.collections.ArrayCollection with 
> org.apache.royale.collections.ArrayCollection,
> does that change your expectations about backward compatibility?  Is that
> too much to ask folks migrating apps?
>

What I have in mind is the most easy way to migrate. This implies *not
touch backend never*. In this way actual Flex apps can still work without
touch Flex and backend code (Java, Php .NET... whatever it could be).
People will only need to recreate the client part hosting it *side by side*
with the flex client.

Then when royale version will be enough robust they can remove flex version
and make royale one the official client.

that would be the *dream scenario"

so for that reason I think namespaces should be the same, but we could have
the new royale namespace for new projects, and keep the old one for
migration purposes. That would be only in classes very near to manage
server side communications and business logic


>
> And if that's ok, what about searching and replacing
> mx.collections.ArrayCollection with org.apache.royale.collections.
> ArrayList?
>

I think that will end with the need to change backend code. this will
defeat the purpose of a good migration since you need to separate backends
for actual flex and new royale clients. So not good :(


>
> We can add more stuff in subclasses of ArrayList to approach
> ArrayCollection, but without weak references in JavaScript, it will leak
> memory if you try to toss out the ArrayCollection but not its internal
> IList.  I would rather set expectations that things are different enough
> that you will have some work to do.
>

Alex, I'm not an expert in this kind of Arquitecture/implementation, but I
want to believe that with a concrete namespace and class names, functions
and properties,  some implementation could be done in js that can perform
and work flawlessly. don't you think?


>
> Then after we decide how to set expectations, there is the issue of
> finding the time to make components that more closely match Flex.  We have
> ArrayList.  Who will work on ArrayCollection and sorting?  The more folks
> can pitch in, the easier we can make migration, although it will never be
> line-for-line.
>
> If you want ResultEvent/FaultEvent, go create it.  It should be easy
> enough to do.  We don't have to all agree.
>
>
Hi, as I said before, I think I'm not the right person for this, I think I
can provide more value in my actual task. If not I'll go that path ;)
Hope someone could take it on his plate ;)

Thanks


> My 2 cents,
> -Alex
>
>
>
-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Substitutes in Apache Royale

2018-02-19 Thread Carlos Rovira
All AMF/RemoteObject API worked with that. And our AMF/RemoteObject
implementation in Royale does the same. In fact we already have FaultEvent
and Result Event... why don't use it? seems to me more complicated to
change it to no use that...
Our code relies heavily in AMF so all that classes are in lots of code to
manage the use of the incoming data for the server and that data is what
gives the result object from the backend to the client to manage it,

2018-02-19 23:00 GMT+01:00 Gabe Harbs :

> I don’t use AMF, but I have no idea why you need specially typed events
> for that.
>
> Maybe I’m missing something…
>
> On Feb 19, 2018, at 11:38 PM, Carlos Rovira 
> wrote:
>
> Hi Harbs
>
> 2018-02-15 10:53 GMT+01:00 Gabe Harbs :
>>
>> None of the cases where I had ResultEvent and FaultEvent really made a
>> lot of sense to keep that logic in Royale (events should generally be of
>> type Event), so keeping those events would just mask places where code
>> should probably be rewritten.
>>
>>
> I think you was not using AMF. With RemoteObjects, I think Fault and
> Result events are a must or at least I can't imagine a way to handle the
> async behavior in other way. Maybe your scenario was different right?
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>


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


Re: RemoteObject

2018-02-20 Thread Carlos Rovira
Hi Prashant,

curious. I think we passed an array of typed VOs, and for example Vehicle
has only 2 strings and a Date. My VO doesn't have a date property, but I
assume that should work. Anyway, could you investigate why that not work?
As I said I can support you with pull request if you want. I'm right now
focused on new Vivid UI Set that can support themes and visual
customization.

thanks!


2018-02-18 13:50 GMT+01:00 Prashant Kumar :

> Following cases not working:
>
> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>
> var v1:Vehicle = new Vehicle();
> v1.name = "Nexon";
> v1.brand = "TATA";
> v1.dom = new Date();
> service.send("addVehicle",[v1]);
>
>
> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
> wrote:
>
>> Hi, I tested some months ago some scenarios with collections sharing some
>> VOs, and worked, but I think we should try more scenarios since complex
>> object graphs could be problematic.
>>
>> Thanks Prashant for looking into this. If you can help trying to evolve
>> the code I can support you with your pull request to include your changes
>> in Royale.
>>
>>
>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>
>>> Carlos,
>>>
>>> If I sends only primary type as int , number , date etc then  all works
>>> fine but if I sends custom types as a Arraylist , VOs, and other inherited
>>> types does not work properly.
>>>
>>> Regards,
>>> Prashant
>>>
>>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>>
>>> Updated https://github.com/apache/royale-asjs/issues/119, think I am
>>> getting closer :-)
>>>
>>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>>> wrote:
>>>
>>>> Updated https://github.com/apache/royale-asjs/issues/119, can't get
>>>> the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
>>>> error code when calling, so maybe that can help further research
>>>>
>>>> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
>>>> wrote:
>>>>
>>>>> Any instructions on how to build the example? This is kind of
>>>>> complicated for me as I have 0 experience with JAVA and even less with
>>>>> Maven ;-)
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
> *Regards,*
> Prashant Kumar* | *Mob.: +91 8408811225 <+91%2084088%2011225>
>



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


Re: RemoteObject

2018-02-21 Thread Carlos Rovira
Many thanks Prashant for your support!

waiting to know about your progress :)

Carlos

2018-02-21 7:27 GMT+01:00 Prashant Kumar :

> Fine, I will investigate this today and update you on the root cause.
>
>
> On 20-Feb-2018 1:53 PM, "Carlos Rovira"  wrote:
>
> Hi Prashant,
>
> curious. I think we passed an array of typed VOs, and for example Vehicle
> has only 2 strings and a Date. My VO doesn't have a date property, but I
> assume that should work. Anyway, could you investigate why that not work?
> As I said I can support you with pull request if you want. I'm right now
> focused on new Vivid UI Set that can support themes and visual
> customization.
>
> thanks!
>
>
> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
>
>> Following cases not working:
>>
>> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>>
>> var v1:Vehicle = new Vehicle();
>> v1.name = "Nexon";
>> v1.brand = "TATA";
>> v1.dom = new Date();
>> service.send("addVehicle",[v1]);
>>
>>
>> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
>> wrote:
>>
>>> Hi, I tested some months ago some scenarios with collections sharing
>>> some VOs, and worked, but I think we should try more scenarios since
>>> complex object graphs could be problematic.
>>>
>>> Thanks Prashant for looking into this. If you can help trying to evolve
>>> the code I can support you with your pull request to include your changes
>>> in Royale.
>>>
>>>
>>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>>
>>>> Carlos,
>>>>
>>>> If I sends only primary type as int , number , date etc then  all works
>>>> fine but if I sends custom types as a Arraylist , VOs, and other inherited
>>>> types does not work properly.
>>>>
>>>> Regards,
>>>> Prashant
>>>>
>>>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>>>
>>>> Updated https://github.com/apache/royale-asjs/issues/119, think I am
>>>> getting closer :-)
>>>>
>>>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>>>> wrote:
>>>>
>>>>> Updated https://github.com/apache/royale-asjs/issues/119, can't get
>>>>> the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
>>>>> error code when calling, so maybe that can help further research
>>>>>
>>>>> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
>>>>> wrote:
>>>>>
>>>>>> Any instructions on how to build the example? This is kind of
>>>>>> complicated for me as I have 0 experience with JAVA and even less with
>>>>>> Maven ;-)
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>>
>> --
>> *Regards,*
>> Prashant Kumar* | *Mob.: +91 8408811225 <+91%2084088%2011225>
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>


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


Re: Say Hello to TranspiledActionScript Idea!

2018-02-22 Thread Carlos Rovira
Hi Piotr,

that looks awesome! Congrats for the great job! Can wait to explore all you
have done!

I think this should be promoted vía social networks to spread the word
(twitter, facebook,...)

again great job! :))


2018-02-22 15:59 GMT+01:00 Piotr Zarzycki :

> Hi Folks,
>
> Almost four months ago, I created a repository on GitHub called
> TranspiledActionScript [1]. It is a place where I'm going to place several
> resources related to Apache Royale. The Examples folder should be the most
> interesting for you, if you want to port your applications from Flex. The
> idea is to present more sophisticated structures of code, maybe use some
> popular JavaScript or ActionScript libraries and check how they cooperate
> with Royale.
>
> My goal is to try the new features in real-life, expose any possible bugs
> and fix them, if it is possible.
>
> *Workflow:*
> Everything that I am going to do will happen on the branches. Once a batch
> of Examples, Utils or Snippets is ready, I will merge them into a master.
> For our purposes, we can call it a "release", but in fact it will rather be
> a confirmation that there is a batch of code which has a stable version.
> Each example will be available online to give you the possibility to play
> with it.
> You will find more information on what I am planning to do and what will
> happen in the repository in the "Issues"[2] tab on GitHub.
>
> Examples will be fully compatible with Moonshine IDE, VSCode and Maven and
> it will be possible to compile all of them to JavaScript!
>
> *What is currently in the repository?*
> I finished three examples - The TranspiledActionScript website [3] and the
> port of Flex PureMVC Employee Admin [4] to Royale using two different
> modules of our framework, i.e. the Basic module [5] and MDL [6].
>
> The TranspiledActionScript website is a small proof that we can create not
> only browser applications, but also responsive websites.
> The PureMVC Employee Admin, on the other hand, proves that it can be used
> in Royale PureMVC framework, which is huge. These two small applications
> are a good example of how the port of your Flex application to Royale can
> look like.
>
> *Patreon:*
> You can support this project on Patreon [7]. Your contribution would
> definitely allow me to spare some time, which I can spend on creating new
> content for the repository.
>
> I encourage you to dig into the code and maybe find something useful,
> which will save your time when porting your Flex applications to Royale.
>
> Please say hello to *TranspiledActionScript*! :)
>
> [1] https://github.com/piotrzarzycki21/TranspiledActionScript
> [2] https://github.com/piotrzarzycki21/TranspiledActionScript/issues
> [3] http://transpiledactionscript.com/
> [4] https://github.com/PureMVC/puremvc-as3-demo-flex-employeeadmin
> [5] https://transpiledactionscript.com/examples/PureMVCEmployeeAdminBasic/
> [6] https://transpiledactionscript.com/examples/PureMVCEmployeeAdminMDL/
> [7] https://www.patreon.com/piotrzarzycki
>
> Thanks,
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: Say Hello to TranspiledActionScript Idea!

2018-02-22 Thread Carlos Rovira
In my MacBook Pro Retina all looks ok. The only think I notice is the need
of browser navigation (needs implement routing like Alex did in ASDoc). In
iPhone, it show a message that mobile version is on the works.
So all ok! :)

2018-02-22 16:27 GMT+01:00 Piotr Zarzycki :

> Btw. I didn't have a chance to test the website on a Retina display, so
> if you have such a display, please let me know how the website looks. :)
>
> Thanks, Piotr
>
> 2018-02-22 16:21 GMT+01:00 Piotr Zarzycki :
>
>> Hi Carlos,
>>
>> Thank you! There will be much more! I will definitely taste also your
>> work in the battlefield as part of that idea! :) Be ready :)
>>
>> Piotr
>>
>>
>> 2018-02-22 16:18 GMT+01:00 Carlos Rovira :
>>
>>> Hi Piotr,
>>>
>>> that looks awesome! Congrats for the great job! Can wait to explore all
>>> you have done!
>>>
>>> I think this should be promoted vía social networks to spread the word
>>> (twitter, facebook,...)
>>>
>>> again great job! :))
>>>
>>>
>>> 2018-02-22 15:59 GMT+01:00 Piotr Zarzycki :
>>>
>>>> Hi Folks,
>>>>
>>>> Almost four months ago, I created a repository on GitHub called
>>>> TranspiledActionScript [1]. It is a place where I'm going to place several
>>>> resources related to Apache Royale. The Examples folder should be the most
>>>> interesting for you, if you want to port your applications from Flex. The
>>>> idea is to present more sophisticated structures of code, maybe use some
>>>> popular JavaScript or ActionScript libraries and check how they cooperate
>>>> with Royale.
>>>>
>>>> My goal is to try the new features in real-life, expose any possible
>>>> bugs and fix them, if it is possible.
>>>>
>>>> *Workflow:*
>>>> Everything that I am going to do will happen on the branches. Once a
>>>> batch of Examples, Utils or Snippets is ready, I will merge them into a
>>>> master. For our purposes, we can call it a "release", but in fact it will
>>>> rather be a confirmation that there is a batch of code which has a stable
>>>> version. Each example will be available online to give you the possibility
>>>> to play with it.
>>>> You will find more information on what I am planning to do and what
>>>> will happen in the repository in the "Issues"[2] tab on GitHub.
>>>>
>>>> Examples will be fully compatible with Moonshine IDE, VSCode and Maven
>>>> and it will be possible to compile all of them to JavaScript!
>>>>
>>>> *What is currently in the repository?*
>>>> I finished three examples - The TranspiledActionScript website [3] and
>>>> the port of Flex PureMVC Employee Admin [4] to Royale using two different
>>>> modules of our framework, i.e. the Basic module [5] and MDL [6].
>>>>
>>>> The TranspiledActionScript website is a small proof that we can create
>>>> not only browser applications, but also responsive websites.
>>>> The PureMVC Employee Admin, on the other hand, proves that it can be
>>>> used in Royale PureMVC framework, which is huge. These two small
>>>> applications are a good example of how the port of your Flex application to
>>>> Royale can look like.
>>>>
>>>> *Patreon:*
>>>> You can support this project on Patreon [7]. Your contribution would
>>>> definitely allow me to spare some time, which I can spend on creating new
>>>> content for the repository.
>>>>
>>>> I encourage you to dig into the code and maybe find something useful,
>>>> which will save your time when porting your Flex applications to Royale.
>>>>
>>>> Please say hello to *TranspiledActionScript*! :)
>>>>
>>>> [1] https://github.com/piotrzarzycki21/TranspiledActionScript
>>>> [2] https://github.com/piotrzarzycki21/TranspiledActionScript/issues
>>>> [3] http://transpiledactionscript.com/
>>>> [4] https://github.com/PureMVC/puremvc-as3-demo-flex-employeeadmin
>>>> [5] https://transpiledactionscript.com/examples/PureMVCEmployeeA
>>>> dminBasic/
>>>> [6] https://transpiledactionscript.com/examples/PureMVCEmployeeA
>>>> dminMDL/
>>>> [7] https://www.patreon.com/piotrzarzycki
>>>>
>>>> Thanks,
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: Say Hello to TranspiledActionScript Idea!

2018-02-22 Thread Carlos Rovira
Already done! :)

2018-02-22 16:31 GMT+01:00 Olaf Krueger :

> Hi Piotr,
> thanks for this really great work!
>
> @all
> Please don't overlook the last link [7]! ;-)
> Go ahead and support Piotr in order to enable him to continue his awesome
> work!
>
> Thanks,
> Olaf
>
> [7] https://www.patreon.com/piotrzarzycki
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: Say Hello to TranspiledActionScript Idea!

2018-02-22 Thread Carlos Rovira
827fae9dea41329ffa08d57a1d95a6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549189863812380&sdata=1%2BBSPoDQTIb86izZnXzmxP31Maizmj%2B1bAHHRXds46Q%3D&reserved=0>
>> [3] http://transpiledactionscript.com/
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftranspiledactionscript.com%2F&data=02%7C01%7Caharui%40adobe.com%7C57827fae9dea41329ffa08d57a1d95a6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549189863812380&sdata=BNCXtIN%2FL%2F%2FmIVqTWyeomd%2Fh1%2FohMwxCnsCxTbgLIEY%3D&reserved=0>
>> [4] https://github.com/PureMVC/puremvc-as3-demo-flex-employeeadmin
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPureMVC%2Fpuremvc-as3-demo-flex-employeeadmin&data=02%7C01%7Caharui%40adobe.com%7C57827fae9dea41329ffa08d57a1d95a6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549189863812380&sdata=3HnAnJHVdxheS5xVGBEi2tHTVW58H6GIWpErQkoY58g%3D&reserved=0>
>> [5] https://transpiledactionscript.com/examples/PureMVCEmployeeA
>> dminBasic/
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftranspiledactionscript.com%2Fexamples%2FPureMVCEmployeeAdminBasic%2F&data=02%7C01%7Caharui%40adobe.com%7C57827fae9dea41329ffa08d57a1d95a6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549189863812380&sdata=gwxjpjXzG4gXZPnHiUKuBlXPQnE2kliXxgfDIDyrao8%3D&reserved=0>
>> [6] https://transpiledactionscript.com/examples/PureMVCEmployeeAdminMDL/
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftranspiledactionscript.com%2Fexamples%2FPureMVCEmployeeAdminMDL%2F&data=02%7C01%7Caharui%40adobe.com%7C57827fae9dea41329ffa08d57a1d95a6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549189863812380&sdata=U2PM3IEJ38hL7n9oH2DZI0L6a%2F4x8i1YSWI%2FLMmKQlo%3D&reserved=0>
>> [7] https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C57827fae9dea41329ffa08d57a1d95a6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549189863812380&sdata=d8hWrp1Tmm5%2FR%2F9%2FYH0yHoxP%2BEeMtqorqKFPpHCeZQM%3D&reserved=0>
>>
>> Thanks,
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C57827fae9dea41329ffa08d57a1d95a6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549189863812380&sdata=d8hWrp1Tmm5%2FR%2F9%2FYH0yHoxP%2BEeMtqorqKFPpHCeZQM%3D&reserved=0>*
>>
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: ap-report

2018-03-08 Thread Carlos Rovira
Hi Peter, Alex,

that sounds very promising :)
Hope this effort works since I'll be interested in try it in our Avant2 app
that is full of spark components (and some mx as well)
I'll check how this effort evolve. Thanks for doing this! :)

2018-03-08 16:18 GMT+01:00 Peter Ent :

> This is great. Thank you. Alex and I are in the process of making a Flex
> MX/Spark emulation suite of components that have the same names as Flex but
> extend or implement the Royale code. This way you can get your Flex apps
> working with Royale with less fuss than having to re-write them.
>
> Having another application's usage of Flex to inspect will help us see
> what common properties and APIs to focus on first.
>
> Regards,
> Peter Ent
> Adobe Systems/Apache Royale Project
>
> From: Piotr Zarzycki 
> Reply-To: "users@royale.apache.org" 
> Date: Thursday, March 8, 2018 at 8:46 AM
> To: "users@royale.apache.org" 
> Subject: Re: ap-report
>
> Guys,
>
> Serkan is also trying to port his application to Royale. He generated
> report.
>
> Thanks, Piotr
>
> 2018-03-08 14:43 GMT+01:00 :
>
>>
>>
>>
>> Please find the script, report and errors at below link
>>
>>
>> https://drive.google.com/drive/folders/1lHTGgOjbFTRgwLWERJ67
>> EHxuogd52Je5?usp=sharing
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fdrive%2Ffolders%2F1lHTGgOjbFTRgwLWERJ67EHxuogd52Je5%3Fusp%3Dsharing&data=02%7C01%7Cpent%40adobe.com%7C59865c44777a435b878608d584fafaa9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636561135839629943&sdata=nY%2BoUdMERyFfMw0ISRVXclGB%2BkwBJCfykvR8bDzwJkU%3D&reserved=0>
>>
>>
>> --
>> Serkan Taş
>> Mobil : +90 532 250 07 71
>> Likya Bilgi Teknolojileri
>> ve İletişim Hiz. Ltd. Şti.
>> www.likyateknoloji.com
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.likyateknoloji.com&data=02%7C01%7Cpent%40adobe.com%7C59865c44777a435b878608d584fafaa9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636561135839629943&sdata=PY5q4yIlXBvL5G%2FnF6hrrGnkbrQuxs8ayxOC%2B6ccrNA%3D&reserved=0>
>>
>> --
>> Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece
>> yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını
>> taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın içeriğini
>> açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle
>> yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden siliniz. Likya
>> Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu mesajın içeriği ile
>> ilgili olarak hiç bir hukuksal sorumluluğu kabul etmez.
>>
>> This electronic mail and any files transmitted with it are intended for
>> the private use of  the persons named above. If you received this message
>> in error, forwarding, copying or use of any of the information is strictly
>> prohibited. Please immediately notify the sender and delete it from your
>> system. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. does not
>> accept legal responsibility for the contents of this message.
>> --
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C59865c44777a435b878608d584fafaa9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636561135839629943&sdata=P6nJ8p4cLSrVhmKqCVj%2BBDNhKnf8ObQUZVBDKrAdEs8%3D&reserved=0>*
>



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


Re: ap-report

2018-03-08 Thread Carlos Rovira
Ok Alex,

I'll do and send it to you so you can look into it.
We have lots of modules and code, think that our system is begin developed
since 2011 (aprox) and introducing lots of new insurance products each
year, so is huge code base.

2018-03-08 17:34 GMT+01:00 Alex Harui :

> Hi Carlos,
>
> It would be great if you could generate an API report for your Avant2 app.
>
> -Alex
>
> From:  on behalf of Carlos Rovira <
> carlosrov...@apache.org>
> Reply-To: "users@royale.apache.org" 
> Date: Thursday, March 8, 2018 at 8:00 AM
>
> To: "users@royale.apache.org" 
> Subject: Re: ap-report
>
> Hi Peter, Alex,
>
> that sounds very promising :)
> Hope this effort works since I'll be interested in try it in our Avant2
> app that is full of spark components (and some mx as well)
> I'll check how this effort evolve. Thanks for doing this! :)
>
> 2018-03-08 16:18 GMT+01:00 Peter Ent :
>
>> This is great. Thank you. Alex and I are in the process of making a Flex
>> MX/Spark emulation suite of components that have the same names as Flex but
>> extend or implement the Royale code. This way you can get your Flex apps
>> working with Royale with less fuss than having to re-write them.
>>
>> Having another application's usage of Flex to inspect will help us see
>> what common properties and APIs to focus on first.
>>
>> Regards,
>> Peter Ent
>> Adobe Systems/Apache Royale Project
>>
>> From: Piotr Zarzycki 
>> Reply-To: "users@royale.apache.org" 
>> Date: Thursday, March 8, 2018 at 8:46 AM
>> To: "users@royale.apache.org" 
>> Subject: Re: ap-report
>>
>> Guys,
>>
>> Serkan is also trying to port his application to Royale. He generated
>> report.
>>
>> Thanks, Piotr
>>
>> 2018-03-08 14:43 GMT+01:00 :
>>
>>>
>>>
>>>
>>> Please find the script, report and errors at below link
>>>
>>>
>>> https://drive.google.com/drive/folders/1lHTGgOjbFTRgwLWERJ67
>>> EHxuogd52Je5?usp=sharing
>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fdrive%2Ffolders%2F1lHTGgOjbFTRgwLWERJ67EHxuogd52Je5%3Fusp%3Dsharing&data=02%7C01%7Cpent%40adobe.com%7C59865c44777a435b878608d584fafaa9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636561135839629943&sdata=nY%2BoUdMERyFfMw0ISRVXclGB%2BkwBJCfykvR8bDzwJkU%3D&reserved=0>
>>>
>>>
>>> --
>>> Serkan Taş
>>> Mobil : +90 532 250 07 71
>>> Likya Bilgi Teknolojileri
>>> ve İletişim Hiz. Ltd. Şti.
>>> www.likyateknoloji.com
>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.likyateknoloji.com&data=02%7C01%7Cpent%40adobe.com%7C59865c44777a435b878608d584fafaa9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636561135839629943&sdata=PY5q4yIlXBvL5G%2FnF6hrrGnkbrQuxs8ayxOC%2B6ccrNA%3D&reserved=0>
>>>
>>> --
>>> Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece
>>> yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını
>>> taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın içeriğini
>>> açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle
>>> yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden siliniz. Likya
>>> Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu mesajın içeriği ile
>>> ilgili olarak hiç bir hukuksal sorumluluğu kabul etmez.
>>>
>>> This electronic mail and any files transmitted with it are intended for
>>> the private use of  the persons named above. If you received this message
>>> in error, forwarding, copying or use of any of the information is strictly
>>> prohibited. Please immediately notify the sender and delete it from your
>>> system. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. does not
>>> accept legal responsibility for the contents of this message.
>>> --
>>>
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C59865c44777a435b878608d584fafaa9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636561135839629943&sdata=P6nJ8p4cLSrVhmKqCVj%2BBDNhKnf8ObQUZVBDKrAdEs8%3D&reserved=0>*
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
> --
>
> <https://na01.safel

Release 0.9.2 in website and social networks

2018-03-19 Thread Carlos Rovira
Hi,

just updated our website with new links to 0.9.2 and a new blog post

http://royale.apache.org/apache-royale-v0-9-2-released/

Facebook: Apache Royale
<https://www.facebook.com/ApacheRoyaleSDK/?hc_ref=ARTROCoP6rvKgbP_3xoPN6lu4gZBk6iMk8FUFolSKPBkDfosBUsIzL7jigjwl9Wqm6o&fref=nf>
Twitter: https://twitter.com/ApacheRoyale/status/975666967737663488

Please spread the word! :)

Thanks

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


Re: Release 0.9.2 in website and social networks

2018-03-19 Thread Carlos Rovira
Hi Piotr,

sorry, I thought release was done. You're right, I see that release was a
draft and not the final one.
Since I said I'll be doing this on Monday I thought all was ok, but seems
it's not. Maybe we should only wait, since this we'll be solved in the next
few mins or hours

Sorry for the confusion

Thanks

Carlos


2018-03-19 10:51 GMT+01:00 Piotr Zarzycki :

> Carlos,
>
> But Alex didn't announce it yet on Dev list. Shouldn't be this first done
> than later everywhere ? Are you able to download files ? Because I'm not...
>
>
>
> 2018-03-19 10:42 GMT+01:00 Carlos Rovira :
>
>> Hi,
>>
>> just updated our website with new links to 0.9.2 and a new blog post
>>
>> http://royale.apache.org/apache-royale-v0-9-2-released/
>>
>> Facebook: Apache Royale
>> <https://www.facebook.com/ApacheRoyaleSDK/?hc_ref=ARTROCoP6rvKgbP_3xoPN6lu4gZBk6iMk8FUFolSKPBkDfosBUsIzL7jigjwl9Wqm6o&fref=nf>
>> Twitter: https://twitter.com/ApacheRoyale/status/975666967737663488
>>
>> Please spread the word! :)
>>
>> Thanks
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: Release 0.9.2 in website and social networks

2018-03-19 Thread Carlos Rovira
Ok Alex,
tomorrow I'll remove the note in the blog post and refresh the announcement
in twitter and facebook
thanks!

2018-03-19 16:20 GMT+01:00 Alex Harui :

> I thought it was done too, but for some reason, SVN did not accept the
> commit of the artifacts to the release server.  I didn't even bother to
> check if it had worked or not since it had worked just fine in the two
> prior releases.  I manually committed the artifacts just now and we'll have
> to wait another 24 hours or so to make sure they propagate.
>
> -Alex
>
> From:  on behalf of Carlos Rovira <
> carlosrov...@apache.org>
> Reply-To: "users@royale.apache.org" 
> Date: Monday, March 19, 2018 at 2:10 AM
> To: "users@royale.apache.org" 
> Subject: Re: Release 0.9.2 in website and social networks
>
> Hi Piotr,
>
> sorry, I thought release was done. You're right, I see that release was a
> draft and not the final one.
> Since I said I'll be doing this on Monday I thought all was ok, but seems
> it's not. Maybe we should only wait, since this we'll be solved in the next
> few mins or hours
>
> Sorry for the confusion
>
> Thanks
>
> Carlos
>
>
> 2018-03-19 10:51 GMT+01:00 Piotr Zarzycki :
>
>> Carlos,
>>
>> But Alex didn't announce it yet on Dev list. Shouldn't be this first done
>> than later everywhere ? Are you able to download files ? Because I'm not...
>>
>>
>>
>> 2018-03-19 10:42 GMT+01:00 Carlos Rovira :
>>
>>> Hi,
>>>
>>> just updated our website with new links to 0.9.2 and a new blog post
>>>
>>> http://royale.apache.org/apache-royale-v0-9-2-released/
>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Froyale.apache.org%2Fapache-royale-v0-9-2-released%2F&data=02%7C01%7Caharui%40adobe.com%7C66d5236adc5b43c03b9808d58d81bc5d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636570510712003935&sdata=YxA6vlNqOWJI%2BhjPpLFP17Ow681GPFL%2F07K8gAAU60w%3D&reserved=0>
>>>
>>> Facebook: Apache Royale
>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FApacheRoyaleSDK%2F%3Fhc_ref%3DARTROCoP6rvKgbP_3xoPN6lu4gZBk6iMk8FUFolSKPBkDfosBUsIzL7jigjwl9Wqm6o%26fref%3Dnf&data=02%7C01%7Caharui%40adobe.com%7C66d5236adc5b43c03b9808d58d81bc5d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636570510712003935&sdata=1oJ%2FSwHGTVDI6pOoyNhcCgs8XbZtDINzC9imMqmcprE%3D&reserved=0>
>>> Twitter: https://twitter.com/ApacheRoyale/status/975666967737663488
>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FApacheRoyale%2Fstatus%2F975666967737663488&data=02%7C01%7Caharui%40adobe.com%7C66d5236adc5b43c03b9808d58d81bc5d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636570510712003935&sdata=99BtAXBUkcTYxmag%2FWpe7ythVniZEAm9vqhMOUKsNEM%3D&reserved=0>
>>>
>>> Please spread the word! :)
>>>
>>> Thanks
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C66d5236adc5b43c03b9808d58d81bc5d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636570510712003935&sdata=Xv7Aam7xoEbej9gf9efdj80kkAoa9UQVdv%2B9qnzDAGg%3D&reserved=0>
>>>
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C66d5236adc5b43c03b9808d58d81bc5d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636570510712003935&sdata=n1JTasw0PXPVwZBhcjreiNZQqRXfJWTlg7gjZui5G%2F8%3D&reserved=0>*
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C66d5236adc5b43c03b9808d58d81bc5d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636570510712003935&sdata=Xv7Aam7xoEbej9gf9efdj80kkAoa9UQVdv%2B9qnzDAGg%3D&reserved=0>
>
>


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


Re: [ANNOUNCE] Apache Royale 0.9.2 released

2018-03-23 Thread Carlos Rovira
Great Piotr! thank for doing this! :)

2018-03-23 7:49 GMT+01:00 Piotr Zarzycki :

> Hi,
>
> Release has been published on GitHub [1]
>
> [1] https://github.com/apache/royale-asjs/releases/tag/apache-royale-0.9.2
>
> Thanks, Piotr
>
> 2018-03-22 17:57 GMT+01:00 Alex Harui :
>
>> The Apache Royale community is pleased to announce the release of Apache
>> Royale 0.9.2.
>>
>> The Apache Royale project is a continuation of the previous effort called
>> FlexJS to produce a next-generation of the Apache Flex SDK that lets
>> developers to use MXML and ActionScript to generate HTML/JS/CSS
>> applications which can run natively in browsers. The cross-compiled code
>> can also be used in Apache Cordova (Adobe PhoneGap) mobile applications.
>>
>> (Apache Flex is a highly productive, open source application framework for
>> building and maintaining expressive applications that deploy on Adobe
>> Flash and Adobe AIR to provide a consistent experience on all major
>> browsers, desktops and devices.)
>>
>> This release should be considered ‘beta' quality. The purpose of this
>> release is to gather feedback about the features and implementation
>> strategies, and to recruit new contributors. We hope to grow the code base
>> into an SDK and tool chain that delivers the highest productivity when
>> developing applications that can run on many platforms. Beta releases may
>> not handle production needs.
>>
>> Please file bugs at:
>>
>>   https://github.com/apache/royale-asjs/issues
>>
>> If you happen to know it is a compiler issue, please use:
>>
>>   https://github.com/apache/royale-compiler/issues
>>
>> For questions about how to use Royale, send email to
>> users@royale.apache.org.  For questions and feedback on the development
>> of
>> the source code in the release, send email to d...@royale.apache.org.
>>
>> Apache Royale is available in source and binary form from the Apache
>> mirrors:
>>
>> Source:
>> http://www.apache.org/dyn/closer.lua/royale/0.9.2/apache-
>> royale-0.9.2-src.t
>> ar.gz
>> http://www.apache.org/dyn/closer.lua/royale/0.9.2/apache-
>> royale-0.9.2-src.z
>> ip
>> <http://www.apache.org/dyn/closer.lua/royale/0.9.2/apache-royale-0.9.2-src.zip>
>>
>> Binary:
>> http://www.apache.org/dyn/closer.lua/royale/0.9.2/binaries/
>> apache-royale-0.
>> 9.2-bin-js.tar.gz
>> <http://www.apache.org/dyn/closer.lua/royale/0.9.2/binaries/apache-royale-0.9.2-bin-js.tar.gz>
>> http://www.apache.org/dyn/closer.lua/royale/0.9.2/binaries/
>> apache-royale-0.
>> 9.2-bin-js.zip
>>
>> Binary with SWF support:
>> http://www.apache.org/dyn/closer.lua/royale/0.9.2/binaries/
>> apache-royale-0.
>> 9.2-bin-js-swf.tar.gz
>> <http://www.apache.org/dyn/closer.lua/royale/0.9.2/binaries/apache-royale-0.9.2-bin-js-swf.tar.gz>
>> http://www.apache.org/dyn/closer.lua/royale/0.9.2/binaries/
>> apache-royale-0.
>> 9.2-bin-js-swf.zip
>>
>> When downloading from a mirror site, please remember to verify the
>> downloads using signatures or sha512 hashes.
>>
>> The binary packages can also be installed via NPM.
>>
>> Mac:
>>
>>   sudo npm install @apache-royale/royale-js -g
>>
>> Or for SWF Support:
>>
>>   sudo npm install @apache-royale/royale-js-swf -g
>>
>>
>>
>> Windows:
>>
>>   npm install @apache-royale/royale-js -g
>>
>> Or for SWF Support:
>>
>>   npm install @apache-royale/royale-js-swf -g
>>
>>
>>
>> See the README for more information. The language reference (ASDoc) is
>> here:
>>
>>   http://royale.apache.org/asdoc/
>>
>> Additional documentation is here:
>>
>>   https://apache.github.io/royale-docs/
>>
>> The documentation is still a work in progress.  Volunteers are welcome to
>> help improve it.  Visit http://royale.apache.org/ for links to other
>> resources.
>>
>> Please try Royale and become involved in shaping the future of application
>> development.
>>
>> The Apache Royale Community
>>
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Apache Royale Speaker needed!

2018-04-04 Thread Carlos Rovira
Hi

Adobe AIR developers are looking for a speaker to talk about Apache Royale,
please check the tweet and if you're interested contact them to organizar
it:

https://twitter.com/air_devs/status/981430292509577217

Thanks!

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


IntelliJ IDEA official support request

2018-04-04 Thread Carlos Rovira
Hi,

just filled the following ticket to ask JetBrains to add official support
for Apache Royale

https://youtrack.jetbrains.com/issue/IDEA-189525

Please, vote and share to make it relevant for this IDE

thanks

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


Re: IntelliJ IDEA official support request

2018-04-04 Thread Carlos Rovira
Hi Piotr,

no, I copied the content from that one, but that was about FlexJS ;), and
that doesn't exists anymore )or it's abandoned in favor of Royale). People
asked in twitter about IDEA, and I created the new ticket so people can
vote for Apache Royale. Think that people coming that doesn't know anything
about Royale, will doesn't understand what is "FlexJS", so is important to
unify the discussion, and having this new ticket can be shared in social
networks so people can vote for "Apache Royale Support"

I think we should as well gather information ask dby Alexander and report
in the new ticket.
IDEA-116986
<https://youtrack.jetbrains.com/issue/IDEA-116986#comment=27-2412292>

As well Om, expressed interest in create an apache royale plugin, but
Alexander talks about extend the official open source one:

"Flex support is now open-source and pull requests are welcome.

I need to clarify one thing: I didn't say that any FlexJS related pull
requests would be rejected. I said that they shouldn't break existing
functionality and shouldn't add anything FlexJS-specific to those users who
do not use FlexJS. Specifically, I said that a brand new FlexJS SDK type
would be rejected ('type' here means a class that extends SdkType
<https://github.com/JetBrains/intellij-community/blob/0b960ec6ad0ea0a971cdc80d1bee2c9a1a9cd0d6/platform/lang-api/src/com/intellij/openapi/projectRoots/SdkType.java>).
SDK type is a global entity visible to *all* users, so instead I suggested
to add FlexJS-specific bits based on existing Flex SDK type
<https://github.com/JetBrains/intellij-plugins/blob/59a1cac1b9e81d5152df6cafe966b6bf382fcece/flex/src/com/intellij/lang/javascript/flex/sdk/FlexSdkType2.java>
."



2018-04-04 15:32 GMT+02:00 Piotr Zarzycki :

> Carlos,
>
> But that ticket is already in place for a long time. They asked us several
> months ago for some statistics. I'm surprised that you forgot about that,
> since you have created it. :) [1]
>
> [1] https://youtrack.jetbrains.com/issue/IDEA-116986
>
> Thanks,
> Piotr
>
> 2018-04-04 15:26 GMT+02:00 Carlos Rovira :
>
>> Hi,
>>
>> just filled the following ticket to ask JetBrains to add official support
>> for Apache Royale
>>
>> https://youtrack.jetbrains.com/issue/IDEA-189525
>>
>> Please, vote and share to make it relevant for this IDE
>>
>> thanks
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


New Blog Example in website

2018-04-06 Thread Carlos Rovira
Hi,

you can see and share the new Blog Example on "Using Jewel Alert Control"

http://royale.apache.org/using-jewel-alert-control/

Enjoy and Share!! :)


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


Re: New Blog Example in website

2018-04-06 Thread Carlos Rovira
Thanks Om and Prashant,

I think we need controls to look awesome, and that's where I'm putting a
huge effort in my day to day work.
Royale is an awesome technology, and we just need to make it shine so
people coming would want to use it and
for this reason is a must for us to "dress" it as best as we can.

Thanks for you words and this encourages me to continue making Royale more
good-looking! :)


2018-04-07 6:05 GMT+02:00 Prashant Kumar :

> Carlos,
>
> This is almost similar to regular FlexSDK,  nice work. Thanks
>
> On Sat 7 Apr, 2018, 12:02 AM OmPrakash Muppirala, 
> wrote:
>
>> Dude, that is some serious eye candy.  Exactly what Royale needed.
>> Thanks for putting all the hard work for this!
>>
>> Regards,
>> Om
>>
>> On Fri, Apr 6, 2018 at 2:42 AM, Carlos Rovira 
>> wrote:
>>
>>> Hi,
>>>
>>> you can see and share the new Blog Example on "Using Jewel Alert Control"
>>>
>>> http://royale.apache.org/using-jewel-alert-control/
>>>
>>> Enjoy and Share!! :)
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>


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


Re: Button(s) and variations.

2018-04-07 Thread Carlos Rovira
Hi Serkan,

that would be awesome. More hands on emulation will be great to get results
sooner.

Thanks! :)

Carlos


2018-04-07 13:17 GMT+02:00 Serkan Taş :

> Hi Alex,
>
> I am going to be happy to help you and can try to do something valuable
> for the process of emulation creation.
>
> Serkan
>
> 07.04.2018 09:20 tarihinde Alex Harui yazdı:
>
> Hi Serkan,
>>
>> You are correct that are several buttons.  Basic Button just creates a
>> simple HTML .  There are limits to how nice you can make it look.
>> Other buttons try to make nicer looking buttons that you can control more
>> aspects of the visuals.
>>
>> We are in the process of creating even more buttons that emulate the most
>> popular APIs on MX and Spark Button.  It might be better for you to help
>> us create and polish these emulations.  Then you may not have to change
>> your code as much.
>>
>> HTH,
>> -Alex
>>
>> On 4/6/18, 1:05 PM, "Serkan Taş"  wrote:
>>
>> Hi,
>>>
>>> I see that there are several buttons, js, svg and now j. I was using mx
>>> and s ones previously.
>>>
>>> I am not sure which one fits best, need advice.
>>>
>>> Second one, is there any equivalent of Form and FormItem structure ?
>>>
>>> It is takin time tp make the examples work on moonshine and check for
>>> the needed component if exist and then learn :)
>>>
>>> Thanks in advance
>>>
>>> Regards,
>>>
>>> Serkan.
>>>
>>>
>>>
>>>
>>>
>


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


Re: 404 Error

2018-04-07 Thread Carlos Rovira
Hi John

hope I could help in some way and liberate a bit of Alex time

Most of this can be seen in our website, I'll copy some fragments from
there to illustrate you:

2018-04-07 20:21 GMT+02:00 John Barrett :

> Aloha Alex,
>
> I am so sorry to get back to you you so late, I have been crazy busy on
> this Meteorology/Oceanography project (It’s what I went to school for
> actually) and I am finally done!
>
> I Would love:
>
> (1) A brief introduction on what Royal is(what it is and where did it come
> from and why)
>

Apache Royale™ <http://royale.apache.org/> is a highly productive open
source application technology for building expressive frontend applications
that outputs to different formats and deploys consistently on all major
browsers, desktops and devices.

So for me is use AS3 and MXML as you did in Flex, but this time you can
produce different outputs:
- HTML/JS/CSS
- SWF
- in the future more outputs like WebAssembly, Swift, Java/Android, etc...

This makes you use the same platform languages and IDEs, but as you'll have
problems with what is the trending technology deployment since you can
switch from HTML to SWF or whatever.

That needs to make Royale to implement the concrete platform. We're now
focused on HTML and SWF, and maybe mainly HTML (with some SWF coverage)



> (2) what IDE can you use and how you can set them up
> a) basically everything needed to get started and get and get coding
>
>
See this

http://royale.apache.org/ides/

And check this as well:

https://github.com/apache/royale-asjs/wiki/Quick-Start



> (3) create a simple project
>

You should check examples folder in royale-asjs repository

https://github.com/apache/royale-asjs/tree/develop/examples/royale



>
> (4) Q& A
>


http://royale.apache.org/faq/


You have lots to read! ;)

Let us know more when you have read this links

Happy Royaleing! :)))



>
> What do you think?
>
> Mahalo
> Johnny
>



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


Re: Talk on Royale (was Re: 404 Error)

2018-04-09 Thread Carlos Rovira
Hi Jhon,

2018-04-09 8:27 GMT+02:00 John Barrett :

> I agree with you that most people would rather not switch IDE, so that is
> an interesting. I did some research and I will do a blog on how do install
> FlexJS into FDT/Flash Builder really any Eclipse Based IDE, and if if
> needed I can do it again during the meeting. This is if FlexJS=Apache Royal
> which I think that it is.
>
>
FlexJS was the old name of this project and was located as part of "Apache
Royale" project.
The new project forked from FlexJS is "Apache Royale" (not Royal), and is
top level project at Apache referenced in this url [1]

Hope this make it more clear to you :)

thanks!

Carlos

[1] https://royale.apache.org


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


Re: MXRoyale build problem

2018-04-09 Thread Carlos Rovira
t;
>>>>>>>HTH,
>>>>>>>-Alex
>>>>>>>
>>>>>>>From: Serkan Taş >>>>>><mailto:serkan@likyateknoloji.com>>
>>>>>>>Reply-To: "users@royale.apache.org
>>>>>>><mailto:users@royale.apache.org>" >>>>>><mailto:users@royale.apache.org>>
>>>>>>>Date: Saturday, April 7, 2018 at 11:41 PM
>>>>>>>To: "users@royale.apache.org
>>>>>>><mailto:users@royale.apache.org>" >>>>>><mailto:users@royale.apache.org>>
>>>>>>>Subject: MXRoyale build problem
>>>>>>>
>>>>>>>Hi Alex,
>>>>>>>
>>>>>>>Here is the steps and result (i spent some time but could
>>>>>>>not find a resolution) :
>>>>>>>
>>>>>>>git clone https://github.com/apache/royale-asjs.git
>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%
>>>>>>> 3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%
>>>>>>> 7C01%7Caharui%40adobe.com%7C79ddabf4e3994a9db38908d59d1bde7c
>>>>>>> %7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63658766548133
>>>>>>> 8047&sdata=Vt%2FkEc6N8JZOQ6lviXl5apzi8hwZFJMlYPVWklcSItc%3D&
>>>>>>> reserved=0>
>>>>>>>
>>>>>>>cd royale-asjs
>>>>>>>
>>>>>>>git checkout feature/MXRoyale
>>>>>>>
>>>>>>>    mvn celan
>>>>>>>
>>>>>>>Result :
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>07.04.2018 17:51 tarihinde Alex Harui yazdı:
>>>>>>>
>>>>>>>>Hi Serkan,
>>>>>>>>
>>>>>>>>That would be great.  We need the help.
>>>>>>>>
>>>>>>>>We have a wiki page about Emulation components here [1].
>>>>>>>>And one person has been learning how to help in this long
>>>>>>>> thread[2].
>>>>>>>>
>>>>>>>>[1] has an API list, but it does not take into account your
>>>>>>>> API usage.  If
>>>>>>>>you want to integrate your list with the current list, that
>>>>>>>> might be
>>>>>>>>useful.
>>>>>>>>
>>>>>>>>Let us know if you have other questions or need help getting
>>>>>>>> started.
>>>>>>>>
>>>>>>>>Thanks,
>>>>>>>>-Alex
>>>>>>>>
>>>>>>>>[1]https://github.com/apache/royale-asjs/wiki/emulation-com
>>>>>>>> ponents
>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%
>>>>>>>> 3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2Femulati
>>>>>>>> on-components&data=02%7C01%7Caharui%40adobe.com%7C79ddabf
>>>>>>>> 4e3994a9db38908d59d1bde7c%7Cfa7b1b5a7b34438794aed2c178decee1
>>>>>>>> %7C0%7C0%7C636587665481338047&sdata=BVdRuWskUsnCNLp1IM49Dvi3
>>>>>>>> %2BN6zg5O0VmBJ9hRG60M%3D&reserved=0>
>>>>>>>>[2]
>>>>>>>>https://lists.apache.org/thread.html/f05b54c5721a3c96a6ef5f
>>>>>>>> 74180461240ab1a3
>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%
>>>>>>>> 3A%2F%2Flists.apache.org%2Fthread.html%2Ff05b54c5721a3c
>>>>>>>> 96a6ef5f74180461240ab1a3&data=02%7C01%7Caharui%40adobe.com%7
>>>>>>>> C79ddabf4e3994a9db38908d59d1bde7c%7Cfa7b1b5a7b34438794aed2c1
>>>>>>>> 78decee1%7C0%7C0%7C636587665481338047&sdata=r1FEpWeuAka37dOH
>>>>>>>> YtAYofsM2Ol5rq6h8LhSWkQTUUw%3D&reserved=0>f764dc9b4f0cb0e33a@%
>>>>>>>> 3Cusers.royale.apache.org%3E
>>>>>>>><mailto:f764dc9b4f0cb0e33a@%3Cusers.royale.apache.org%3E>
>>>>>>>>
>>>>>>>>On 4/7/18, 4:17 AM, "Serkan Taş">>>>>>> .com>
>>>>>>>><mailto:serkan@likyateknoloji.com>  wrote:
>>>>>>>>
>>>>>>>>Hi Alex,
>>>>>>>>>
>>>>>>>>>I am going to be happy to help you and can try to do
>>>>>>>>> something valuable
>>>>>>>>>for the process of emulation creation.
>>>>>>>>>
>>>>>>>>>Serkan
>>>>>>>>>
>>>>>>>>>07.04.2018 09:20 tarihinde Alex Harui yazdı:
>>>>>>>>>
>>>>>>>>>>Hi Serkan,
>>>>>>>>>>
>>>>>>>>>>You are correct that are several buttons.  Basic Button
>>>>>>>>>> just creates a
>>>>>>>>>>simple HTML .  There are limits to how nice you
>>>>>>>>>> can make it
>>>>>>>>>>look.
>>>>>>>>>>Other buttons try to make nicer looking buttons that you
>>>>>>>>>> can control
>>>>>>>>>>more
>>>>>>>>>>aspects of the visuals.
>>>>>>>>>>
>>>>>>>>>>We are in the process of creating even more buttons that
>>>>>>>>>> emulate the
>>>>>>>>>>most
>>>>>>>>>>popular APIs on MX and Spark Button.  It might be better
>>>>>>>>>> for you to help
>>>>>>>>>>us create and polish these emulations.  Then you may not
>>>>>>>>>> have to change
>>>>>>>>>>your code as much.
>>>>>>>>>>
>>>>>>>>>>HTH,
>>>>>>>>>>-Alex
>>>>>>>>>>
>>>>>>>>>>On 4/6/18, 1:05 PM, "Serkan Taş">>>>>>>>> .com>
>>>>>>>>>><mailto:serkan@likyateknoloji.com>  wrote:
>>>>>>>>>>
>>>>>>>>>>Hi,
>>>>>>>>>>>
>>>>>>>>>>>I see that there are several buttons, js, svg and now j.
>>>>>>>>>>> I was using mx
>>>>>>>>>>>and s ones previously.
>>>>>>>>>>>
>>>>>>>>>>>I am not sure which one fits best, need advice.
>>>>>>>>>>>
>>>>>>>>>>>Second one, is there any equivalent of Form and FormItem
>>>>>>>>>>> structure ?
>>>>>>>>>>>
>>>>>>>>>>>It is takin time tp make the examples work on moonshine
>>>>>>>>>>> and check for
>>>>>>>>>>>the needed component if exist and then learn :)
>>>>>>>>>>>
>>>>>>>>>>>Thanks in advance
>>>>>>>>>>>
>>>>>>>>>>>Regards,
>>>>>>>>>>>
>>>>>>>>>>>Serkan.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>-- Piotr Zarzycki
>>>>>
>>>>>Patreon: _https://www.patreon.com/piotrzarzycki
>>>>><https://www.patreon.com/piotrzarzycki>_
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>> Patreon: _https://www.patreon.com/piotrzarzycki_
>>>>
>>>>
>>>
>
> --
> Serkan Taş
> Mobil : +90 532 250 07 71
> Likya Bilgi Teknolojileri
> ve İletişim Hiz. Ltd. Şti.
> www.likyateknoloji.com
>
> --
> Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece
> yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını
> taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın içeriğini
> açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle
> yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden siliniz. Likya
> Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu mesajın içeriği ile
> ilgili olarak hiç bir hukuksal sorumluluğu kabul etmez.
>
> This electronic mail and any files transmitted with it are intended for
> the private use of  the persons named above. If you received this message
> in error, forwarding, copying or use of any of the information is strictly
> prohibited. Please immediately notify the sender and delete it from your
> system. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. does not
> accept legal responsibility for the contents of this message.
> --
>
>


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


Re: Work on Emulation

2018-04-09 Thread Carlos Rovira
02%7C01%7Cpent%40adobe.com%7Cae87b81b8bb84d66366908d59bad26de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636586090342823354&sdata=BOlmdD4BAIE7tS67mehcEb2jP8vdh1S885zO9OBIQqs%3D&reserved=0>
> %
> >>7C8
> >>1
> >>6
> >>60be1d8504effc16c08d5988f0c53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
> >>C0%
> >>7
> >>C
> >>636582662509500604&sdata=apy1DAJqmHGIjCdQDz4g0K36NbZATtHhA%2Foqc659Bjs
> >>%3D
> >>&
> >>r
> >>eserved=0>
> >>and
> >>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
> >>b.c
> >>o
> >>m%2Fapache%2Froyale-asjs%2Fpull%2F140&data=02%7C01%7Cpent%40adobe.com
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F40adobe.com&data=02%7C01%7Cpent%40adobe.com%7Cae87b81b8bb84d66366908d59bad26de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636586090342823354&sdata=BOlmdD4BAIE7tS67mehcEb2jP8vdh1S885zO9OBIQqs%3D&reserved=0>
> %
> >>7C1
> >>9
> >>e6271d08cd4b9abe1908d59a1502c5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%
> >>7C0
> >>%
> >>7C636584337418863731&sdata=6eljm%2FuiMELY9NLSm3lt9mV3%2BfInbFfsAWuo4ZZ
> >>UMS
> >>M
> >>%3D&reserved=0
> >><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub
> .
> >>c
> >>o
> >>m%2Fapache%2Froyale-asjs%2Fpull%2F140&data=02%7C01%7Cpent%40adobe.com
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F40adobe.com&data=02%7C01%7Cpent%40adobe.com%7Cae87b81b8bb84d66366908d59bad26de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636586090342823354&sdata=BOlmdD4BAIE7tS67mehcEb2jP8vdh1S885zO9OBIQqs%3D&reserved=0>
> %
> >>7C8
> >>1
> >>6
> >>60be1d8504effc16c08d5988f0c53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
> >>C0%
> >>7
> >>C
> >>636582662509500604&sdata=XehX29ItsGAwo33xue7KI9uD4PEJS3gGhS7ad1E7iSk%3
> >>D&r
> >>e
> >>s
> >>erved=0>
> >>
> >>
> >>-Alina
> >>
> >>
> >>
> >>-Original Message-
> >>From: piotrz [mailto:pio...@apache.org]
> >>Sent: Friday, March 30, 2018 5:14 PM
> >>To:
> >>users@royale.apache.org <mailto:users@royale.apache.org>
> >>Subject: Re: Work on Emulation
> >>I see your new pull request and it doesn't looks good. [1] As you can
> >>see on the screenshot you did it against develop from feature/MXRoyale
> >>and it contains 94 commits.
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapach
> >>e-r
> >>o
> >>yale-users.20374.n8.nabble.com
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fyale-users.20374.n8.nabble.com&data=02%7C01%7Cpent%40adobe.com%7Cae87b81b8bb84d66366908d59bad26de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636586090342823354&sdata=%2FT3CFWQA8u%2FTtdoVjkJVW%2B4wuugGWthAJ5FpGnGYQPc%3D&reserved=0>
> %2Ffile%2Ft1%2Fnew_pull_request.pn
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frequest.pn&data=02%7C01%7Cpent%40adobe.com%7Cae87b81b8bb84d66366908d59bad26de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636586090342823354&sdata=N%2Bsq%2BVUX6VTSXkFaQvVHy%2FNTVpj6YjrtXoOY82Qrabo%3D&reserved=0>
> &data=
> >>02%
> >>7
> >>C01%7Cpent%40adobe.com
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F40adobe.com&data=02%7C01%7Cpent%40adobe.com%7Cae87b81b8bb84d66366908d59bad26de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636586090342823354&sdata=BOlmdD4BAIE7tS67mehcEb2jP8vdh1S885zO9OBIQqs%3D&reserved=0>
> %7C19e6271d08cd4b9abe1908d59a1502c5%7Cfa7b1b5a7b
> >>344
> >>3
> >>8794aed2c178decee1%7C0%7C0%7C636584337418863731&sdata=rHNZfTbTa2Z8iLXt
> >>slP
> >>o
> >>gffyHAy%2B76ZnN7AgZytmsSw%3D&reserved=0
> >>g
> >><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapach
> >>e-r
> >>o
> >>

Re: MXRoyale build problem

2018-04-09 Thread Carlos Rovira
Hi,

@Alex, the trick with rebase at least for me is that I must to have very
clear the steps to do or I can fail. For example, as I come again this
month to work on  Royale, I forget how to do that, and have to re-learn
all. For example in Sourcetree you must to set in preferences and option to
enable the "force push" or if you find conflicts, you must to solve and
recall do a "continue rebase" instead of commit the resolution of
conflicts. But in the end, for me always is worth it, since you ensure are
working against the latest develop changes and that's always good.

@Piotr, sorry but I don't get the relationship between rebase and having
lots of branches, since for me is always about the relation between
"develop" and ", but maybe as I said is just something
subjective of how your brain deal with this kind of task, is the same as
when people choose and IDE, or a way of building (ant vs maven)

In the end, for me Rebase makes the branches more clean and organized than
several merges from the develop to the working branch. So subjective ;)

Carlos



2018-04-09 18:32 GMT+02:00 Piotr Zarzycki :

> To me rebasing have always sense when there are many branches created,
> daily. In that case structures were much more cleaner if you rebase from
> time to time.
>
> 2018-04-09 18:27 GMT+02:00 Alex Harui :
>
>> Hi Carlos,
>>
>> I've had too many difficulties rebasing branches that I no longer do it.
>> I always use straight merging these days when merging between branches.  I
>> suppose we can try rebasing and aborting if it fails and then falling back
>> to merging, but for sure, it doesn't seem time-efficient to try to fix
>> rebase conflicts in many cases.
>>
>> My 2 cents,
>> -Alex
>>
>> From:  on behalf of Carlos Rovira <
>> carlosrov...@apache.org>
>> Reply-To: "users@royale.apache.org" 
>> Date: Monday, April 9, 2018 at 1:57 AM
>> To: "users@royale.apache.org" 
>> Subject: Re: MXRoyale build problem
>>
>> Hi Alex (and others)
>>
>> I'm a huge advocate of Rebase in GIT. Please check this [1], since it
>> could make your life easier.
>> Doing in a branch rebase periodically helps you to solve conflicts soon
>> and ensure your work are synced with develop, so when you need to merge the
>> entire branch you'll find no conflicts and your code should just work.
>>
>> As many of this workflows, are completely subjective and could be of your
>> liking or not...I only give to you so you can see if it fits for you as it
>> fits for me.
>>
>> thanks
>>
>>
>> [1] Rebase in git
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmarkmail.org%2Fmessage%2Fp4rp4kqdsa3xddxd%3Fq%3Dlist%3Aorg%252Eapache%252Eincubator%252Eflex-dev%2Brebase%2Bin%2Bgit&data=02%7C01%7Caharui%40adobe.com%7C34cd7613299a4b3dbac908d59df801be%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636588610876456379&sdata=jrDAG9%2Bkg6neD6GnpXMUAjTfZC%2ByyBQuYjo5LV2xSp0%3D&reserved=0>
>>
>>
>>
>> 2018-04-09 9:51 GMT+02:00 :
>>
>>>
>>> Quoting Serkan Taş :
>>>
>>> I realised that issue but tought it is normal...
>>>>>
>>>>> Here is th branch info...
>>>>>
>>>>>
>>>>> D:\dev\git\emulation_works\royale-asjs>git status
>>>>> On branch feature/MXRoyale
>>>>> Your branch is up to date with 'origin/feature/MXRoyale'.
>>>>>
>>>>> nothing to commit, working tree clean
>>>>>
>>>>> D:\dev\git\emulation_works\royale-asjs>cd ..
>>>>>
>>>>> D:\dev\git\emulation_works>cd royale-compiler
>>>>>
>>>>> D:\dev\git\emulation_works\royale-compiler>git status
>>>>> On branch develop
>>>>> Your branch is up to date with 'origin/develop'.
>>>>>
>>>>> nothing to commit, working tree clean
>>>>>
>>>>> D:\dev\git\emulation_works\royale-compiler>cd ..
>>>>>
>>>>> D:\dev\git\emulation_works>cd royale-typedefs
>>>>>
>>>>> D:\dev\git\emulation_works\royale-typedefs>git status
>>>>> On branch develop
>>>>> Your branch is up to date with 'origin/develop'.
>>>>>
>>>>> nothing to commit, working tree clean
>>>>>
>>>>> D:\dev\git\emulation_works\royale-typedefs>
>>>>>
>>>>&

Re: MXRoyale build problem

2018-04-09 Thread Carlos Rovira
Hi Alex,

my problem as I started to use again was that I forgot to check "force
push" completely. Without that you are not able to do a rebase, instead you
end with a corrupt branch. That was my problem, and I finaly remember that
I need to set up that. The way I use to rebase was teach to me by a
recognized expert in Git use, and sometimes I use to ask him when I have
doubts about how to do something. Rebase is completely a best practice in
some scenarios, like the one I use, work in separate branch and rebase over
develop, then merge to develop, since you end with a set of consecutive
clean commits as if all that commits will be done in that point. No
intricate tree object graphs and if some external person comes to see the
graph will understand far better that something that is intrincated. Jewel
branch was done in this way, and you can see that is very clean.

said that (as well I understand now what Piotr said), I only want to
express a way that is working for me, but if you all think is not good for
you, it's ok, as I said is all subjective, and each one should use what he
want (always that doesn't break anything , of course)

Thanks


2018-04-09 19:05 GMT+02:00 Alex Harui :

> Hi Carlos,
>
> Using "force push" sounds scary/wrong to me.  Note also that I had trouble
> working with your branches and you reported similar problems.  The general
> advice on the internet is to not rebase public branches, and I think I've
> hit scenarios around that often enough to want to give up on rebase when
> merging public branches.
>
> I always use rebase when pulling changes in from the branch I'm working
> from.  That's where it makes sense to me.
>
> My 2 cents,
> -Alex
>
> From:  on behalf of Carlos Rovira <
> carlosrov...@apache.org>
> Reply-To: "users@royale.apache.org" 
> Date: Monday, April 9, 2018 at 9:46 AM
>
> To: "users@royale.apache.org" 
> Subject: Re: MXRoyale build problem
>
> Hi,
>
> @Alex, the trick with rebase at least for me is that I must to have very
> clear the steps to do or I can fail. For example, as I come again this
> month to work on  Royale, I forget how to do that, and have to re-learn
> all. For example in Sourcetree you must to set in preferences and option to
> enable the "force push" or if you find conflicts, you must to solve and
> recall do a "continue rebase" instead of commit the resolution of
> conflicts. But in the end, for me always is worth it, since you ensure are
> working against the latest develop changes and that's always good.
>
> @Piotr, sorry but I don't get the relationship between rebase and having
> lots of branches, since for me is always about the relation between
> "develop" and ", but maybe as I said is just something
> subjective of how your brain deal with this kind of task, is the same as
> when people choose and IDE, or a way of building (ant vs maven)
>
> In the end, for me Rebase makes the branches more clean and organized than
> several merges from the develop to the working branch. So subjective ;)
>
> Carlos
>
>
>
> 2018-04-09 18:32 GMT+02:00 Piotr Zarzycki :
>
>> To me rebasing have always sense when there are many branches created,
>> daily. In that case structures were much more cleaner if you rebase from
>> time to time.
>>
>> 2018-04-09 18:27 GMT+02:00 Alex Harui :
>>
>>> Hi Carlos,
>>>
>>> I've had too many difficulties rebasing branches that I no longer do
>>> it.  I always use straight merging these days when merging between
>>> branches.  I suppose we can try rebasing and aborting if it fails and then
>>> falling back to merging, but for sure, it doesn't seem time-efficient to
>>> try to fix rebase conflicts in many cases.
>>>
>>> My 2 cents,
>>> -Alex
>>>
>>> From:  on behalf of Carlos Rovira <
>>> carlosrov...@apache.org>
>>> Reply-To: "users@royale.apache.org" 
>>> Date: Monday, April 9, 2018 at 1:57 AM
>>> To: "users@royale.apache.org" 
>>> Subject: Re: MXRoyale build problem
>>>
>>> Hi Alex (and others)
>>>
>>> I'm a huge advocate of Rebase in GIT. Please check this [1], since it
>>> could make your life easier.
>>> Doing in a branch rebase periodically helps you to solve conflicts soon
>>> and ensure your work are synced with develop, so when you need to merge the
>>> entire branch you'll find no conflicts and your code should just work.
>>>
>>> As many of this workflows, are completely subjective and could be of
>>> your liking or not...I only

Re: MXRoyale build problem

2018-04-10 Thread Carlos Rovira
jewel branch was already merged, so since some days I'm not using it. I
didn't remove it totally, but I'll do in some days (maybe after 0.9.3
release)
Maybe for this reason you are a bit confused with that branch, since is now
deprecated and not synced.

I think my use of rebase is totally ok, so don't worry since I'm using it
since the beginning with MDL and now with Jewel, and branches are ok.

2018-04-10 9:21 GMT+02:00 Harbs :

> I suspect that Carlos is doing something different because the
> jewel-ui-set branch currently shows 22 commits ahead and 127 behind on my
> machine.
>
> Considering I made no local changes, I should not be *any* commits ahead.
> That would seem like origin has had its history modified which is not good.
> The only way I would be able to pull in the jewel branch would be to rebase
> locally...
>
> My $0.02,
> Harbs
>
> On Apr 10, 2018, at 7:52 AM, Alex Harui  wrote:
>
> Hi Carlos,
>
> Does that mean you are using "force push" when rebasing?  I don't use it
> when rebasing and lots of internet articles advise against using it.  If it
> is working for you, fine, but I wouldn't want any "forcing" to be a
> recommended practice for others given the advice I see out there.
>
> The key thing for any of us is to understand the differences between
> merging and rebasing and using them appropriately.  I don't want to take
> the time to go through it now, but the recommended practice AIUI, is to use
> merge for public branches and rebase when possible for non-public
> branches.  MXRoyale is a public branch.
>
> Thanks,
> -Alex
>
> From:  on behalf of Carlos Rovira <
> carlosrov...@apache.org>
> Reply-To: "users@royale.apache.org" 
> Date: Monday, April 9, 2018 at 3:01 PM
> To: "users@royale.apache.org" 
> Subject: Re: MXRoyale build problem
>
> Hi Alex,
>
> my problem as I started to use again was that I forgot to check "force
> push" completely. Without that you are not able to do a rebase, instead you
> end with a corrupt branch. That was my problem, and I finaly remember that
> I need to set up that. The way I use to rebase was teach to me by a
> recognized expert in Git use, and sometimes I use to ask him when I have
> doubts about how to do something. Rebase is completely a best practice in
> some scenarios, like the one I use, work in separate branch and rebase over
> develop, then merge to develop, since you end with a set of consecutive
> clean commits as if all that commits will be done in that point. No
> intricate tree object graphs and if some external person comes to see the
> graph will understand far better that something that is intrincated. Jewel
> branch was done in this way, and you can see that is very clean.
>
> said that (as well I understand now what Piotr said), I only want to
> express a way that is working for me, but if you all think is not good for
> you, it's ok, as I said is all subjective, and each one should use what he
> want (always that doesn't break anything , of course)
>
> Thanks
>
>
> 2018-04-09 19:05 GMT+02:00 Alex Harui :
>
>> Hi Carlos,
>>
>> Using "force push" sounds scary/wrong to me.  Note also that I had
>> trouble working with your branches and you reported similar problems.  The
>> general advice on the internet is to not rebase public branches, and I
>> think I've hit scenarios around that often enough to want to give up on
>> rebase when merging public branches.
>>
>> I always use rebase when pulling changes in from the branch I'm working
>> from.  That's where it makes sense to me.
>>
>> My 2 cents,
>> -Alex
>>
>> From:  on behalf of Carlos Rovira <
>> carlosrov...@apache.org>
>> Reply-To: "users@royale.apache.org" 
>> Date: Monday, April 9, 2018 at 9:46 AM
>>
>> To: "users@royale.apache.org" 
>> Subject: Re: MXRoyale build problem
>>
>> Hi,
>>
>> @Alex, the trick with rebase at least for me is that I must to have very
>> clear the steps to do or I can fail. For example, as I come again this
>> month to work on  Royale, I forget how to do that, and have to re-learn
>> all. For example in Sourcetree you must to set in preferences and option to
>> enable the "force push" or if you find conflicts, you must to solve and
>> recall do a "continue rebase" instead of commit the resolution of
>> conflicts. But in the end, for me always is worth it, since you ensure are
>> working against the latest develop changes and that's always good.
>>
>> @Piotr, sorry but I don't get th

Re: Work on Emulation

2018-04-10 Thread Carlos Rovira
Hi Alina,

as you create the PR (or later in the same PR) you have a right sidebar
with:

-Reviewers

-Assignees (that should be filled with your user)

-Labels (this could be "bug", "enhancement",...whatever you, Alex, and
Peter agree to idetificate better a set of PRs)

-Projects (here is where you add to "Emulation Components", since there's
automatic rules, Github will add it to TO DO directly)

-Milestone (this should be better filled by Alex, or if he wants you can
fill it with his consideration. If he wants to merge all this work for
v0.9.3, Milestone should be v0.9.3

I that's all

Thanks!

Carlos




2018-04-10 8:14 GMT+02:00 Alina Kazi :

> Hi Carlos,
>
> How can I add my Pull Request to Emulation Components ?
>
> and How can i change the status
>
> https://github.com/apache/royale-asjs/projects/4
>
> To do -> In progress ->Done
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* carlos.rov...@gmail.com [mailto:carlos.rov...@gmail.com] *On
> Behalf Of *Carlos Rovira
> *Sent:* Monday, April 09, 2018 7:06 PM
> *To:* users@royale.apache.org
>
> *Subject:* Re: Work on Emulation
>
>
>
> Hi Alina,
>
>
>
> I added some of your PRs to new project "Emulation Components", please if
> you create new add to this project so the tickets can be handler
> automatically.
>
> As well if you can configure for new (and old issues) the info in the
> right sidebar of GitHub, that would be of much help to better organize the
> effort
>
>
>
> thanks :)
>
>
>
>
>
>
>
> 2018-04-09 14:17 GMT+02:00 Alina Kazi :
>
>
>
> https://github.com/apache/royale-asjs/pull/157
>
>
>
> for mx.core.EventPriority
>
>
>
> -Alina Kazi
>
>
>
> *From:* Alina Kazi [mailto:alina.k...@d-bz.com]
> *Sent:* Monday, April 09, 2018 4:45 PM
> *To:* users@royale.apache.org
> *Subject:* RE: Work on Emulation
>
>
>
> https://github.com/apache/royale-asjs/pull/156
>
> for IViewCursor and ICollectionView
>
>
>
> -Alina Kazi
>
> *From:* Alina Kazi [mailto:alina.k...@d-bz.com]
> *Sent:* Monday, April 09, 2018 3:55 PM
> *To:* users@royale.apache.org
> *Subject:* RE: Work on Emulation
>
>
>
> Please review and/or comment on the changes in pull request For
> SandboxMouseEvent and ResizeEvent
>
> https://github.com/apache/royale-asjs/pull/155
>
>
>
> Thanks in Advance J
>
> Alina Kazi
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.k...@d-bz.com]
> *Sent:* Monday, April 09, 2018 2:57 PM
> *To:* users@royale.apache.org
> *Subject:* RE: Work on Emulation
>
>
>
> Also review Pull Request for mx.effects.IEffectInstance and
> mx.events.EffectEvent
>
> https://github.com/apache/royale-asjs/pull/153
>
>
>
> Thanks in Advance J
>
> Alina Kazi
>
>
>
> *From:* Alina Kazi [mailto:alina.k...@d-bz.com]
> *Sent:* Monday, April 09, 2018 12:04 PM
> *To:* users@royale.apache.org
> *Subject:* RE: Work on Emulation
>
>
>
>
>
> Could Someone Please Review these Pull Requests
>
> https://github.com/apache/royale-asjs/pull/150
>
> https://github.com/apache/royale-asjs/pull/151
>
> https://github.com/apache/royale-asjs/pull/152
>
>
>
> Thanks in Advance J
>
> Alina Kazi
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.k...@d-bz.com]
> *Sent:* Monday, April 09, 2018 10:25 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Work on Emulation
>
>
>
> Thanks Peter.
>
>
>
> *From:* Peter Ent [mailto:p...@adobe.com]
> *Sent:* Friday, April 06, 2018 7:59 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Work on Emulation
>
>
>
> I merged these changes into the MXRoyale branch. They compiled cleanly.
>
>
>
> Great job!
>
> —peter
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Friday, April 6, 2018 at 6:56 AM
> *To: *"users@royale.apache.org" , "
> d...@royale.apache.org" 
> *Subject: *RE: Work on Emulation
>
>
>
>
>
> Please Review :
>
> https://github.com/apache/royale-asjs/pull/145
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F145&data=02%7C01%7Cpent%40adobe.com%7Cae87b81b8bb84d66366908d59bad26de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636586090342823354&sdata=zcPe%2FP5GfVBjQADjvgZ0aba5uxIXwZEtyErETijQ8i8%3D&reserved=0>
>
> https://github.com/apache/royale-asjs/pull/149
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F149&data=02%7C01%7Cpent%40adobe.com%7Cae87b81b

Re: MXRoyale build problem

2018-04-10 Thread Carlos Rovira
ok Alex,

if that makes a problem I'll not use it.
Regarding the problem you have, my work is mostly Jewel projects that are
separate from other things you're doing.
I think there was few files that I must to fix due to when I added
classList methods and Harbs added it to develop, and made me to solve
conflicts at that time.




2018-04-10 17:28 GMT+02:00 Alex Harui :

> Carlos,
>
> I was unable to know how to work on the Jewel branch back when you were
> still working on it because I got concerned about the status showing some
> number of commits ahead and behind against my working copy.  If this is
> somehow related to your use of force push, I would strongly recommend that
> you not use it, especially on the develop branch.   Whatever workflow you
> think is right for remote branches is clearly not right.
>
> Thanks,
> -Alex
>
> From:  on behalf of Carlos Rovira <
> carlosrov...@apache.org>
> Reply-To: "users@royale.apache.org" 
> Date: Tuesday, April 10, 2018 at 4:03 AM
>
> To: "users@royale.apache.org" 
> Subject: Re: MXRoyale build problem
>
> jewel branch was already merged, so since some days I'm not using it. I
> didn't remove it totally, but I'll do in some days (maybe after 0.9.3
> release)
> Maybe for this reason you are a bit confused with that branch, since is
> now deprecated and not synced.
>
> I think my use of rebase is totally ok, so don't worry since I'm using it
> since the beginning with MDL and now with Jewel, and branches are ok.
>
> 2018-04-10 9:21 GMT+02:00 Harbs :
>
>> I suspect that Carlos is doing something different because the
>> jewel-ui-set branch currently shows 22 commits ahead and 127 behind on my
>> machine.
>>
>> Considering I made no local changes, I should not be *any* commits
>> ahead. That would seem like origin has had its history modified which is
>> not good. The only way I would be able to pull in the jewel branch would be
>> to rebase locally...
>>
>> My $0.02,
>> Harbs
>>
>> On Apr 10, 2018, at 7:52 AM, Alex Harui  wrote:
>>
>> Hi Carlos,
>>
>> Does that mean you are using "force push" when rebasing?  I don't use it
>> when rebasing and lots of internet articles advise against using it.  If it
>> is working for you, fine, but I wouldn't want any "forcing" to be a
>> recommended practice for others given the advice I see out there.
>>
>> The key thing for any of us is to understand the differences between
>> merging and rebasing and using them appropriately.  I don't want to take
>> the time to go through it now, but the recommended practice AIUI, is to use
>> merge for public branches and rebase when possible for non-public
>> branches.  MXRoyale is a public branch.
>>
>> Thanks,
>> -Alex
>>
>> From:  on behalf of Carlos Rovira <
>> carlosrov...@apache.org>
>> Reply-To: "users@royale.apache.org" 
>> Date: Monday, April 9, 2018 at 3:01 PM
>> To: "users@royale.apache.org" 
>> Subject: Re: MXRoyale build problem
>>
>> Hi Alex,
>>
>> my problem as I started to use again was that I forgot to check "force
>> push" completely. Without that you are not able to do a rebase, instead you
>> end with a corrupt branch. That was my problem, and I finaly remember that
>> I need to set up that. The way I use to rebase was teach to me by a
>> recognized expert in Git use, and sometimes I use to ask him when I have
>> doubts about how to do something. Rebase is completely a best practice in
>> some scenarios, like the one I use, work in separate branch and rebase over
>> develop, then merge to develop, since you end with a set of consecutive
>> clean commits as if all that commits will be done in that point. No
>> intricate tree object graphs and if some external person comes to see the
>> graph will understand far better that something that is intrincated. Jewel
>> branch was done in this way, and you can see that is very clean.
>>
>> said that (as well I understand now what Piotr said), I only want to
>> express a way that is working for me, but if you all think is not good for
>> you, it's ok, as I said is all subjective, and each one should use what he
>> want (always that doesn't break anything , of course)
>>
>> Thanks
>>
>>
>> 2018-04-09 19:05 GMT+02:00 Alex Harui :
>>
>>> Hi Carlos,
>>>
>>> Using "force push" sounds scary/wrong to me.  Note also that I had
>>> trouble working with your branches and you reported similar problem

New blog post "Using the Jewel Slider Control"

2018-04-12 Thread Carlos Rovira
Hi,

just published a new blog example in the website:

http://royale.apache.org/using-the-jewel-slider-control/

@Andrew, if you can review it will be of great help :)

thanks!

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


New Blog Example post "Adding an item to a Jewel List"

2018-04-16 Thread Carlos Rovira
Hi,

just published a new blog example

https://royale.apache.org/adding-an-item-to-a-jewel-list/

Enjoy! :)

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


Re: RemoteObject

2018-04-17 Thread Carlos Rovira
Hi Piotr, great to see you get that working. I suppose the problem is with
ArrayList vs ArrayCollection?

@Alex, you say that will start working cause we'll have ArrayCollection in
emulation components?

thanks!

2018-04-17 22:29 GMT+02:00 Alex Harui :

> The emulation components are a valid component set.  They are not 100%
> compatible with Flex and aren't going to be as fast and small as Basic or
> Express, but they should be operational and may allow the migration of a
> production app.  We won't know for sure until we get further.  But as of
> today, the Flex SDK checkintest runs tests on 6 components without
> modification.  It isn't perfect, but will get better over time.
>
> If it turns out there are performance issues, then folks migrating will
> have to find the hot spots and try to optimize them by replacing the
> emulation components with Basic or Express components.  It will be
> interesting to see how many folks can run an app entirely on the emulation
> components.
>
> HTH,
> -Alex
>
> From: Piotr Zarzycki 
> Reply-To: "users@royale.apache.org" 
> Date: Tuesday, April 17, 2018 at 1:21 PM
>
> To: "users@royale.apache.org" 
> Subject: Re: RemoteObject
>
> Alex,
>
> I understand Emulations as something temporary. In the end all of that
> would be replaced in the real app when someone start write UI or do I
> understand it wrong?
>
> I thought it's only for run App and then step by step rewrite to Royale
> components.
>
> Thanks,
> Piotr
>
> On Tue, Apr 17, 2018, 10:00 PM Alex Harui  wrote:
>
>> Hi Piotr,
>>
>> I have not looked into the detail, but I would hope that it would start
>> working once we get more of the emulation components up and running.  So
>> volunteers to help with emulation components are always welcome.
>>
>> -Alex
>>
>> From: Piotr Zarzycki 
>> Reply-To: "users@royale.apache.org" 
>> Date: Tuesday, April 17, 2018 at 12:50 PM
>>
>> To: "users@royale.apache.org" 
>> Subject: Re: RemoteObject
>> Hi Prashant,
>>
>> I just tried your two examples. The first one not going to work cause AMF
>> doesn't recognize ArrayList, but you can always send simple Array - That's
>> an workaround.
>>
>> The second one is working pretty well. I'm using AMFPHP. I've created
>> method which simply get's VO and returns it. - What happened in your case
>> when you did test that ?
>>
>> Thanks,
>> Piotr
>>
>> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
>>
>>> Following cases not working:
>>>
>>> service.send("passArrayList",[newArrayList(["Test1","Test2"])]);
>>>
>>> var v1:Vehicle=newVehicle();
>>> v1.name ="Nexon";
>>> v1.brand ="TATA";
>>> v1.dom =newDate();
>>> service.send("addVehicle",[v1]);
>>>
>>>
>>> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
>>> wrote:
>>>
>>>> Hi, I tested some months ago some scenarios with collections sharing
>>>> some VOs, and worked, but I think we should try more scenarios since
>>>> complex object graphs could be problematic.
>>>>
>>>> Thanks Prashant for looking into this. If you can help trying to evolve
>>>> the code I can support you with your pull request to include your changes
>>>> in Royale.
>>>>
>>>>
>>>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>>>
>>>>> Carlos,
>>>>>
>>>>> If I sends only primary type as int , number , date etc then  all
>>>>> works fine but if I sends custom types as a Arraylist , VOs, and other
>>>>> inherited types does not work properly.
>>>>>
>>>>> Regards,
>>>>> Prashant
>>>>>
>>>>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>>>>
>>>>> Updated https://github.com/apache/royale-asjs/issues/119
>>>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>,
>>>>> think I am getting closer :-)
>>>>>
>>>>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>>>>> wrote:
>>>>>
>>>>>> 

Apache Royale on Google+

2018-04-18 Thread Carlos Rovira
Hi,

just created a page community on Google+ for Apache Royale

Here's the invitation link

https://plus.google.com/communities/110767346686043669380?sqinv=d0ZCUlZIQzFtR0UycmozTlByZEVLamU1U2ZMUjNR

So please, join us in Google+ community as soon as you can to help us grow
and make this technology bigger!

Thanks!

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


Re: Static inheritance

2018-04-23 Thread Carlos Rovira
Hi,

I'm interested in know what static inheritance will give us. I search a
bit, but couldn't see links that give some points about what this feature
will give us.

thanks



2018-04-23 19:25 GMT+02:00 Alex Harui :

> Harbs,
>
> Can you provide a link to more info on how 'this' works in statics?  MDN
> makes it sound like it points to the global object even in ES6.
>
> I saw an article that code duplication isn't a perfect emulation of ES6
> statics in ES5.
> https://www.bennadel.com/blog/3300-static-methods-are-
> inherited-when-using-es6-extends-syntax-in-javascript-and-node-js.htm
>
> On 4/22/18, 11:46 PM, "Harbs"  wrote:
>
> It seems like ES6 supports static inheritance. The means you can
> define a class with static methods which can be called in subclasses. You
> can also use “this” in static methods which will refer to the subclass
> methods if overridden. This is obviously something which doesn’t work in
> AS3.
>
>  I’m porting an ES6 library to AS3 and I’m trying to figure out the
> best way to port this kind of code. I’m thinking that code duplication is
> probably simplest, although I might just convert the static classes into
> singletons.
>
> Harbs
>
>


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


Re: installing royale 0.9.2 sdk

2018-04-23 Thread Carlos Rovira
Along Piotr link another one for new comers is

https://royale.apache.org/getting-started/

best

2018-04-23 19:24 GMT+02:00 Piotr Zarzycki :

> Hi Mandeep,
>
> There is an instruction on Royale Wiki [1]. Try it out and let us know!
>
> [1] https://github.com/apache/royale-asjs/wiki/Flash-Builder-4.7
>
> Thanks,
> Piotr
>
> 2018-04-23 19:01 GMT+02:00 Mandeep Sarma :
>
>> are there any current instruction on how to install apache royale 0.9.2?
>> when I download apache royale 0.9.2 for JS and Flash Application and I
>> try to connect the sdk to Flash Builder I get an error: Directory does not
>> contain a Flex SDK
>>
>>
>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>  Virus-free.
>> www.avg.com
>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> <#m_1380017741582606790_m_8560578421807809862_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: Static inheritance

2018-04-23 Thread Carlos Rovira
Ok, so that works in JS, but will work as well in SWF?

2018-04-23 20:25 GMT+02:00 Harbs :

> https://github.com/devongovett/fontkit/blob/master/src/opentype/shapers/
> DefaultShaper.js
> https://github.com/devongovett/fontkit/blob/master/src/opentype/shapers/
> UniversalShaper.js
> https://github.com/devongovett/fontkit/blob/master/src/opentype/shapers/
> ArabicShaper.js
>
> UniversalShaper and ArabicShaper extend DefaultShaper. All methods are
> static and the classes are never instantiated. The static “plan” method in
> the base class calls the static methods in the subclasses using “this”.
>
> I would not have guessed something like this would be possible, but Devon
> Govett makes very extensive use of ES6 features. I’ve learned quite a bit
> about ES6 just by reading his code… ;-)
>
> Harbs
>
> On Apr 23, 2018, at 8:25 PM, Alex Harui  wrote:
>
> Harbs,
>
> Can you provide a link to more info on how 'this' works in statics?  MDN
> makes it sound like it points to the global object even in ES6.
>
> I saw an article that code duplication isn't a perfect emulation of ES6
> statics in ES5.
> https://www.bennadel.com/blog/3300-static-methods-are-
> inherited-when-using-es6-extends-syntax-in-javascript-and-node-js.htm
>
> On 4/22/18, 11:46 PM, "Harbs"  wrote:
>
>It seems like ES6 supports static inheritance. The means you can define
> a class with static methods which can be called in subclasses. You can also
> use “this” in static methods which will refer to the subclass methods if
> overridden. This is obviously something which doesn’t work in AS3.
>
> I’m porting an ES6 library to AS3 and I’m trying to figure out the
> best way to port this kind of code. I’m thinking that code duplication is
> probably simplest, although I might just convert the static classes into
> singletons.
>
>Harbs
>
>
>


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


AMF sample refactored and new instructions on the wiki! :)

2018-04-24 Thread Carlos Rovira
Hi,

just refactored a bit the Apache Royale AMF test client with Jewel.

https://twitter.com/ApacheRoyale/status/988819284553060352

Created a page in the wiki with instructions on how to run it:

https://t.co/StiF4TOJFy

I plan to add more communication examples to the client soon.

Enjoy! :)

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


New blog example post "Creating a group of Jewel radio buttons"

2018-05-02 Thread Carlos Rovira
Hi folks!

A new royale example blog post is live in our website

https://royale.apache.org/creating-a-group-of-jewel-radiobuttons/

Check it out!

And don't forget to comment and discuss in the post, and follow us on
social networks!! If we want Royale to succeed we need your support and
talk about it to spread the word! :)

Thanks!

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


Apache Royale on LinkedIn! Join us!

2018-05-02 Thread Carlos Rovira
Hi all

just want to announce that we're now on LinkedIn!!

The new Apache Royale group is a very cool site to post conversations and
as well something very important for the health of this community: Jobs! :)

So come on and join us!

Here's the link to the group:

https://www.linkedin.com/groups/12118437

(Note: seems LinkedIn groups are in an on going redesign, so we can't still
change the group logo to our Apache Royale logo, but seems things will be
improving as they update the service)

Thanks


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


Re: Apache Royale on LinkedIn! Join us!

2018-05-03 Thread Carlos Rovira
Hey! it's amazing that we are growing very quickly on LinkedIn and we are
right now 43 members in only few hours!.

Keep on and make it huge! :)

2018-05-03 7:42 GMT+02:00 Carlos Rovira :

> Hi all
>
> just want to announce that we're now on LinkedIn!!
>
> The new Apache Royale group is a very cool site to post conversations and
> as well something very important for the health of this community: Jobs! :)
>
> So come on and join us!
>
> Here's the link to the group:
>
> https://www.linkedin.com/groups/12118437
>
> (Note: seems LinkedIn groups are in an on going redesign, so we can't
> still change the group logo to our Apache Royale logo, but seems things
> will be improving as they update the service)
>
> Thanks
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


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


Re: Unit testing frameworks

2018-05-03 Thread Carlos Rovira
Hi Chris,

I think is flexunit. This is still something I must look into it, but I can
see lots of flexunit test in Royale-asjs repo, for example [1]

[1]
https://github.com/apache/royale-asjs/blob/develop/frameworks/projects/Basic/src/test/royale/flexUnitTests/DataGridColumnTest.as

2018-05-03 17:12 GMT+02:00 Chris Velevitch :

> What unit testing frameworks does everyone one use with Royale? Or you
> simply using Jasmine?
>
>
> Chris
> --
> Chris Velevitch
> m: 0415 469 095
>



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


Re: Using XML Docs

2018-05-06 Thread Carlos Rovira
Hi Harbs,

could you provide a simple example in the line of the rest blog post
examples? a some lines 3-4-5 with a short explanation?.
I can publish that in your name in our web site.
To make it quick and easy you can copy the last example in "examples/blog"
and then modify the name and the main file with your code.
Then send me the few lines and I can prepare and publish it for you in the
website

let me know what do you think

thanks!

Carlos



2018-05-06 18:46 GMT+02:00 Harbs :

> AS3 XML and E4X are supported. Make sure do declare XML and XMLList types
> for compilation to work correctly.
>
> The FlexJS E4X notes apply to Royale:
> https://cwiki.apache.org/confluence/display/FLEX/FlexJS+FAQ#FlexJSFAQ-
> DoesFlexJSSupportE4X?
>
> For light-weight parsing of Xml which does not use namespaces, you can use
> the JSON classes
> http://royale.apache.org/asdoc/#!org.apache.royale.utils/JXON
>
> On May 6, 2018, at 6:16 PM, Stef X  wrote:
>
> Hi there,
>
> I'm pretty new there and testing this framework.
>
> I'm searching to use/create XML documents with Royale for JS but I'm not
> able to find any information on this point.
>
> Some advice will be really welcome.
>
> Thanks in advance,
>
> Regards,
>
> Stef
>
>
>


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


New Blog Post: Binding the text property of a Jewel TextInput to update a text Label

2018-05-09 Thread Carlos Rovira
Just published!

Thanks to Andrew for his support as always to get the most of the post and
make it shine! :)

https://royale.apache.org/binding-the-text-property-of-a-jewel-textinput-to-update-a-text-label/

Enjoy!


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


Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread Carlos Rovira
Hi,

this is something we talked that would happen. I think we must to find a
way to overcome it. Some options just think now:

1.- simply put ArrayCollection on place (although is becoming part of mx
royale, I think this deserves to be isolated I some core library (maybe
Collections)

2.- make something in RemoteObject that makes ArrayCollection become
ArrayList

@Doug, if you could try this or other fix you think, you could make a pull
request and I can look at it. Have you time to fix this and contribute to
Apache Royale?

I think this is very important.

thanks!

Carlos



2018-05-09 11:41 GMT+02:00 doug777 :

> If you mean the setting in wwwroot/WEBINF/flex/services-config.xml  --
>
> Sadly it is already set to false -
>
>
>  arraycollection>false
>  arraycollection>
>
> But thanks for pointing out that there is a setting for this.
>
> Doug
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-10 Thread Carlos Rovira
Thanks Doug!



2018-05-10 6:31 GMT+02:00 doug777 :

> Hi Carlos,
>
> Sure, I can take a look at this. Leave it with me.
>
> Doug
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-17 Thread Carlos Rovira
That's great Doug,

in other thread I told about passing collection from Java to Royale with
success, but instead of use ArrayCollection I used ArrayList.
That seems to work well. I still need to do more test. For example don't
try to send ArrayList to Java. I think that could cause problems...

For you email what I understand is that you code ArrayCollection in royale?

thanks!


2018-05-17 4:18 GMT+02:00 doug777 :

> Hi Carlos,
>
> I now have ArrayCollection working properly. I suspect the same change will
> also allow ObjectProxy to work properly as well, but at the moment I can't
> test that.
>
> Doug
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-17 Thread Carlos Rovira
If is an implementation of ArrayCollection, I think it should go to
"Collections"
Then if AMF uses it, Network will need to use Collections.
To check all is working ok, I recommend you to pass maven so you can ensure
the changes doesn't break things.

You can make a pull request and I'll look at it.

Thanks!

Carlos


2018-05-17 10:51 GMT+02:00 doug777 :

> Do you want to check the code? Do I need to make a pull request and choose
> the AMF project or what?
>
> Doug
>
>
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-17 Thread Carlos Rovira
ok! perfect,

so If there's only a change in AMFBinaryData, then you ensure you are up to
latest changes in repo a create a PR with your changes so I can review it.

Thanks!

2018-05-17 11:03 GMT+02:00 doug777 :

> Sorry, you misunderstand me.
>
> All I have done is allow AMFBinaryData to read ArrayCollection from CF
> correctly.
>
> I don't think there is any need for ArrayCollection in Royale. ArrayList is
> perfectly adequate.
>
> So all this is is a small change to AMFBinaryData.
>
> Doug
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


New Blog post: "Selecting options from a group of Jewel CheckBox controls"

2018-05-22 Thread Carlos Rovira
Hi,

we have a new blog post for you

https://royale.apache.org/selecting-options-from-a-group-of-jewel-checkbox-controls/

Enjoy! :)

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


Re: Work on Emulation

2018-05-25 Thread Carlos Rovira
Hi Alina,

greta work! thanks for sharing!
It's great to see all the work starting to show on the screen.

Keep the great work! :)

Carlos

2018-05-25 13:14 GMT+02:00 Alina Kazi :

> Hi,
> Few Emulated Spark & MX Components are compiled together.
> MX : Button & Label
> Spark :Button,CheckBox,TextArea,TextInput,NumericStepper, List &
> DropDownList
> Project link:
> https://www.dropbox.com/s/bm2uv6bfzoqo3u0/HelloWorld.rar?dl=0
>
> Thanks,
> Alina Kazi
>
> On Tue, May 22, 2018 at 8:39 PM, Alex Harui  wrote:
>
>> Hi Shahid,
>>
>>
>>
>> Please try to ask more specific questions.  In this case, maybe something
>> like:  “When I compile these lines of MXML with this command line I get
>> this error”.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Shahid Khan 
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Tuesday, May 22, 2018 at 12:56 AM
>> *To: *"users@royale.apache.org" 
>> *Subject: *Work on Emulation
>>
>>
>>
>> Hi,
>>
>>
>>
>> I’m having compile issues with MX/Spark tags while emulating MXML files
>> so needs some instructions on how to emulate them?
>>
>>
>>
>> Thanks
>>
>> Shahid
>>
>>
>>
>
>


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


Re: Royale snippets for VSCode

2018-05-30 Thread Carlos Rovira
Hi Piotr

great work on this extension! thanks for doing this! :)
Hope to try it soon and report my findings!

Best

Carlos

2018-05-30 20:42 GMT+02:00 Piotr Zarzycki :

> Hello Royale Developers,
>
> Lately, neminovo has created a useful extension for VSCode, which provides
> a bunch of snippets for Flex SDK.[1] I immediately decided to make exactly
> the same extension but for Apache Royale SDK.
> I created the extension in my GitHub project: royalesnippetsforvscode[2]
> and added a couple of snippets, which are most frequently used by me.
>
> The very first release[3] is available for your VSCode.
>
> Feel free to make a pull request or to suggest any other snippets and I
> will add them in the next version.
>
> You can support ActionScript & MXML engine on Patreon [4].
> You can support Royale snippets on Patreon [5]
>
> [1] https://marketplace.visualstudio.com/items?itemName=neminovno.vscode-
> flex-snippets
> [2] https://github.com/piotrzarzycki21/royalesnippetsforvscode
> [3] https://github.com/piotrzarzycki21/royalesnippetsforvscode/
> releases/tag/v0.0.1
> [4] https://www.patreon.com/josht
> [5] https://www.patreon.com/piotrzarzycki
>
> Enjoy!,
> Piotr
>



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


Royale - BlazeDS working

2018-05-31 Thread Carlos Rovira
Hi,

I get Royale working with BlazeDS. People using BlazeDS should be able to
finally start developing with Royale now! :)

Right now I'm test it with both the SampleAmfWebApp (in our repo) and with
my own backend (real flex/java app), and seems to work in both.

Things to have into account: While "clientId" is now working (we send the
required PING command, get the DSId and store it for later communication),
we need to use it with small messages turned off (blazeds turn it on by
default).

This is the configuration per channel:




false


I think small messages are only something that will make our implementation
shine, but really is not required. I think that will improve a bit over the
normal message size. If you use as well the CompressedRemoteObject, that
will be a killer communication! :)

About small messages, I'm trying to get it work, I uploaded the work
currently done, but still needs more to get it fully working.

As well I uploaded a SimpleRemoteObject that is a simpler version that
should work with AMF backends that require less things like AMFPHP. As I
don't use AMFPHP since many years I can say too much about it, but hope
others will use and report if something more is needed (The same for other
AMF implementations in other technologies).

Thanks!

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


Re: Royale - BlazeDS working

2018-05-31 Thread Carlos Rovira
Forgot to share the info in Github page :)

https://github.com/apache/royale-asjs/wiki/Apache-Royale-communication-with-AMF-and-RemoteObject

2018-05-31 20:49 GMT+02:00 Carlos Rovira :

> Hi,
>
> I get Royale working with BlazeDS. People using BlazeDS should be able to
> finally start developing with Royale now! :)
>
> Right now I'm test it with both the SampleAmfWebApp (in our repo) and with
> my own backend (real flex/java app), and seems to work in both.
>
> Things to have into account: While "clientId" is now working (we send the
> required PING command, get the DSId and store it for later communication),
> we need to use it with small messages turned off (blazeds turn it on by
> default).
>
> This is the configuration per channel:
>
> 
> 
> 
> false
> 
>
> I think small messages are only something that will make our
> implementation shine, but really is not required. I think that will improve
> a bit over the normal message size. If you use as well the
> CompressedRemoteObject, that will be a killer communication! :)
>
> About small messages, I'm trying to get it work, I uploaded the work
> currently done, but still needs more to get it fully working.
>
> As well I uploaded a SimpleRemoteObject that is a simpler version that
> should work with AMF backends that require less things like AMFPHP. As I
> don't use AMFPHP since many years I can say too much about it, but hope
> others will use and report if something more is needed (The same for other
> AMF implementations in other technologies).
>
> Thanks!
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


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


Re: Royale - BlazeDS working

2018-05-31 Thread Carlos Rovira
Hi Alex,

I saw some comparison document online [1], let me know what do you think
about it.

For me AMF should not only be measured by its benefits on small size and
transmission. In that field I think it should win, since json has more
overhead, but as I'm not an expert in JSON, I'm sure some serialization
will exists. On that way, maybe JSON, could loose the benefits of the easy
format to use that make it popular and will probably be more complex to
setup and use, so could make AMF be more attractive. Transferring large
amount of data I think AMF will be or at least is what I saw in Census App
that James Ward did some years ago. Again, nowadays I'm sure things has
evolved and maybe JSON could have some additional complement that make it
more tiny but at the cost of more complexity. If someone here is more
expert, maybe could give some light on latest JSON advantages. (All this
without taking into account additional zlib compress and small messages...)

But as I said, for me that's not the main benefit. For me AMF wins in ease
of development, since I can code a class in AS3 (a DTO, VO, or POJO, each
one can call it in some way) and have the mirror class in the backend
(Java, .NET, PHP...). So filling an object in AS3 and sending vía AMF put
the object ready to use in the backend method. You don't have to make any
process to file some object in the other side, or prepare the data to be
used, since this is done under the hood. And that's is very comfortable.
Having the same types (the counterpart in the other side) makes all very
easy and that's productivity. Maybe JSON can do today something
similar...I'm sure something should be out there.

Finally for us means to have other tool in our arsenal, a great tool that
many people out there doesn't know or thinks on it as it's still some
proprietary Adobe technology. And more important, means that many people
with Flex apps have now a more easy way to migrate, since they don't need
to touch a line of code in their backends. I think that's a huge win. Since
instead of planning a full refactor of an entire system (front and back)
people can concentrate in front with Royale. Plant side by side with his
current Flex App and make it grow from there, and some day turn off flex
and turn on Royale :)

That's at least my plan with our system :)

Thanks!

Carlos





[1]
https://www.researchgate.net/publication/311750440_Comparative_analysis_of_AMF_JSON_and_XML_technologies_for_data_transfer_between_the_server_and_the_client

2018-05-31 21:06 GMT+02:00 Alex Harui :

> Hi Carlos,
>
>
>
> That’s great news!
>
>
>
> One thing I would like to see someday (not necessarily from you, maybe
> some other user) is a comparison of JSON vs AMF.For some real-world
> server response, what would be the number of bytes transferred and what
> would be the CPU processing time in the browser to convert the data into
> “Value Objects”.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: * on behalf of Carlos Rovira <
> carlosrov...@apache.org>
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, May 31, 2018 at 11:52 AM
> *To: *"users@royale.apache.org" , "
> d...@royale.apache.org" 
> *Subject: *Re: Royale - BlazeDS working
>
>
>
> Forgot to share the info in Github page :)
>
>
>
> https://github.com/apache/royale-asjs/wiki/Apache-
> Royale-communication-with-AMF-and-RemoteObject
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FApache-Royale-communication-with-AMF-and-RemoteObject&data=02%7C01%7Caharui%40adobe.com%7C35acbd7109734fdb4e4d08d5c727a05e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636633895374721172&sdata=RkbeMMs22sIHVZ0meRLVzGC0VsRUOA1ykl5llHXrvfE%3D&reserved=0>
>
>
>
> 2018-05-31 20:49 GMT+02:00 Carlos Rovira :
>
> Hi,
>
>
>
> I get Royale working with BlazeDS. People using BlazeDS should be able to
> finally start developing with Royale now! :)
>
>
>
> Right now I'm test it with both the SampleAmfWebApp (in our repo) and with
> my own backend (real flex/java app), and seems to work in both.
>
>
>
> Things to have into account: While "clientId" is now working (we send the
> required PING command, get the DSId and store it for later communication),
> we need to use it with small messages turned off (blazeds turn it on by
> default).
>
>
>
> This is the configuration per channel:
>
>
>
> 
>
> 
>
> 
>
> false
>
> 
>
>
>
> I think small messages are only something that will make our
> implementation shine, but really is not required. I think that will improve
> a bit over the normal message size. If you use as well the
> CompressedR

Re: Royale - BlazeDS working

2018-05-31 Thread Carlos Rovira
Is good to know JSON is now more capable, I was imagining that. As you say
some comparison test will be great. Maybe as we have some time we can do it.
I assume that many people today will use JSON for new apps if the can setup
all the interchange with something similar to AMF. If I was to create a new
system, fro scratch, I'll be doing that test right now to see differences
and choose JSON or AMF. The great benefit of AMF nowadays, without knowing
much more about that comparison, is for migration of Flex Apps.

2018-06-01 1:22 GMT+02:00 Alex Harui :

> Hi Carlos,
>
>
>
> I will try to read that in detail later.  However, in a quick read, my
> takeaway is that the findings indicated that for up to 2000 data records,
> JSON was faster than AMF.  And I believe the test was using the Flash
> Player, where we now have to consider that for Royale, the AMF
> deserialization is running in JavaScript not in the Flash or browser
> runtime.
>
>
>
> Royale does have JSON-to-ValueObject support where the JSON is still
> parsed in the browser, but objects are instantiated via JavaScript
> callbacks.  And as you mention, I think there are ways to gzip JSON over
> the wire.  So the comparison environment is totally different for Royale vs
> Flex.
>
>
>
> So we’ll see if maybe someone can run a test someday and get updated
> results.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: * on behalf of Carlos Rovira <
> carlosrov...@apache.org>
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, May 31, 2018 at 4:07 PM
> *To: *"users@royale.apache.org" 
>
> *Subject: *Re: Royale - BlazeDS working
>
>
>
> Hi Alex,
>
>
>
> I saw some comparison document online [1], let me know what do you think
> about it.
>
>
>
> For me AMF should not only be measured by its benefits on small size and
> transmission. In that field I think it should win, since json has more
> overhead, but as I'm not an expert in JSON, I'm sure some serialization
> will exists. On that way, maybe JSON, could loose the benefits of the easy
> format to use that make it popular and will probably be more complex to
> setup and use, so could make AMF be more attractive. Transferring large
> amount of data I think AMF will be or at least is what I saw in Census App
> that James Ward did some years ago. Again, nowadays I'm sure things has
> evolved and maybe JSON could have some additional complement that make it
> more tiny but at the cost of more complexity. If someone here is more
> expert, maybe could give some light on latest JSON advantages. (All this
> without taking into account additional zlib compress and small messages...)
>
>
>
> But as I said, for me that's not the main benefit. For me AMF wins in ease
> of development, since I can code a class in AS3 (a DTO, VO, or POJO, each
> one can call it in some way) and have the mirror class in the backend
> (Java, .NET, PHP...). So filling an object in AS3 and sending vía AMF put
> the object ready to use in the backend method. You don't have to make any
> process to file some object in the other side, or prepare the data to be
> used, since this is done under the hood. And that's is very comfortable.
> Having the same types (the counterpart in the other side) makes all very
> easy and that's productivity. Maybe JSON can do today something
> similar...I'm sure something should be out there.
>
>
>
> Finally for us means to have other tool in our arsenal, a great tool that
> many people out there doesn't know or thinks on it as it's still some
> proprietary Adobe technology. And more important, means that many people
> with Flex apps have now a more easy way to migrate, since they don't need
> to touch a line of code in their backends. I think that's a huge win. Since
> instead of planning a full refactor of an entire system (front and back)
> people can concentrate in front with Royale. Plant side by side with his
> current Flex App and make it grow from there, and some day turn off flex
> and turn on Royale :)
>
>
>
> That's at least my plan with our system :)
>
>
>
> Thanks!
>
>
>
> Carlos
>
>
>
>
>
>
>
>
>
>
>
> [1] https://www.researchgate.net/publication/311750440_
> Comparative_analysis_of_AMF_JSON_and_XML_technologies_for_
> data_transfer_between_the_server_and_the_client
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.researchgate.net%2Fpublication%2F311750440_Comparative_analysis_of_AMF_JSON_and_XML_technologies_for_data_transfer_between_the_server_and_the_client&data=02%7C01%7Caharui%40adobe.com%7Ca4c6de38ee15443c8f5f08d5c74b5656%7Cfa7b1b5a7

Re: Royale - BlazeDS working

2018-05-31 Thread Carlos Rovira
Reading the document. It uses AMFPHP and Baguetter AMF and the are
transferring 76000 records to a Flex Client. I extracted the most
interesting:

*Adding Baguette AMF plug-in to the basic version of AMF PHP, makes the AMF
faster than JSON and XML when transporting larger amounts of data thus
providing the Baguette AMF. Baguette AMF with AMFPHP is recommended for
enterprise applications which share a large amount of data.*
*On large number of data, AMF is faster than JSON. InFigure 7., on the
basis of measurements in this model, is presented comparison diagram of
dependency between the time and the number of data. Figure 7. shows, that
up to 2000 data JSON is faster than AMF and above this number, AMF becomes
faster. Therefore, it is recommended to use AMF technology above this
number of loaded data.*

*The diagram shows time dependency of the number of data downloaded, with
JSON and XML it is much higher compared to the AMF. The Curve which
describes the AMF technology, the third line, is of considerably smaller
angle, while with JSON, the first line is substantially steeper which means
that the time is increasing faster with the number of loaded data. The
middle line represents the XML format where we can see that the XML much
more depends on JSON when the number of transmitted data increases.*

*In AMF, the period of data transfer does not depend on the amount of data,
because it is binary transmission and is always practically the same.*

*In JSON and XML the connection period depends on the amount of data, the
data is packed in a file in text, and the time of the connection depends on
the size of the file. Therefore, the more data, the connection period
increases with JSON*
*The serialization period on the server’s side depends onthe number of
objects and if there are more objects to be serialized, then more time is
spent which is especially emphasized in JSON and XML because the complexity
is greater. Also the more data there is then the file in JSON and XML are
heavier and more time is needed to transport data*


*Conclusions and Future WorkThe choice of technology depends on several
factors, one of them is the amount of data. By measuring data transfer
period in the authoring application it is determined, for a small amount of
data, up to 2000, JSON technology is recommended because it is faster, and
it is closest to the object structure, orange variant on the graphics. When
large amounts of data are used, up to 2000, AMF technology is recommended,
blue variant on the graphics.*
*When it comes to the complexity of the code, AMF technology is
recommended, JSON and XML in the end*



As you said, our case is different in the deserialization part, but numbers
from output from backend I think are always the same.

We should improve as well algorithms now that we have all this working.




2018-06-01 1:45 GMT+02:00 Carlos Rovira :

> Is good to know JSON is now more capable, I was imagining that. As you say
> some comparison test will be great. Maybe as we have some time we can do it.
> I assume that many people today will use JSON for new apps if the can
> setup all the interchange with something similar to AMF. If I was to create
> a new system, fro scratch, I'll be doing that test right now to see
> differences and choose JSON or AMF. The great benefit of AMF nowadays,
> without knowing much more about that comparison, is for migration of Flex
> Apps.
>
> 2018-06-01 1:22 GMT+02:00 Alex Harui :
>
>> Hi Carlos,
>>
>>
>>
>> I will try to read that in detail later.  However, in a quick read, my
>> takeaway is that the findings indicated that for up to 2000 data records,
>> JSON was faster than AMF.  And I believe the test was using the Flash
>> Player, where we now have to consider that for Royale, the AMF
>> deserialization is running in JavaScript not in the Flash or browser
>> runtime.
>>
>>
>>
>> Royale does have JSON-to-ValueObject support where the JSON is still
>> parsed in the browser, but objects are instantiated via JavaScript
>> callbacks.  And as you mention, I think there are ways to gzip JSON over
>> the wire.  So the comparison environment is totally different for Royale vs
>> Flex.
>>
>>
>>
>> So we’ll see if maybe someone can run a test someday and get updated
>> results.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: * on behalf of Carlos Rovira <
>> carlosrov...@apache.org>
>> *Reply-To: *"users@royale.apache.org" 
>> *Date: *Thursday, May 31, 2018 at 4:07 PM
>> *To: *"users@royale.apache.org" 
>>
>> *Subject: *Re: Royale - BlazeDS working
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> I saw some comparison document online [1], let me know what do you t

Re: Royale - BlazeDS working

2018-06-01 Thread Carlos Rovira
Hi Justin,

thanks for the link. That's the one I was referring ni previous emails.
Since is about 10 years old, the old census app seems not to be online. At
that time AMF improvements over JSON was huge. I think those days will
still be great, but maybe the gap is smaller.

Thanks!

Carlos

2018-06-01 3:43 GMT+02:00 Justin Mclean :

> Hi,
>
> You might want to look at this for some performance data as well. It
> probably could be repurposed and create more current bench marks?
>
> https://www.jamesward.com/2007/04/30/ajax-and-flex-data-
> loading-benchmarks/
>
> Thanks,
> Justin




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


Re: Royale - BlazeDS working

2018-06-01 Thread Carlos Rovira
Hi Alex,

Justing doesn't refer to James's implementation of amf.js he did around
2010, but to the old Flex Census app, that was a Flex app that runs a
series of tests.
I think it could be of help to make our own. But is clear, as you said,
that to get our numbers, we need to create our own from scratch.


2018-06-01 18:46 GMT+02:00 Alex Harui :

> We are not using James Ward's code, so any findings he had would be of
> questionable use to us.  Even tests against the amf.js we did start from
> are potentially invalid because we plugged our version into a ClassAlias
> registry.  It is best if we actually test our code and not somebody else's.
>
> My 2 cents,
> -Alex
>
> On 6/1/18, 12:56 AM, "Justin Mclean"  wrote:
>
> Hi,
>
> > thanks for the link. That's the one I was referring ni previous
> emails. Since is about 10 years old, the old census app seems not to be
> online. At that time AMF improvements over JSON was huge. I think those
> days will still be great, but maybe the gap is smaller.
>
> You might want to search the archives (or internet way back machine) I
> have a vague recollection of James making the code to that app available.
>
> Thanks,
> Justin
>
>


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


Promoting Apache Royale on Facebook

2018-06-06 Thread Carlos Rovira
Hi,

just let you know that we're promoting Apache Royale on Facebook:

https://www.facebook.com/ApacheRoyaleSDK/videos/360747917782110/

Please join us there and share your love! :)

Thanks!

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


New blog example post ready to review "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
Hi Andrew,

hope you can get some time to review this:

https://royale.codeoscopic.com/using-view-states-to-show-or-hide-content/

Thanks! :)


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


Re: New blog example post ready to review "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
Sure!, I'll do it as soon as you end your revision! :)

2018-06-06 15:20 GMT+02:00 Andrew Wetmore :

> @Carlos, can you update this line in the running code?
>
> 
>
> That may get stripped out by the forum tool, of course. What I need is for
> you to change "You are logged!!" to "You are logged in!!"
>
> I have made the change in the code in the blog post.
>
> Thanks!
>
> On Wed, Jun 6, 2018 at 10:09 AM, Andrew Wetmore 
> wrote:
>
>> Oh, this feature is essential to my apps, so I will go look at it in a
>> few minutes.
>>
>> On Wed, Jun 6, 2018 at 9:32 AM, Carlos Rovira 
>> wrote:
>>
>>> Hi Andrew,
>>>
>>> hope you can get some time to review this:
>>>
>>> https://royale.codeoscopic.com/using-view-states-to-show-or-
>>> hide-content/
>>>
>>> Thanks! :)
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>>
>> --
>> Andrew Wetmore
>>
>> http://cottage14.blogspot.com/
>>
>>
>>
>>
>>
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>


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


Re: New blog example post ready to review "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
Hi Andrew,

I tried to setup in "currentState="loggedIn" in the View, but this not work.
But, if you declare loggedIn state before login state, it works. So for
now, I think first declared State is the default state.
I think as well we should have "currentState" working to define default
state, I think I used as well in my flex apps in the same way.
Can you fill a bug for this?
Think that SimpleStateImpl is very "simple" and does not have other options
like remove states, that should be left for other implementation, but I
think currentState can fit in simple.

in the blog post you can write a line about setting first state will be the
default right?

thanks

2018-06-06 15:32 GMT+02:00 Andrew Wetmore :

> @Carlos, where do you define the starting state for the app? What happens
> if you do not define it? In my Flex apps the application tag has a
> "currentState" property, I do believe. If that feature exists, can we add
> it to this example and explain it?
>
> On Wed, Jun 6, 2018 at 10:20 AM, Andrew Wetmore 
> wrote:
>
>> @Carlos, can you update this line in the running code?
>>
>> 
>>
>> That may get stripped out by the forum tool, of course. What I need is
>> for you to change "You are logged!!" to "You are logged in!!"
>>
>> I have made the change in the code in the blog post.
>>
>> Thanks!
>>
>> On Wed, Jun 6, 2018 at 10:09 AM, Andrew Wetmore 
>> wrote:
>>
>>> Oh, this feature is essential to my apps, so I will go look at it in a
>>> few minutes.
>>>
>>> On Wed, Jun 6, 2018 at 9:32 AM, Carlos Rovira 
>>> wrote:
>>>
>>>> Hi Andrew,
>>>>
>>>> hope you can get some time to review this:
>>>>
>>>> https://royale.codeoscopic.com/using-view-states-to-show-or-
>>>> hide-content/
>>>>
>>>> Thanks! :)
>>>>
>>>>
>>>> --
>>>> Carlos Rovira
>>>> http://about.me/carlosrovira
>>>>
>>>>
>>>
>>>
>>> --
>>> Andrew Wetmore
>>>
>>> http://cottage14.blogspot.com/
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Andrew Wetmore
>>
>> http://cottage14.blogspot.com/
>>
>>
>>
>>
>>
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>


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


Re: New blog example post ready to review "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
Right! :)
We must include this alternate version without doubt
thanks Harbs!

2018-06-06 15:33 GMT+02:00 Harbs :

> Nice,
>
> I think it’s worth noting that you can also do this:
>
>
> 
> 
> 
> 
> 
> 
> 
>  click="view.currentState = 'loggedIn'" />
> 
>
>  visible.loggedIn="true">
> 
> 
> 
>
> This is something which did not work well in Flex because non-visible
> elements still took up space.
>
> Thanks,
> Harbs
>
> On Jun 6, 2018, at 3:32 PM, Carlos Rovira  wrote:
>
> Hi Andrew,
>
> hope you can get some time to review this:
>
> https://royale.codeoscopic.com/using-view-states-to-show-or-hide-content/
>
> Thanks! :)
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>


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


Re: New blog example post ready to review "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
Hi Piotr,

I think what Andrew wants is, in your example: currentState="Desktop" can
be changed to currentState="Mobile", and that view start in that state. Not
write that variable set up at application level.
Right now the way to get this is declare Mobile state before Desktop state.

Thanks

2018-06-06 15:47 GMT+02:00 Piotr Zarzycki :

> Andrew,
>
> Look into Transpiledaction script example [1]. I don't switch here between
> top level js:View, but I'm using separate views specified in the other
> files. I think you may apply similar approach once you start working on
> your app. You can make one view and inside that view start using States.
>
> [1] https://bit.ly/2JjhEOY
>
> Thanks,
> Piotr
>
> śr., 6 cze 2018 o 15:45 Piotr Zarzycki 
> napisał(a):
>
>> Sorry I meant bead for states.
>>
>> śr., 6 cze 2018 o 15:40 Piotr Zarzycki 
>> napisał(a):
>>
>>> Hi Andrew,
>>>
>>> I'm not sure whether you actually need currentState on the Application
>>> level. The first starting point for your app will be View. If you would
>>> like to have some states above View (application level), you will need to
>>> define on that lever bead for Binding.
>>>
>>> Thanks,
>>> Piotr
>>>
>>> śr., 6 cze 2018 o 15:32 Andrew Wetmore  napisał(a):
>>>
>>>> @Carlos, where do you define the starting state for the app? What
>>>> happens if you do not define it? In my Flex apps the application tag has a
>>>> "currentState" property, I do believe. If that feature exists, can we add
>>>> it to this example and explain it?
>>>>
>>>> On Wed, Jun 6, 2018 at 10:20 AM, Andrew Wetmore 
>>>> wrote:
>>>>
>>>>> @Carlos, can you update this line in the running code?
>>>>>
>>>>> 
>>>>>
>>>>> That may get stripped out by the forum tool, of course. What I need is
>>>>> for you to change "You are logged!!" to "You are logged in!!"
>>>>>
>>>>> I have made the change in the code in the blog post.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> On Wed, Jun 6, 2018 at 10:09 AM, Andrew Wetmore 
>>>>> wrote:
>>>>>
>>>>>> Oh, this feature is essential to my apps, so I will go look at it in
>>>>>> a few minutes.
>>>>>>
>>>>>> On Wed, Jun 6, 2018 at 9:32 AM, Carlos Rovira <
>>>>>> carlosrov...@apache.org> wrote:
>>>>>>
>>>>>>> Hi Andrew,
>>>>>>>
>>>>>>> hope you can get some time to review this:
>>>>>>>
>>>>>>> https://royale.codeoscopic.com/using-view-states-to-show-
>>>>>>> or-hide-content/
>>>>>>>
>>>>>>> Thanks! :)
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Carlos Rovira
>>>>>>> http://about.me/carlosrovira
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Andrew Wetmore
>>>>>>
>>>>>> http://cottage14.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Andrew Wetmore
>>>>>
>>>>> http://cottage14.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Andrew Wetmore
>>>>
>>>> http://cottage14.blogspot.com/
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: New blog example post ready to review "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
Right!, sorry I thought you end your revision. Take over and let me know
when I can make my changes thanks!

2018-06-06 15:54 GMT+02:00 Andrew Wetmore :

> @Carlos, if I restore my revision that probably will overwrite whatever it
> is you just did. Can you wait until I have restored my revision and let you
> know I am done? Then you can go in and do again what you just did.
>
> Thanks.
>
> On Wed, Jun 6, 2018 at 10:52 AM, Andrew Wetmore 
> wrote:
>
>> But what is the currentState for the View? How does the app know what to
>> display by default?
>>
>> On Wed, Jun 6, 2018 at 10:51 AM, Andrew Wetmore 
>> wrote:
>>
>>> @Carlos I got kicked out form editing, possibly by you. Have all my
>>> edits been lost. There is a note that they are "in a revision", but I am
>>> not sure where to find them.
>>>
>>> On Wed, Jun 6, 2018 at 10:50 AM, Carlos Rovira 
>>> wrote:
>>>
>>>> Sure!, I'll do it as soon as you end your revision! :)
>>>>
>>>> 2018-06-06 15:20 GMT+02:00 Andrew Wetmore :
>>>>
>>>>> @Carlos, can you update this line in the running code?
>>>>>
>>>>> 
>>>>>
>>>>> That may get stripped out by the forum tool, of course. What I need is
>>>>> for you to change "You are logged!!" to "You are logged in!!"
>>>>>
>>>>> I have made the change in the code in the blog post.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> On Wed, Jun 6, 2018 at 10:09 AM, Andrew Wetmore 
>>>>> wrote:
>>>>>
>>>>>> Oh, this feature is essential to my apps, so I will go look at it in
>>>>>> a few minutes.
>>>>>>
>>>>>> On Wed, Jun 6, 2018 at 9:32 AM, Carlos Rovira <
>>>>>> carlosrov...@apache.org> wrote:
>>>>>>
>>>>>>> Hi Andrew,
>>>>>>>
>>>>>>> hope you can get some time to review this:
>>>>>>>
>>>>>>> https://royale.codeoscopic.com/using-view-states-to-show-or-
>>>>>>> hide-content/
>>>>>>>
>>>>>>> Thanks! :)
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Carlos Rovira
>>>>>>> http://about.me/carlosrovira
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Andrew Wetmore
>>>>>>
>>>>>> http://cottage14.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Andrew Wetmore
>>>>>
>>>>> http://cottage14.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Carlos Rovira
>>>> http://about.me/carlosrovira
>>>>
>>>>
>>>
>>>
>>> --
>>> Andrew Wetmore
>>>
>>> http://cottage14.blogspot.com/
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Andrew Wetmore
>>
>> http://cottage14.blogspot.com/
>>
>>
>>
>>
>>
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>


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


Re: New blog example post ready to review "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
I prefer, this to be reviewed by Alex since I think he did the code and see
if it's easy to handle "currentState" in that way. He knows the code better
and can do the change easily. I think is better that you create an issue in
GitHub so we can deal with it.
thanks

2018-06-06 15:58 GMT+02:00 Andrew Wetmore :

> @Piotr in your example you set currentState in onAppComplete, which is
> what I am familiar with doing. @Carlos, the example does not yet have that
> feature. Do we add it and describe it?
>
> On Wed, Jun 6, 2018 at 10:47 AM, Piotr Zarzycki  > wrote:
>
>> Andrew,
>>
>> Look into Transpiledaction script example [1]. I don't switch here
>> between top level js:View, but I'm using separate views specified in the
>> other files. I think you may apply similar approach once you start working
>> on your app. You can make one view and inside that view start using States.
>>
>> [1] https://bit.ly/2JjhEOY
>>
>> Thanks,
>> Piotr
>>
>> śr., 6 cze 2018 o 15:45 Piotr Zarzycki 
>> napisał(a):
>>
>>> Sorry I meant bead for states.
>>>
>>> śr., 6 cze 2018 o 15:40 Piotr Zarzycki 
>>> napisał(a):
>>>
>>>> Hi Andrew,
>>>>
>>>> I'm not sure whether you actually need currentState on the Application
>>>> level. The first starting point for your app will be View. If you would
>>>> like to have some states above View (application level), you will need to
>>>> define on that lever bead for Binding.
>>>>
>>>> Thanks,
>>>> Piotr
>>>>
>>>> śr., 6 cze 2018 o 15:32 Andrew Wetmore 
>>>> napisał(a):
>>>>
>>>>> @Carlos, where do you define the starting state for the app? What
>>>>> happens if you do not define it? In my Flex apps the application tag has a
>>>>> "currentState" property, I do believe. If that feature exists, can we add
>>>>> it to this example and explain it?
>>>>>
>>>>> On Wed, Jun 6, 2018 at 10:20 AM, Andrew Wetmore 
>>>>> wrote:
>>>>>
>>>>>> @Carlos, can you update this line in the running code?
>>>>>>
>>>>>> 
>>>>>>
>>>>>> That may get stripped out by the forum tool, of course. What I need
>>>>>> is for you to change "You are logged!!" to "You are logged in!!"
>>>>>>
>>>>>> I have made the change in the code in the blog post.
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> On Wed, Jun 6, 2018 at 10:09 AM, Andrew Wetmore 
>>>>>> wrote:
>>>>>>
>>>>>>> Oh, this feature is essential to my apps, so I will go look at it in
>>>>>>> a few minutes.
>>>>>>>
>>>>>>> On Wed, Jun 6, 2018 at 9:32 AM, Carlos Rovira <
>>>>>>> carlosrov...@apache.org> wrote:
>>>>>>>
>>>>>>>> Hi Andrew,
>>>>>>>>
>>>>>>>> hope you can get some time to review this:
>>>>>>>>
>>>>>>>> https://royale.codeoscopic.com/using-view-states-to-show-or-
>>>>>>>> hide-content/
>>>>>>>>
>>>>>>>> Thanks! :)
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Carlos Rovira
>>>>>>>> http://about.me/carlosrovira
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Andrew Wetmore
>>>>>>>
>>>>>>> http://cottage14.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Andrew Wetmore
>>>>>>
>>>>>> http://cottage14.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Andrew Wetmore
>>>>>
>>>>> http://cottage14.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>


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


Re: New blog example post ready to review "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
Yeah! right
thanks! :)

2018-06-06 16:06 GMT+02:00 Andrew Wetmore :

> @Carlos, I can add that line about the first listed state being the
> default state.
>
> Is it okay if I go back in and restore my revision?
>
>
>
> On Wed, Jun 6, 2018 at 11:05 AM, Carlos Rovira 
> wrote:
>
>> Hi Piotr,
>>
>> I think what Andrew wants is, in your example: currentState="Desktop"
>> can be changed to currentState="Mobile", and that view start in that
>> state. Not write that variable set up at application level.
>> Right now the way to get this is declare Mobile state before Desktop
>> state.
>>
>> Thanks
>>
>> 2018-06-06 15:47 GMT+02:00 Piotr Zarzycki :
>>
>>> Andrew,
>>>
>>> Look into Transpiledaction script example [1]. I don't switch here
>>> between top level js:View, but I'm using separate views specified in the
>>> other files. I think you may apply similar approach once you start working
>>> on your app. You can make one view and inside that view start using States.
>>>
>>> [1] https://bit.ly/2JjhEOY
>>>
>>> Thanks,
>>> Piotr
>>>
>>> śr., 6 cze 2018 o 15:45 Piotr Zarzycki 
>>> napisał(a):
>>>
>>>> Sorry I meant bead for states.
>>>>
>>>> śr., 6 cze 2018 o 15:40 Piotr Zarzycki 
>>>> napisał(a):
>>>>
>>>>> Hi Andrew,
>>>>>
>>>>> I'm not sure whether you actually need currentState on the Application
>>>>> level. The first starting point for your app will be View. If you would
>>>>> like to have some states above View (application level), you will need to
>>>>> define on that lever bead for Binding.
>>>>>
>>>>> Thanks,
>>>>> Piotr
>>>>>
>>>>> śr., 6 cze 2018 o 15:32 Andrew Wetmore 
>>>>> napisał(a):
>>>>>
>>>>>> @Carlos, where do you define the starting state for the app? What
>>>>>> happens if you do not define it? In my Flex apps the application tag has 
>>>>>> a
>>>>>> "currentState" property, I do believe. If that feature exists, can we add
>>>>>> it to this example and explain it?
>>>>>>
>>>>>> On Wed, Jun 6, 2018 at 10:20 AM, Andrew Wetmore 
>>>>>> wrote:
>>>>>>
>>>>>>> @Carlos, can you update this line in the running code?
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> That may get stripped out by the forum tool, of course. What I need
>>>>>>> is for you to change "You are logged!!" to "You are logged in!!"
>>>>>>>
>>>>>>> I have made the change in the code in the blog post.
>>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>> On Wed, Jun 6, 2018 at 10:09 AM, Andrew Wetmore >>>>>> > wrote:
>>>>>>>
>>>>>>>> Oh, this feature is essential to my apps, so I will go look at it
>>>>>>>> in a few minutes.
>>>>>>>>
>>>>>>>> On Wed, Jun 6, 2018 at 9:32 AM, Carlos Rovira <
>>>>>>>> carlosrov...@apache.org> wrote:
>>>>>>>>
>>>>>>>>> Hi Andrew,
>>>>>>>>>
>>>>>>>>> hope you can get some time to review this:
>>>>>>>>>
>>>>>>>>> https://royale.codeoscopic.com/using-view-states-to-show-or-
>>>>>>>>> hide-content/
>>>>>>>>>
>>>>>>>>> Thanks! :)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Carlos Rovira
>>>>>>>>> http://about.me/carlosrovira
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Andrew Wetmore
>>>>>>>>
>>>>>>>> http://cottage14.blogspot.com/
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Andrew Wetmore
>>>>>>>
>>>>>>> http://cottage14.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Andrew Wetmore
>>>>>>
>>>>>> http://cottage14.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Piotr Zarzycki
>>>>>
>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>


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


Re: New blog example post ready to review "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
We are live!! :)

thanks!

2018-06-06 16:18 GMT+02:00 Andrew Wetmore :

> I am done editing for now. That was fun!
>
> On Wed, Jun 6, 2018 at 11:11 AM, Piotr Zarzycki  > wrote:
>
>> Ahh yes I remember now! I'm not sure why I didn't raise that issue
>> earlier.
>>
>> Thanks for pointing that!
>>
>> śr., 6 cze 2018 o 16:10 Carlos Rovira 
>> napisał(a):
>>
>>> Yeah! right
>>> thanks! :)
>>>
>>> 2018-06-06 16:06 GMT+02:00 Andrew Wetmore :
>>>
>>>> @Carlos, I can add that line about the first listed state being the
>>>> default state.
>>>>
>>>> Is it okay if I go back in and restore my revision?
>>>>
>>>>
>>>>
>>>> On Wed, Jun 6, 2018 at 11:05 AM, Carlos Rovira >>> > wrote:
>>>>
>>>>> Hi Piotr,
>>>>>
>>>>> I think what Andrew wants is, in your example: currentState="Desktop"
>>>>> can be changed to currentState="Mobile", and that view start in that
>>>>> state. Not write that variable set up at application level.
>>>>> Right now the way to get this is declare Mobile state before Desktop
>>>>> state.
>>>>>
>>>>> Thanks
>>>>>
>>>>> 2018-06-06 15:47 GMT+02:00 Piotr Zarzycki :
>>>>>
>>>>>> Andrew,
>>>>>>
>>>>>> Look into Transpiledaction script example [1]. I don't switch here
>>>>>> between top level js:View, but I'm using separate views specified in the
>>>>>> other files. I think you may apply similar approach once you start 
>>>>>> working
>>>>>> on your app. You can make one view and inside that view start using 
>>>>>> States.
>>>>>>
>>>>>> [1] https://bit.ly/2JjhEOY
>>>>>>
>>>>>> Thanks,
>>>>>> Piotr
>>>>>>
>>>>>> śr., 6 cze 2018 o 15:45 Piotr Zarzycki 
>>>>>> napisał(a):
>>>>>>
>>>>>>> Sorry I meant bead for states.
>>>>>>>
>>>>>>> śr., 6 cze 2018 o 15:40 Piotr Zarzycki 
>>>>>>> napisał(a):
>>>>>>>
>>>>>>>> Hi Andrew,
>>>>>>>>
>>>>>>>> I'm not sure whether you actually need currentState on the
>>>>>>>> Application level. The first starting point for your app will be View. 
>>>>>>>> If
>>>>>>>> you would like to have some states above View (application level), you 
>>>>>>>> will
>>>>>>>> need to define on that lever bead for Binding.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Piotr
>>>>>>>>
>>>>>>>> śr., 6 cze 2018 o 15:32 Andrew Wetmore 
>>>>>>>> napisał(a):
>>>>>>>>
>>>>>>>>> @Carlos, where do you define the starting state for the app? What
>>>>>>>>> happens if you do not define it? In my Flex apps the application tag 
>>>>>>>>> has a
>>>>>>>>> "currentState" property, I do believe. If that feature exists, can we 
>>>>>>>>> add
>>>>>>>>> it to this example and explain it?
>>>>>>>>>
>>>>>>>>> On Wed, Jun 6, 2018 at 10:20 AM, Andrew Wetmore <
>>>>>>>>> cottag...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> @Carlos, can you update this line in the running code?
>>>>>>>>>>
>>>>>>>>>> 
>>>>>>>>>>
>>>>>>>>>> That may get stripped out by the forum tool, of course. What I
>>>>>>>>>> need is for you to change "You are logged!!" to "You are logged in!!"
>>>>>>>>>>
>>>>>>>>>> I have made the change in the code in the blog post.
>>>>>>>>>>
>>>>>>>>>> Thanks!
>>>>>>>>>>
>>>>>>>>>> On Wed, Jun 6, 2018 at 10:09 AM, Andrew Wetmore <
>>>>>>>>>> c

New blog example post "Using View States to show or hide content"

2018-06-06 Thread Carlos Rovira
Hi,

new blog post online:

https://royale.apache.org/using-view-states-to-show-or-hide-content/

Enjoy! :)

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


Re: Jewel Themes

2018-06-18 Thread Carlos Rovira
Hi Alex,

can you post here the line you're using? I'm using maven, so I'm not
familiar with how you are dealing with this in an IDE. Looking at what
you're using I can figure how it should work.

Thanks

2018-06-18 10:29 GMT+02:00 Ale :

> Hi!
>
> I saw a thread discussing how to import Jewel themes in an IDE and I
> managed
> to "import" a theme using the compiler option /"theme"/ in VSCode.
>
> What I want to know is how can I use several themes like a primary one, a
> secondary one and emphasized one like I see it's used in Jewel Example (the
> App one).
>
> Thanks, Ale
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: Jewel Themes

2018-06-18 Thread Carlos Rovira
Hi Ale,

I think theme compiler option can be chained with a ","
can you try to write "theme":,," ?

If this don't work hope others using IDEs can give some clue here

thanks

Carlos


2018-06-18 11:49 GMT+02:00 Ale :

> Hi Carlos,
>
> The line in the /asconfig.json/ file (compilerOptions) is:
>
> /"theme":
> "${royalelib}/themes/Jewel-Light-NoFlat-Primary-Turquoise-Theme/src/main/
> resources/defaults.css"/
>
> Thanks, Ale
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: Jewel Themes

2018-06-19 Thread Carlos Rovira
Ok Ale,

I think you have two options here:

1.- ask Josh on how to deal with multiple themes in AS3 extension. I'm sure
this is possible since maven does. So I figure is a matter of find the
right syntax. For me is hard to figure since I'm not using it.

2.- You can use maven. That's what I use and works great. The benefits from
this path is that all Royale Jewel examples are done with maven so you have
lots of examples working. In the other hand you ensure your build is
consistent in CI server, IDEs, ... In fact, I don't know the benefits of
IDE building over maven. I build in VSCode with CMD+SHIFT+B, and use to
generate my own Royale snapshot SDK with latest thing I'm developing...

Hope others could bring some more light here in order to help you with more
options

thanks


2018-06-19 10:06 GMT+02:00 Ale :

> Hi Carlos,
>
> The "," solution doesn't work, neither do an array. I tried both.
>
> The "," is not able to open the file as it omits the "," and try to open a
> file which is composed by the name of the two given. The array solution
> doesn't work because it expects an string as the argument of the option
> "theme".
>
> Thanks, Ale
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


New TopBarApp component

2018-06-27 Thread Carlos Rovira
Hi,

starting navigation Jewel componentes with TopAppBar. This one is modeled
under new material design components guidelines and of course under Royale
/ Jewel / Themes guidelines.

To take a quick look you can look the screen shot in this tweet (both how
it looks and how example code looks). All browsers are supported (included
IE11), no swf is considered yet, but hope it will be in the future:

https://twitter.com/ApacheRoyale/status/1012103829641486337

and as always retweet and share! :)

(Next, hope to have soon a Drawer component )

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


Jewel Drawer component screenshot preview tweet

2018-06-30 Thread Carlos Rovira
Hi,

just want to share a tweet about the new Jewel Drawer component

https://twitter.com/carlosrovira/status/1013102200019673089

Notice a the new Jewel logo as well, so we can soon add more info to the
website and market it better ;)

Hope you like it! As always retweet and share! :)

Best

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


Re: IconItemRenderer planned?

2018-07-06 Thread Carlos Rovira
Hi

I did Icons recently. You have a library "Icons" with "FontIcon" and
"ToggleFontIcon". Jewel Button already supports now "icon" property through
"IIcon" interface in core. ToggleFontIcon is an ISelectable component and
it's used as well with ToggleButton as well recently done.

About ItemRenderer there's an example in JewelExample in
NavigationIconLinkItemRenderer.mxml. It's done in MXML and not AS3 since in
Royale, mxml seems to be as performant as AS3, so not need to make it AS3.
But if you're more happy you can create it your own in AS3.

The renderer is like this:

http://ns.adobe.com/mxml/2009";
xmlns:j="library://ns.apache.org/royale/jewel"
xmlns:js="library://ns.apache.org/royale/basic"
xmlns:html="library://ns.apache.org/royale/html"
xmlns="http://www.w3.org/1999/xhtml";>













So it's using Binding.

FontIcon are icons that use font icons like Material Design, you should be
able to use as well FontAwesome or others.

The list using this is:







and in CSS:

.navIconLinkItemRenderer
{
IItemRenderer: ClassReference("itemRenderers.NavigationIconLinkItemRenderer"
);
}


As a bonus, buttons con icons are like this:













You can take into account that a j:Button used in a TopBarApp will look
without chrome and only as an icon. You can look into the CSS

As well I want to give you a warning. This code is what I'm doing this
days, so while it seems finished, I can't guarantee that will not change
tomorrow until it settles it a bit, if this happens will be during the next
few days and before that I expect it to be pretty final

I have to do some blog example as well as I consider this finished.

Best,

Carlos




2018-07-06 14:53 GMT+02:00 pynenburgad :

> Hi,
>
> I am considering porting a Flex mobile app to web/Apache Royale. The Flex
> mobile app makes extensive use of (customized) AS iconitemrenders, so I am
> wondering if there are plans to develop an Apache Royale IconItemRenderer,
> preferably to be used with the Jewel theme? I couldn’t find any references
> in the Github source code repositories.
>
> I’ve experimented with a Jewel List using an MXML renderer to display
> graphics in list items, finding that when the number of list items times
> row
> height exceeds list height, row heights are diminished to fit list items
> inside the list viewport.
>
> Thanks in advance,
> Ad
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: IconItemRenderer planned?

2018-07-07 Thread Carlos Rovira
Hi

Navigation component is extending List component, so its a specialized List
for navigation.

But to test that the List component is fully working just uploaded a
working Icon ListItemRenderer example to Jewel Example in this commit [1]

The screenshot with the result is [2].

Is mostly the same as you did, but using a typed Object "IconListVO", The
renderer extends "ListItemRenderer" and is set with CSS

.iconListItemRenderer
{
IItemRenderer: ClassReference("itemRenderers.IconListItemRenderer");
}

and instead of set offsets with x and y I use css like this:


.iconListItemRenderer .fonticon
{
margin-right: 24px;
}

This make some room between the icon and the text label.

Hope the example help you to get this working :)

Carlos


[1]
https://github.com/apache/royale-asjs/commit/41fed79c89e294bea97ba3b4e213d1c535227aae
[2] https://snag.gy/kvBOY2.jpg

2018-07-06 23:22 GMT+02:00 pynenburgad :

> Again the MXML Itemrenderer code, now including the missing 
> code:
>
> http://ns.adobe.com/mxml/2009";
> xmlns:js="library://ns.apache.
> org/royale/basic"
> xmlns:j="library://ns.apache.org/royale/jewel"
> xmlns:svg="library://ns.
> apache.org/royale/svg"
> width="100%" height="36">
> 
>
> [Bindable]
> [Bindable]
> private var placeName:String;
>
> [Bindable]
> private var placeCountry:String;
>
> [Bindable]
> private var placeFlag:String;
>
> override public function set
> data(value:Object):void
> {
> super.data = value;
>
> placeName = value["name"];
> placeCountry = value["country"];
> placeFlag = value["flag"];
>
>     }
>
> 
>
> 
> 
> 
> 
>  height="20" width="30"/>
> 
> 
>
> 
>
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


  1   2   3   4   5   6   7   >