durusmail: quixote-users: Newbie Questions
Newbie Questions
2004-02-24
2004-02-24
Newbie Questions
Neil Schemenauer
2004-02-24
On Tue, Feb 24, 2004 at 12:32:57PM -0500, RenderPipe wrote:
> -Is there a search engine for the mailing list archives? I would
> rather search the archives before posting a question that has been
> answered already.

You can use Google and specify "site:mail.mems-exchange.org".

> -Must all of my application files be in the cgi-bin? Is this the norm?
> Perhaps someone can post an example of a dir structure?
> The demo.cgi app has everything in 1 place.

No, they just need to be somewhere in your Python path.

> -Is there any way possible to work with existing html pages with
> quixote?

You can have a mixture of static and dynamic pages (e.g. you could
use mod_rewrite to make it look seamless).  You could also use the
StaticFile class that Quixote provides.

> The problem is, that we have full time designers here and my job
> is to do all the coding for the sites. The designers do all their
> graphics in photoshop and then lay it out in dreamweaver.
>
> Once they are done with the file, I get the .html file and start
> chopping it up making a header, body, left_nav, and footer area. I
> usually include these snippets where i need them.
>
> -Do you think the best practice is to just recode the html from
> the snippets into a PTL?

You have the full power of Python at your disposable so you have
lots of options.  I think I would keep the header, body, etc. bits
in static files and have the Quixote process read them into memory
and generate the complete page.

You might want to look into ZPT (Zope Page Templates).  I think they
are usable from Quixote.

  Neil


reply