# [Xerte] Re: Question about published content and PHP

Ron Mitchell ronm at mitchellmedia.co.uk
Tue Apr 21 12:22:00 BST 2015

Just to add another couple of quick points to what's already been said....

1. I've never known a xerte database to crash but of course you should setup
automated backups of the install directory and the database just to be safe.

2. Don't fall into the trap of thinking that published and exported content
is more reliable and less likely to break than LO's linked or embedded from
the Toolkits install. In most cases there are so many more benefits to
linking or embedding from toolkits rather than exporting (and in effect
separating from toolkits) that I'd say the reverse is true e.g. your LO's
are less future proofed and more likely to have problems in future if
MathJax have all changed their services/code in recent months/years and this
is quickly fixed in the Xerte code but to fix the same in say 30 exported
LO's you would have to update your install and then re-export and re-import
each of those LO's. Whereas if linked or embedded then with the install
updated potentially hundreds or even thousands of LO's are fixed in one go.

HTH
Ron

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 21 April 2015 11:58
To: Naveed.Hashmi at bristol.ac.uk; Xerte discussion list
Subject: [Xerte] Re: Question about published content and PHP

Hi Naveed,

If you have made the LO public and are using a url pointing to the xerte
server, most likely ending in play.php?id=xx (where xx is the id of the
learning object) then yes it still hits the database to resolve details
about the LO and to update some stats...

If you have exported a zip file (either archive or scorm) from Properties ->
Export tab and placed this on a server or run it locally then no, it no
longer needs access to the original server or database and can in fact run
offline...

Regards,

John Smith | Learning Technologist
Room A250, Govan Mbeki Building | School of Health & Life Sciences | Glasgow

Please address ALL support requests to hlsblt at gcu.ac.uk where one of the
School Learning Technologists will pick up the job. This will ensure that
all jobs are completed as promptly as possible.
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk
[xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Naveed Hashmi
[Naveed.Hashmi at bristol.ac.uk]
Sent: 21 April 2015 11:51
To: Pat Lockley (Pgogy)
Cc: Xerte discussion list
Subject: [Xerte] Re: Question about published content and PHP

I mean the actual content that is accessible to users, not the publishing
process.

I think embedded content needs PHP, i.e. the php player, but content
exported as SCORM does not. I doubt either need to make calls to the
database via php.

Thanks.

On 21 April 2015 at 11:42, Pat Lockley (Pgogy)
<info at pgogywebstuff.com<mailto:info at pgogywebstuff.com>> wrote:
By published - you mean "made public and the published button has been
clicked"?
Else my last answer is wrong

Published by clicking on publish still means the playing on a project uses
PHP to decide various things, and in doing so uses the database as well

On 2015-04-21 11:36, Naveed Hashmi wrote:
A related question, if the database 'crashes', will this affect any
published content?

Thanks.

On 21 April 2015 at 11:30, Pat Lockley (Pgogy)
<info at pgogywebstuff.com<mailto:info at pgogywebstuff.com>> wrote:

It shouldn't do, bar the API calls / RSS feeds?

On 2015-04-21 11:26, Naveed Hashmi wrote:

Hi,

Newbie question : I assume the published content (HTML5) does not make calls
to the application server (re: PHP), is this correct?

Naveed

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,
Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte [1]

--
Pgogy Webstuff
pgogywebstuff.com<http://pgogywebstuff.com> [2]

------
[1] http://lists.nottingham.ac.uk/mailman/listinfo/xerte
[2] http://pgogywebstuff.com

--
Pgogy Webstuff
pgogywebstuff.com<http://pgogywebstuff.com>

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.

Glasgow Caledonian University is a registered Scottish charity, number
SC021474

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

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.