> On Mar 22, 2022, at 12:35 PM, Roman Isitua <[email protected]> wrote:
> 
> 
> I recently stumbled upon the below links
> 
> https://apache.github.io/royale-docs/get-started/royale-cli 
> <https://apache.github.io/royale-docs/get-started/royale-cli>
> 
> https://apache.github.io/royale-docs/features/nodejs 
> <https://apache.github.io/royale-docs/features/nodejs>
> 
> It looks pretty interesting. As I look to bring new front end developers to 
> join my team. Using royale with a  node js compiler might be a good option. 
> Since most front end developers have no back end experience so tools like 
> maven, ant might be an obstacle to rapid adoption.
> 
> 
> I have the following questions to ask
> 1. Royale cli integration supports hot deployment. i.e. Listens to the src 
> folder. When any file changes, it will recompile the app and reload the 
> browser to show the updated application.)  
> 
> Is this supported when using maven ? If yes. how ?
> 
> It is a major productivity booster.
> 

I’m not sure exactly what’s supported using the cli. It’s a node module. I’m 
not sure how to run node commands from Maven.

Josh is in the processing of adding “watching” features to the Royale compiler 
directly. When he’s done it should be possible to compile an app and then as 
you save changes to your project, an incremental compilation of the changes 
will automatically be run. Since it’ll be a native to the compiler, it should 
run from Maven mcuh as you do today. Not sure about Live Reload though. I 
imagine we’ll have to figure that out when we get there...

> 
> 2. I have started using spectrum UI components. Spectrum is a stand alone 
> royale library. How can I make the Spectrum.swc available to the royale node 
> js module ?
> 
> I have been a back end developer for most of my career so I only recently 
> entered the terrain of front end development with html, javascript and css.

Spectrum is strictly front-end. It might be possible to use node modules which 
emulate the browser, but I imagine you’ll run into issues.

Why would you want to use Spectrum on the back-end?

For Node projects, I’d expect to stick to Native AS3 and Node APIs — not 
browser ones.

Reply via email to