I'm really excited about Xataface. It's by far the easiest way I've ever found of building a DB-based app...
So I've now pretty much finished two apps, and all's going well. But these are apps for me - the next app I need to write is for a customer. And this particular customer is a pain in the neck - they have historically been a Microsoft shop (although I've now got 3 Linux servers into the organisation), and I need to integrate with their current application. That sits on top of SQL Server. Bah.
I had a quick look at trying to build something out of a proxy server, converting the MySQL calls into SQL Server ones. That looks to be a non-starter; the complexity is high, and it's going to take me forever to test everything. So my next solution is to port Xataface to SQL Server.
I've had a skim over the code - a grep for "mysql_" - and nothing looks too tricky. It's unfortunate that the code doesn't use Dataface/DB.php more, but them's the breaks. So I've got to wondering whether it would be feasible to replace all the direct mysql_* calls with something like PEAR::MDB2.
This doesn't look overly complicated - is there anything obvious I've missed?
I'm used to doing this sort of thing in Perl - the DBI module has done wonders for me several times.
So - any comments? Am I biting off way more than I can chew? Should I learn to spell "results" before I go any further?
Vic.