Closed danriti closed 11 years ago
I agree. I was thinking about the same thing, actually.
We can also always show the textbox where the user enters the dream on the top of the page. That way the user does not have to go back to the index page.
@whiskeylover I agree that a "google-like" approach (always show the textbox, just move it around) should definitely be taken, however I would say we should wait to do that after this issue is resolved.
i will try to get started on this issue asap!
Just checked your changes. Looks awesome.
@whiskeylover thanks! I have a few more changes I need to make this week and then it should be ready.
@whiskeylover so this is ready to go! i know some of my changes are quite a departure from the previous implementation, so i'd be happy to walk through some of the code with you via Google Hangout if you have any questions!
otherwise, let me know if your ok with me merging this into master. as always, any comments/feedback welcome!
Lets merge this. We can talk about this after our other Google Hangout call.
@whiskeylover so I noticed that you initially developed the site, you split the front end functionality into two separate html files:
index.html
dream.html
This design doesn't take full advantage of the "single page app" design because it requires you to load a second html file while using the site. While it's not a major disadvantage, to truly harness the power that is Backbone (and all other Javascript MVC frameworks), you really want to front load as much as physically possible on the first load.
Thus, I'm proposing the following change:
dream.html
intoindex.html
The proposed routes are:
/
goes to what is currently loaded inindex.html
/#dreams
goes to what is currently loaded indream.html
/#dreams/:name
goes to what is current loaded indream.html#show/pizza
/#about
will goto the future about pageI understand this is a major change, however this is the right time to do it, as it will allow us to be more flexible in the future and grow the sites features.
As always, I'd like to hear your thoughts and lets discuss before we make any changes!