RE: New ExternalJS project in royale-asjs\frameworks\projects

2021-10-31 Thread Maria Jose Esteve
Hi Roman,
All the projects I have used them in are Jewel but I think they could be used.
Right now I don't remember if I used any Jewel wrappers, but I don't think so, 
I always try to use base classes.
I can't try it now, (today is Halloween and my work today will be "costumes" 
"candies" "spider webs" etc, etc ), let me know if they work for you.

Hiedra.

De: Roman Isitua 
Enviado el: domingo, 31 de octubre de 2021 8:55
Para: users@royale.apache.org
Asunto: Re: New ExternalJS project in royale-asjs\frameworks\projects

This looks interesting.

I have the following questions :

1. Which royale ui libraries are this components based on ? E.g jewel,  
material design (mdl ) ?

2. I am using material design (mdl) for a project.  Can I use this components 
below with material design ?


The components I am referring to are
1. Jscalendar.
2. Royale e chart.
3. Inspire tree.


On Mon, 25 Oct 2021, 11:00 Alina Kazi, 
mailto:alinakazi1...@gmail.com>> wrote:
Hello,

I and Maria have developed some external js libraries.
One of them is InspireTree which we are currently working on.
I have pasted the image link below to see how functional it is:
https://drive.google.com/file/d/12hqjkeOHUt8tvO3EUCNP-g9UeFrOadke/view?usp=sharing
InspireTree is a strong JS library and we have created multiple beads to make 
it as dynamic as it can be. Multiple types of trees can be created with this 
InspireTree customized library and the behaviour would also be dynamic based on 
the type of the tree.

I need Vote to add a library to Royale SDK containing external JS libraries.

A new project on path royale-asjs\frameworks\projects named as some 
JSExternsRoyale or JSExtern or any suitable name.
We have some ready to use external js 
libraries(Royale-echarts,Virtual-Select,jsCalendar..) that we will contribute 
to the SDK and others can contribute other ExternalJS ready to use in the SDK.
This would be very useful for new users and existing users of Apache Royale.


Please Vote.

Thanks and Best Regards,
Alina Kazi


Re: New ExternalJS project in royale-asjs\frameworks\projects

2021-10-31 Thread Roman Isitua
This looks interesting.

I have the following questions :

1. Which royale ui libraries are this components based on ? E.g jewel,
material design (mdl ) ?

2. I am using material design (mdl) for a project.  Can I use this
components below with material design ?


The components I am referring to are
1. Jscalendar.
2. Royale e chart.
3. Inspire tree.



On Mon, 25 Oct 2021, 11:00 Alina Kazi,  wrote:

> Hello,
>
> I and Maria have developed some external js libraries.
> One of them is InspireTree which we are currently working on.
> I have pasted the image link below to see how functional it is:
>
> https://drive.google.com/file/d/12hqjkeOHUt8tvO3EUCNP-g9UeFrOadke/view?usp=sharing
> InspireTree is a strong JS library and we have created multiple beads to
> make it as dynamic as it can be. Multiple types of trees can be created
> with this InspireTree customized library and the behaviour would also be
> dynamic based on the type of the tree.
>
> I need Vote to add a library to Royale SDK containing external JS
> libraries.
>
> A new project on path royale-asjs\frameworks\projects named as some
> JSExternsRoyale or JSExtern or any suitable name.
> We have some ready to use external js
> libraries(Royale-echarts,Virtual-Select,jsCalendar..) that we will
> contribute to the SDK and others can contribute other ExternalJS ready to
> use in the SDK.
> This would be very useful for new users and existing users of Apache
> Royale.
>
>
> Please Vote.
>
> Thanks and Best Regards,
> Alina Kazi
>


Re: [EXTERNAL] Configuring rpc end points in royale

2021-10-31 Thread Roman Isitua
Thanks for this response. I will certainly try the below configuration and
revert.


However, I want  to understand your usage of nginx.

My approach is to develop on my local machine then deploy to test server
then test there.

