Author Topic

Xavier Dutoit

Friday 22 September 2006 7:28:55 am

Comment46848

Me again,

About Aaron naming convention, I prefer using folders than what he wrote (if I understood properly):

override/templates/<class>/<view>.tpl

So that's easier when you create a new class (that is often a copy of an existing one): you just copy the directory.

If I have several full views (override based on sections or node id), I tend to give them their functionnal name (it doesn't matter that it is node 42 and I prefer guide/itchhiker_full.tpl ;)

Otherwise, and for those of us that have to develop on the road (ie on a laptop with the client and the server on the same machine), and to keep as much memory free as possible, you can safely lower the number of apache process spawn (no need to have 10 processing swallowing you memory when you'll be the only one that's going to access the server anyway).

X+

P.S. On that scenario, I tend to prefer using lighttpd than apache, but that might be purely subjective.

http://www.sydesy.com