*Garren*: I really wanted to do it that way, I began with http://documentcloud.github.com/backbone/examples/todos/index.html as a template. Which is pretty much as you described.
However because this differs in that I have a favourites and flickr results which both have "click img" to preview, and "click span.active" to add/remove from favourites. I found I was duplicating a lot of the same code in both the PictureView and within the App View, which felt wrong so I put it back into the generic AppView (a view will only work with one backend model/collection as far as I understand). Certain features I understand and i'm a fan of, like event delegates and templating. Although Models and Collections are convoluted and deeply engrained in the AppView so not really modular coding, perhaps more white elephant. (this is a cry for help, and not a rude diss). *Johannes*: thats a little to abstract for my mind to take in right now. but thanks. A On Sun, Nov 13, 2011 at 5:26 PM, Johannes Nel <[email protected]>wrote: > http://www.javaworld.com/javaworld/jw-07-2000/jw-0721-hmvc.html?page=1 > > On Sun, Nov 13, 2011 at 4:33 PM, Garren Smith <[email protected]> > wrote: > > Hey Andrew, > > The website looks very cool. I really like the design. I'm also really > new > > to implementing the MVC pattern so take my comments with a pinch of salt. > > Would it not be better to break the main App View up into smaller views > that > > are more focused. Say a specific Search view, preview view and a > favorites > > view. Not sure how you would join them all together maybe have a > controller > > class that manages the interaction between them all. My 2 cents worth. > > Cheers > > Garren > > > > -- > > To view archived discussions from the original JSMentors Mailman list: > > http://www.mail-archive.com/[email protected]/ > > > > To search via a non-Google archive, visit here: > > http://www.mail-archive.com/[email protected]/ > > > > To unsubscribe from this group, send email to > > [email protected] > > > > > > -- > j:pn > \\no comment > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
