mohamedmansour / hackathon-letsgo.io

letsgo.io - Photo Hack Day 4 project
http://letsgo.io
5 stars 6 forks source link

Better frontend architecture needed #7

Open mohamedmansour opened 11 years ago

mohamedmansour commented 11 years ago

The current front-end was done in an unorthodox approach :) To make it more maintainable we should do what we did in our previous hackathons, MVC/MVVM approach with client frameworks.

Having one JavaScript file for the entire website and creating hacks to make it available to another JavaScript file is a nightmare :) @justinormont ranking and api separation is a better direction that we need to apply throughout to the entire project

I recommend just breaking down files at first as modules and use event based architecture to let modules communicate to the rest of the components.

/cc @jthiller @jeremybenaim @justinormont @ray-s

jeremybenaim commented 11 years ago

Agreed, the code is a mess – it would be cool to make the repo private by the way