Menu

Welcome to Help

Help
2007-08-11
2013-05-23
  • Nobody/Anonymous

    Welcome to Help

     
    • hai

      hai - 2007-08-17

      I want issue, mysql is better
      I can help if need

      Sam

       
      • Dan Falconer

        Dan Falconer - 2007-10-13

        Sorry for the long-overdue response.  I didn't realize there was a forum (I figured I'd get notified if there was activity on something like that--apparently not).

        I would be perfectly fine with a MySQL version, but I haven't used it much myself. I much prefer PostgreSQL.  If you would like to submit a "patch" to implement MySQL, along with full documentation, I would be more than happy to take a look at it and add you as a developer (you would be expected to handle the MySQL porting).

        Things to keep in mind:

             -- CS-Content (one of my other projects) provides that database layer for Postgres: please build a copy of cs_phpDB.php that implements all functions of the existing class, and I'll implement it.

             -- The setup system must be aware of this option:
                 * building a new database
                 * converting from an existing database (possibly Postgres)

        In a perfect world (excluding the setup system), the only thing that should need to be added is a config option indicating the type of database, so cs_phpDB knows to use either the MySQL or PostgreSQL abstraction.  If I remember MySQL correctly, the only real problem should be with the stored procedures (which are planned to be phased-out by v1.1 or v1.2)...

        I'll work on changes to cs_phpDB (cs-content) to allow for using multiple db layers.  I'll also work on an update to cs-project to implement that option. 

        Let me know if you have any questions.  I keep track of everything at http://project.crazedsanity.com.  If you're interested, I'll add you as a user so you can keep track of changes and such.  Just let me know!

         

Log in to post a comment.