The advantages of using Royale
Let‘s face it: there are lots of application frameworks out there and each one claims to be the best. What does Apache Royale give you that you don’t get with other frameworks?
Royale takes the best parts of Flex, which was the first major web application framework. The best minds in the field developed Flex, and one of the lead architects of Flex led the design of Royale.
Flex has run huge enterprise applications and Royale sits on that experience. Organizations are using Royale to continue to develop and run applications which were originally developed in Flex.
Royale is backed by Apache and offers the peace of mind knowing that Apache processes govern Royale's releases.
Javascript is great, but it has a lot of weird parts. ActionScript and Royale fixes the problematic parts of Javascript:
for in
and for of
? Royale has a more intuitive loop syntax: for each(item in array)
. While this is similar to for of
, the for each
syntax in ActionScript supports all Javascript run-times including Internet Explorer.If you are using a framework, chances are you have been fighting to get the framework to do what you want. You searched Stack Overflow, only to be told, “You're doing it wrong. You need to use Framework “x” exactly like so!”
In Royale, we don't tell you how to build your applications.
In short, Royale gives you the tools you need and gives you some examples of what they can do, but doesn't tell you how you have to use them.
Most frameworks try to get as close to vanilla JavaScript as they can. In Royale we try to be faster than vanilla JavaScript. In most cases Royale will beat the best performance you can squeeze out of native HTML and Javascript. That's because Royale only uses the DOM when necessary and we never do any kind of DOM syncing or traversal.
Out of the box, Royale will build both debug and release builds of your application. You don't need any external tools to package “tree shake” or what-have-you.
Royale compiles your entire application into a single JS file, a single minified CSS file and a tiny HTML file. Your entire deployment can often be smaller than 100KB. Because Royale knows a lot about your application, it can be very smart about what it includes and what it can minify.
With Royale, the need to break your app into pieces and do server-side rendering to improve performance can be a thing of the past. You can get better performance out of Royale without any of those steps.
Royale has a lot of functionality built in that you might otherwise have to look for elsewhere.
The Royale community is truly open. We‘re not run by some big company with an agenda. We don’t care about politics. We aren‘t trying to make a profit. We’re just little folk like you trying to build great software. We're waiting for you to join and help us build upon the best framework on earth!