Close
  • Latest News
  • Artificial Intelligence
  • Video
  • 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
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • 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
    Subscribe
    Home Applications
    • Applications
    • Development
    • Servers

    AJAX Toolkit Lets Web Apps Work Offline

    Written by

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

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      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
      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.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      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.
      © 2024 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.