Opened 5 years ago

Closed 10 months ago

#1484782 closed Feature Requests (fixed)

implement a driver based on doctrine

Reported by: till Owned by: till
Priority: 5 Milestone: 0.9-beta
Component: Database Version: git-master
Severity: normal Keywords:
Cc:

Description (last modified by alec)

advantages:

  • bsd licensed ;))
  • great orm and dbal
  • migration support (for update script)
  • exceptions, PHP5 (advantage over MDB2)
  • pear channel (for easy dependency management)

Change History (6)

comment:1 Changed 5 years ago by thomasb

  • Milestone changed from 0.1.5 to later

comment:2 Changed 11 months ago by alec

  • Component changed from Client Scripts to Database
  • Description modified (diff)
  • Resolution set to wontfix
  • Status changed from new to closed

Doctrine requires PHP 5.3 and it looks a little bit over-complicated for our needs. I've created a new DB layer based on PHP PDO. See pdo branch.

comment:3 Changed 11 months ago by till

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Yeah, take a look at Doctrine/DBAL. It's a lot simpler than the entire ORM.

I'm strongly against adding homegrown something which only you maintain and no one else.

comment:4 Changed 11 months ago by thomasb

Remodeling our MDB2 wrapper class to PDO isn't really a "homegrown something which only you maintain". It's only a lightweight interface to something others maintain which is PDO.

comment:5 Changed 10 months ago by alec

  • Milestone changed from later to 0.9-beta
  • Version set to svn-trunk/git-master

I think we should merge pdo branch with master as soon as 0.8-stable is released.

comment:6 Changed 10 months ago by alec

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.