Close
  • Latest News
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Applications
    • Applications
    • Development
    • Servers

    AJAX Toolkit Lets Web Apps Work Offline

    By
    Darryl K. Taft
    -
    January 8, 2007
    Share
    Facebook
    Twitter
    Linkedin

      A team of AJAX experts is working on a new capability to enable Web applications to work offline.

      Brad Neuberg, a San Francisco-based software architect and programmer, said that he, along with the support of some developers at SitePen, of Palo Alto, Calif., is working on the Dojo Offline Toolkit, a small, cross-platform, generic download that allows Web applications to work offline. The tool kit is based on the popular Dojo Toolkit, an Asynchronous JavaScript and XML development system maintained by the Dojo Foundation. Major companies such as IBM and Sun Microsystems are members of the Dojo Foundation.

      “I had been prototyping and playing with some ideas around bringing true offline access to Web applications in a simple, generic way,” Neuberg said.

      To accomplish his goals, Neuberg said he will be working for the next three months “on bringing the Dojo Offline Toolkit from the drawing board to reality.”

      The tool kit will be an open-source library that brings true, offline access to Web applications, where “users will be able to access their Web applications and work with their data even if no network connection is available, just like desktop applications,” Neuberg said.

      Neuberg said he sees uses for the technology in consumer Web sites such as Gmail and Blogger and with corporate portals and CRM (customer relationship management) systems, among others.

      Dylan Schiemann, chief executive at Web application design and development firm SitePen, said there is considerable demand for a product like the Dojo Offline Toolkit.

      “A common user feature request is being able to interact with Web applications and its data while offline,” Schiemann said. The opportunity to respond to this need is what prompted SitePen to work with Neuberg, Schiemann said.

      /zimages/6/160229.jpg

      “SitePen and I believe that not having offline ability has been a major speed bump on the way to truly bringing applications to the Web,” Neuberg said. “For the Web to continue its forward momentum, it must gain this ability.”

      Schiemann said the team decided from the start to launch the project as an open-source effort.

      “Unlike many initiatives that eventually end up as open source, we decided that the best approach would be to do the entire development of the project from start to completion in the open, and contributed to the Dojo Foundation,” Schiemann said. “Given the wide range of applications that could benefit from this capability, we believe it is imperative to engage the community early in order to make this project something that everyone can use.”

      /zimages/7/28571.gifMost online retailers arent adopting AJAX development techniques yet, according to a recent study. Click here to read more.

      The Dojo Offline Toolkit will be fully open source, available under the same licenses as Dojo: the BSD and the AFL, Neuberg said.

      To deliver the tool kit, Neuberg said, he does not need to “adopt radically different or exotic programming models, such as loading Single Page Applications like TiddlyWiki from the file system, adopting Adobes Apollo framework, or downloading huge, entire Web servers with specialized application logic that run locally, such as Zimbras offline solution.”

      Instead, the Dojo Offline Toolkit will use a simple, small Web proxy that runs locally. The proxy will cache files that need to cached for later access without hitting the network, Neuberg said.

      In addition, to enable the browser to talk to the local Web proxy, the new tool kit will use a standard technology known as PAC (Proxy AutoConfiguration). A PAC file is a small bit of JavaScript that is invoked on each browser request.

      With the Dojo Offline Toolkit, the Web browser does not if the user is online or offline, since the proxy serves up the user interface either way, Neuberg said.

      The last step of the process is to wrap the Dojo Offline Toolkit into a small installer for each target platform and to have it start up silently on system startup, Neuberg said.

      Much of the work on the Dojo Offline Toolkit, Neuberg said, has been done in terms of delivering working prototypes. Yet, there is much engineering work to be done, he added.

      The system will use an off-the-shelf, open-source, C-based Web proxy named Polipo to save months of development time creating a custom HTTP/1.1 proxy. Polipo compiles to only 150K and is portable to Windows, Linux and Mac OS X, Neuberg said.

      The open-source NSIS (NullSoft Install System) will be used for the Windows installer, while Linux installation will be through Firefoxs XPI (Cross-Platform Installer) technology, Neuberg said. The Mac OS X installer technology has not been determined yet, he said.

      The final deliverables for the Dojo Offline Toolkit will include the Dojo Offline proxy; installers and uninstallers; PAC file generation and registration; the Dojo Offline API for easy, application-level access; the Dojo Offline Web-based installer UI for downloading Dojo Offline; documentation; a sample application, Moxie, modified to work with Dojo Offline; and quality assurance and bug fixing.

      “Pieces of the Dojo Offline Toolkit have been prototyped to ensure the design is correct, but it mostly currently exists on the drawing board,” Neuberg said.

      A key component that comes bundled with the Dojo Offline Toolkit is Dojo Storage, which Neuberg helped develop.

      Dojo Storage allows Web applications to store hundreds of kilobytes or megabytes of information inside the browser, with the users permission, Neuberg said. It works across 95 percent of the existing installed base of Web browsers, including Internet Explorer, Firefox, Safari, and Mozilla on Windows, Linux and Mac OS X.

      “True offline access for Web applications is one of the holy grails of Web development,” Neuberg said. “I believe that providing the Web with true, reliable offline access will open the door to many exciting, powerful possibilities; this is why I have devoted the last few years to figuring out how to bring this ability to the contemporary Web.”

      Wrote Neuberg in a post about the Dojo Offline Toolkit, using the upcoming technology: “Consumer Web sites, such as Gmail and Blogger, can continue their relentless march to being the central applications users work with day-to-day by operating even when users dont have a network; companies can make their corporate portals and sales CRM systems available offline for a mobile work force, such as sales agents out in the field; and the Web itself can begin to replace many custom, vertical Visual Basic and Java Swing applications that could only be done as applications because they had to work offline. With Dojo Offline these can now migrate to the Web, bringing the Webs operational and development cost-savings to many companies internal important applications.”

      /zimages/7/28571.gifCheck out eWEEK.coms for the latest news, reviews and analysis in programming environments and developer tools.

      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      MOST POPULAR ARTICLES

      Big Data and Analytics

      Alteryx’s Suresh Vittal on the Democratization of...

      James Maguire - May 31, 2022 0
      I spoke with Suresh Vittal, Chief Product Officer at Alteryx, about the industry mega-shift toward making data analytics tools accessible to a company’s complete...
      Read more
      Cybersecurity

      Visa’s Michael Jabbara on Cybersecurity and Digital...

      James Maguire - May 17, 2022 0
      I spoke with Michael Jabbara, VP and Global Head of Fraud Services at Visa, about the cybersecurity technology used to ensure the safe transfer...
      Read more
      Cloud

      IGEL CEO Jed Ayres on Edge and...

      James Maguire - June 14, 2022 0
      I spoke with Jed Ayres, CEO of IGEL, about the endpoint sector, and an open source OS for the cloud; we also spoke about...
      Read more
      Applications

      Cisco’s Thimaya Subaiya on Customer Experience in...

      James Maguire - May 10, 2022 0
      I spoke with Thimaya Subaiya, SVP and GM of Global Customer Experience at Cisco, about the factors that create good customer experience – and...
      Read more
      Big Data and Analytics

      GoodData CEO Roman Stanek on Business Intelligence...

      James Maguire - May 4, 2022 0
      I spoke with Roman Stanek, CEO of GoodData, about business intelligence, data as a service, and the frustration that many executives have with data...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2022 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×