I discovered Google's Closure Library while working on a large JavaScript
project. It was painful to switch to it in the middle of the project because
you need to write JavaScript in a certain style and for advanced optimization
to work, you need to annotate code and add exports but in the end it was well
worth the effort.
Not only you get lots of useful things (like true OO support, Events, etc.)
missing from JavaScript but with its advanced optimization, you get super
optimized code. (eg. our library went from 500KB to 100KB and it's super fast).
There are also other tools like Closure Linter that checks your code for style
issues and JSDoc works well with Closure style JavaScript.
So, I highly recommend Closure Library. I also tried bunch of IDEs for
JavaScript and IntelliJ seemed to be the best one for me even though I'm an
Eclipse guy. For debugging, Chrome's debugger is definitely the most stable and
easy one to use for me.
Hope this helps,
Mete
--- In flexcoders@yahoogroups.com, jamesfin james.alan.finnigan@... wrote:
As a devoted flex developer of over five years now, I'm getting the nudge by
management to get as comfortable with HTML5/Javascript as I currently am with
MXML/Actionscript. Not my decision.
That said, I figured this forum would be better suited to answer a few
questions about html5/javascript rather than a endure throught a few
flash-hater filled javascript forums. ;)
Knowing the following about common flex development practices, what are the
analogs with flex when using javascript, if any at all?
FlashBuilder = ? (i.e. dreamweaver?)
MXML = HTML
Actionscript = Javascript
RobotLegs = ?
AS3Signals = ?
Others, feel free to contribute...
Also,
Using Robotlegs affords many comforts towards MVC development practices. In
that context, can other analogs be made in HTML5/Javascript where separate
files are used for each of these areas? Links and/or examples would be great.
View = ?
Mediator = ?
Service = ?
Model = ?
Controller = ?
Dependency Injection = ?
Signals = ?
It would appear as if SproutCore shares some of the attributes we enjoy in
Flex but would like to hear what Javascripts frameworks are most friendly to
Flex Developers.
Thanks in advance!