I have a task to write simple blog with symfony, storing title and description in database. The main problem is to write decoupled code which can be easily moved for example to Laravel. How can i accomplish that. If you can provide some links or tutorials solving similar issue it would be helpful. Thanks! Source: ..
How to work with Doctrine in order to keep everything decoupled as much as possible and also to prepare for replacing Doctrine someday for some other data-mapper solution? I understand that I should use XML / Yaml / Php Mappings instead of @Annotations in order to keep Entities and Mappings separated to achieve SRP i.e. ..