aharui commented on issue #241: (Feature Request) Support projects that do not 
use MXML in "royale serve"
URL: https://github.com/apache/royale-asjs/issues/241#issuecomment-391048787
 
 
   There are hopefully fewer requirements on the MXML main class in Royale than 
there was in Flex.  The goal of MXML is to make lots of boilerplate scripts 
declarative so you have to write less code.  So, however you start up your AS 
or JS scripts today, just encapsulate that into a base class, (optionally put 
the base class in an MXML manifest) and then you can use that base class as the 
top tag in an MXML file.  And if by doing so you discover assumptions by the 
compiler then I'd be interested in breaking those assumptions.  You should be 
able to create your own lifecycle/entry points.  All you get is a .JS file that 
you call from your index.html file.  The compiler generates an index.html for 
you but there is a compiler option to specify a custom html file.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to