Ajax Patterns 读书笔记 --2

背景|Background

The following Ajax patterns are being collected and discovered by Michael Mahemoff. What's here is CC-licensed, so please feel free to pull any content into your own work. The patterns will eventually be published as an O'Reilly text, "Ajax Design Patterns".

基础技术:模式(9项)
Foundational Technology Patterns (9)

These patterns are the building blocks of Ajax applications(模式是创建Ajax应用的基石). They are more "reference patterns"(参考模式) than true "design patterns"(设计模式), at least from the perspective of a modern Ajax developer, who will take these technologies as a given. The patterns are included to introduce the types of technologies that are used, provide a common vocabulary used throughout the language, and facilitate a discussion of pros and cons.

Ajax架构|Ajax Architecture

  • Ajax App Create a rich application that can be deployed remotely into any modern web browser.

显示处理|Display Manipulation

  • Display Morphing(显示形态的改变,改变 样式 或 值) Alter styles and values in the DOM to change display information such as replacing text and altering background colour.
  • Page Rearrangement (页面调整)Restructure the DOM to change the page's structure - moving, adding, and removing elements.

Web远程控制/调用Web Remoting

  • Web Service Expose server-side functionality with an HTTP API.
  • XMLHttpRequest Call Use XMLHttpRequest objects for browser-server communication.
  • IFrame Call Use IFrames for browser-server communication.
  • HTTP Streaming Stream server data in the response of a long-lived HTTP connection.

动态行为|Dynamic Behaviour

  • User Action (用户动作、操作)Use Javascript event handlers to respond to user actions.
  • Scheduling (日程安排、任务调度)Use Javascript timers to schedule actions.

 待续--2

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值