AJAXLink – Part I

Web-Based Publishing (INFO 290-19)

Erik Wilde, UC Berkeley School of Information
2007-01-30
Creative Commons License

This work is licensed under a Creative Commons
Attribution-NonCommercial-ShareAlike 2.5 License.

Abstract

AJAXLink is based on principles of Web linking and new possibilities to extend browsers with JavaScript code which talks to a server. While AJAXLink is designed to run in any browser, an alternative implementation as a browser-specific extension could use interface techniques which are not available to AJAX applications. In this lecture, we look at the foundations of AJAXLink and at the core components of the project, which are the client side, the communications protocol, and the server side.

Outline (AJAXLink Foundations)

  1. AJAXLink Foundations [7]
    1. Web Linking [3]
    2. Asynchronous JavaScript and XML (AJAX) [4]
  2. AJAXLink Parts [6]
    1. Client [2]
    2. Server [2]
    3. Protocol [2]
  3. Conclusions [2]

Outline (Web Linking)

  1. AJAXLink Foundations [7]
    1. Web Linking [3]
    2. Asynchronous JavaScript and XML (AJAX) [4]
  2. AJAXLink Parts [6]
    1. Client [2]
    2. Server [2]
    3. Protocol [2]
  3. Conclusions [2]

Fragment to Resource

Fragment to Fragment

<tr id="written2007" class="line1"> … </tr>
*:target { outline : red solid medium ; }

Resource to Resource

Document Relationships in Firefox

Outline (Asynchronous JavaScript and XML (AJAX))

  1. AJAXLink Foundations [7]
    1. Web Linking [3]
    2. Asynchronous JavaScript and XML (AJAX) [4]
  2. AJAXLink Parts [6]
    1. Client [2]
    2. Server [2]
    3. Protocol [2]
  3. Conclusions [2]

AJAX = DHTML + HTTP

AJAX and DHTML

Comparison of AJAX and DHTML

AJAX and XML

AJAX vs. Extensions

Outline (AJAXLink Parts)

  1. AJAXLink Foundations [7]
    1. Web Linking [3]
    2. Asynchronous JavaScript and XML (AJAX) [4]
  2. AJAXLink Parts [6]
    1. Client [2]
    2. Server [2]
    3. Protocol [2]
  3. Conclusions [2]

Outline (Client)

  1. AJAXLink Foundations [7]
    1. Web Linking [3]
    2. Asynchronous JavaScript and XML (AJAX) [4]
  2. AJAXLink Parts [6]
    1. Client [2]
    2. Server [2]
    3. Protocol [2]
  3. Conclusions [2]

AJAX Code

Browser Extension

Outline (Server)

  1. AJAXLink Foundations [7]
    1. Web Linking [3]
    2. Asynchronous JavaScript and XML (AJAX) [4]
  2. AJAXLink Parts [6]
    1. Client [2]
    2. Server [2]
    3. Protocol [2]
  3. Conclusions [2]

XML Database

Relational Database

Outline (Protocol)

  1. AJAXLink Foundations [7]
    1. Web Linking [3]
    2. Asynchronous JavaScript and XML (AJAX) [4]
  2. AJAXLink Parts [6]
    1. Client [2]
    2. Server [2]
    3. Protocol [2]
  3. Conclusions [2]

REST

REST Protocol Design

Outline (Conclusions)

  1. AJAXLink Foundations [7]
    1. Web Linking [3]
    2. Asynchronous JavaScript and XML (AJAX) [4]
  2. AJAXLink Parts [6]
    1. Client [2]
    2. Server [2]
    3. Protocol [2]
  3. Conclusions [2]

Declarative Web 2.0

Options, Options, Options