Architecture guidelines for a "single page web-app"

Posted by Matt Roberts on Programmers See other posts from Programmers or by Matt Roberts
Published on 2012-04-26T09:51:01Z Indexed on 2012/12/10 23:17 UTC
Read the original article Hit count: 389

I'm going to start a side project to build a "single page" web application. The application needs to be real-time, sending updates to the clients as changes happen.

Are there any good resources for best-practice approaches wrt the architecture for these kinds of applications. The best resource I've found so far is the trello architecture article here: http://blog.fogcreek.com/the-trello-tech-stack/

To me, this architecture, although very sexy, is probably over-engineered for my specific needs - although I do have similar requirements. I'm wondering if I need to bother with a sub/pub at the server side, could I not just push updates from the server when something happens (e.g. when the client sends an update to the server, write the update to the db, and then send an update to the clients).

Tech-wise, I'm probably looking to build this out in Node.JS or maybe Ruby, although the architecture guidelines should to some extent apply to any underlying server technologies.

© Programmers or respective owner

Related posts about architecture

Related posts about web-applications