Live data from Hacker News

Please review my weekend project. 100% client side webapp. Scales infinitely

tvdinnr.com

21–30 of 48 posts

Re: Please review my weekend project. 100% client side webapp. Scales infinitely

#21
post #2

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

Try backbone.js, Sproutcore, or Cappuccino for client-side frameworks.

Thanks! I was looking in a wikipedia article comparing frameworks that didn't cover every one.

Backbone looks really lightweight. SproutCore looks interesting, I misunderstood it at first. It looks like Cappuccino is trying to be like Cocoa, a little to heavy and specific for my needs.

Re: Please review my weekend project. 100% client side webapp. Scales infinitely

#23
post #21

Earlier quoted context omitted.

Try backbone.js, Sproutcore, or Cappuccino for client-side frameworks.

Thanks! I was looking in a wikipedia article comparing frameworks that didn't cover every one. Backbone looks really lightweight. SproutCore looks interesting, I misunderstood it at first. It looks like Cappuccino is trying to be like Cocoa, a little to heavy and specific for my needs.

There's more - Uki.js, Sammy.js, Knockout...

None of which offers good UI/theme, in my opinion. I like jQuery Mobile's theme, even on desktop. That's what I'm using for my latest project (also using Backbone.js for MVC).

Re: Please review my weekend project. 100% client side webapp. Scales infinitely

#24

A 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…

Thanks.

Yea, it's a drop-in temporary logo and the orange box is the AddThis failing for some reason.

I'm not a designer. I changed #content to auto. The search youtube button overflows when text gets too big (looks normal for me), but I want it to right-align with the video, and maximize search box length. How would I best do that?

No keypresses are captured. It registers hashchanges. The Cmd+Left is probably because it goes back to root tvdinnr.com but doesn't redirect again. I fixed that. Thank you.

The most discussed issue is probably just the youtube request failing. I should create error handlers for that.

Re: Please review my weekend project. 100% client side webapp. Scales infinitely

#25
post #19
post #2

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

> 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. http://www.sproutcore.com/ http://cappuccino.org/ http://code.google.com/webtoolkit/ http://developer.yahoo.com/yui/ http://www.sencha.com/ EDIT: Took vaadin.com…

I mentioned cappuccino and sproutcore in other replies here. Sproutcore looks interesting, and there's a great team behind it!

I mentioned GWT. As you know, it's Java that compiles to JS.

I don't see how YUI is different from jQuery and plugins. I don't see a router or templates in the yui docs.

Sencha targets mobile.

You asked what's missing. Well, none of them are based around jQuery, arguably the reigning king of minimalist js libs. Minimalism means less learning, easier to use. They are all pretty heavy. I imagine making something more like web.py or Flask or weby, but for frontend JS.

Re: Please review my weekend project. 100% client side webapp. Scales infinitely

#26
post #22

I see no comments on a relatively popular video: http://tvdinnr.com/#/v/xlOIy6QEbes (and yes, I'm trying it on a browser without facebook-blocker)

I just made this. It's not showing youtube comments. It shows Facebook comments on TVDinnr urls.

Re: Please review my weekend project. 100% client side webapp. Scales infinitely

#27
post #21

Earlier quoted context omitted.

Thanks! I was looking in a wikipedia article comparing frameworks that didn't cover every one. Backbone looks really lightweight. SproutCore looks interesting, I misunderstood it at first. It looks like Cappuccino is trying to be like Cocoa, a little to heavy and specific for my needs.

There's more - Uki.js, Sammy.js, Knockout... None of which offers good UI/theme, in my opinion. I like jQuery Mobile's theme, even on desktop. That's what I'm using for my latest project (also using Backbone.js for MVC).

Yea, backbone looks by far the most well-developed.

Re: Please review my weekend project. 100% client side webapp. Scales infinitely

#28
post #26
post #22

I see no comments on a relatively popular video: http://tvdinnr.com/#/v/xlOIy6QEbes (and yes, I'm trying it on a browser without facebook-blocker)

I just made this. It's not showing youtube comments. It shows Facebook comments on TVDinnr urls.

I don't see Facebook comments either. Are there any examples you have that should have comments?

Re: Please review my weekend project. 100% client side webapp. Scales infinitely

#29
post #28
post #26

Earlier quoted context omitted.

I just made this. It's not showing youtube comments. It shows Facebook comments on TVDinnr urls.

I don't see Facebook comments either. Are there any examples you have that should have comments?

You are one of the first users, why not comment on a video yourself?

http://tvdinnr.com/#/v/HAxfh8ukosQ

Re: Please review my weekend project. 100% client side webapp. Scales infinitely

#30
At a glance -- and it was a glance 'cause I barely go on YouTube and I refuse to get on FB -- I love it as a conceptual data structure. Firstly, tying two APIs together with a smart client is a freaking great idea, although if this were a for-profit project, you should probably worry about either one locking you out, and how long it would take to notice oddities and rewrite if one or the other changes its API overnight.

In a broader way though, I'm really interested in the idea of using client-side processing for infinite scalability. Even/especially in secure apps, where no hacker's gone before. There's no reason a secure P2P protocol can't be developed in JS that lets an application layer ride between peers, having minimal interaction with any central servers. This gets into telephone poker problems and all that. But it's solvable. The first person to solve it will end up with the largest server farm on the planet... seems worth it to me...

Post reply on HN