If I understood you correctly, you are deploying the front end in your
local machine however you are using nginx to route traffic to your test
server ?

I would appreciate if you have links on how to do this. Sounds
very interesting.

On Tue, 26 Oct 2021, 23:15 Brian Raymes,  wrote:

> Correct, remove the hostname and IP from your configuration and it will
> infer it at runtime. FYI, I’m using crux as well, although, I have mine
> configured a bit differently.
>
>
>
> Example for you:
>
>
>
> 
>  endpoint="messagebroker/websocket-amf
> "
>
>  destination="genericService">
>
>
>
> 
>
> 
>
>
>
> 
>
>
>
> Then, what I do, is set up my nginx proxy to forward traffic to my test
> server. Have the forward include the “spaceiofm”. Then, your code is
> deployment agnostic.
>
>
>
> Hope that helps. Let me know if you need more concrete examples.
>
>
>
> Brian
>
>
>
> *From:* Roman Isitua 
> *Sent:* Monday, October 25, 2021 12:25 PM
> *To:* users@royale.apache.org
> *Subject:* Re: [EXTERNAL] Configuring rpc end points in royale
>
>
>
> Hi Brian,
>
>
>
> Thanks for your response. Though I am still not clear how your suggestion
> will work. Formy app I am using crux. There is a beans.xml file where I
> configured my remote end points as follows
>
>
>
>
>
>  
>  endpoint="
> http://localhost:8080/messagebroker/websocket-amf;
>
>  destination="genericService">
>
> 
>
> 
>
>  
>
>
>
>
>
> When running the program on my development pc my server is localhost. So
> it works fine. When I deploy to the test server, the above configuration
> will not work. I have to adjust the ip address to be something like this
>
>
>
>  
>  endpoint="
> http://192.68.43.22:8080/spaciofm/messagebroker/websocket-amf;
>
>  destination="genericService">
>
> 
>
> 
>
>  
>
>
>
>
>
> If I do this, it works.
>
>
>
> My guess is that there should be a way to configure the end point such
> that it defaults to the server host name without any configuration.
>
>
>
> Regards,
>
>
>
>
>
>
>
> On Mon, Oct 18, 2021 at 8:49 PM Brian Raymes 
> wrote:
>
> Hi Roman,
>
>
>
> I do this by running a local instance of Nginx that proxies to my backend
> (or wherever you need as it’s easily changeable).
>
>
>
> As for RPC configuration, I have mine all set relatively, as-in, simply:
>
>
>
> AMFChannel("my-amf", "messagebroker/amf");
>
>
>
> This way, they always look local, but proxy through Nginx to any server I
> need throughout the development/test process.
>
>
>
> By doing it this way, I never have to modify a build. They just work in
> call cases, whether that be local for development, or remote when deployed.
>
>
>
> If you need any config assistance for Nginx, let me know.
>
>
>
> Regards,
>
> Brian
>
>
>
> *From:* Roman Isitua 
> *Sent:* Monday, October 18, 2021 9:23 AM
> *To:* users@royale.apache.org
> *Subject:* [EXTERNAL] Configuring rpc end points in royale
>
>
>
> Hi,
>
>
>
> In an app, I am working on. I am using rpc based end points to access my
> back end. On my development machine I use localhost. I intend to start
> deploying the the app to a test server for testing. I realise that each
> time, I do a deployment to the test server, I have to remember to switch
> from local host to the ip address of the test server. I do this via the
> beans.mxml configuration files. (I am using crux). Sometimes I forget to do
> this,  so I have to redeploy again.
>
>
>
> My question is, is there a better way to configure my rpc end points such
> that I don't have to be changing ip addresses of the rpc end points in the
> beans.mxml file ?
>
>
>
> Once testing is done, the app will be moved to production, again, ip
> addresses will change.
>
>
>
> What is the best practice for configuring rpc end points in royale ?
>
>
>
> Is there a way to store deployment environments specific configurations  ?
>
>
>
>
>
> Regards,
>
>