Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doctrine ORM #1047

Closed
robocoder opened this issue Nov 25, 2009 · 6 comments
Closed

Doctrine ORM #1047

robocoder opened this issue Nov 25, 2009 · 6 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@robocoder
Copy link
Contributor

At present, Piwik has two Db "layers" -- one for reports, the other for the Tracker (non-Zend_Db for speed) -- and largely MySQL-ish SQL.

Doctrine has a Database abstraction layer that may help with supporting more database servers (non-MySQL).

Obstacles to adopting Doctrine:

  • requires php 5.2.3+ (implies raising Piwik requirements)
  • only supports PDO drivers (which rules out mysqli)
  • desire for speed vs the overhead of Doctrine's ORM

Keywords: wishlist

@robocoder
Copy link
Contributor Author

This is a sign post for future discussion. Closing for now.

@robocoder robocoder added this to the Future releases milestone Jul 8, 2014
@ak5
Copy link

ak5 commented Aug 29, 2014

Does anyone else think it makes sense to check this one out again? I think this would be a great way to support a range of NoSQL databases.

@mattab
Copy link
Member

mattab commented Aug 29, 2014

I think this would be a great way to support a range of NoSQL databases.

see #2592

@sgiehl
Copy link
Member

sgiehl commented Aug 29, 2014

I would rather disagree. I think Doctrine ORM would be a too big performance killer.

@diosmosis
Copy link
Member

I think @sgiehl is correct. Additionally, using an ORM won't provide instant compatibility w/ NoSQL (relational databases & NoSQL databases are too different).

@julienmoumne
Copy link
Member

I think it is useful here to acknowledge the fact Piwik has different types of persisted data : tracking/raw data, report/processed data and "application" data (users, sites, pdf reports, ..).

Ideally, different types of data require different persisting methods.

I think "Application" data could benefit from being managed by an ORM.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

6 participants