Re: How do web templates separate content and logic?

2008-06-29 Thread Guillaume Bog
On Mon, Jun 30, 2008 at 11:27 AM, Tim Roberts <[EMAIL PROTECTED]> wrote: > John Salerno <[EMAIL PROTECTED]> wrote: > > > > > If it seems out of place to you, then you shouldn't do it. In general, you > need to find a model that makes sense to you, and that allows you to write > readable, workable

Re: php vs python

2008-05-25 Thread Guillaume Bog
On Mon, May 26, 2008 at 8:12 AM, Jerry Stuckle <[EMAIL PROTECTED]> wrote: > Ivan Illarionov wrote: > >> On Sun, 25 May 2008 17:09:43 -0400, Jerry Stuckle wrote: >> >>> Not at all. I do it every day. >>> >>> And BTW - yes, I write Python, also. But I find I can write better, >>> faster code in PH

Shelve or pickle module

2008-05-17 Thread Guillaume Bog
Hello, I read and re-read "Python in a Nutshell" written by Alex Martelli, who knows what he is talking about. I'm a bit new to python and I'm going to start doing persistence side on a project. Martelli's book seems to tell me that I should use shelve module, but any code I browsed is using pickl