orizens / echoes

Echoes is a media player based on youtube which provides a great user experience (no ads!). Overall, it's a web application that is based on angular.js & bootstrap.
http://orizens.github.io/echoes/index.html
MIT License
336 stars 69 forks source link

Feedback - modularity #25

Closed CalebGilbert closed 11 years ago

CalebGilbert commented 11 years ago

Thanks for this example. It's one of the better large-sized backbone.js examples I have come across. Very cool looking too. :)

Just one comment about something to consider for a future version - modularity (e.g., going from MVC to modular-MVC). The application seems very tightly coupled in terms of functionality between parts. There's really not a way to add functionality, or even to tell where one thing begins or ends.

Maybe this is outside of anything anyone even cares about, but I thought I'd share my thoughts.

Kind regards, Caleb

orizens commented 11 years ago

hi @CalebGilbert In regard to being modular with echoes, i took the perspective of keeping views, templates, models & collections modular by themselves. Meaning, a YoutubeItemView is modular for any need inside the application (and even outside of it) and sometimes a certain objects is reused in various modules.

However, with my growing experience with angular.js, I'm also trying the take the modular-MVC perspective and apply it to various objects in side the application. i.e. - creating reusable UI modules, modularizing app structure and extracting various code lines to backbone extensions with backbone.beamer.

Thanks for taking the time to review the code and sharing your thoughts :+1: .