Please review my weekend project. 100% client side webapp. Scales infinitely
1–10 of 48 posts
Re: Please review my weekend project. 100% client side webapp. Scales infinitely
#2There are a few known issues that I have to finish, listed at the bottom. Nevertheless, it is functional and fun to use.
I created this as an experiment in Facebook comments and one-page JS webapps.
I know that many of you don't use Facebook, and neither did I, but the Facebook comment system has a lot of intelligence in its social sorting algorithm and it is very viral.
The whole app code is one index.html. I minified and compress the css/js into one file on deploy. All data and functionality come from js apis.
It scales infinitely because I can host the file on S3 and point the DNS at it.
Working on this made me realize that the world needs a front-end-based javascript web framework.
There are a number of backend js frameworks including ones that bridge to ajax on frontend, but none focus on making purely JS apps (with JS, GWT uses java) on one page using hashes and/or history. jQuery does a lot of stuff, but webapps need a little glue.
We need a full client-side JS app framework, with an URL Router, Templates, Controllers, Models, and plugins. It should be able to wrap json api interfaces easily, and it should handle all the page changes that need to happen when it's all just js changes.
TODO: * Needs real, accurate logo; using a placeholder for now * Orange share button broken * Video duration not shown; descriptions not shown * No category browse feature * No About page, FAQ, Press, etc * Search should have instant suggestions * Design could be prettier
* The Facebook status message is generic not video specific because facebook's server side crawler does not execute js. I might make a small server side component using Go on GAE later to fix this.
Re: Please review my weekend project. 100% client side webapp. Scales infinitely
#3Re: Please review my weekend project. 100% client side webapp. Scales infinitely
#4Tiny nitpick: Change the width of #content to auto. Same effect (as wide as the page) but right now there is a horizontal scrollbar.
At Shuffler.fm we used a small trick that, for all our ajax links would forward the Facebook crawler to a page with just the metadata for a specific page, worked very well.
Re: Please review my weekend project. 100% client side webapp. Scales infinitely
#5The url is tvdinnr but the logo is tvdinner (notice the e). This makes it harder to remember the URL.
The search button isn't wide enough and looks broken (Firefox, OS X): http://d.pr/UHUT
When I search there's a weird red box in the upper right: http://d.pr/R72E
The "most discussed" videos have no comments, which seems strange.
My browser's back button works, but Cmd+Left doesn't. Is something trapping keypresses?
As someone else mentioned, there's a horizontal scrollbar when there doesn't need to be.
Re: Please review my weekend project. 100% client side webapp. Scales infinitely
#6Re: Please review my weekend project. 100% client side webapp. Scales infinitely
#7YouTube comments are inane. TechCrunch has shown that photo-attached Facebook comments significantly increase the quality of comments. TVDinnr shows YouTube videos with Facebook comments for more interesting discussions. There are a few known issues that I have to finish, listed at the bottom. Nevertheless, it is functional and fun to use. I created this as an experiment in Facebook comments and one-page JS webapps.…
Re: Please review my weekend project. 100% client side webapp. Scales infinitely
#8Another example of where I've done this is with the autocomplete at unscatter.com, where I used yql to pull data from Blekko. yql for sites that haven't blocked it can be a pretty invaluable tool for doing client side development against websites/apis.
Re: Please review my weekend project. 100% client side webapp. Scales infinitely
#9YouTube comments are inane. TechCrunch has shown that photo-attached Facebook comments significantly increase the quality of comments. TVDinnr shows YouTube videos with Facebook comments for more interesting discussions. There are a few known issues that I have to finish, listed at the bottom. Nevertheless, it is functional and fun to use. I created this as an experiment in Facebook comments and one-page JS webapps.…
Have you checked out angular.js? It has routing, templates, controllers and jsony stuff. Models are a little more complicated.
Re: Please review my weekend project. 100% client side webapp. Scales infinitely
#10A few (minor) things: The url is tvdinnr but the logo is tvdinner (notice the e). This makes it harder to remember the URL. The search button isn't wide enough and looks broken (Firefox, OS X): http://d.pr/UHUT When I search there's a weird red box in the upper right: http://d.pr/R72E The "most discussed" videos have no comments, which seems strange. My browser's back button works, but Cmd+Left doesn't. Is something…