I've ported over the WM templates/screens/actions from Scarab to Turbine
and they're working fine. Rather than just commit these though I have
some thoughts about pulling stuff together:
In the past when the possibility of making a WebMacro system the default
out of the box config has come up, Jon particuarly has asserted that we
need to be template-agnoistic. Whilst I feel it is important that
Turbine continues to support various template engines (Freemarker & JSP
particularly), are we still willing to take the cost in initial ease of
use to avoid having a WebMacro setup be default?
So here's what I propose:
We make a WebMacro site the default for the various settings in
TurbineResources.properties (with the non-WM alternatives specified in
comments obviously).
We make all the default screens template driven (i.e. login & error
screens). The templates, along with the admin templates from Scarab go
in src/templates.
I'd like to see Rafal's proposed changes to our use of WM happen so that
we can specify the location for the WM.properties file and the templates
relative to the webapp root. Looking back it looks like Rafal is waiting
on Kevin Burton's init API - how is that going Kevin?
Then we amend the war-webmacro target of build.xml to take the template
files from src/templates.
These changes together would bring us a whole lot closer to Dave's idea
of a Turbine devkit. A new developer could download a Turbine tarball,
build the war-webmacro target, set up their DB, point Tomcat at the
turbine-war-webmacro directory and hey presto! a working Turbine
install. The use of templates for all default screens means the new
developer can start customising stuff straight away.
I'm willing to make all the above changes (excepting Rafal's/Kevin's
stuff) if I get agreement on this.
A couple of questions:
I guess I need to change the licence on the Scarab code I'm porting to
the Turbine licence. Any of the authors (Jon/Dave/Kevin) got any
problems with that?
Jon, where did you get that crazy HTML? :-) Do you have a tool that
generates that stuff (please, tell me you do and you didn't craft it by
hand!). Anyway for the Turbine stuff I plan to make the navigations a
lot more basic so people don't get lost in the details.
--
Sean Legassick
[EMAIL PROTECTED]
homo sum: humani nihil a me alienum puto
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]