Tag: doctrine

Configuring PHPCR and Jackrabbit to use MySQL

PHPCR (PHP Content Repository) is a Content Repository library written in PHP, based on the Java Content Repository (JCR) standard. You can read more about it here. Furthermore, PHPCR is being used in the Symfony2 CMF (Symfony2 Content Management Framework) project which aims to build a foundation for future development of CMS applications using Symfony2. […]

August 16 / 2012

New TLDs

NewTLDs

Upcoming Conferences

CraftingTour

PHP New Zealand









symfony 1.3.10 and 1.4.10 released and available at ServerGrove

New versions of symfony framework have been released today. The 1.3.10 and 1.4.10 versions have been released due to a security issue in Doctrine. Check out the blog post announcing the release for more details. We ask all our customers (and non-customers as well) to update their projects with the latest releases. Our shared hosting […]

March 21 / 2011
Author Pablo
Category PHP, Symfony
Comments No Comments

New TLDs

NewTLDs

Upcoming Conferences

CraftingTour

PHP New Zealand









Enforcing unique key constraints with Doctrine ODM for MongoDB & Symfony 2

A couple of weeks ago we showed how you could set indexes in your MongoDB documents when using Doctrine ODM and Symfony2. Of course you can define unique indexes to prevent duplicate values and there are a couple of different syntax options to do so, which are clearly defined in the official documentation. But defining […]

October 20 / 2010
Author Pablo
Category PHP, Symfony
Comments 1 Comment

New TLDs

NewTLDs

Upcoming Conferences

CraftingTour

PHP New Zealand









Creating indexes for your Doctrine ODM documents with Symfony 2

Creating indexes in NoSQL / Document-based databases is quite different compared to traditional relational databases. Since the former are schema-less (there is no table creation), indexes do not get created when the collection or the document is created or inserted. Here is a quick tip that will create all the indexes defined in your documents […]

October 07 / 2010
Author Pablo
Category PHP, Symfony
Comments 1 Comment

New TLDs

NewTLDs

Upcoming Conferences

CraftingTour

PHP New Zealand









Logging MongoDB queries using Symfony 2 and Doctrine ODM

Symfony 2 comes with native support to connect to MongoDB using the DoctrineMongoDBBundle. Getting started is quite simple and there is not much that needs to be configured, but the manual does not say how to enable query logging although it is already possible with Symfony PR3. Query logging allows you to debug queries sent […]

October 05 / 2010
Author Pablo
Category PHP, Symfony
Comments 1 Comment

New TLDs

NewTLDs

Upcoming Conferences

CraftingTour

PHP New Zealand