Using REST Channels with cometD

By on June 15, 2009 1:02 am

REST Channels provides a mechanism for receiving notifications of data changes and integrates Comet-style asynchronous server sent messages with a RESTful data-oriented architecture. Dojo includes a REST Channels client module which integrates completely with Dojo’s JsonRestStore, allowing messages to be delivered through the Dojo Data API seamlessly to consuming widgets, with minimal effort. The REST Channels module will automatically connect to a REST Channels server, like Persevere (which offers REST Channels out of the box). However, existing infrastructure may necessitate the use of an alternate Comet server like Jetty’s cometD server. REST Channels can be used on top of another Comet protocol like Bayeux’s long-polling protocol and with a little bit of reconfiguration, you can use Dojo’s REST Channels with a cometD server to achieve Comet-REST integration.

Client/Server Model on the Web

By on July 18, 2008 7:48 am

Prior to the popularity of the web, client/server applications often involved the creation of native applications which were deployed to clients. In this model, developers had a great deal of freedom in determining which parts of the entire client/server application would be in the client and which in the server. Consequently, very mature models for client/server development emerged, and often well designed optimal distribution of processing and logic could be achieved. When the web took off, the client was no longer a viable application platform, it was really more of a document viewer. Consequently the user interface logic existed almost entirely on the server. However, the web has matured substantially and has proven itself to be a reasonable application platform. We can once again start utilizing more efficient and well-structured client/server model design. There are certainly still technical issues, but we are in a position to better to build true client/server applications now.

Commercial Support Now Available from the Co-Creators and Contributors of the Dojo Toolkit, DWR, and Cometd

By on March 13, 2008 4:02 pm

Palo Alto, CA – March 13, 2008. SitePen is responding to the growing demand for commercial web application assistance by launching a support service for the Dojo Toolkit, Cometd, DWR, and related web technologies. SitePen Support is available immediately to provide development teams with the fast answers needed to build great web applications under short development schedules. Developers can get help directly from the creators and core contributors of these popular open source Ajax and Comet toolkits.

SitePen Support Recent Activity View
SitePen Support Recent Activity View

“SitePen has assembled an extremely talented team of open source web application developers,” said Dylan Schiemann, CEO of SitePen, Inc. and co-creator of the Dojo Toolkit. “Development teams are increasingly asking for fast responses and peace of mind when using open source toolkits, and we’re here to provide additional support to help developers be as efficient as possible by getting assistance quickly.”

SitePen Support removes the worry of unforeseen problems and allows development teams to focus on building amazing user experiences. Teams increase their efficiency throughout the initial build and the maintenance and adaptation of a successful deployment. Depending on the package purchased, SitePen Support customers can get assistance not only with the Dojo Toolkit, DWR, and Cometd, but with the applications built with these toolkits.

SitePen Support Ticket ViewSitePen Support Ticket View

“As Ajax becomes ubiquitous, the need for reliable, commercial support for applications built with open source toolkits becomes increasingly important,” said Alex Russell, Director of R&D and SitePen, Inc., and co-creator of the Dojo Toolkit and Cometd. “The ability to get reliable solutions quickly and the knowledge that there are companies out there supporting open source software reduces adoption risk for companies and enterprises.”

Full details and pricing information are available at the new sitepen.com. SitePen Support is available for teams ranging from small startups to large corporations, and starts at $995.

About SitePen

SitePen, Inc., based in Silicon Valley, focuses on building rich, internet applications that push the limits of the open web. Its top-shelf development team works obsessively to define the user experience while developing clean, functional applications for companies throughout the consumer, enterprise, and open source spaces. Online at www.sitepen.com.

Bayeux as JSON, Python Cometd Improvements

By on January 21, 2008 1:47 pm

We’ve been working on a number of improvements to the Python implementation of Cometd. Cometd is one of the many open source projects that SitePen supports (DWR, Dojo Toolkit, Dojo Offline, Dojo Grid, etc.). We’re committed to improving open source products by adding new features and improving performance and reliability.

We’ve made a nice improvement for implementing the 1.0.1 version of the Bayeux spec, making it and the associated error codes available as JSON files, so it can be pulled into any JSON compliant language! This can be used as both a programmatic and visual reference for Bayeux protocol message composition, assertion checking on message fields, consistent error message handling, etc.

Today, we’re also pleased to announce the following additions for the Python version of Cometd:

  • Adding “advices” and “extensions,” with the goal of enabling features such as the guaranteed delivery of messages, through extensions in the ext namespace per the Bayeux protocol
  • Allowing systems to make requests that pass through to other systems by adding /service/* topics and the implicit client name channel, which allows published messages to that topic to be returned only to the caller and not to all subscribed topics.
  • Adding authentication with a plug-in architecture for various authentication mechanisms. Initially, we’ll have HTTP BASIC authentication, and we plan to later add support for OpenID and LDAP
  • Adding a permission system to control publish and subscribe of messages to topics, including restricting implicit topic creation.

Most of these changes should arrive in Cometd’s subversion repository this week, thanks to the hard work of valued SitePen consultant Gloria Willadsen.

Eugene Lazutkin, Peter Higgins & Kris Zyp Join SitePen

By on January 2, 2008 12:02 pm

As we kick off 2008, I’m pleased and extremely excited to announce that we’ve added some awesome, new talent to the SitePen team.

Eugene Lazutkin is highly respected in Dojo circles for his work on Drag-n-drop, GFX (2D and 3D), Charting, and many other crucial 0.9 and 1.0 features. For the past two years, Eugene has also been a key Dojo mentor for the Google Summer of Code. His deep background in 2D and 3D graphics is an asset to any team and we’re looking forward to working with Eugene to help push the state of open web data visualization even further.

Peter Higgins is a prolific contributor to Dojo, improving Dijit and developing tons of great new UI controls. When not building great UIs, Peter has been doggedly helping us build a stronger Dojo community. In addition to joining SitePen, Peter is also assuming the role of official Dojo Evangelist for the Dojo Toolkit.

Kris Zyp is well known for his open source work on JavaScript and JSON. Kris has created numerous projects and products including Authenteo, a web content management system, Persevere, a set of tools for persistence and distributed computing, and JSPON, an extension to JSON for advanced techniques such as multiple referencing, circular referencing, object identification, modification, and structural definition.

Strengthening the SitePen team is one of our primary goals for 2008, allowing us to continue to push the limits of the Open Web! Happy New Year!

The iPhone Screenshot Quest

By on September 4, 2007 11:10 pm

I speak at a number of conferences and am giving a couple of talks later this year about Dojo on the iPhone. Of course, giving a talk without being able to show demos is frustrating, but giving a talk without having high-quality screenshots is silly. There wasn’t a solution known outside of Apple until recently, and it is still a bit of a process, or I daresay a bit of a quest. These instructions are for Mac users… I’m sure the steps are pretty similar for Windows users as well.