El jue, 13-01-2011 a las 16:15 +0100, Peter Bex escribió:
> On Thu, Jan 13, 2011 at 10:00:28AM -0500, Yannick Warnier wrote:
> > Hi Peter,
> > 
> > This is *GREAT* news. I think we should put that in the January
> > newsletter, if you don't mind (I know how to word that).
> 
> I'm fine with that.
> 
> > Do you have a *procedure* that we might apply to CouchDB as well, for
> > example?
> 
> The procedure I used was basically:
> 
> 1) I added exception handling to the database class to get early errors
>    instead of allowing it to silently continue.  This is very important.
> 2) Load page, find cause of the exception and fix it.
> 3) if not done, goto 2
> 
> That's it :)  All you really need is knowledge of MySQL's quirks with
> respect to more standardised databases and how to fix those.
> 
> However, I think Couchdb will prove to be especially difficult because
> there are quite a few places where there are raw SQL queries being
> generated, which that makes it a lot more difficult to add an entirely
> different class of databases like Couchdb or other "NoSQL" DBs.
> 
> I think it's important to focus first on getting other relational,
> SQL-based database systems supported.  Perhaps SQLite or Firebird,
> and if people have access to them, MS SQL/Oracle.
> 
> To keep this stuff working, it's important that the core developers
> run as diverse a setup as possible, so that no new MySQLisms creep
> back in (in newly written code).
> 
> Also, an extensive testsuite would help catch errors, because I'm very
> sure that there still loads of problems I haven't fixed yet.  It's hard
> to debug a complete application by just *using* it.

Yes, we will soon need a complete build system that installs and reports
bugs on several OS and database systems.

Coding conventions should be very strict on always using the XML-based
queries (as far as I remember that was the idea of MDB2).

Yannick


_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev

Reply via email to