iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2008, 09:17 AM
kgun's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 5,723
kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10
Default Is Web 2.0 Possible with Existing Open Source Technologies?

1. Background

This Is Web 2.0 Possible with Existing Open Source Technologies? recent article.

2. KW's

  • AJAX - Asynchronous Web model
  • Web 2.0
  • RIA
  • Social networking platforms
  • Push technologies
  • RPC
3. Some cites from the article.

"In fact, if you sift through those eight million Google hits, you'll find only a handful of open source technologies that address the problems associated with pushing content asynchronously to the user through standard browser mechanisms".

-----------------------

"To deliver responses asynchronously, it's necessary to invert the HTTP protocol by holding an open request at the server, and fulfilling that request when an update is available".

-----------------------

"While standards activities related to asynchronous communication in the servlet model progress in JSR 315, the industry has tackled the problem in disparate, non-standard ways. The lack of a standard mechanism is discouraging because any scalable push mechanism will need to be tightly integrated with the underlying server mechanism, requiring deployment-specific implementations. The good new is that a variety of solutions has emerged across open source applications servers, which we'll survey".

4. Comments.

To get meaningful comments, I hope that you read the article at least once.
Reply With Quote
  #2 (permalink)  
Old 08-07-2008, 10:28 AM
wige's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,661
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: Is Web 2.0 Possible with Existing Open Source Technologies?

Honestly, I think the article is stretching the traditional definition of Web 2.0, by adding the component of near instantaneous updates to the mix. However, I don't quite see why it wouldn't be possible to achieve. In fact, this very page fulfills the basic requirement, which can be seen when you edit a post. As soon as you edit a post, you immediately see the changed page, delivered through AJAX. The difference between this page and the setup described in the article is that you do not see changes made by other users instantly. Although making this an instant process would be a complex issues, making it nearly instant should be less difficult.

First, I hate push technology. I have seen it used in the past, in older versions of the Windows OS. It can be tricky to get it to work on some network setups, and there is a potential for exploits - for example spoofing the originating IP address to push malicious content to a client. That said, it should be trivial to create a lightweight pull system that would keep a page updated on a short interval, say every 10 seconds.

Take this page as an example. Lets suppose that this page gets edited frequently, both by the addition of new posts, and by the editing of existing posts. Each post on the page has it's own ID, which is used for linking. To update the page for all visitors in near real time, each post would simply need to be contained in it's own div with an appropriate id. A javascript would then be run on a 10 second interval to download a dynamically generated text document. The parameters passed to the document would be the time of the last request (or the original request) and the ID code of the page. The text file that is returned would contain a comma separated list of post ids that have changed since the previous request. If the text file contains IDs, the script would then request each updated post and update the page. This would all happen pretty close to real time.

I have used similar methods on an internal search page, which modifies the contents of the results page in near-real time based on changes to a user-input field (instead of in response to a server side change) and this method would require very little change.

Of course, this method would cause a small increase in bandwidth consumption for the page, and there are only a few applications that I can think of that would benefit from such a technology (for example, news sites and web-based e-mail clients). Most of the web sites I have seen that are traditionally regarded as web 2.0, such as Wikis and social networks would not gain much benefit from the ability to almost-instantly update.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #3 (permalink)  
Old 08-12-2008, 09:42 AM
kgun's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 5,723
kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10
Default Re: Is Web 2.0 Possible with Existing Open Source Technologies?

Ok, but does that answer the main question of the article?

Is Web 2.0 Possible with Existing Open Source Technologies?

I bolded what I regard as the most important word in the title.

IMO, it is or at least with new open source technologies ..

<cite>
"Internet-based chat is the most basic example of the near-instantaneous interaction that Web 2.0 demands, but even delivering these basic capabilities in a scalable, lightweight, browser-based mechanism is beyond the scope of most AJAX technologies".
</cite>

Example: phpFreeChat - Web2.0 AJAX free chat server - Latest news

Last edited by kgun; 08-12-2008 at 09:52 AM.
Reply With Quote
  #4 (permalink)  
Old 08-12-2008, 10:24 AM
wige's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,661
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: Is Web 2.0 Possible with Existing Open Source Technologies?

I think the basic technology to accomplish near-real time chat embedded in a web page would be possible to accomplish with three scripts, and would work with all major browsers using the AJAX capabilities of the Javascript installation included with the browsers. This would require no third party libraries at all, and could probably be created pretty quickly.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open source and open DNS servers lukkyjay IT Discussion Forum 4 04-19-2006 12:51 AM
Web 2.0 and open source WPW_Feedbot IT Discussion Forum 0 10-10-2005 04:09 AM
Open source--open opportunity for consulting WPW_Feedbot IT Discussion Forum 0 03-17-2005 02:00 PM
BlueGlue is closed source defense for open source shops WPW_Feedbot IT Discussion Forum 0 03-17-2005 10:00 AM
Open source and PR WPW_Feedbot IT Discussion Forum 0 03-03-2005 09:30 AM


All times are GMT -4. The time now is 12:53 AM.



Search Engine Optimization by vBSEO 3.3.0