[PEAK] Re: first draft of a webdemo

Ulrich Eck ueck at net-labs.de
Thu Feb 26 17:54:37 EST 2004


http://peakplace.tigris.org/source/browse/peakplace/src/sandbox/ueck/xslweb/

> I'm curious.  Why did you create a SkinService?  From what I can tell, it
> would have sufficed to do something like:
>
> [Files *.pwt]
> file_factory = xslskins.StyleWrapperFactory(
>       style_pattern="%s_style",
> factory="peak.web.resources.TemplateResource" )
>

you use "xslskins" in the ini-file, do i need to declare it in some other 
section before i can use it, or does file_factory some special stuff there ?

> In order to create a wrapper object that loads the underlying resource type
> and then applies a named style to it.
>
> So, it doesn't seem to me that creating a SkinService makes any sense for
> adding the styling.  A given layer or resource directory can easily use
> styled or non-styled resources this way.

yeah .. it already went through a few refactorings, and the skin-service
will go away in favor to the solution you suggested. 

> >till now peak.web works fairly good for what i can tell.
>
> Yeah, but it's very verbose IMO.  I mean, peak.web forces you to declare
> lots of things that could possibly be done more simply or at least less
> repetitively.  

yep .. still a way to go ;-)

Ulrich


-------------------------------

Ulrich Eck
net-labs Systemhaus GmbH
CEO & Code-Artist
Ebersberger Str. 46
85570 Markt Schwaben - Germany

eMail: ueck <at> net-labs.de
phone: +49 8121 4747 10
fax:   +49 8121 4747 77




More information about the PEAK mailing list