The Doctrine Project is a collection of open source libraries and tools for dealing with database abstraction and Object-Relational Mapping written in PHP.
0
votes
1answer
15 views
Database “design” using Symfony2 and Doctrine2
I'm working on an application, which tracks expenses. I have users. Each user can create his categories for the expenses (like Food, Bills, Transport, Drinks, Clothes) and then create expenses - each ...
2
votes
1answer
73 views
Passing a large amount of diverse information in JSON using Symfony 2.1 and Doctrine 2
For a project I need to give a load of diverseinformation in JSON format. All the information will be used on the same page so a single call would result in the least overhead. The information all ...
1
vote
1answer
39 views
Thoughts on the testability of my use case interactor?
So here is a class that executes the CreateAPerson use case. It takes a request object (which is a simple data structure), validates the request, creates a new person, and then returns a response ...
7
votes
1answer
983 views
Php/Doctrine array hydration
According to the Doctrine docs, you should use Array hydration rather than record hydration when retrieving data for read-only purposes.
Unfortunately, this means I have to use array syntax (as ...
5
votes
2answers
553 views
PHP/Doctrine bootstrap for review
Here's my bootstrap.php for my PHP/MySQL/Doctrine app. It's my first PHP app so I'm interested in learning from the experience of others how this could be improved - security-wise, performance-wise, ...