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.
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