PelFusion
A blog about JavaScript, AJAX, jQuery, Prototype, Mootools
Read HP laptop reviews on this informative laptop site
Rowan wrote a nice article abou flex components. He give us a clear picture on why you shoud use the components on your applications.
Components are so easy to use, that it’s almost criminal to start building your first rough cut without them. One of the biggest benefits is how well you can capture your business interface needs within the components. Almost turning your mxml and actionscript into a domain specific language. For example in an eCommerce application, the heirachy might look like this AppStack (< View Stack ) - Dashboard ( < Canvas ) - OrdersStack ( < View Stack ) — OrdersList ( < Panel ) — OrderView ( < Panel ) - CustomersStack ( < View Stack ) - InventoryStack ( < View Stack ) - ReportsStack ( < View Stack ) With examples of public methods: OrdersList.refreshOrders() OrdersList.switchToCustomersOrders(customerID:Number) OrderView.changeToEditMode() OrderView.showBackOfficeInformation()
Components are so easy to use, that it’s almost criminal to start building your first rough cut without them. One of the biggest benefits is how well you can capture your business interface needs within the components. Almost turning your mxml and actionscript into a domain specific language. For example in an eCommerce application, the heirachy might look like this
AppStack (< View Stack ) - Dashboard ( < Canvas ) - OrdersStack ( < View Stack ) — OrdersList ( < Panel ) — OrderView ( < Panel ) - CustomersStack ( < View Stack ) - InventoryStack ( < View Stack ) - ReportsStack ( < View Stack )
With examples of public methods:
OrdersList.refreshOrders() OrdersList.switchToCustomersOrders(customerID:Number) OrderView.changeToEditMode() OrderView.showBackOfficeInformation()
Brgds, CP
This entry was posted on Thursday, June 28th, 2007 at 11:18 am and is filed under Tutorials. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
No Comments.
Name (required)
Mail (will not be published) (required)
Website