Re: [Templates] Re: Separating Aspects (Re: separating C from V i n MVC)

2002-06-08 Thread Tony Bowden
re are many examples where things aren't so clear cut. I firmly believe in laziness, so my general rule of thumb, even when working on personal projects where I'm doing the code and the templates myself, is to imagine that there is a team of designers, and that I'm the only progr

Re: [Templates] Re: Separating Aspects (Re: separating C from V in MVC)

2002-06-08 Thread Tony Bowden
On Sat, Jun 08, 2002 at 08:51:48AM +0800, Gunther Birznieks wrote: > >I'm a huge fan of passing Date::Simple objects, which can then take a > >strftime format string: > > [% date.format("%d %b %y") %] > > [% date.format("%Y-%m-%d") %] > And the latter does not require a programmer? Of course

Re: [Templates] Re: Separating Aspects (Re: separating C from V in MVC)

2002-06-07 Thread Ed
.org/dates-and-times"; wins for me. date:date-time() date:date() date:time() date:month-name() ... etc xslt solutions win for me because it its supported (or seems to be) by many major languages, and applications. xslt stylesheets can be processed, reused and shared with my c,perl, java,javasc

Re: [Templates] Re: Separating Aspects (Re: separating C from V in MVC)

2002-06-07 Thread Gunther Birznieks
At 04:14 PM 6/7/2002, Tony Bowden wrote: >On Thu, Jun 06, 2002 at 05:08:56PM -0400, Sam Tregar wrote: > > > Suppose you have a model object for a concert which includes a date. On > > > one page, the designers want to dipslay the date in a verbose way with > > > the month spelled out, but on anot

RE: [Templates] Re: Separating Aspects (Re: separating C from V in MVC)

2002-06-07 Thread Jesse Erlbaum
Hey Tony -- >I'm a huge fan of passing Date::Simple objects, which can then take a >strftime format string: > > [% date.format("%d %b %y") %] > [% date.format("%Y-%m-%d") %] Out of curiosity, at what point of flexibility do you feel it is OK for your designers to go back to the programmers?

Re: [Templates] Re: Separating Aspects (Re: separating C from V inMVC)

2002-06-07 Thread Sam Tregar
On Fri, 7 Jun 2002, Tony Bowden wrote: > >$template->param(long_date => $long_date, > > short_date => $short_date); > > In the template: > > > >The long date: > >The short date: > > Can I vote for "yick" on this? Sure. That's what's great about Perl - there'

Re: [Templates] Re: Separating Aspects (Re: separating C from V in MVC)

2002-06-07 Thread Tony Bowden
On Thu, Jun 06, 2002 at 05:08:56PM -0400, Sam Tregar wrote: > > Suppose you have a model object for a concert which includes a date. On > > one page, the designers want to dipslay the date in a verbose way with > > the month spelled out, but on another they want it abbreviated and fixed > > lengt

Re: [Templates] problems with mod_perl example from Template Toolkit tutorial

2002-02-20 Thread Tim Noll
Tim Noll wrote: > > As an alternative, I have used a PerlFixupHandler that detects a MIME > > type of text/html and for only those enables Mason leaving the rest > > alone. This lets autoindexing still work properly, as well as images > > and other content in the same directory. The same trick c

RE: [Templates] Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Joe Breeden
olkit List > Subject: Re: [Templates] Re: Excellent article on Apache/mod_perl at > eToys > > > What I found most interesting was the detail of the extensive > caching which > was implemented to survive the seasonal rush. I look forward > to working on > a proje

Re: [Templates] Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Drew Taylor
What I found most interesting was the detail of the extensive caching which was implemented to survive the seasonal rush. I look forward to working on a project one day that is big enough to warrant such a system. All in all, a most excellent and informative read. Thanks again for everything y

Re: [Templates] Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-09 Thread Perrin Harkins
On Thu, 8 Feb 2001, L.M.Orchard wrote: > Now, if only I could get back to un-mothballing Iaijutsu/Iaido and do Zope > the right way under perl... :) When I first looked at OI, I was thinking that it has a lot of the plumbing (O/R mapping, security model, application model) covered and you could p

Re: [Templates] Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-08 Thread L.M.Orchard
From: "Matt Sergeant" <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 03:01 PM > On Thu, 8 Feb 2001, Perrin Harkins wrote: > > > In short, Zope wants to be more, but currently is difficult to figure > > out. That could be just my Perl experience, but I understood more of > > OpenInteract

Re: [Templates] Re: object not being destroyed in a TemplateToolkit-basedhandler

2001-02-08 Thread Perrin Harkins
On Thu, 8 Feb 2001, Vivek Khera wrote: > Ok... Upgrade to "Apache/1.3.17 (Unix) mod_perl/1.25_01-dev" fixed the > object destroy issue. Yay! > > Old versions were Apache 1.3.14 and mod_perl 1.24_02-dev. Well, that is odd since I'm running 1.3.12 and 1.24_01, but you never know what evils might

