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</:->


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to