Hi guys!
Just joined the pws list (but seasoned Squeaker) so perhaps you have already discussed
these
items.
I have just started fiddling with Comanche etc. - the four winds stuff, I believe -
great stuff!
My goal was to familiarize myself with this framework and in the process help my
brother build a
small "web application". First I thought of using PWS but then, nah, let's try it the
new way!
Since he also wants to run a Swiki I thought it would be nice to put it all in
Comanche and use
the new Swiki implementation.
Now, in order to promote Comanche within the Squeak community it benefits to look at
the "hurdles"
that a newcomer (that would be me) stumbles on (and then we fix them) - and here are
mine:
1. It was tricky to a) find documentation on how the modules are added etc. b) really
make it
work. Even though I always found the design of PWS kind of strange (a lot on the class
side, an
instance of PWS as the request etc.) I must admit that it was quite clear how you
added an action.
In comanche this is a little bit muddled. It did not really help when the "modules"
instance
variable got initialized to either an OrderedCollection OR a Dictionary! Perhaps this
part should
be simplified/documented a little bit. There was also some meta stuff going on finding
implementors of selectors etc. Is this really necessary? Note: I have not analyzed
this that deep,
perhaps there are reasons for it all.
2. Then I thought that a simple "substitution formatter" would be nice to have (you
know -
substituting embedded identifiers in HTML with dynamically built HTML) - I needed to
present
values using a HTML template. This is a typical SSP situation some would argue OR even
XML/XSL
etc, but since I wanted to keep it simple and the SSP stuff did not really look
"hardened" I
started looking for a simpler formatter. I noticed that this very simple kind of
formatter is not
implemented. There are some quite fancy formatter-stuff going on but they looked a
little bit
"specific" and did not (upon first look) really fit the bill. I am thinking of a
simple formatter
that you just feed a HTML file with embedded identifiers like "<?identifier?>" and a
Dictionary
with values consisting of Strings. Perhaps it could also handle loops, but I would
like to keep it
simple.
Well, I will probably implement this formatter myself - it is of course rather dead
simple.
So, in short:
1. A small howto/guide like the one contained in PWS could perhaps help.
2. Perhaps the module registration code could be somewhat simpler?
3. A few simple helper classes, like this substitution formatter.
Well, my 2 �re, G�ran
=====
G�ran Hultgren, [EMAIL PROTECTED]
icq#:6136722, GSM: +46 709 472152, http://www.bluefish.se
"First they ignore you. Then they laugh at you.
Then they fight you. Then you win." -- Gandhi
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com