[Xerte-dev] Re: Stilla bit confused about how to add new properties

Kemp Johnathan johnathan.kemp at ntlworld.com
Fri Nov 9 17:44:16 GMT 2012


Now that Xerte and XOT are going there separate ways I can still see a
benefit to keeping separate xwds for each page type.

I think maintaining the modular approach will make it easier to maintain
the individual page types both from a translations point of view and from a
code point of view. It will also be easier to manage the addition (or
removal) of pages from an install. If each page type has its own model file
and its own xwd file then changes to one page cannot compromise the
performance of another page.

I can appreciate the attraction for XOT developers to go straight to the
single template.xwd file that contains all the page wizard forms, but maybe
a better way forward would be to have a set of individual xwd files in the
XOT install and then have a facility to build a new templates.xwd file in
XOT without having to make recourse to the Xerte desktop environment. Then
changes could be made to the individual page's xwd file and tested after
building a new templates.xwd file. Maybe this could be automatic if any
individual xwd file has been changed? (not sure what is feasible here).

Kind regards

Johnathan


On 6 November 2012 11:05, Julian Tenney <Julian.Tenney at nottingham.ac.uk>wrote:

> S’ok, I got it,
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* 06 November 2012 11:05
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Stilla bit confused about how to add new
> properties
>
>
>
> When I run the bat, where is the new xwd created?
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk<xerte-dev-bounces at lists.nottingham.ac.uk>]
> *On Behalf Of *Tom Reijnders
> *Sent:* 06 November 2012 10:54
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Stilla bit confused about how to add new
> properties
>
>
>
> Ron,
>
> that is correct.
>
> Julian,
> We made \Xerte\pages the 1 single source of templates. So that is what I
> am going to use to generate zips
>
> Furthermore, the small xwdˋs have more to do with maintenance and
> translation than, the difference between Xerte standalone and XOT.
>
> So, if you think that the 1 single source should be moved to the xot
> repository, thatˋs fine with me, as long as we agree, which one to
> maintain. Even then, for the translations I would really like them
> seperated, because then as an author for a specific page I only have to
> care about the files for that model. Scripts/code will handle the rest for
> me....
>
> Tom
>
> Julian Tenney <Julian.Tenney at nottingham.ac.uk> schreef:
>
> Thanks,
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk<xerte-dev-bounces at lists.nottingham.ac.uk>]
> *On Behalf Of *Ron Mitchell
> *Sent:* 06 November 2012 10:44
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Stilla bit confused about how to add new
> properties
>
>
>
> edit xwd's in \Xerte\pages\wizards\en-gb\
>
>
>
> run create_template_xwd.bat to generate template.xwd
>
>
>
> I think! ;-)
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk<xerte-dev-bounces at lists.nottingham.ac.uk>]
> *On Behalf Of *Julian Tenney
> *Sent:* 06 November 2012 09:50
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Stilla bit confused about how to add new properties
>
>
>
> Hi,
>
>
>
> I’m still not entirely clear on how I best add a new optional property to
> a number of models in the xwd files. In the past I would have added them to
> the big xwd file, but I am not sure how I add them to small .xwd files and
> then create the big one.
>
>
>
> Second related question: is there any point trying to maintain this link
> between xerte and toolkits? This is a good example of something taking me
> longer to do because of the backward compatibility than it needs to.
>
>
>
> Julian
>
>
>
>
>
>
>
> 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 disc lose 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
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are in
>
>  tended
>
> 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.
>
>
> --
> Verzonden van mijn Android telefoon met K-9 Mail.
>
> _______________________________________________
> Xerte-dev mailing list
> 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/20121109/4a272952/attachment.html>


More information about the Xerte-dev mailing list