Blog

Oct 16

DWR Hooks and Dojo Dialogs

By on October 16, 2008 5:29 pm

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.

Sep 25

Security in Ajax

By on September 25, 2008 12:38 am

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.

In a client-server model, the client acts on behalf of the user, and the server trusts the client to the degree that a user is authorized. In the client-deputy-server model, the deputy (the browser) acts on behalf of the user, with suspicion of the client (web page/JavaScript), taking responsibility for some aspects of security, limiting client to client interaction. By understanding the mechanisms for the deputy boundaries, servers can appropriately participate in the security model with proper trust for the browser to act on behalf of the user. We will look at how to secure resources from being accessed from the wrong clients and protect clients from malicious server code.

Jul 18

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.

May 22

Comet and Java

By on May 22, 2008 6:04 am

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.

May 11

Everyone can “Ask the Experts”

By on May 11, 2008 10:30 pm

In March, we introduced the SitePen Support service to provide high-quality support for Dojo, DWR and Cometd from the people who know those projects inside and out.

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.

Mar 14

Now Available: Commercial Support for the Dojo Toolkit, DWR, and Cometd

By on March 14, 2008 3:54 pm

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?

Advice

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.

Mar 13

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.