[Seaside] Template support in Seaside 2.5

Adnan Zaman adnanzaman at yahoo.com
Mon Jun 20 06:22:13 CEST 2005


Thanks Avi. 

Actually I am trying to write the web site Guru.com in
Seaside (just for learning purposes). I want to
present an exactly same UI but doing Page -> View
Source of the home page obviously results in a
tremendous amount of html.

Since I am new to both Seaside and html, I am sure
that there must be better ways to do what I am trying
to do.

Based on my limited understanding of Seaside, I did
write lot of seaside code along with CSS (actually I
just used that website's .css file to save time) to
generate this html programmatically but it took me
more than 2 days to write up most of that html of the
home page and so I wonder if I am doing it the right
way?.

-
Adnan


> ------------------------------
> 
> Message: 3
> Date: Sun, 19 Jun 2005 15:17:35 +0200
> From: Avi Bryant <avi.bryant at gmail.com>
> Subject: Re: [Seaside] Re: Seaside Digest, Vol 30,
> Issue 23
> To: "The Squeak Enterprise Aubergines Server -
> general discussion."
> 	<seaside at lists.squeakfoundation.org>
> Message-ID:
> <ad69ab6905061906175c4c49b0 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> On 6/18/05, Adnan Zaman <adnanzaman at yahoo.com>
> wrote:
> > Hello all,
> > 
> > I am a newbie to SeaSide 2.5 and was wondering if
> > there was some support for integrating html
> templates
> > in it.
> > 
> > After doing some search, I did find such a package
> > called NORI but somehow I can't find it on
> squeakmap.
> > 
> > Any ideas on how to get this package or some other
> > package with similar functionality?
> 
> Nori hasn't been an active project for a while
> (Colin moved jobs not
> long after starting it and so it was never completed
> or maintained). 
> One of the main goals of Nori was to make Seaside
> apps more testable,
> a need which is now well met by the SeasideTesting
> package.  However,
> the templating part of things dropped by the
> wayside.
> 
> It's worth asking what it is you want a templating
> system for - most
> of us have, I think, found workflows that work as
> well or better than
> templates using Seaside's combination of CSS and
> programmatic HTML
> generation, and it might be something you want to
> try as well.
> 
> I've also been doing some thinking about 
> non-traditional ways of
> integrating templates into Seaside: somewhere I have
> the beginnings of
> a package called MicroTemplates, which is an attempt
> to integrate very
> small, simple (no conditionals or loops etc)
> snippets of
> designer-controlled HTML into the overall
> programmer-controller HTML
> 
=== message truncated ===



		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com


More information about the Seaside mailing list