Decoupling (Symfony2) Forms from Entities

Avoid tight coupling between your forms and your Entities by using the Command pattern as an intermediate.

8 Reasons Why MySQL’s ENUM Data Type Is Evil

http://komlenic.com/244/8-reasons-why-mysqls-enum-data-type-is-evil/

ENUMs in Symfony 2 and Doctrine

For Symfony 2 projects, add this to the doctrine dbal configuration in app/config.yml: doctrine: dbal: mapping_types: enum: string

Doctrine Query Language

DQL stands for Doctrine Query Language and is an Object Query Language derivate that is very similar to the Hibernate Query Language (HQL) or the Java Persistence Query Language (JPQL).

Wzorzec projektowy Proxy (pośrednik)

Proxy jest przydatnym wzorcem projektowym, który umożliwia dodanie pewnych dodatkowych zachowań do jakiegoś obiektu w sposób transparentny.

Doctrine Listeners

We’ve done a lot of work so its time to see one of the most powerful features of Doctrine: events. Using an ORM gives us the flexibility to have hooks that are executed whenever certain things are done, like when an entity is first persisted to the database, updated, or deleted.

Git Tutorials & Workflows

http://www.atlassian.com/git/tutorial http://www.atlassian.com/git/workflows

Zero-configuration Web Application Debugging with Xdebug and PhpStorm

This tutorial describes how to get started with PHP web application debugging in PhpStorm IDE using Xdebug.

Complex Symfony2 Examples: Users, Menus, CMS Features

http://knpuniversity.com/screencast/question-answer-day/symfony2-users-menu-cms#multi-user-systems

Terminology in Symfony2 and Doctrine2. Record vs Entity vs Document vs Model

This User model is used throughout the bundle but doesn’t have a complete implementation to access its own data (I didn’t look but I think it could be an interface only). The final implementation is done in an entity class and another in a document class so no matter whether you use MySQL or MongoDB ...