A few weeks ago I’ve made an experiment with Symfony2 and Doctrine 2, creating a simple, dummy and no-purpose blog CRUD, the BlogBundle.
As far as you want get in touch with some Sf2 syntax or concepts you should keep an eye on it ( it’s a matter of a few minutes ): some API have changed or will change, but the most I’ve written should be able to explain how to do the basic stuff.
Just to redirect you to the proper resources, I would suggest you to look at:
- the Controller
- the Post entity, mapped with Doctrine 2
- the form
- the routing, that’s definitely gonna change in a few weeks ( I’m looking at you, ‘:’ url parameters! )
- some views ( although I didn’t used twig, my fault )
Hope this will help somebody, it’s mostly for the sake of ease learning some initial concepts.