Re: Re: keel, spring and other frameworks

"Shash Chatterjee" <[email protected]> Wed, 4 Aug 2004 15:17:47 -0600
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
Stefan,

> thanks a lot for the detailed answer! i'm beginning now to ask 
> questions :-)
>
No problem...keep 'em coming!
 
> most webapps i have to develop are sort of an administration for any 
> data stored in a relational database.
> so one of the things coming up every time again, are typical 
> CRUD-applications for data saved in one or more tables.
> 
> let's say i have just one table with words in a foreign language 
> (for a dictionary). the first thing i need to offer is a webapp to 
> create, edit and delete records in this one table.
> 
> what is the typical way to do something like this in keel? what 
> should i do first? after setting up eclipse to develop with the 
> default-set of keel-modules, of course :-)
> 

Until recently I could only tell you what is possible, but I just got through
deploying an app that does exactly this.  Keel already has a CRUD application.
 You can write custom XML config. for this esisting app. (models), to
customize CRUD to your liking.  You can, for instance, decide which DB-domain,
schema, tables to expose to the user.  You can define which fields from each
table and in what sort order to expose to the user.  Keel already checks
master/detail relationships to provide links to detail records and also checks
authorization to provide update/delete links for each record only when allowed
for the user.

You can define, still in config. and without adding/modifying any code, what
the "navigation" after each add/delete/update/list/search etc. operation needs
to be by defining custom "sequences" using the existing models.  I have
attached a config file to show what I am talking about.

Finally, you can copy the 10 or so JSPs and modify for custom look & feel.

HTH,
Shash
crud-system.xconf (application/octet-stream, 10 KB) - not displayed