Hi Sandro,

I'm actually leaning against making our demos and tutorials pages that we
release adhere to the site design at all -- and instead applying some XSLT
transformations to them to deploy them to the main site and make them look
like they belong.  Basically, we'd make XML templates in the demos and
tutorials projects, and then apply one XSLT to turn them into basic pages
that will ship in our WARs... then apply a different XSLT to turn them into
the pages that will live on our site.  Thus, the site design docs would
never even live in the trunk.

The reason for this line of thinking is that:

   1. it doesn't feel right to ship demos and tutorial pages with our
   releases that look like they belong in the main site.  The links would be
   broken (or we'd have to hack them to be fully qualified), it'd feel out of
   context, etc.
   2. We'd inevitably have to fork the site design code, as you've already
   started to do -- we'd end up having the same code live in site, trunk/demos,
   and trunk/tutorials.  Then, we have the age-old problem of making updates to
   one part and forgetting to update the others.

I'd hold off on anything for now, 'cause you'll probably have to revert it
later.  In fact, you should probably revert the stuff you already checked in
:-(  I hadn't quite formulated all this in my head as of yesterday, so sorry
for putting you through wasted effort, but in hindsight, it's what I meant
when I said that the site design shouldn't be tied to any release. :)

-T

On Fri, Nov 20, 2009 at 4:52 AM, Sandro Martini <[email protected]>wrote:

> Hi Todd,
> I've just committed all new files needed to adapt the demos to the new
> style.
>
> Note that are all new files, so at the moment no one page uses them,
> in next days (and next week) I can update the 2 pages to use them.
> Only some disk space is used (mainly for images).
> You can see results opening template.html in a browser.
>
> The only thing we (I) have to modify are links in the footer of the
> page, with those on 1.4 release but I don't know if we have already
> them, and probably some links there can be removed.
>
> Or for Demos and for Tutorials maybe we can also remove most of these
> links from the footer.
> And probably also the Header here, or we could keep it but pointing to
> the main site but I don't know if it's a good thing running a war and
> have some resources inside (for example the main site could have
> another release or could be different for whatever reason).
>
>
> Ah, a last thing, if all is good I can commit the template and style
> also in tutorials (and also some images), tell me ... or I can do this
> later (but for the 1.4).
>
> Comments ?
>
> Bye,
> Sandro
>

Reply via email to