[Xerte-dev] Re: Shared libraries
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Nov 12 10:59:01 GMT 2012
But if the dependencies are distributed with the template, it would be OK?
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 12 November 2012 10:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Shared libraries
Yes, the *we* which is a developer can do so.
But if we think "app store" then the average user might have to go get X and Y and Z before a template will work, and the template needs to support a list of dependencies
So both are doable - it just means problems.
On Mon, Nov 12, 2012 at 10:53 AM, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
Can't we do both? Use the default libraries if they suit, otherwise load up a custom one?
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
Sent: 12 November 2012 10:52
To: For Xerte technical developers
Subject: [Xerte-dev] Shared libraries
Hello,
At present we have a library folder in 1.8 which contains bits of PHP.
In the root we have mapstraction and some other folders which aren't really "core" they just sit there.
I have three new templates, and there are "common" JS libraries between them.
1) Putting the shared libraries into a library folder would save space
2) but giving each template it's own version makes them self-contained.
I prefer 2
Thoughts
Pat
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121112/5cc444db/attachment-0001.html>
More information about the Xerte-dev
mailing list