Looking for advice re: Smarty projects

From: Date: Sat, 13 Apr 2002 18:11:53 +0000
Subject: Looking for advice re: Smarty projects
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3678@lists.php.net to get a copy of this message
Hello. I'm looking for any tips or advice from those who are using Smarty as part of a large PHP-based development project. What tools, techniques, etc., do you use to track template variables, their use, meanings, from where they are referenced, etc.? That is to say, I'm looking for help akin to what an IDE might provide you with a traditional programming language (list of variables, list of modules in which they appear, etc.). Any suggestions to help me keep all of my template variables straight, in other words. (I envision a project with _many_, many template files.) My apologies if I'm not asking the question too clearly. Also--how would you recommend "future-proofing" for variable output? In the future, I imagine my templates will be generating XML and/or reference XSLT stylesheets. But right now, I want to stick to XHTML in my template files. What do you (the membership) feel would be the best way (in the future) to have an "If you are using an HTML browser, generate this; else if you are using a WML browser, generate this" kind of scenario. I'd be willing to put such a conditional into my system, even if at present it merely becomes an IF (true), then generate XHTML. TIA. sjlist@heidelberg.edu

« previous php.smarty.general (#3678) next »