From: Jason C. <cam...@xp...> - 2001-03-27 18:26:14
|
Alan, Didn't see your last mention of Smarty Templates so I went looking for it on hotscripts and found it. It looks very interesting. I like how its done with a class and it uses PEAR to some degree. If we were to use PEAR for other functions (database) instead of ADODB or something else then I think Smarty Templates could be used, but I haven't looked at it enough yet but it does look promising.... Jason Campbell Xplozive Media Technologies > Hi, > > A couple of comments: > > * Use underscores in function names > Why ? If ever phpWebSite will be developed in an OO approach, why not > use the "java style" of function and variable naming ? setThisThat(), > getThisThat(), displayStuff() etc look much better to me than >set_this_that() and so on :) > > *Try to avoid unnecessary file unclusions (see config.php and > mainfile.php) This is of course always true, as an unnecessary file > inclusion is always to be avoided per definition :). However, using > include_once() and > require_once() could help avoiding problems a bit. > > *Templates > I reiterate my suggestion that everyone takes a look at the Smarty > templates system. I posted the URL in a previous mail. > > For the rest, I think the documentation and guidelines you put up will > be invaluable to the development team - good work. > >> -----Message d'origine----- >> De : php...@li... >> [mailto:php...@li...]De la part >> de Karsten Dambekalns >> Envoyé : mardi 27 mars 2001 13:56 >> À : phpWebsite dev >> Objet : [Phpwebsite-developers] Developer docs update >> >> >> Hi everybody! >> >> I updated the developer docs at >> http://www.k-fish.de/krabutzig/phpwebsite/ >> >> I removed the function overview files, this is handled better by >> PHPDoc. Talking of which: I added some explanations how to write >> PHPDoc >> comments and >> wrote something about coding style. >> >> Take the part about the coding style with a grain of salt and send >> your comments about that (important issue) in for some discussion. We >> should settle on some/a good coding style as sson as possible. >> >> The new documentation has also been commited to CVS. I will do a new >> PHPDoc >> run today or tomorrow and put that up as well. >> >> Regards, >> Karsten >> -- >> Why do we have to hide from the police, daddy? >> Because we use emacs, son. They use vi. >> ----------------------------- >> mailto:k.d...@tu... w³: http://www.k-fish.de/ >> gpg: http://www.k-fish.de/mykeys.gpg >> > > > > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > http://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |