[Xerte-dev] Re: PHP compatibility

Pat @ Pgogy xerte at pgogywebstuff.com
Tue Oct 15 23:18:19 BST 2013


Well I agree with your disagreement :)

I think (personally) that revisiting each page means we might as well do
more than just fix alter the db calls. I could have done this when I went
through and internationalised the code, but I always assumed a new
Nottingham PHP person would want to do their own thing with the code. I
stick around here mostly as I like to help people but I always feel sad
when an LDAP query occurs because I've no idea how that code works now. I
worry a little that refactoring as a process will mean support / knowledge
is with a set of people and there is no oracle who knows how everything
works.

I think we could refactor just this, but it feels a bit of a shortcut?
Maybe?

I think we have to use an abstraction layer and happy to help write it.


On Tue, Oct 15, 2013 at 6:04 PM, Tom Reijnders <reijnders at tor.nl> wrote:

>  I understand where you are coming from, and I understand your reasoning.
> But I respectfully disagree.
>
> This is just a typical re-factoring which we will be obliged to do from
> time to time. No new functionality involved, perhaps new opportunities.
>
> The question is more MySQLi vs. PDO.  Or a more generic approach Like
> David Goodwin used for authentication. We don't do anything fancy with the
> database.
>
> Tom
>
> Pat @ Pgogy schreef op 15-10-2013 18:56:
>
> this is sort of why I think we needed a bigger set of goals for stuff
>
>  This has been coming for ages, but everyone at the moment is sort of
> solving their own problems (so to speak), and so this wasn't ever going to
> become a big deal, but is eventually going to stop everything.
>
>  Most of the XOT code is heading to being almost 5 years old now, stuff
> like was always going to happen without a sort of core development thread
> going on
>
>
>  On Tue, Oct 15, 2013 at 12:52 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>wrote:
>
>>  Thanks Tom
>>
>> I'll pass that on.
>>
>> I guess it could become a recurring problem at some point.
>>
>> Cheers
>>
>> Ron
>>
>>
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom Reijnders
>> *Sent:* 15 October 2013 12:31
>> *To:* For Xerte technical developers
>> *Subject:* [Xerte-dev] Re: PHP compatibility
>>
>>
>>
>> Ron,
>>
>> I created an issue for this already. The situtaion is as follows:
>>
>> - Xerte uses the php mysql module, which is deprecated from php 5.5
>> - There is (already a long time) a new MySQLi (mysql improved) module
>> which we don't use
>> - There is PDO.
>>
>> No idea how we are going to move forward (MySQLi of PDO) in Xerte, but
>> your collegue needs to make sure to have mysql support in php for the time
>> being.
>>
>> Tom
>>
>>
>> On Tue, 15 Oct 2013 11:03:24 +0100 "Ron Mitchell" <
>> ronm at mitchellmedia.co.uk> wrote
>>
>> Hi all
>>
>> I just received one or two emails from a colleague trying to install
>> Xerte on a Windows server and getting a message during setup that 'Your PHP
>> does not seem to have MySQL support' however phpinfo does show that MySQLi
>> is enabled.
>>
>>
>>
>> Do I recall previous discussion that the current Xerte codebase isn't
>> likely to work with later versions of PHP because of MySQL integration
>> changes? This server is PHP 5.5.4. If so has anyone been working on that
>> for 2.1?
>>
>>
>>
>> Cheers
>>
>> Ron
>>
>>
>>
>> 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.
>>
>>
>>
>>
>>
>>
>> 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
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>
>
>
> _______________________________________________
> Xerte-dev mailing listXerte-dev at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131015/c0694cb6/attachment-0001.html>


More information about the Xerte-dev mailing list