nextwebgen.com

The Next Generation Web Now

Pownce API v2.0 Released

Filed under: Web 2.0 News — Rey Bango at 11:09 am on Friday, February 29, 2008

The Pownce team has been working hard to get their API up to speed and have gotten the API to a point where some cool applications can be built from it. Yesterday, they announced v2.0 of the Pownce API:

We’re sorry it took so long for us to release a complete API. We’ve taken great care to provide the best experience for developers and we hope the wait was worth it. Going forward, we’ll be working hard to keep Pownce the best social messaging application out there.

Well worth the wait, new features include:

  • Ability to post notes
  • Ability to post messages, links, files, events and replies
  • Ability to fetch lists of private and friends-only notes.
  • Integration of OAuth token-based web authentication.

This should open the doors for building new custom Pownce clients and applications similar to what’s been done with Twitter.

In addition, the Pownce team has created a new application directory to showcase applications built by developers.

Documentation for Pownce API v2.0 can be found here: http://pownce.pbwiki.com/API+Documentation2-0

Gaia AJAX Widgets Announces TRANQUILITY Release - Web 2.0 Journal

Filed under: Web 2.0 News — Ajax - Google News at 11:01 am on Friday, February 29, 2008

Web 2.0 Journal

Gaia AJAX Widgets Announces TRANQUILITY Release
Web 2.0 Journal, NJ - 8 hours ago
Gaia Ajax Widgets allows customers to build AJAX applications fast. The framework is built on top of the native ASP.NET server controls.

Ajax hosting recreation open - Newsdurhamregion.com

Filed under: Web 2.0 News — Ajax - Google News at 10:23 am on Friday, February 29, 2008

Ajax hosting recreation open
Newsdurhamregion.com, Canada - 5 hours ago
AJAX — A pair of open houses are being held this week on a strategy to get Ajax residents physically active. The sessions are also to deal with the Town's

Web 2.0 and Brand Consistency - CRM Today

Filed under: Web 2.0 News — web 2.0 - Google News at 7:43 am on Friday, February 29, 2008

Web 2.0 and Brand Consistency
CRM Today - Feb 29, 2008
Unless you work for YouTube or FaceBook, you probably look at Web 2.0 with some combination of excitement and terror. You’ve seen the success stories at

xssinterface: cross domain access using postMessage and more

Filed under: Web 2.0 News — Dion Almaer at 7:14 am on Friday, February 29, 2008

Malte Ubl has put together a library called xssinterface (somewhat scary name) that uses postMessage when available, and tries work-arounds when not, to give you cross domain JavaScript access.

How it works

For Browsers that support it, we use the postMessage() interface.

For all other browsers, we use the following mechanism:

All sites that participate in the cross domain calls must provide an html file (cookie_setter.html) that is provided by this library that enables other domains to place certain cookie under the domain of the site.

The library uses this mechanism to place cookies on the target domain that are then read and evaluated by the target page.

Pages must explicitly grant access to their domain by setting a security token cookie under a domain that is allowed to access the callbacks.

As a caller you say:

JAVASCRIPT:

function sayHello() {
  var caller = new XSSInterface.Caller(“www.two.com”,“/cookie_setter.html”,“channel1″);
  caller.call(“hello”, “Hello World”)
}
 

As the listener:

JAVASCRIPT:

window.onload = function () {
  window.xssListener = new XSSInterface.Listener(“1234567890″,“channel1″);
  window.xssListener.allowDomain(“www.one.com”, “/cookie_setter.html”);
  window.xssListener.registerCallback(“hello”, function (msg) {alert(msg)} )
  window.xssListener.startEventLoop()
}
 

It would be nice if the library used cross domain workers if Gears is installed.

Firefox 3 Mac performance gains due to undocumented APIs

Filed under: Web 2.0 News — Dion Almaer at 6:36 am on Friday, February 29, 2008

Vladimir Vukićević has posted on the performance improvements of Firefox 3 on the Mac, and how one hack, albeit “dangerous” has helped ton. Vladamir says:

While figuring all this out, I noticed that Safari/WebKit didn’t seem to be affected by this framerate cap — the fps meter when Safari was running the same benchmark happily went up beyond 60fps.  After I found the plist entry, I checked Safari’s plist and was surprised to discover that they didn’t have this disabling in there.  Doing some more searching, I found this code in WebKit.  Apparently, there is a way to do this programatically, along with some other interesting things like enabling window update display throttling (though it’s unclear what that means!) — but only if you’re Apple.

