logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Re: H::T future: msg#00029

lang.perl.modules.html-template

Subject: RE: Re: H::T future

The HTML::Template::Filter::Dreamweaver code does exactly what you are
looking for.

-----Original Message-----
From: Karen J. Cravens [mailto:silver@xxxxxxxxxxx]
Sent: Tuesday, December 09, 2003 1:31 PM
To: Lance A. Brown
Subject: Re: [htmltmpl] Re: H::T future


On Tue, 9 Dec 2003, Lance A. Brown wrote:

LAB>Here is the relevant piece of code. Personally, I think this is a
LAB>VERY tasty hack. It lets page designers plug parameters back into
LAB>the templating system for use elsewhere. Very cool.

Nifty, but not exactly what I was looking for; I was thinking more along the
lines of a few lines at the beginning of the file (a la Twiki) with the
parameters, and the rest being a standard H::T template. Then you just call
the micro-config-reader bit *if* you need it, and when it's done with its
bit at the beginning, it calls H::T for the rest.

That way, you gain the ability to have parms and template in the same file
for convenience' sake, but you don't have to parse every single template in
case it has parms (which might even pose a security risk, if you're letting
users make skins using H::T).

You'd probably want to config bit at the beginning of the file to be
enclosed in comment delimiters just in case you wanted to be able to call
H::T on the entire file. Of course, that'd leave the params visible in the
finished product, which might itself be a security breach, so at a certain
point you have to decide to separate the config from the user content.

--
Karen J. Cravens silver@xxxxxxxxxxx



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Html-template-users mailing list Html-template-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/html-template-users

------------------------------------------------------------------------------
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: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation