Archive for the ‘Agile’ Category

Learning Zend Framework

Thursday, April 3rd, 2008

For the next few days, I would be writing a guide in using the Zend Framework in creating a simple Social Networking Site.
I will be blogging about how to create the site from scratch and help you and myself in learning the Zend Framework and creating a project is the best way to do it. By the way, we'll be doing the project the agile way! =)

The project will be called ZF Connections, an online community with user profiles, messaging, posting of ads and blogs.

Next post, we will be discussing our directory structure, and how we could separate our modules in their own directories and our bootstrap file.

BDD or TDD?

Monday, September 24th, 2007

I've been reading Test Driven Development (TDD) and Behavior Driven Development (BDD) articles these past few days and I'm a little bit confused on their differences. I came across BDD when I'm taking a look at RSpec framework for Ruby.

According to the definition of BDD from wikipedia:

Behavior Driven Development (or BDD) is a software development technique that questions the behavior of an application before and during the development process. Created in response to the failings the founders perceived in Test Driven Development, Behavior Driven Development addresses requirements and specification in a way that is more textual than its predecessor. By asking questions such as "What should this application do?" or "What should this part do?" developers can identify gaps in their understanding of the problem domain and talk to their peers or domain experts to find the answers. By focusing on the behavior of applications, developers try to create a common language that's shared by all stakeholders: management, users, developers, project management and domain experts.

From what I understand, BDD is different from TDD on how they approach in 'testing' a unit/entity. TDD is more focused on the application logic, while BDD is focused on what the behavior of the application on a given situation.

I'll try to put some codes differentiating TDD and BDD approach on my next post.

Till next time. =)