Skip to content

New database setup tool

Important announcement and alerts on changes and new features in Zero

New database setup tool

Postby danjemiolo » Tue Oct 16, 2007 4:12 pm

There's a new database setup tool available for both sample applications and user applications - the documentation can be found here:

http://www.projectzero.org/wiki/bin/vie ... eDataSetup

Steve and I took the ideas from here:

http://www.ibm.com/developerworks/web/l ... onfig.html

and refined them so it was possible to have a single component (zero.data.setup) that could be used to bootstrap the database administration for an application. The doc has all the details, but the basic idea is that, upon adding this dependency to your application, you can go to http://localhost:8080/setup and click a few buttons to create, drop and populate your database tables.

The employee.demo and zile applications have been updated to use this system, and the tutorial will be updated shortly. You may want to consider including this dependency in your own code if you're focused on reusable libraries/components rather than standalone apps - it can help bring the database administration to the user without requiring them to look in the repository or download a separate setup package.
User avatar
danjemiolo
Zero Developer
 
Posts: 184
Joined: Mon Jun 18, 2007 2:05 pm
Location: Research Triangle Park, NC

Return to Developer Alerts

Who is online

Users browsing this forum: No registered users and 1 guest

cron