RE: Template or XML?

2001-09-17 Thread Matt Sergeant
-Original Message- From: Alexandr Efimov [mailto:[EMAIL PROTECTED]] Our questions are: 1. Are there any mod-perl packages created for similar tasks? 2. Can constructions similar to FOREACH c=rows ... /FOREACH (which is now translated into [% FOREACH ... %] template blocks)

RE: Template or XML?

2001-09-17 Thread Matt Sergeant
-Original Message- From: Alexandr Efimov [mailto:[EMAIL PROTECTED]] Yes. AxKit's XSP module does this. Your SQL can be generated with the AxKit::XSP::ESQL module, and then you can loop over the results in your XSLT stylesheet using either xsl:foreach or (better still) using a

Re: Template or XML?

2001-09-15 Thread BeerBong
Hello Joshua! Thank you for fast and detailed answers and support! You are cool as always. We have a 4 year experience in developing web sites for our customers. Most of these web sites must present information stored in some relational database (MySQL or Oracle), and we create a

Re: Template or XML = OpenInteract?

2001-09-15 Thread BeerBong
We have also heard something about OpenInteract, which is based on Template Toolkit - may be it would be simplier to use it? It does sound like a possible good choice for your purposes, since it combines a basic application structure with Template Toolkit integration and an

Re: Template or XML = OpenInteract?

2001-09-15 Thread Chris Winters
* BeerBong ([EMAIL PROTECTED]) [010915 07:43]: We have also heard something about OpenInteract, which is based on Template Toolkit - may be it would be simplier to use it? It does sound like a possible good choice for your purposes, since it combines a basic application structure with

Re: Template or XML?

2001-09-15 Thread Chris Winters
* Perrin Harkins ([EMAIL PROTECTED]) [010914 17:11]: We have also heard something about OpenInteract, which is based on Template Toolkit - may be it would be simplier to use it? It does sound like a possible good choice for your purposes, since it combines a basic application structure

Re: Template or XML?

2001-09-15 Thread BeerBong
OpenInteract will probably do what you want, but one of its design philosophies is to have the templates to relatively simple work and handlers do the real data manipulation. So from the example in your original message: [% data=fetch({sql=SELECT MessageId, Subject FROM Messages}) %]

Re: Template or XML?

2001-09-15 Thread Joshua Chamas
BeerBong wrote: Of course, we know this and used this feature. The you can reference $App in all scripts includes, just like %= $App-print_something % But our crew are 3 designers and 4 programmers. Designers know nothing about $App and other things, programmers don't know

Template or XML?

2001-09-14 Thread Alexandr Efimov
Hello, all! We have a 4 year experience in developing web sites for our customers. Most of these web sites must present information stored in some relational database (MySQL or Oracle), and we create a special web interface for managing the data stored in the database. We cannot use standard

Re: Template or XML?

2001-09-14 Thread Robin Berjon
On Friday 14 September 2001 11:40, Alexandr Efimov wrote: We tried to use XML, but the main problem with XML is that we cannot insert even a simple logic constructions, like IF of FOREACH, as with Template. Yes you can, but of course you need a dedicated processor. XML is just a syntax :-)

Template or XML?

2001-09-14 Thread Alexandr Efimov
Hello, All! Yes. AxKit's XSP module does this. Your SQL can be generated with the AxKit::XSP::ESQL module, and then you can loop over the results in your XSLT stylesheet using either xsl:foreach or (better still) using a template. Actually using AxKit::XSP::ESQL module seems to be much more

Re: Template or XML?

2001-09-14 Thread Robin Berjon
On Friday 14 September 2001 18:16, Alexandr Efimov wrote: Yes. AxKit's XSP module does this. Your SQL can be generated with the AxKit::XSP::ESQL module, and then you can loop over the results in your XSLT stylesheet using either xsl:foreach or (better still) using a template. Actually

Re: Template or XML?

2001-09-14 Thread Joshua Chamas
Alexandr Efimov wrote: Hello, all! We have a 4 year experience in developing web sites for our customers. Most of these web sites must present information stored in some relational database (MySQL or Oracle), and we create a special web interface for managing the data stored in the

Re: Template or XML?

2001-09-14 Thread Perrin Harkins
We have also heard something about OpenInteract, which is based on Template Toolkit - may be it would be simplier to use it? It does sound like a possible good choice for your purposes, since it combines a basic application structure with Template Toolkit integration and an object/relational

Re: Template or XML?

2001-09-14 Thread Perrin Harkins
We have also heard something about OpenInteract, which is based on Template Toolkit - may be it would be simplier to use it? It does sound like a possible good choice for your purposes, since it combines a basic application structure with Template Toolkit integration and an object/relational