nextwebgen.com

The Next Generation Web Now

Evolving from Web 1.0 to Web 2.0 - ZDNet

Filed under: Web 2.0 News — web 2.0 - Google News at 12:00 pm on Thursday, August 31, 2006


ZDNet
Evolving from Web 1.0 to Web 2.0
ZDNet - 2 hours ago
In “Web 2.0 = a piece of jargon,” fellow ZDNet blogger Dan Farber highlights Tim Berners-Lee’s recent commentary on Web 2.0 and notes that “For Berners ...
Web 2.0 = a piece of jargon ZDNet
Scrap Web 2.0, yes, but embrace Knowledge 2.0 surely ZDNet
all 3 news articles

Scrap Web 2.0, yes, but embrace Knowledge 2.0 surely - ZDNet

Filed under: Web 2.0 News — web 2.0 - Google News at 12:00 pm on Thursday, August 31, 2006

Scrap Web 2.0, yes, but embrace Knowledge 2.0 surely
ZDNet - Aug 31, 2006
Gavin Clarke at The Register provides a needed wet blanket to toss over all things "… 2.0," especially Web 2.0. In many respects ...

Mini Review of “Javascript: The Definitive Guide, 5th Edition”

Filed under: Web 2.0 News — Dietrich Kappe at 11:05 am on Thursday, August 31, 2006

The latest edition of the venerable tome JavaScript: The Definitive Guide is a sorely needed update. I guess it took Ajax, Web 2.0, and an intervening five years to revive interest in in this quirky client-side language. The fourth edition, while still providing a good formal specification of the language, had fallen woefully out of date both with some of the new features introduced in recent browser versions and in terms of practical examples of how JavaScript is being used to enable Ajax and Web 2.0 applications.

I don’t mean to give a full review of a thousand plus page book here. Rather, I just want to focus on the chapter that covers client-side persistence. In the fourth edition, the corresponding chapter only discussed “cookie scripting.” While this chapter does talk about cookies, it delves into a number of other options for persisting data on the client.

Unfortunately, for a book that describes itself as the “definitive guide”, it only discusses three options for persistence: cookies, IE userData persistence and Flash SharedObjects. This coverage is far from definitive. In fact, Brad Neuberg in his discussion of dojo.storage enumerates seven different client-side storage mechanisms:

  1. Cookie Storage Provider - uses cookies to persist the hash table
  2. Flash Storage Provider - uses Flash’s SharedObjects to persist data
  3. ActiveX Storage Provider - uses COM’s File APIs to persist data
  4. XPCOM Storage Provider - uses XPCOM’s File APIs to persist data
  5. Form Storage Provider - uses the text autosave features of a hidden form to save transient data (the Really Simple History library uses this trick)
  6. WHAT WG Storage Provider - uses native browser persistence to store data, as defined by the WHAT Working Group.
  7. IE Storage Provider - uses IE’s proprietary abilities to store up to 60K of data.

Maybe this is just a sign that the use of JavaScript has grown so far beyond what was common or even thinkable in 2001 that it is simply isn’t possible to write a definitive guide, at least not in a thousand pages. Would you buy a book called “Java: The Definitive Guide?” Probably not.

What is there — the discussion of Flash SharedObjects and IE userData persistence — is pretty brief in comparison to the exhaustive treatment of cookie persistence. It does give you a basic description and enough code samples to get you started, but a cookbook it is not. The section on persistence alternatives has the feeling of an afterthought — something shoehorned into the book relatively late to address Ajax and Web 2.0. In fact, many parts of client-side portion of the book have that feel.

I think the book is still worth buying as a language reference, if only for its treatment of closures and object creation, but for now you’ll have to look online for more detailed, exhaustive, and “definitive” treatment of many topics.

AOL Hosts Dojo Version 0.3.1 to Further Ajax, JavaScript Adoption - IT News Online

Filed under: Web 2.0 News — Ajax - Google News at 9:51 am on Thursday, August 31, 2006

AOL Hosts Dojo Version 0.3.1 to Further Ajax, JavaScript Adoption
IT News Online, India - Aug 31, 2006
... its continued involvement with and support of the Dojo Foundation, by hosting the recently launched Dojo version 0.3.1 to help further Ajax and JavaScript ...

JavaScript Persistent Object Notation (JSPON)

Filed under: Web 2.0 News — Dion Almaer at 9:50 am on Thursday, August 31, 2006

Kris Zyp has written up a RFC for JavaScript Persistent Object Notation (JSPON). The idea is to standardize a method for the identification of objects for efficient transfer and persistence of objects within large object graphs.

