I spent some time last night giving node.js a serious looking at. I was looking for best practices from the node community, and didn’t find any resources there.
So I dug and wrote my own.
Initially this was for internal research, but it seemed too good to keep secret.
So, I present: Node.js: research, analysis, and best practices
Lately there’s been a lot of buzz in the Rails community about using the Presenter Pattern to organize common view related code outside of the model.
Think of Presenters like Helpers: The Next Generation
I used Presenters on one project with great success. Today I was about to add presenters to a second project, when I said:
Self, you could copy and paste all this code from Project X to Project Y, or you could extract it into a gem
So, that’s what I did: introducing the delegate_presenter gem
Read more documentation on the Github page