Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Peter Hinrichsen
TechInsite Pty Ltd
www.techinsite.com.au
Topics
Demo
Object model and database structure
Examples in code
Business object model
Unit tests
User interface
Questions and discussion
www.tiopf.com
User interface – Command box
www.tiopf.com
The business object model
TPerson
TPersonList +Title
+FirstName
+LastName
1 0..* +Initials
www.tiopf.com
UI – BOM - Database
TPerson
TPersonList +Title
+FirstName
+LastName
1 0..* +Initials
www.tiopf.com
Modal form based UI
www.tiopf.com
Modal form based UI
TPerson
TPersonList +Title
+FirstName
+LastName
1 0..* +Initials
www.tiopf.com
Add persistence to an XML flat file
- <table table_name="person">
- <fields>
<field field_name="oid" field_kind="string" field_Size="36" />
<field field_name="first_name" field_kind="string" field_Size="60" />
<field field_name="last_name" field_kind="string" field_Size="60" />
</fields>
- <rows>
<row oid=“..1" first_name="Ray" last_name="Konopka" title="Mr"/>
<row oid=“..2" first_name="Glenn" last_name="Crouch" title="Mr"/>
<row oid=“..3" first_name="Malcolm" last_name="Groves" title="Mr"/>
</rows>
</table>
www.tiopf.com
Add persistence to an XML flat file
TPerson
TPersonList +Title
+FirstName
+LastName
1 0..* +Initials
www.tiopf.com
Add persistence over the internet
TPerson
TPersonList +Title
+FirstName
+LastName
1 0..* +Initials
www.tiopf.com
Add a web based client
TPerson
TPersonList +Title
+FirstName
+LastName
1 0..* +Initials
www.tiopf.com
Unit tests are the starting point
TPerson
TPersonList +Title
+FirstName
+LastName
1 0..* +Initials
www.tiopf.com
Code example
TtiObjectList TtiObject
TPersonList TPerson
1 0..*
www.tiopf.com
Code example
www.tiopf.com
Code example
www.tiopf.com
Code example
www.tiopf.com
Key points
www.tiopf.com
Key points
www.tiopf.com
Source code on the web
Peter Hinrichsen
peter_hinrichsen@techinsite.com.au
www.tiopf.com