RSS Feed for This PostCurrent Article

How I develop a database driven web application in 2 days

Throughout the years as a developer, I had programmed for quite a number of business applications. All the business web applications, be it in Java, .NET, or PHP.. need to access or database, whether it is Oracle, MySQL, or SQL Server…

Then as when I was doing coding for one of the projects, which had about 40 reference/lookup tables, I tried to search if there is any tool that can help to do the normal CRUD for those tables.

I found several tools but at the end I chose OpenToro. OpenToro is a Web Database Publisher, a tool that allows us developing database-driven web applications in an agile and automatic way.

OpenToro can help in

  • Listing Database Tables.
  • Visualizing Records.
  • Generating Forms for inserting, modifying and deleting records.
  • Database tables managing.

OpenToro manages database tables using XML metada. Here is an example of metadata file for a table called ‘SCOPES’ that have two fields: ‘CodScope’ and ‘Name’.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--FieldReference codMetaview=""></FieldReference-->
<!--FieldReference codMetaview=""></FieldReference-->
<MetaView cod="100">
<MvOrderField orderType="ASC">CODSCOPE</MvOrderField>

The OpenToro architecture is componed by 3 sub-architectures:

  1. A Model 2 architecture for managing the user requests and generating responses. This is the Web Application.
  2. A Pipeline architecture for generating contents (XML based). These contents are transformated by XSLT, generating finally HTML.
  3. A Reflective architecture for managing the content’s tables.

OpenToro makes trivial generating listing of database’s tables, visualizing records contents and making forms for database’s tables.

At first day I was trying to understand how OpenToro works, and tried to configure it against my first database table. Once I got pass the first hurdle, the rest is a snap, and I was able to complete my application in 2 days time.

Trackback URL

RSS Feed for This Post1 Comment(s)

  1. Marcos | Nov 16, 2007 | Reply

    Hi. I’m Marcos Boza, one of the Opentoro developers. Congratulations, and thanks for your post.


Sorry, comments for this entry are closed at this time.