There are a couple of open source frameworks you can use.
Have a look at equanda ( http://equanda.org/ ). You create your domain
model in xml files and both the database and ui layers are then
generated for you. There is a maven target which builds a base project
for you that you can start from.
The user interface is fully built using tapestry5 and is highly
customizable. The ui has a powerful authorizations and configurations
aspect where the access to tables and fiels can be limited on roles
and/or user preference. It is still work in progress, but is in use in a
couple of projects (including a EU funded research project).
Trails has already been mentioned by someone else.
Alternatively, have a look at hibernate for generating the persistence
layer, either based on pojo's or (iirc) getting the pojo's from an
existing database definition. Tapestry contains some projects
(tapestry-hibernate and the beaneditor component) to help you from there.
Another alternative is OpenXava which builds a user interface on the fly
from your pojo's (though I am not sure which framework they use for that).
I am sure there are more alternatives.
Kind regards,
Joachim
Sid Ferreira wrote:
Hi all!Few days ago I've met Tapestry in wikipedia... After it, Ive joined
the #tapestry @ freenode trying to know more about the technology.
I've been talking with Fanf about how tapestry works and got really
interested on it, but once Im coming from PHP/Symfony, I obviously found
some things that I would love to have.
I can't agree that a powerfull tool must abandon ease of use, so, Im
wandering:
Symfony and Ruby have some easy generators... Based in symfony, we can
really easilly create the basics of a full application in 5 minutes
(really).
Using propel, we can (based in a xml/yml file) generate models and database
with one command in the shell. With another, we can generate the basic CRUD
module of this model, with basic database connections and queries.
So, im wandering if is there a way to have it in java?
Here, a small sample of a blog in symfony
mkdir demo
cd projeto
symfony generate:project Demo
symfony generate:app frontend
symfony configure:database dsn="dbname=test host=localhost" root null
in config/schema.yml:
===============
propel:
posts:
id: ~
text: { type: longvarchar }
created_at: ~
comments:
id: ~
post_id: { type: integer, foreignTable: posts, foreignColumn: id,
required: true }
email: { type: varchar(64) }
comment: { type: varchar(256) }
created_at: ~
===============
symfony propel:build-all
symfony propel:generate-module frontend posts Posts
symfony propel:generate-module frontend comments Comments
in apps/frontend/config/routing.yml: the module in homepage change from
default to posts
symfony cc
localhost/demo/web
It's not tested, but create database connections, crud, models and stuff.
Pretty easy... Do Tapestry offer something like that?
Thanks.
--
Joachim Van der Auwera
PROGS bvba, progs.be
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org