PDA

View Full Version : the blog comment



techno_adi
2 Nov 2006, 4:55 AM
Hi Jack,
i did not yet find a place where i can comment for the site on general, so i am posting it here.. :)
sorry for that.

Can we have the updatemanager actually put to use on your blog content as well!
What i mean is when i see a blog the whole page refereshes, although most of the content remains same(in the left navigation and right side boxes), so why not have some cool loading displayed using updatemanager and have your blog "ajaxed" :D

jbowman
2 Nov 2006, 6:17 AM
The problem with going to that point with ajax is you lose some basic browser functionality. Namely, bookmarking.

If I go to http://jackslocum.com/yui and then see a post that I want to refer to later, I click on that post, and bookmark it. Changing to the method you're talking about, that would be lost. The guys over at dojo spent forever working on a method to handle this, and because of differences in various browsers I'm not sure they ever came up with a solid solution.

techno_adi
2 Nov 2006, 7:39 AM
Thanks,
I actually did'nt give that a thought :)

jack.slocum
2 Nov 2006, 1:40 PM
The other problem is all the inline examples. I would have to go through every post and change it to a more Ajax friendly initialization.

Animal
3 Nov 2006, 1:00 AM
I don't see this bookmarking thing as a problem. We're making web apps "application-like". Regular desktop GUI apps don't have bookmarks.

jack.slocum
3 Nov 2006, 1:23 AM
That's a very good point Animal, I never thought of that.

jbowman
3 Nov 2006, 4:06 AM
Maybe it's more of a design philosophy thing :) People use the web differently than they do desktop applications, linking to specific parts of websites, bookmarking them, etc etc. I see most websites as more of a collection of applications, than a single application.

A blog for example would be a collection of applications.
Main View App
Post View App
New Post App
Administration App

Some of those would have sub apps, like the Post View App might have a Comments Post and a Comments View app.

This where I'm actually loving the php MVC framework I've gone with. Each controller is an ajax app.