[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers] Re: Velosurf Java dependency
From: |
Nic Ferrier |
Subject: |
Re: [Savannah-hackers] Re: Velosurf Java dependency |
Date: |
21 Apr 2002 02:49:15 +0100 |
(thanks for this Mathieu)
Mathieu Roy <address@hidden> writes:
> 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 !
Ok. So Velosurf requires Velocity? Veolcity is licenced under the
Apache licence, I don't think that is compatible with the GPL (am I
right? Loic?)
I have never tested velocity with Paperclips or any GNU java project
(though I know Jon quite well!).
Nic Ferrier
- [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, 2002/04/20
- Re: [Savannah-hackers] Re: Velosurf Java dependency,
Nic Ferrier <=
- Re: [Savannah-hackers] Re: Velosurf Java dependency, Loic Dachary, 2002/04/21
- Re: [Savannah-hackers] Re: Velosurf Java dependency, Nic Ferrier, 2002/04/21