We all know names are important. Probably the most important names are those of projects themselves. Ubiquitous names clearly define a projects’ scope, requirements and domain.
Oftentimes find* and get* functions, such as findByEmail or getByEmail functions are used interchangeably. There is however a subtle difference in expectation, even with the words find and get.
Tutorial on creating re-usable Forms, Fieldsets and InputFilters and how to nest these to minimize maintenance and speed up form development.
You should now have an understanding on how to get started with the combination of Zend and Doctrine. Though this tutorial handles really only the basics, it lays a foundation of where to start.
This is very similar to adding and editing a post.
By now the process of creating a new action should be familiar. First up we’re going to create the route, then the view, then the action, followed lastly with whatever is needed for the action and ...
Now that we have an InputFilter setup, we can create the addAction.
Something important to note about what’s defined in an InputFilter is that you define both the client-side validation and the server validation. These two are name separated and duplicated. Let me ...
When creating forms we’re going to be following the same principles we’ve followed earlier, mainly DRY and separation of concerns.
Now that we have an overview and a view, we’re going to create the possibility to create a new post.