gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: STS Template Engine


From: Helge Hess
Subject: Re: STS Template Engine
Date: Tue, 26 Jul 2005 15:30:38 +0200

On 25. Jul 2005, at 23:10 Uhr, Lars Sonchocky-Helldorf wrote:
I wasn't aware that WO was such a lithe and lissom animal once. it has put on a lot weight since then (Java disease?). This: http:// developer.apple.com/documentation/WebObjects/Reference/API/ index.html is definitely a truck. (and yeah, you omitted EOF, could you install WO without it those days?)

Of course I omitted EOF since its not required for templating (nor for any other basic WO operation). AFAIK the only class which refers EOF is WODisplayGroup and this can easily be omitted.

The Java reference contains all the other WO related frameworks like D2W etc, those however are not part of the WebObjects _framework_ (not the whole product). (addition it contains additional classes necessary due to the Java language, but actually not that much).

The full WO product consists of a lot of different frameworks (aka packages in Java WO), but those are rather cleanly designed and stack up pretty nicely.

On 26. Jul 2005, at 08:37 Uhr, Stefan Urbanek wrote:
What about WO dependencies? ...

The WO framework classes required here have no dependencies but Foundation (since KVC is now in Foundation).

"stripping down ..." does not seem like out-of-the-box solution...

Hu? Just build a library which contains only the classes you require. Of course you may need one or the other additional class for WO framework purposes (like WOContext), but this probably makes more sense than rewriting the templating from scratch!

Nothing against WO - each tool has its purpose...

WO is a nice framework which can be applied to many different purposes, not a monolithic "tool". Its actually quite beautiful for templating all kinds of files.

Presenting WO as a bloated tool is simply incorrect.

Now I wouldn't recommend it for stuff like [str replaceString:... withString:...] but as soon as you start with conditions, repetitions and stuff, you are very likely reinventing the wheel. And indeed the existing wheel is kick-ass ;-)

Greets,
  Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]