Hi
I work for Tesco.com. We make extensive use of XSLT on all our websites, some
of them are extremely large projects.
David
-----Original Message-----
From: graydon@xxxxxxxxx [mailto:graydon@xxxxxxxxx]
Sent: 05 September 2011 19:19
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: stylesheet organisation
On Fri, Sep 02, 2011 at 04:49:36PM +0100, Andrew Welch scripsit:
> Thanks for your post, just to query one part:
> > And having multiple smaller files helps collaboration
>
> Why do you think mutiple smaller files helps collaboration?
Because that way you have have one small file locked by programmer A in the
version control system and another small file locked by programmer B in the
version control system.
XSLT is not all that good at being used in large, multi-programmer projects;
there's little-to-no automerge support for version control, and various
processors throw warnings at you if you have a file included in more than one
place (as you want to do if you're defining a bunch of utility functions in a
big mass of XSLT code.) But having things being broken out into smaller files
on some logical grounds -- semantic groupings of target elements, say --
certainly helps.
-- Graydon
This is a confidential email. Tesco may monitor and record all emails. The
views expressed in this email are those of the sender and not Tesco.
Tesco Stores Limited
Company Number: 519500
Registered in England
Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8
9SL
VAT Registration Number: GB 220 4302 31
|