JavaScript Persistent Object Notation (JSPON) is a data-interchange format with the goal of simply being a defined usage of JavaScript Object Notation (JSON) to facilitate JavaScript objects that are intended to persist by defining a scheme to provide the necessary semantics needed for efficient and meaningful persistent objects. JSPON is pure JSON and maintains the same simplicity of JSON, and establishes a format for serializing and referring to objects to enable the persistence of JavaScript objects and object graphs by defining a set of fields for identification, deferred value loading, decentralized object creation, and primitive value, function and array object augmentation.

JSON provides simple straightforward mechanism for serialization of objects that can efficiently and easily be read by humans and machines. JSON can be adequate for the persistence of simple small objects. However applications that have large complex object graphs and sets of data generally require the exchange of smaller subsets of the data/object graph to be transferred and persisted at a time rather than requiring an entire object graph to be treated as whole, as well as allow objects to be referred from multiple fiels. Such operations on subsets of data entail identifying objects within a graph and allowing for transfers of subsections of object graphs (and not just end point subsets). JSPON provides the common language so that objects can be passed with proper identification and reference information. This also allows objects to be referred to more than once (not possible within a normal JSON object graph). Standard JSPON simply defines several fields that can be added to JSON object to assist in data description.

Embedded SVG in Protowidget

Filed under: Web 2.0 News — Dion Almaer at 9:45 am on Thursday, August 31, 2006

Terry Laurenzo has posted on Embedded SVG from his experience starting with the SVG example from Mozilla, and adapting Protowidget so that it could attach widgets to some SVG elements.

XML:
  1.  
  2. <svg xmlns="http://www.w3.org/2000/svg"
  3.        version="1.1" width="500" height="500"
  4.        baseProfile="full">
  5.     <g fill-opacity="0.7" stroke="black" stroke-width="0.1cm">
  6.       <circle cx="6cm" cy="2cm" r="100" fill="red"
  7.                       transform="translate(0,50)"
  8.                       pw:type=’Svg.SvgWidget’
  9.                       pw:element.r=’#{`Jitter1`}/>
  10.       <circle cx="6cm" cy="2cm" r="100" fill="blue"
  11.                       transform="translate(70,150)"
  12.                       pw:type=’Svg.SvgWidget’
  13.                       pw:element.r=’#{`Jitter2`}/>
  14.       <circle cx="6cm" cy="2cm" r="100" fill="green"
  15.                       transform="translate(-70,150)"
  16.                       pw:type=’Svg.SvgWidget’
  17.                       pw:element.r=’#{`Jitter3`}/>
  18.     </g>
  19. </svg>
  20.  

You can check out the test on an SVG enabled browser

Sir Tim Berners-Lee punctures Web 2.0 hype - PC Pro

Filed under: Web 2.0 News — web 2.0 - Google News at 9:28 am on Thursday, August 31, 2006

Sir Tim Berners-Lee punctures Web 2.0 hype
PC Pro, UK - Aug 31, 2006
Tim Berners-Lee has debunked all the hype surrounding Web 2.0 insisting that what it purports to describe is exactly what he intended the Web to be when he ...

GWT + JSF = G4jsf

Filed under: Web 2.0 News — Dion Almaer at 9:27 am on Thursday, August 31, 2006

The Ajax2jsf open source project now has a spin off G4jsf subproject that allows you to build JSF components in GWT.

Sergey Smirnov has written an article / tutorial on integrating the Google Web Toolkit with JSF using G4jsf:

The Google Web Toolkit (GWT) has attracted a lot of attention lately as a way to make it easier for developers to add AJAX Web 2.0 features to their applications. Like other approaches, the designers of GWT have tried to insulate developers from having to deal with the underlying JavaScript, which implements these features. GWT achieves this goal of simplifying the creation of advanced client-side JavaScript widgets by generating them from Java code.

At the same time, JavaServer Faces (JSF) has gathered more and more momentum as a general server-side framework for Web applications. The key to its success has been its top-to-bottom component-based approach to Web development. Although JSF comes with its own standard out-of-the-box UI components, it is designed for the easy inclusion of other component libraries.

While both of these technologies are incredibly beneficial on their own, they also both complement each other extremely well. GWT is server-side-agnostic, while JSF's component-based architecture can easily accommodate any approach for rendering components. In this article, we will discuss (primarily by using a step-by-step example) a new integration library for facilitating the combination of these two complementary technologies.

« Previous PageNext Page »