Page 2 of 2

Re: HMGSCRIPT 0.34

Posted: Mon Jul 23, 2012 11:55 am
by Rathinagiri
I have completed PHP-SQLite3 support. The code is in contrib.js. Extract the zip file in hmgscript directory.

Re: HMGSCRIPT 0.34

Posted: Mon Jul 23, 2012 3:37 pm
by Roberto Lopez
rathinagiri wrote:I have completed PHP-SQLite3 support. The code is in contrib.js. Extract the zip file in hmgscript directory.
Very interesting.

In the long term, we should switch to PDO (PHP data objects) then, we will have only one set of PHP database functions, changing the database driver as required. This is the reason because I've named the functions Sql*() and not MySql*().

Re: HMGSCRIPT 0.34

Posted: Mon Jul 23, 2012 3:44 pm
by Rathinagiri
Yes. I too have thought that Roberto. But just after finishing this sqlite support. :)

PDO is definitely the best choice.

Re: HMGSCRIPT 0.34

Posted: Sat Jul 28, 2012 7:52 pm
by Roberto Lopez
rathinagiri wrote:I have completed PHP-SQLite3 support. The code is in contrib.js. Extract the zip file in hmgscript directory.
I've tried to test to include in 0.36 release, but I've was not able to make it work, since it require a class not present in the package.

Could be you be so kind to add all the required files?

TIA.

Re: HMGSCRIPT 0.34

Posted: Sun Jul 29, 2012 3:44 am
by Rathinagiri
Please leave it Roberto. I am working on a common PDO way of doing the same. That will be common for many types of SQL servers.

Re: HMGSCRIPT 0.34

Posted: Sun Jul 29, 2012 1:50 pm
by Roberto Lopez
rathinagiri wrote:Please leave it Roberto. I am working on a common PDO way of doing the same. That will be common for many types of SQL servers.
Great!