As 2008 wraps up, there are a number of announcements and noteworthy items surrounding Dojo, DWR, Persevere, and SitePen services.
It’s common to use Dojo to talk to a Java server using DWR. Here’s a handy hint for how to add a nice “loading” feature that uses a Dojo widget to display the progress made by a DWR call.
DWR has had a useLoadingMessage() function since version 1.0, but there have always been some problems with it – it mimics the early GMail loading message, which is OK if you like that style, but not otherwise. It can get confused if there are multiple actions outstanding, and there is no way to tell it to go away if you need to continue interacting with the page. We try with DWR to focus on remoting and not widgets, so we have not spent a lot of time on a fancy loading message widget.
Enter the Dijit Dialog which can solve all of these problems in addition to being accessible, themeable, localizable and generally more full of goodness.
Security in Ajax web applications is of growing importance. While the client-server model is very useful for architecting web applications, the web security is model is not client-server, but rather a client-deputy-server model. Understanding this security model is important for building secure web applications, and it is becoming even more important as we build mashups and web applications that utilize cross-site resources.
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.
One of the difficulties implementing Comet on Java is the lack of any acknowledgement in the current Servlet spec (v2.5) that any HTTP connection may be anything other than short-lived. Unlike many of the other components in the JavaEE stack, servlets are ubiquitous so we don't really have a choice to use an alternative.
Servlet version 3.0 is in the works, several of the people that blog at Comet Daily are on the Servlet spec expert group and want to see this oversight fixed, but it will be a while before the spec is done, and even longer before we can rely on it’s support everywhere.
We’re always watching to see how we can make our services better and after listening to our early support clients we’re making changes to ensure that clients are successful with the products we support.
We’re very excited about our new commercial support offering for the Dojo Toolkit, DWR, and Cometd. So what is SitePen Support and what do we have to offer?
When getting started with something different or new, there’s rarely documentation or a tutorial that addresses things in quite the right way. As such, we offer unlimited advice as part of most of our support packages. This is especially useful when you don’t quite know the right question to ask, or what the best approach is to solve a problem.
Commercial Support Now Available from the Co-Creators and Contributors of the Dojo Toolkit, DWR, and Cometd
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 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.
“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.
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.
- Offline Support (Google Gears and/or Dojo Offline)
- TIBCO General Interface integration
- Aptana Jaxer integration
- OpenAjax Hub, PubSub, Bayeux, etc.
- A June release is planned