RE: Usage question

"Paulsen, Brian" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <4D8B79209CC0B74EAF9BA25610C6A21661E9F6@nypcmg1exms306.leh.lbcorp.lehman.com>
If it helps, I wrote a filter that takes a Dreamweaver template file and converted it to a HTML::Template file.  This allowed the Dreamweaver savvy designer to test out modifications with the template there.

---- Original Message ----
From: "Matias Alejo Garcia" <[email protected]>
Date: 3/6/06 10:17 am
To: "[email protected]" <[email protected]>
Subj: [htmltmpl] Usage question
On 3/6/06, Michael Peters <[email protected] <mailto:[email protected]> > wrote:



	Mark A. Fuller wrote:
	
	> If you want to give the designer the actual templates (but not require her to install the entire application), you could write a little script that would load each template, set variables and ->output() it to a file. Something like a script to run through some test cases (generate the page with the user logged in, not logged in, with an error message, with a success message, with the "you have mail" indicator set, etc.). This way the designer could change the template and regenerate some HTML (without actually using the entire application). 
	
	One idea that did cross my mind is to create a small web application that simply
	fills in some default values to the templates. It should also allow any
	parameters to be overridden by the query string. Then if the designer is capable 
	he/she could just play with the url to see what different states look like.
	They could also use something like Firefox + Tamper Data to even make it easier.
	
	Might be overkill but if you did it right it could be reuseable for different 
	projects.


Thank you for your  suggestion!  For now, I will give the designer a couple of frozen sets of parameters (stored by 'Storable') and a little application to fill the templates. 

he problem is that many parameters are LOOPs, so it will be difficult to set them by the query string. 

Matías



-- 
Matías Alejo García     | http://www.nits.com.ar <http://www.nits.com.ar> 





------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.