Data-centric development with Flash Builder 4 beta comprises three main stages:
- defining a data/service model
- binding service operations to Flex components
- implementing advanced data features like paging and data-management
Data/service modeling and binding made easy
The data/service model is an approach to representing all of your server or service operations and the data that they return in the Flash Builder 4 beta environment. You begin by letting Flash Builder introspect your existing logic—ColdFusion components, PHP classes, Java, or web services. Flash Builder then represents those services in a tree view on the new data/services panel: you can have many different services based on different back-end technologies, all represented within one model. And binding the result of any of your server-side operations to a Flex component (like a datagrid or list) is as easy as dragging and dropping the operation's name onto the component. You can easily use services to generate forms for master/detail functionality, and create charts, too.Advanced data management features
Of course, data-centric applications are about more than just binding operations to components. Flash Builder lets you enable client side data management for your services, allowing on-demand fetching of data for easy and efficient scrolling through large collections of data; change tracking, allowing users to undo actions, and automating the common CRUD (create, read, update, & delete) functions that usually need to be hand-coded. The results are applications that deliver users a richer experience than is possible with ordinary HTML front ends.
Making developers more productive
Whether you've gotten your application started through the workflow by using Adobe Flash Catalyst beta or by building on services using the data-centric features, at the end of the day, much of application development is about writing and testing code. Adobe Flash Builder 4 beta delivers a long list of new and improved features to make your data-to-day coding and testing more productive:
- Refactoring, debugging, and the profiler from Flex Builder 3 have been improved with some of the most requested enhancements.
- The debugger adds conditional breakpoints, watchpoints, run-to-line, and an expression evaluator.
- Profiler now includes an improved "Object References" report.
- Move refactoring has been added.
For new IDE productivity features, try:
- getter/setter generation
- event code generation
- the new Package Explorer
- support for ASDoc tooltips
Builder also supports creating custom file templates for MXML, ActionScript, and CSS.Taking testing to the next level
Beyond coding productivity, Adobe Flash Builder 4 beta adds two important new features for testing applications: a network monitor and Flex Unit support.
The network monitor allows you to see the network traffic between the Flash client and your backend server from within Flash Builder itself. This enables you to more easily debug data access portions of the Flex application, and to diagnose any performance issues that might exist between the client and server.
Unit testing is another important part of the application development process, and Builder makes it easy with integrated Flex Unit support. This will allow test setup, test file creation, test running and test result analysis in Builder.Command-line building and deployment
When you're ready to build and deploy your application, Flash Builder now includes support for command line builds. This will make it easier to fit Flex into corporate automated build systems.
Making the most of the beta
If you're new to Flex, you'll find a wealth of information to help you get started available from the new Start page that you will see when you first launch the application. We've provided tutorials, feature videos, and sample code to help you become productive right away.
From design to data to coding and testing, we think you'll find Adobe Flash Builder 4 beta an incredible tool for RIA development. We're very pleased to bring you this early look at the product, but there's still some final work to be done. So be sure to give us your feedback on the Labs forums and watch for the launch of the final product later this year.
Until then, enjoy the beta!