>
> I was asking whether a particular service was implemented by
> turbine because
> I thought it was of use to a very high percentage of turbine
> developers.
> If it isn't an existing service then yes - I am willing to
> help spec it
> and write it.
>
Well, I think it would be a pretty good service. I imagine that you would have a
properties file which contained simple regular
expression for mapping urls. These urls would then be mapped in both directions, i.e.
when a user made a request to the servlet like
/mysite/servlet/mysite/SpecialPage
this might be mapped to
/mysite/servlet/mysite/template/dir,subdir,TemplateBlagh.vm
and then when the $link tool was invoked, it would rewrite
$link.setPage("dir,subdir,TemplateBlagh.vm")
would become:
http://hoststuff/mysite/servlet/mysite/SpecialPage
FYI alex, I also shortened the servlet_context/servlet_directory/servlet_name part if
the url by modifying web.xml, server.xml and
mod_jk.conf (if you're not using apache then you won't need this modified obv.)
and now have a site url like:
http://hoststuff/me/s/home
which is much easier to use and (as Jon so kindly pointed out ;) ) nothing to do with
turbine.
Problem for me is that I am currently a couple of weeks away from going live with a
BIG project so may not have time to implement it
at the moment.
I also agree BTW that newbies get a rough deal on this list. There definitely are some
newbies who won't do anything for themselves
and expect it all to be handed on a plate, but most newcomers are not looking for a
expert reply, just someone who has recently had
the same problem.
Those old hats (said with the required level of reverence ;) ) who started the Turbine
project should try and take a step back -
Turbine is now a very substantial framework, with limited (although quickly improving
documentation). I'm not at all criticizing - I
think turbine is brilliant ant getting better all the time, it just can be very
overwhelming for newbies. Remember that the open
source (and therefore highly available) nature of Turbine means that for a lot of
users it may be the first app framework they have
worked with and they may have more problems.
My best suggestion, is that if it is felt that to many newbie posts are on this board,
we have a turbine-newbie one.
I will try and implement such a service if people think it will be useful but it may
be a month or so...
Oh, finally a thanks to all who post help on this board - it has save me HOURS of
time... !!!! :)
Gareth
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]