Monday, July 18, 2011


Just a couple of links today (more details to follow).

I found a great reference for JavaScript and jQuery Design Patterns here:

Also, I learned about the Presenter pattern today. We were having a discussion at work about what to do with presentation logic in Rails. On the one hand you don't want it in the controller because you want to keep your controllers thin, on the other hand you don't want it in the models either because it's presentational. You can't put it in the erb because they shouldn't contain logic. Enter the Presenter Pattern:

Enjoy your homework!

No comments: