Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Upgrade: Create a "database" factory class to migrate database subsystem to 2.0

#198

When working with an IDE which uses PHPDoc for help and suggestions, it needs appropriate PHPDoc comments in the source to find the appropriate information. If we had a "database" class which each of the specific databases (mysqli, etc...) extended/subcalssed, it would fix this break.

The current work-around is that I've typed the 'subsystem/database.php' file with the 'connect' method returning a 'mysqli_database' object since we currently only support mysqli databases.

Reported by dleffler · May 29th, 2011 @ 02:55 AM

State: open
Milestone: 2.0.2
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja

    (from [5b69eade623383a843516ed78fc3005cc16ba3e4]) [#198 Upgrade: Create a "database" factory class to migrate database subsystem to 2.0] Add PHPDoc comments to some base files. Fix some parameters in the eLog function. for PHPDoc type of database to msqli_database since it's the only one we use at this point. https://github.com/exponentcms/exponent-cms/commit/5b69eade623383a8...

    June 2nd, 2011 @ 08:57 PM

  2. expNinja
    expNinja

    (from [94c598a2a707f7c1ca8efe9a295cc3c9ec6ad076]) Remove foreign calls from database engines (MySql in PG, MySql in MySqlI, etc...) Keep things pure by using DB specific call in that engine (only minor changes) [#198 Upgrade: Create a "database" factory class to migrate database subsystem to 2.0] https://github.com/exponentcms/exponent-cms/commit/94c598a2a707f7c1...

    July 8th, 2011 @ 07:57 PM

  3. expNinja
  4. expNinja
  5. expNinja
  6. expNinja
  7. expNinja
  8. expNinja
  9. expNinja
  10. expNinja
  11. expNinja

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.