Javascript.RU

Ajax Patterns and Best Practices

Язык: Английский
Год публикации: 2006
Автор(ы): Christian Gross
Страниц: 416

Краткое содержание
  • Introduction to Ajax
  • The Nuts and Bolts of Ajax
  • Content Chunking Pattern
  • Cache Controller Pattern
  • Permutations Pattern
  • Decoupled Navigation Pattern
  • Representation Morphing Pattern
  • Persistent Communications Pattern
  • State Navigation Pattern
  • Infinite Data Pattern
  • REST-Based Model View Controller Pattern
Средняя: 3.6 (1 vote)

Полное содержание
  • Introduction to Ajax
    • Pictures Are Worth a Thousand Words
    • Another Ajax Example
    • Ajax Architecture Basics
      • It's About the Data
      • It's About the Navigation
    • Comparing Ajax to Other Application Types
      • Rich-Client Local Installation
      • Rich-Client Web Services
      • Plain-Vanilla Web Application
    • Some Final Thoughts
  • The Nuts and Bolts of Ajax
    • Ajax for the Impatient
      • Understanding REST Theory
      • Implementing the REST Data
      • Implementing the Ajax Application
      • Putting Together Ajax and REST
      • Understanding the Ramifications of Ajax and REST
    • XMLHttpRequest Details
    • Using the Factory Pattern
      • Defining an XMLHttpRequest Factory
      • Rewriting the Ajax Application to Use a Factory
    • Making Asynchronous Requests
    • Making Practical Use of XMLHttpRequest
      • Implementing an Asynchronous Calling Mechanism
      • Calling Domains Other Than the Serving Domain
    • Some Final Thoughts
  • Content Chunking Pattern
    • Intent
    • Motivation
    • Applicability
    • Associated Patterns
    • Architecture
      • Implementing Order in a Web Application
      • Defining the Content Within a Content Chunk
    • Implementation
      • Implementing the HTML Framework Page
      • Injecting Content by Using Dynamic HTML
      • Binary, URL, and Image Chunking
      • JavaScript Chunking
    • Pattern Highlights
  • Cache Controller Pattern
    • Intent
    • Motivation
    • Applicability
    • Associated Patterns
    • Architecture
      • HTML and HTTP Cache Directives
      • HTTP Expiration Caching Is a Bad Idea (Generally)
      • A Better Approach: Using HTTP Validation
      • Some Findings Regarding Server-Side Caching
      • Defining Static HTTP Validation
      • Defining Dynamic HTTP Validation
    • Implementation
      • Implementing the Passive Cache
      • Implementing the Server Side of the HTTP Validator Pattern Highlights
  • Permutations Pattern
    • Intent
    • Motivation
    • Applicability
    • Associated Patterns
    • Architecture
      • Understanding Why the Resource Is Separated from the Representation
      • Using Cookies and HTTP Authentication to Authorize Access Only
      • Using Cookies
      • An Example Book Application
    • Implementation
      • Rewriting URLs
      • An Example Shopping Cart Application
    • Pattern Highlights
  • Decoupled Navigation Pattern
    • Intent
    • Motivation
    • Applicability
    • Associated Patterns
    • Architecture
    • Implementation
      • Implementing the Action Functionality
      • Defining and Implementing the Common Data Functionality
      • Implementing the Presentation Functionality
      • Using HTML Components
    • Pattern Highlights
  • Representation Morphing Pattern
    • Intent
    • Motivation
    • Applicability
    • Associated Patterns
    • Architecture
      • Basic Theory
      • Why the Pattern Is Not an HTML Component
      • Defining Blocks of State
    • Implementation
      • Implementing the Framework
      • Implementing the Representation Reference Points
      • Some Implementation Details
    • Pattern Highlights
  • Persistent Communications Pattern
    • Intent
    • Motivation
    • Applicability
    • Associated Patterns
    • Architecture
      • Why the Internet Is "Broken"
      • Implementing a Polling Solution
    • Implementation
      • Example: A Global Status Resource
      • Example: Presence Detection
      • Example: Server Push
      • Version Numbers and Updates
      • Performance Considerations
    • Pattern Highlights
  • State Navigation Pattern
    • Intent
    • Motivation
    • Applicability
    • Associated Patterns
    • Architecture
      • Moving Toward an Ideal Solution from the User's Perspective
      • Extending the Solution for a Web Application
      • Managing State at the Protocol Level
    • Implementation
      • Processing the Requests on the Client
      • Processing the Requests on the Server
    • Pattern Highlights
  • Infinite Data Pattern
    • Intent
    • Motivation
    • Applicability
    • Associated Patterns
    • Architecture
    • Implementation
      • Implementing the HTML Client
      • Implementing the Task Manager
    • Pattern Highlights
  • REST-Based Model View Controller Pattern
    • Intent
    • Motivation
    • Applicability
    • Associated Patterns
    • Architecture
      • The Big Picture
      • Defining an Appropriate Resource
      • Defining the Calling Interface
      • Defining the Data Format Foundation and the Extras
    • Implementation
      • Implementing a Search
      • Creating a Search Engine Client Infrastructure
      • Putting All of the Pieces Together
    • Pattern Highlights

Отправить комментарий

Приветствуются комментарии:
  • Полезные.
  • Дополняющие прочитанное.
  • Вопросы по прочитанному. Именно по прочитанному, чтобы ответ на него помог другим разобраться в предмете статьи. Другие вопросы могут быть удалены.
    Для остальных вопросов и обсуждений есть форум.
P.S. Лучшее "спасибо" - не комментарий, как все здорово, а рекомендация или ссылка на статью.
Содержание этого поля является приватным и не предназначено к показу.
  • Адреса страниц и электронной почты автоматически преобразуются в ссылки.
  • Разрешены HTML-таги: <strike> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <u> <i> <b> <pre> <img> <abbr> <blockquote> <h1> <h2> <h3> <h4> <h5> <p> <div> <span> <sub> <sup>
  • Строки и параграфы переносятся автоматически.
  • Текстовые смайлы будут заменены на графические.

Подробнее о форматировании

CAPTCHA
Антиспам
5 + 1 =
Введите результат. Например, для 1+3, введите 4.
 
Поиск по сайту
Содержание

Учебник javascript

Основные элементы языка

Сундучок с инструментами

Интерфейсы

Все об AJAX

Оптимизация

Разное

Дерево всех статей

Последние комментарии
Последние темы на форуме
Forum