From:
Matt Sergeant <matt [at] sergeant.org>
Date:
Tue, 19 Nov 2002 17:20:31 +0000 (GMT)
To:
Kjetil Kjernsmo <kjetil [at] kjernsmo.net>
To:
"axkit-users [at] axkit.org" <axkit-users [at] axkit.org>
Subject:
Re: DBI Taglib etc.
On Tue, 19 Nov 2002, Kjetil Kjernsmo wrote: > Hi list! > > I'm a newborn axkitten who are seeking a new home after having worked > with Cocoon for three months and given up... They're not paying too > much attention to documentation over there, and the implementation > seems rather fragile. Basically, what I went there for was a strict > separation of logic from the rest, and a decoupling of site URLs from > the underlying file system of the server machine. It took me a long > time to realize that Axkit puts a lot more into their XSP than Cocoon > does, that's pretty much the reason why it took me so long to come > over... :-) > > Anyway, in Barrie's great tutorial on "XSP, Taglibs and Pipelines", he > suggests that one should only use ESQL for small applications, and > rather use DBI. I've googled around, but I haven't found anything that > details this. So I wondered if you have any pointers for a little > axkitten looking cutely at you from the basket...? :-) Basically the difference is that in AxKit (unlike Cocoon) it's absolutely trivial to write a taglib. So it's better to hide your database access behind a taglib if you can, rather than directly putting the SQL in your XSP pages. There's a cool slide in [1] that details someone's XSP page that basically hides an enormous amount of detail behind two tags. That's the idea. [1] http://axkit.org/docs/presentations/tpc2002/axkit.axp/axkit.pdf -- <!-- Matt --> <:->Get a smart net</:->
DBI Taglib etc. - Kjetil Kjernsmo on 19 Nov 2002 15:13:12 -0000
Re: DBI Taglib etc. - Matt Sergeant on 19 Nov 2002 17:20:31 -0000
Re: DBI Taglib etc. - Tod Harter on 20 Nov 2002 16:09:26 -0000
Re: DBI Taglib etc. - Kjetil Kjernsmo on 27 Nov 2002 13:26:59 -0000
Re: DBI Taglib etc. - siglun.gungner.lub.lu.se on 27 Nov 2002 13:34:11 -0000
Re: DBI Taglib etc. - Matt Sergeant on 27 Nov 2002 17:41:50 -0000
Back up to archives |
These pages are copyright © 2002 Apache Software Foundation


Index