Feeds

Programming Flex 2

A book on programming RIAs

Intelligent flash storage arrays

Book review The move towards rich internet applications (RIA) seems to be unstoppable. Aiming to offer browser-based applications with the speed, flexibility and functionality of traditional desktop applications, companies like Google and others continue to raise the bar as to what you can do in a browser. One of the key technologies in this area has been Ajax, but even with the proliferation of Ajax toolkits and frameworks, there are an increasing range of alternatives. These include JavaFX from Sun, JBoss Seam, Google’s GWT and Microsoft’s Silverlight.

And, of course, there’s Adobe’s Flash platform, with its massive installed user base and widespread availability of browser plug-ins. Flex 2 is that latest version of the software development kit (SDK) for producing rich internet apps targeting Flash Player 9 run-time environment. Using a combination of an XML based language called MXML and the ActionScript 3 scripting language, Flex 2 enables developers to create highly interactive GUI applications, with a high degree of functionality, linking back-end databases, business logic and user interaction all within the confines of the Flash player (normally hosted in a browser).

Given these different components, along with details of the FlexBuilder development environment, there’s a lot for the new developer to get to grips with. Unfortunately ‘Programming Flex 2’ doesn’t quite do justice to the topic. It starts out slowly, with details of the history of Flex, a detailed introduction to the architecture of Flex and so on. It isn’t till chapter 3 that you get a chance to see some action, and even then it’s fairly slow going. If ever a topic was geared to some gee-whizzery and flashy [ahem!] examples it’s this one, but unfortunately you don’t really get them here.

The chapter on ActionScript is fairly brief, the authors assume (rightly or wrongly), that readers already have some background on the language; else they recommend the purchase of a separate book on it. Given the similarities between ActionScript and JavaScript, Java and other object oriented languages the authors don’t really make the most of helping readers along by pointing out areas of overlap or difference. There’s also an assumed knowledge of object orientation; again, if you’re not up on this then you’ll have to look elsewhere for more information.

However, if you’re looking for information on specific topics rather than extended tutorials, there’s a lot of material covered here. Form validation, data binding, application skinning, layout managers, custom components, remote data communications and more all get chapters devoted to them. While the writing is a bit on the wordy side, the explanations tend to be clear and there’s plenty of sample code (both in MXML and ActionScript) to learn from. Note that the emphasis is pretty much on key concepts and basic use cases, in the same way that this isn’t a tutorial, it’s also not a reference book.

Ultimately,however, it feels as though this is a book that is aimed at rather a narrow band of readers. It’s not for those new to ActionScript, not for those unfamiliar with object orientation and not for those looking for a technical reference. In many respects this is a book that’s aimed at those who have already picked up the basics of Flex 2 and now want to get into more of the details on specific topics. If that’s the position you’re in then this might well be the book you’re looking for. Programming Flex 2

Verdict: May suit some readers but doesn’t quite live up to expectations.

Author: Chafic Kazoun and Joey Lott

Publisher: Published by O’Reilly

ISBN: 059652689X

Media: Book

List Price: £38.99

Current Reg price: £27.68 inc. VAT (discount 29%

Buy this book at Register Books at Reg Developer's special discounted price (subject to change)!

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
Preview redux: Microsoft ships new Windows 10 build with 7,000 changes
Latest bleeding-edge bits borrow Action Center from Windows Phone
Google opens Inbox – email for people too thick to handle email
Print this article out and give it to someone tech-y if you get stuck
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
UNIX greybeards threaten Debian fork over systemd plan
'Veteran Unix Admins' fear desktop emphasis is betraying open source
Entity Framework goes 'code first' as Microsoft pulls visual design tool
Visual Studio database diagramming's out the window
Google+ goes TITSUP. But WHO knew? How long? Anyone ... Hello ...
Wobbly Gmail, Contacts, Calendar on the other hand ...
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.