Presentation is loading. Please wait.

Presentation is loading. Please wait.

March 12 & 13, 2007 Using the Iterating Business Object Peter Bell SystemsForge.

Similar presentations


Presentation on theme: "March 12 & 13, 2007 Using the Iterating Business Object Peter Bell SystemsForge."— Presentation transcript:

1 http://europe.cfunited.com/http://europe.cfunited.com/ March 12 & 13, 2007 Using the Iterating Business Object Peter Bell SystemsForge

2 March 12 & 13, 2007http://europe.cfunited.com/ The Problem: ! Name: #FirstName# #LastName# Age: #datetoAge(DateofBirth)# Payments: $#Numberformat(Payments, "9.99")# #Title# #Description# $#Numberformat(SalePrice, "9.99")# $#Numberformat(BasePrice, "9.99")#

3 March 12 & 13, 2007http://europe.cfunited.com/ The Goal: Encapsulation Name: #UserList.get("FullName")# Age: #UserList.get("Age")# Payments: #UserList.get("Payments")# #ProductList.get("Title")# #ProductList.get("Description")# #ProductList.get("Price")#

4 March 12 & 13, 2007http://europe.cfunited.com/ The Challenges Creation Iteration Performance

5 March 12 & 13, 2007http://europe.cfunited.com/ The Solution: IBO CREATE: var ProductList = beanFactory.getbean("Product"); ProductList.load(ProductList); ITERATE: #ProductList.get("Title")# PERFORMANCE: - Single bean - quick to create

6 March 12 & 13, 2007http://europe.cfunited.com/ The Concept

7 March 12 & 13, 2007http://europe.cfunited.com/ Key Points Encapsulates recordset Handles iteration Generic get/set - can overload Pattern - not implementation

8 March 12 & 13, 2007http://europe.cfunited.com/ Under the Hood Review IBO code... Custom getter example...

9 March 12 & 13, 2007http://europe.cfunited.com/ Structs and Value Lists Designed to encapsulate data Recordset, structure, or value list Code samples...

10 March 12 & 13, 2007http://europe.cfunited.com/ Why Use the IBO? Simple Maintainable Performant

11 March 12 & 13, 2007http://europe.cfunited.com/ Sample Use Cases Business objects Input beans Error beans Code samples...

12 March 12 & 13, 2007http://europe.cfunited.com/ Next Steps Download sample:  http://ibo.riaforge.org http://ibo.riaforge.org Customize for your needs

13 March 12 & 13, 2007http://europe.cfunited.com/ Custom Data Types Displaying form fields Processing form fields Displaying formatted values

14 March 12 & 13, 2007http://europe.cfunited.com/ Custom Data Types.display().field().process() Code samples...

15 March 12 & 13, 2007http://europe.cfunited.com/ 15 Questions? Blog:  www.pbell.com www.pbell.com Email:  peter@pbell.com peter@pbell.com Yahoo:  freshstartsw freshstartsw AIM:  appgeneration appgeneration


Download ppt "March 12 & 13, 2007 Using the Iterating Business Object Peter Bell SystemsForge."

Similar presentations


Ads by Google