lørdag den 11. oktober 2008

Using Gears in a .NET Web ADF application


Online / off line out of line ... Når det man laver skaber nye data er der behov for at opbevare dem midlertidigt et eller andet sted. Browseren var ikke skabt til dette formål den var jo kun en browser (en kikker). Med web 2.0 og det større behov for interaktion og nye web udgaver af klassiske desktop programmer er det nødvendigt med en smartere browser. HTML 5 og Google Gear er et godt bud på denne fremtid. GIS er i allerhøjeste grad dette behov.
/Sik


Online / off line out of line ... When you do stuff that creates new data there is a need to store data temporarily somewhere. The browser was not created with this in mind. After all it was just a borwser (a viewer). But with web 2.0 there are a greater need for interaction and new web applications are substituting classic desktop programs making it neccessary to create smarter browsers. HTML 5 and Google Gear is one way to go ahead. GIS do have these needs.
/Sik


Quote

HTML 5 introduces offline storage support which allows the browser to serve up web pages and other data locally without having to access the Internet. Some newer browser versions (Safari 3.1/Firefox 3) offer built-in support for offline storage while other browsers can use Gears to enable local storage and access of code and data without Internet access. Originally released by Google, Gears is an open-source browser plug-in that supports Internet Explorer, Firefox and Safari. A growing number of online service providers offer web applications that leverage Gears to support offline functionality using a local data store, The list of providers and applications includesGoogle DocsGoogle ReaderZohoRemember The Milk, and others.

In a web mapping application, leveraging offline storage may enable you to improve application performance. In almost every case, utilizing a local client data store is faster than retrieving data from a remote server. There are, however, limitations and synchronization issues which we'll highlight later in this post.

The 9.3 .Net Web ADF JavaScript Library provides an extensibility point for leveraging offline storage capabilities with components such as the Map control.

The content of a basic web application can be categorized into two distinct areas:

  1. Application Framework – includes the web page hosting the controls, client side code (JavaScript runtime) and supporting media such as images and style sheets
  2. Data – information passed to and from the server and the client. This includes image tiles from a cached map service that are stored on the client.

In order to use an application offline, both the framework and relevant data need to be cached and available on the client.

[...]



Read more: http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2008/10/10/Using-Gears-in-a-.NET-Web-ADF-application.aspx

Ingen kommentarer:

Send en kommentar