[Xerte-dev] Re: PHP compatibility

David Goodwin david at palepurple.co.uk
Wed Oct 16 12:10:19 BST 2013


On 16 Oct 2013, at 11:53, Pat @ Pgogy <xerte at pgogywebstuff.com> wrote:

> How long would it take to change the code over to abstraction - honestly - I'd say 2-3 days (I internationalised over a weekend)

Yes, and then :

a. There was refactoring and bug fixing by others for days/weeks afterwards

b. If there had been a discussion beforehand, perhaps a different (and perhaps better) solution might have been chosen.

I'm all for someone 'fixing' the mysql_ stuff - but there needs to be a short discussion beforehand. There are 101 different possible approaches - some are more equal than others etc.


There's a big difference between replacing instances of 'mysql_query' and associated stuff with db_query* versus making some sort of library/api.

The effort/changes required for a library/api would probably replace/rewrite/overwrite whatever may have been done changing things to use e.g. db_query*.


David.


> 
> But it just feels a bit odd to just do the database stuff
> 
> I will do it for 9,999 pounds

Pale Purple Ltd.  (Company No: 5580814)
'Web and Mobile Application Development for Business'

http://www.palepurple.co.uk   
Office: 0845 0046746     Mobile: 07792380669 

Follow us on Twitter: @PalePurpleLtd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131016/26b42be8/attachment.html>


More information about the Xerte-dev mailing list