Monthly Archives: September 2012

Presenters: for a more object oriented view approach (and a better testing)!

I made this post more to express my admiration to the presenters pattern than to show something new.
Presenters makes the testing easier and the view more elegant.

This tutorial is a simple user CRUD, where the user informs name, email, date of birth and if the data should be private.
If the data should be private, the informations of email and date of birth will not be shown (will show a “Hidden” label instead).

Running sample

http://fpastore-02.herokuapp.com/

Final version repository

https://github.com/fpastore/02-presenters

Pre-requisites

Please, read first: Bootstrap Project for the Tutorials

Continue reading

Advertisements
Tagged , , ,