Re: [Templates] Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-07 Thread L.M.Orchard
From: "Chris Winters" <[EMAIL PROTECTED]> Sent: Tuesday, February 06, 2001 08:14 PM > From Perrin: > > And just out of curiosity, are you familiar with any of the similar > > projects that others have worked on, like Iaido (formerly Iaijutsu) or > > Jellybean? > > I've looked into both of them a

Re: [Templates] Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-06 Thread Chris Winters
* L.M.Orchard ([EMAIL PROTECTED]) [010207 00:07]: > So, I'm trying to install OpenInteract now since from 50,000 ft it sounds a > lot like what I was trying to do with Iaido. Using Template Toolkit for the > presentation... abstracted data management... Need to look around more. > I'd be more

Re: Templates - what choose ?

2000-11-13 Thread Perrin Harkins
On Tue, 14 Nov 2000, Gunther Birznieks wrote: > I think that was the thread where a couple of really nice people said they > were going to summarize the long thread for everyone to benefit from in the > future because it's such a common topic. But I guess time has gotten the > best of them as h

Re: Templates - what choose ?

2000-11-13 Thread Gunther Birznieks
At 01:44 PM 11/13/00 +, David Hodgkinson wrote: >"G.W. Haywood" <[EMAIL PROTECTED]> writes: > > > Hi there, > > > > On Mon, 13 Nov 2000, BeerBong wrote: > > > > > I think about implementaion of this project with Perl Apache handlers and > > > template system. There are HTML::Template, HTML::Dy

Re: Templates - what choose ?

2000-11-13 Thread David Hodgkinson
"G.W. Haywood" <[EMAIL PROTECTED]> writes: > Hi there, > > On Mon, 13 Nov 2000, BeerBong wrote: > > > I think about implementaion of this project with Perl Apache handlers and > > template system. There are HTML::Template, HTML::DynamicTemplate and I saw > > others. > > There was an extensive

Re: Templates - what choose ?

2000-11-13 Thread G.W. Haywood
Hi there, On Mon, 13 Nov 2000, BeerBong wrote: > I think about implementaion of this project with Perl Apache handlers and > template system. There are HTML::Template, HTML::DynamicTemplate and I saw > others. There was an extensive discussion of this topic on this List a few weeks ago. Scan t

Templates - what choose ?

2000-11-13 Thread BeerBong
. Apache::ASP was faster slightly although I used cache functionality of HTML::Template. Can you advise simple, high performance Perl module for processing templates. What uses monsters kinda www.imdb.com ? -- Sergey Polyakov - chief of WebZavod http

Doing Templates One Better, Web DB RAD scripts

2000-07-30 Thread Ron Pero
I know I could use Embperl, Mason, ASP, etc, which have easy ways to connect to db's. But I'm looking for something even more basic, where instead of creating html templates, the whole thing starts with The Simplest Possible Text, and generates the entire application. WDBI (see below) seems

Re: Templates.

2000-05-04 Thread Matt Sergeant
On Wed, 3 May 2000, Jason C. Leach wrote: > hi, > > I'm looking for some good ideas on developing web sites w/ mod_perl. One > think we were looking at was to write template HTML pages, and run them > through a perl prg to replace home made tags w/ data. If what you're after is something to co

Re: Templates.

2000-05-04 Thread Ken Y. Clark
On Wed, 3 May 2000, Jason C. Leach wrote: > I'm looking for some good ideas on developing web sites w/ mod_perl. One > think we were looking at was to write template HTML pages, and run them > through a perl prg to replace home made tags w/ data. > > Another was to write an apache mod that will

Re: Templates.

2000-05-04 Thread Autarch
On Wed, 3 May 2000, Jason C. Leach wrote: > I'm looking for some good ideas on developing web sites w/ mod_perl. One > think we were looking at was to write template HTML pages, and run them > through a perl prg to replace home made tags w/ data. > > Another was to write an apache mod that will

Re: Templates.

2000-05-04 Thread Bernhard Graf
"Jason C. Leach" wrote: > I'm looking for some good ideas on developing web sites w/ mod_perl. One > think we were looking at was to write template HTML pages, and run them > through a perl prg to replace home made tags w/ data. > > Another was to write an apache mod that will contain/load the

Templates.

2000-05-03 Thread Jason C. Leach
hi, I'm looking for some good ideas on developing web sites w/ mod_perl. One think we were looking at was to write template HTML pages, and run them through a perl prg to replace home made tags w/ data. Another was to write an apache mod that will contain/load the HTML on the first hit and cach

Re: efficiency questions (templates, regexes, db calls)

2000-01-26 Thread Cliff Rayman
he 'Net, but which seems to > be neglected in this weblog age, or doesn't get much notice unless it's an > Open Source [tm] project with millions of contributors. :) > > Anyway. I have been designing the templates for each class of page on the > site (main project list,

efficiency questions (templates, regexes, db calls)

2000-01-26 Thread Steven Champeon
random non-commercial stuff that abounds on the 'Net, but which seems to be neglected in this weblog age, or doesn't get much notice unless it's an Open Source [tm] project with millions of contributors. :) Anyway. I have been designing the templates for each class of page on the site (main