-
Symfony 2: Unit Testing Many-to-One Validations on Entities
From what I can tell, the Symfony 2 cookbook does not have a decent example for handling entity validations and unit testing. I looked around a bit for a good sample and found a decent answer over on Stackoverflow. But outside of setting up a base class for handling future validation test classes, the sample…
-
Blogging about Coding and Why You Should Do It
Back in high school, one of my stricter English instructors forced us to keep a daily log to get us to write on a daily basis. The idea of blogging helps the writing process as it’s easy to slowly lose confidence in one’s abilities to present ideas in a clear manner. When you combine writing…
-
Symfony 2: Adding A Selection List of Entities
The examples from the documentation on the Symfony 2 site did not explain how one could render a list of entities in the form of say a select html drop down for an object that has a one-to-many type of relationship (the sample showed a product to category relationship). Instead, what was shown was embedding…
-
Symfony 2: Day 3 Test Drive
I created a new bundle for my application and am attempting to move towards a more serious mode of programming. Rather than working with your typical “Hello Worlds”, I decided to focus on a more complex test case that’ll help motivate me in getting a better feel for more advanced features.