[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers] Re: Velosurf Java dependency
From: |
Mathieu Roy |
Subject: |
Re: [Savannah-hackers] Re: Velosurf Java dependency |
Date: |
Sun, 21 Apr 2002 02:45:15 +0200 |
Le dim 21 avr 2002 à 2h56, Nic Ferrier a écrit :
Loic Dachary <address@hidden> writes:
> Claude Brisson writes:
> > Thanx for your prompt response.
>
> And thanks to you for taking this issue seriously. Not being
a Java
> programmer myself, I'm adding address@hidden to the conversation
so that
> he can comment on this.
I didn't notice the initial request. Can one of you fill me in on
what Velosurf is?
http://mail.gnu.org/pipermail/savannah-hackers/2002-April/007508.html
/****************
Claude Brisson <address@hidden> described the package as follows:
License: gpl
Other License: Package: Velosurf
System name: velosurf
This package does NOT want to apply for inclusion in the GNU project
Velosurf is a - thin but powerfull - database abstraction layer tool
for the Jakarta Velocity template engine, written in Java.
It provides to writters of templates access to entities and attributes
of their database model and content.
Goals are :
- ease of use
- intuitive syntax
- performances
Standard usage for a web site make use of the VelosurfServlet and
allows to access a database from Velocity templates without writting a
single line of Java.
Sample template code :
----------------------------------------
## \"Out of the box\" usage
Workers :
#foreach ($worker in $db.worker)
Name : $worker.firstname $worker.lastname
position : $db.position.fetch([$worker.position_id]).name
boss : $db.worker.fetch([$worker.boss_id]).lastname
#end
## when defining foreign keys in the .def file as follow :
## worker.boss = worker(boss_id)
## worker.position = position(position_id)
## or directly in the template as follow :
#set ($db.worker.boss = \"worker(boss_id)\") #set ($db.worker.position
= \"position(position_id)\") ## the preceding example can be rewritten
as :
Workers :
#foreach ($worker in $db.worker)
Name : $worker.firstname $worker.lastname
position : $worker.position.name
boss : $worker.boss.lastname
#end
----------------------------------------
It already exists and you can download the latest distribution at
http://aragorn.surfwizu.com/claude/velosurf-0.2.tgz
Thanx !
CloD
***********/
--
Mathieu Roy
* http://savannah.gnu.org/users/yeupou
* http://yeupou.coleumes.org
* http://gpg.coleumes.org (GPG Key)
- [Savannah-hackers] savannah.gnu.org: submission of Velosurf, claude, 2002/04/18
- Re: [Savannah-hackers] savannah.gnu.org: submission of Velosurf, Loic Dachary, 2002/04/19
- Re: [Savannah-hackers] savannah.gnu.org: submission of Velosurf, Claude Brisson, 2002/04/19
- [Savannah-hackers] Velosurf Java dependency, Loic Dachary, 2002/04/20
- [Savannah-hackers] Re: Velosurf Java dependency, Nic Ferrier, 2002/04/20
- Re: [Savannah-hackers] Re: Velosurf Java dependency,
Mathieu Roy <=
- Re: [Savannah-hackers] Re: Velosurf Java dependency, Nic Ferrier, 2002/04/20
- Re: [Savannah-hackers] Re: Velosurf Java dependency, Loic Dachary, 2002/04/21
- Re: [Savannah-hackers] Re: Velosurf Java dependency, Nic Ferrier, 2002/04/21