All these WK* methods are undocumented, and they appear in binary blobs shipped along with the WebKit source (see the WebKitLibraries directory).  There are now over 100 private “OS-secrets-only-WebKit-knows” in the library, many of which are referred to in a mostly comment-free header file.  Reading the WebKit code is pretty interesting; there are all sorts of potentially useful Cocoa internals bits you can pick up, more easily on the Objective C side (e.g. search for “AppKitSecretsIKnow” in the code), but also in other areas as a pile of these WK* methods used in quite a few places.  Would any other apps like to take advantage of some of that functionality?  I’m pretty sure the answer there is yes, but they can’t.  It’s not even clear under what license libWebKitSystemInterface is provided, so that other apps can know if they can link to it.

David Hyatt, the guru lead of Webkit/Safari commented:

The programmatic disabling of coalesced updates should not be public API. It’s actually a very dangerous thing to do. We aren’t really happy with that code in WebKit, but we had to do it to avoid performance regressions in apps that embedded WebKit. Technically it’s wrong though, since we turn off the coalesced updates for any app that uses WebKit! This includes drawing they do that doesn’t even use WebKit.

As for the window display throttling, that was a pref designed for Safari (that we don’t even use any more). It’s not private or magic. It’s nothing more than a pref that we can examine from Safari-land, so linking to that is just silly. ;)

Many of the private methods that WebKit uses are private for a reason. Either they expose internal structures that can’t be depended on, or they are part of something inside a framework that may not be fully formed. WebKit subclasses several private NSView methods for example, and it cost us many many man hours to deal with the regressions caused by the internal changes that were made to NSViews in Leopard.

As you yourself blogged, there was a totally acceptable public way of doing what you needed to do.

For any private methods we use that we think should be public, we (the WebKit team) file bugs on the appropriate system components. Many of these methods have become public over time (CG stuff in Leopard for example). Be careful when you dig into WebKit code, since we may continue to use the WK method even though it’s not public API just because we need to work on Tiger.

WebKit flies on my Mac, and Firefox 3 has almost caught up. The end result is that I am pretty happy with how browsers are improving their performance, and I am sure there is a lot more to see.

The Next Web Development Episode Is RIA + SOA - SYS-CON Media

Filed under: Web 2.0 News — Ajax - Google News at 6:02 am on Friday, February 29, 2008

SYS-CON Media

The Next Web Development Episode Is RIA + SOA
SYS-CON Media, NJ - 7 hours ago
The most common method for interacting with services is Ajax. Services provide an interface to data and application business logic.
Social Web & Widgets Expert Hooman Radfar To Speak at AJAX World SYS-CON Media
Easy AJAX Development with Markup + POJO SYS-CON Media
Mission Critical AJAX: Making Test Ordering Easier and Faster at SYS-CON Media
SYS-CON Media
all 305 news articles

Windows Live Teasers before Mix

Filed under: Web 2.0 News — Dion Almaer at 5:53 am on Friday, February 29, 2008

We are waiting for the big news at MIX, mainly revolving around IE 8. We have heard some reports from people who have IE 8 beta that the bugger is a bit of a disappointment, and that it hasn’t moved on too much from IE 7, but lets wait and see before passing judgement.

Today though, Dare Obasanjo posted a slew of Windows Live news on several APIs.

The big meta message is the fact that “Microsoft Standardizes on AtomPub”. Now I feel like it is time for me to open a pub in the valley and one in Seattle called “The AtomPub” ;)

On the JavaScript side we have the Windows Live Messenger Library where they implemented it in Script#:

The Messenger Library is written in C# and compiled into JavaScript using Script#. Messenger Library applications can be written in either C# (with Script#) or JavaScript. Messenger Library applications can be built using ASP.NET and ASP.NET Ajax, or they can be built independently of the .NET framework.

The code looks very C#-y:

JAVASCRIPT:

try {
  var hash = window.location.hash.substr(1);
  if (window.location.replace == null)
    window.location.replace = window.location.assign;
  window.location.replace(“about:blank”);
  var name = hash.split(“/”)[0];
  var win = null;
  if (name && (name != “.parent”))
    win = window.parent.frames[name];
  else
    win = window.parent.parent;
  if (win.Microsoft) {
         win.Microsoft.Live.Channels.Mux._recv_chunk(hash);
  }
} catch (ex) {
  /* ignore */
}
 

You can also use a high level widget to embed chat, which you can see on Dare’s space:

Windows Live Messenger

« Previous PageNext Page »