Ce diaporama a bien été signalé.
Le téléchargement de votre SlideShare est en cours. ×

Build Business Web Applications with PHPOpenbiz Framework and Cubi Platform

Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Chargement dans…3
×

Consultez-les par la suite

1 sur 30 Publicité

Build Business Web Applications with PHPOpenbiz Framework and Cubi Platform

Télécharger pour lire hors ligne

Openbiz is php application framework that provides an object-oriented metadata-driven platform for application developers to build web application with least possible programming code (80% metadata, 20% programming code).

Openbiz is php application framework that provides an object-oriented metadata-driven platform for application developers to build web application with least possible programming code (80% metadata, 20% programming code).

Publicité
Publicité

Plus De Contenu Connexe

Diaporamas pour vous (17)

Similaire à Build Business Web Applications with PHPOpenbiz Framework and Cubi Platform (20)

Publicité

Plus récents (20)

Publicité

Build Business Web Applications with PHPOpenbiz Framework and Cubi Platform

  1. 1. Build Business Web Applications with PHPOpenbiz framework and Cubi Platform Agus Suhartono [email_address] OpenBiz Contributor, on coding standard and code quality enhancement
  2. 2. Agenda <ul><li>Openbiz Overview </li></ul><ul><li>Openbiz Architecture </li></ul><ul><li>Openbiz Metadata </li></ul><ul><li>Openbiz Data Object </li></ul><ul><li>Openbiz Form and View </li></ul><ul><li>Openbiz Service </li></ul><ul><li>Demo </li></ul><ul><li>Questions </li></ul>
  3. 3. Agenda <ul><li>Openbiz Overview </li></ul><ul><ul><li>What’s Openbiz </li></ul></ul><ul><ul><li>What’s Cubi </li></ul></ul><ul><ul><li>Tools </li></ul></ul><ul><ul><li>Sample Application and ISV </li></ul></ul><ul><li>Openbiz Architecture </li></ul><ul><li>Openbiz Metadata </li></ul><ul><li>Openbiz Data Object </li></ul><ul><li>Openbiz Form and View </li></ul><ul><li>Openbiz Service </li></ul><ul><li>Demo </li></ul><ul><li>Questions </li></ul>
  4. 4. What is Openbiz <ul><li>Openbiz is php application framework that provides an object-oriented metadata-driven platform for application developers to build web application with least possible programming code (80% metadata , 20% programming code ) . </li></ul><ul><li>A little history </li></ul><ul><ul><li>Project was started in 2003 with the goal to minimize the coding efforts in business application development. Has been continuously improved by community developers and user feedback. </li></ul></ul>
  5. 5. What is Openbiz <ul><li>A PHP business application framework featured with </li></ul><ul><ul><li>Metadata-driven design principal. Developers declare business logic as metadata </li></ul></ul><ul><ul><li>M odel- V iew- C ontroller </li></ul></ul><ul><ul><li>O bject R elational M apping </li></ul></ul><ul><ul><li>AJAX browser client </li></ul></ul><ul><ul><li>Stateless and Statefull </li></ul></ul>
  6. 6. What is Openbiz <ul><li>Target User Community </li></ul><ul><ul><li>Professional software developers </li></ul></ul><ul><ul><li>IT consultants </li></ul></ul><ul><ul><li>Software Houses (ISV) </li></ul></ul><ul><li>Target applications </li></ul><ul><ul><li>Management/Administration System (i.e. CRM, HRM) </li></ul></ul><ul><ul><li>Company home-grown internal management systems </li></ul></ul><ul><ul><li>Migration from desktop application to rich client web application </li></ul></ul><ul><ul><li>Will satisfy the need for most of the database driven web applications </li></ul></ul>
  7. 7. What is Cubi <ul><li>Openbiz Cubi is a php application platform. </li></ul><ul><ul><li>From demo to full-featured application platform </li></ul></ul><ul><li>Goal </li></ul><ul><ul><li>provide commonly used modules and a set of tools in a platform level </li></ul></ul><ul><ul><li>boost the productivity of Openbiz-based application development </li></ul></ul>
  8. 8. Tools <ul><li>Metadata generator (CLI) </li></ul><ul><ul><ul><li>From db to CRUD application </li></ul></ul></ul><ul><li>App Design Center aka metadata editor </li></ul><ul><ul><li>Edit metadata from application </li></ul></ul><ul><li>Application Installation Wizard </li></ul><ul><ul><li>End user fully enjoy </li></ul></ul>
  9. 9. Agenda <ul><li>Openbiz Overview </li></ul><ul><li>Openbiz Architecture </li></ul><ul><li>Openbiz Metadata </li></ul><ul><li>Openbiz Data Object </li></ul><ul><li>Openbiz Form and View </li></ul><ul><li>Openbiz Service </li></ul><ul><li>Demo </li></ul><ul><li>Questions </li></ul>
  10. 10. Openbiz Architecture <ul><li>Metadata-driven design principal </li></ul><ul><ul><li>Openbiz objects are defined with XML metadata </li></ul></ul><ul><ul><li>Metadata describes the properties and behaviors of an object </li></ul></ul><ul><ul><li>Metadata describes the relationship between objects </li></ul></ul><ul><ul><li>Object factory creates objects on the fly </li></ul></ul><ul><ul><li>Openbiz core objects are the base of the framework </li></ul></ul><ul><ul><li>All objects are extensible with customer classes </li></ul></ul>
  11. 11. Openbiz Architecture <ul><li>Openbiz Core Objects </li></ul>
  12. 12. Openbiz Architecture <ul><li>Openbiz MVC </li></ul>
  13. 13. Openbiz Architecture <ul><li>Openbiz MVC </li></ul>
  14. 14. Agenda <ul><li>Openbiz Overview </li></ul><ul><li>Openbiz Architecture </li></ul><ul><li>Openbiz Metadata </li></ul><ul><li>Openbiz Data Object </li></ul><ul><li>Openbiz Form and View </li></ul><ul><li>Openbiz Service </li></ul><ul><li>Extending Openbiz </li></ul><ul><li>Demo </li></ul><ul><li>Questions </li></ul>
  15. 15. Openbiz Metadata <ul><li>Metadata and Object </li></ul>
  16. 16. Openbiz Metadata <ul><li>Steps to Build Openbiz Applications Openbiz is a metadata centric framework, so the application development process is some different with the traditional one. </li></ul><ul><ul><li>Step 1: gather requirements </li></ul></ul><ul><ul><li>Step 2: design data models, e.g. database schema </li></ul></ul><ul><ul><li>Step 3: write business objects with DO and their metadata </li></ul></ul><ul><ul><li>Step 4: write user interface with Form and View </li></ul></ul><ul><ul><li>Step 5: write custom DO, Form and Service classes if necessary </li></ul></ul><ul><ul><li>Step 6: refine the metadata and custom code </li></ul></ul><ul><ul><li>Step 7: test and debug </li></ul></ul>
  17. 17. Openbiz Metadata <ul><li>What can metadata do: </li></ul><ul><ul><li>Describe the properties of objects </li></ul></ul><ul><ul><li>Describe relationship of objects </li></ul></ul><ul><ul><li>Describe rendering behavior of objects </li></ul></ul><ul><ul><li>Describe validation of the data </li></ul></ul><ul><ul><li>Describe user interaction on a page </li></ul></ul><ul><li>What can't metadata do: </li></ul><ul><ul><li>Logic of function - this is implemented in real program classes. The &quot;Class&quot; attribute of a metadata can bind any custom class with the metadata. </li></ul></ul>
  18. 18. Agenda <ul><li>Openbiz Overview </li></ul><ul><li>Openbiz Architecture </li></ul><ul><li>Openbiz Metadata </li></ul><ul><li>Openbiz Data Object </li></ul><ul><li>Openbiz Form and View </li></ul><ul><li>Openbiz Service </li></ul><ul><li>Extending Openbiz </li></ul><ul><li>Demo </li></ul><ul><li>Questions </li></ul>
  19. 19. Openbiz Metadata <ul><li>Openbiz maps database tables to data object (DO) </li></ul>
  20. 20. Openbiz Metadata <ul><li>Object Relational Mapping (ORM) </li></ul>
  21. 21. Agenda <ul><li>Openbiz Overview </li></ul><ul><li>Openbiz Architecture </li></ul><ul><li>Openbiz Metadata </li></ul><ul><li>Openbiz Data Object </li></ul><ul><li>Openbiz Form and View </li></ul><ul><li>Openbiz Service </li></ul><ul><li>Extending Openbiz </li></ul><ul><li>Demo </li></ul><ul><li>Questions </li></ul>
  22. 22. Openbiz Form and View <ul><li>Openbiz Data Object (DO) plays a data unit , and Openbiz Form plays as corresponding presentation unit . </li></ul><ul><ul><li>Each Form declares a DO name and mapping between DO Fields to Form Elements. </li></ul></ul><ul><li>Openbiz View plays as a presentation container of Forms . </li></ul><ul><ul><li>In web technology, View is same as a web page and Form is a logic block within a page. </li></ul></ul>
  23. 23. View and Form Navigation <ul><li>In a data-driven web applications, data is presented in four types of screens . </li></ul><ul><ul><li>List : screen for multi-record list or table </li></ul></ul><ul><ul><li>Detail : screen for single-record detail </li></ul></ul><ul><ul><li>Edit : screen for single-record editing. </li></ul></ul><ul><ul><li>New : screen for single-record creation. </li></ul></ul>
  24. 24. View and Form Navigation
  25. 25. View and Form Navigation <ul><li>In a data-driven web applications, data is presented in four types of screens . </li></ul><ul><ul><li>List : screen for multi-record list or table </li></ul></ul><ul><ul><li>Detail : screen for single-record detail </li></ul></ul><ul><ul><li>Edit : screen for single-record editing. </li></ul></ul><ul><ul><li>New : screen for single-record creation. </li></ul></ul>
  26. 26. Agenda <ul><li>Openbiz Overview </li></ul><ul><li>Openbiz Architecture </li></ul><ul><li>Openbiz Metadata </li></ul><ul><li>Openbiz Data Object </li></ul><ul><li>Openbiz Form and View </li></ul><ul><li>Openbiz Service </li></ul><ul><li>Demo </li></ul><ul><li>Questions </li></ul>
  27. 27. Openbiz ( Plug-in ) Service <ul><li>implementing special logic by Plug-in Service. </li></ul><ul><li>metadata-driven objects. </li></ul><ul><li>Service metadata doesn’t have fixed schema (different services can have very different configuration) </li></ul>
  28. 28. Openbiz ( Plug-in ) Service <ul><li>Log Service </li></ul><ul><li>Email Service </li></ul><ul><li>DO Trigger Service </li></ul><ul><li>ID Generation Service </li></ul><ul><li>Cache Service </li></ul><ul><li>Security Service </li></ul><ul><li>Query Service </li></ul><ul><li>Validation Service </li></ul><ul><li>Excel Service </li></ul><ul><li>Access Service </li></ul>
  29. 29. Agenda <ul><li>Openbiz Overview </li></ul><ul><li>Openbiz Architecture </li></ul><ul><li>Openbiz Metadata </li></ul><ul><li>Openbiz Data Object </li></ul><ul><li>Openbiz Form and View </li></ul><ul><li>Openbiz Service </li></ul><ul><li>Demo </li></ul><ul><li>Questions </li></ul>
  30. 30. Agenda <ul><li>Openbiz Overview </li></ul><ul><li>Openbiz Architecture </li></ul><ul><li>Openbiz Metadata </li></ul><ul><li>Openbiz Data Object </li></ul><ul><li>Openbiz Form and View </li></ul><ul><li>Openbiz Service </li></ul><ul><li>Demo </li></ul><ul><li>Questions </li></ul>

×