Re: scripting workflow
| From: | Skrol 29 | Date: | Wed, 13 Apr 2005 00:31:24 +0000 |
| Subject: | Re: scripting workflow | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212971@lists.php.net to get a copy of this message | ||
Hi,
I don't have your problems because I use a Template Engine.
I usually have one main PHP script for the application, which doesn't deal
with HTML directly. Other PHP scripts are libraries or special objects
like the Template Engine itself.
This also enables me to work WYSIWYG with user interfaces (templates).
-------------------
Skrol 29
www.tinybutstrong.com
-------------------
"DuSTiN KRySaK" <mailinglists@digitalcollision.com> a écrit dans le message
de news: 8217b6d00f799818de0ad8030d1e0436@digitalcollision.com...
I just have a few questions regarding workflow when producing scripts. First off, do people prefer to have all their code in one file? Or multiple separate files? I know functions and classes are good to keep in separate files, but i am talking about say for example a news system, etc. Next off, how about when actually assembling the files? Do you produce all of your html output, then say build all of your functions - then say build the logic? Does that make sense? I had in the past use DW for building php apps, and as an exercise to myself I am forcing myself to hand code to learn better. But I do however want to increase my productivity. If anyone has any pointers on this type of stuff - it would be much appreciated! Thanks! d