Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Dreamweaver (or some such) and HTML::Template?

Reply
Thread Tools

Dreamweaver (or some such) and HTML::Template?

 
 
newsbot@cox.net
Guest
Posts: n/a
 
      03-07-2005
I'm a long-time user of HTML::Template for creating large and small
sites alike. But since my graphic design and layout skills extend only
to intermediate at best and I need to create some fairly nice HTML
layouts, I've considered using Dreamweaver (or some such) to create my
overall look and feel, then place my HTML::Template tags accordingly in
the resulting HTML.

I'm looking for something on the order of Dreamweaver that will ignore
-- as in line with the design goal of the HTML::Template module writer
-- HTML::Template "tags". Can anyone recommend or provide their
experience with something like this?

I realize my question is NOT specifically "Perl" related per se, but I
need this audience since none or very precious few outside of it are
going to have ANY idea what HTML::Template is for Perl. Template
Toolkit would also be an option, though I am much more familiar (and
content) with the simplicty and approach of HTML::Template.

Thanks,
-ceo

 
Reply With Quote
 
 
 
 
Eric Bohlman
Guest
Posts: n/a
 
      03-07-2005
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote in news:1110213506.344130.244510
@l41g2000cwc.googlegroups.com:

> I'm a long-time user of HTML::Template for creating large and small
> sites alike. But since my graphic design and layout skills extend only
> to intermediate at best and I need to create some fairly nice HTML
> layouts, I've considered using Dreamweaver (or some such) to create my
> overall look and feel, then place my HTML::Template tags accordingly in
> the resulting HTML.
>
> I'm looking for something on the order of Dreamweaver that will ignore
> -- as in line with the design goal of the HTML::Template module writer
> -- HTML::Template "tags". Can anyone recommend or provide their
> experience with something like this?


HTML::Template allows you to embed its special tags in HTML comments,
which any decent editor will leave alone (see "Notes" in the
documentation).

However, I'd suggest that you learn to use CSS for your layouts rather
than a "WYSIWYG" tool. You're already separating your document structure
from your code by using templates; the next logical step is to separate
your layout/styling from your document structure using stylesheets. The
less intertwingling, the easier the whole thing is to maintain.


 
Reply With Quote
 
 
 
 
Fabian Pilkowski
Guest
Posts: n/a
 
      03-07-2005
(E-Mail Removed) wrote:
>
> I'm looking for something on the order of Dreamweaver that will ignore
> -- as in line with the design goal of the HTML::Template module writer
> -- HTML::Template "tags". Can anyone recommend or provide their
> experience with something like this?


You can write your HTML::Template-tags like

<tmpl_var name="param">

also as HTML comment

<!-- tmpl_var name=param -->

to generate valid HTML syntax. Have a look at the docs at

http://search.cpan.org/~samtregar/HT....7/Template.pm

where this feature is described in a paragraph named "NOTES".

regards,
fabian
 
Reply With Quote
 
newsbot@cox.net
Guest
Posts: n/a
 
      03-08-2005
Well, you would think that as a "long time user," I would have caught
on to that little feature. But then again, I never had the need since
I've pretty much hand-written all HTML (and how very little there is of
that to do, thanks to HTML::Template). Thanks for pointing this
feature out.

-ceo

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some newbie questions (Dreamweaver) grubas8@gazeta.pl HTML 24 06-06-2007 07:04 PM
how to edit Dreamweaver pages without dreamweaver? Jason HTML 25 01-09-2005 02:06 PM
dreamweaver and .net - need help to start development julia ASP .Net 1 09-22-2004 01:39 PM
Use DreamWeaver AND VS.NET? I.P. Freely ASP .Net 5 05-28-2004 03:30 AM
VS .NET 2003 and Dreamweaver E. Wise ASP .Net 1 12-12-2003 07:52 PM



Advertisments