Tài liệu Ajax and REST - Recipes A Problem-Solution Approach

Thảo luận trong 'Lập Trình' bắt đầu bởi Thúy Viết Bài, 5/12/13.

  1. Thúy Viết Bài

    Thành viên vàng

    Bài viết:
    198,891
    Được thích:
    167
    Điểm thành tích:
    0
    Xu:
    0Xu
    About the Author . viii
    About the Technical Reviewers ix
    Introduction . xi
    ■CHAPTER 1 Getting Started . 1

    Understanding the Definition and Philosophy of Ajax 1
    Understanding the Definition and Philosophy
    of Web Services and SOA . 7
    Understanding the Definition and Philosophy of REST . 9
    The Easiest Way to Get Started with Ajax and REST . 16
    Implementing an Ajax and REST Application Using
    Test-Driven Development Techniques . 18
    Coding the Contract Using Test-Driven
    Development Techniques . 24
    Testing a Dynamic Contract . 34
    Testing the Client-Side Logic . 38
    Managing Ajax Security and Intellectual Property . 44
    ■CHAPTER 2 JavaScript Recipes . 49
    Understanding JavaScript and Types 49
    Coding Using Conventions and Not Configurations 52
    Using Parameterless Functions . 58
    Treating Functions Like Objects 60
    Implementing an Error and Exception Handling Strategy . 65
    Understanding the Behavior of Variables When Implementing
    Recursion . 70
    Using Functions to Initialize and Make Decisions . 78
    Understanding the Ramifications of Duck-Typed Code . 82
    Implementing JavaScript “Generics” 85
    Managing Runtime Behavioral Code 91
    Putting XMLHttpRequest into a Factory 92
    Defining and Extending Classes 95
    v
    Implementing Code Blocks 99
    Turning toSource into a Complete Serialization Solution 104
    Implementing Mixins in JavaScript 113
    Implementing Proxy Methods . 118
    Implementing Delegates . 123
    Implementing Overloaded Methods 128
    ■CHAPTER 3 Dynamic Content Recipes . 133
    Validating Your Data 133
    Creating Dynamic Layouts 147
    Manipulating Dynamic Content Blocks . 159
    Implementing “Dialog Boxes” . 169
    Serializing HTML 178
    Dealing with Formatted Data and Forms 185
    ■CHAPTER 4 Implementing an SOA Architecture . 193
    Problem 193
    Solution: Re-architecting the Application 196
    Testing the Web Service 212
    Implementing the Client 215
    Recipe Summary 232
    ■CHAPTER 5 Implementing a Universal Web
    Service Architecture . 235
    Problem 235
    Solution Part 1 236
    Solution Part 2 238
    Recipe Summary 253
    ■CHAPTER 6 Implementing Web Services for Large or
    Slow Data Sets . 255
    Problem 255
    Theory . 255
    Solution 258
    Solution Variation: (Nearly) Real-Time Data 291
    Recipe Summary 295
    ■CHAPTER 7 Implementing an Ajax Shopping Cart 297
    Problem 297
    Theory . 297
    Solution 299
    Recipe Summary 318
    ■CHAPTER 8 Don’t Submit Your Forms—Ajax Them . 319
    Problem 319
    Theory . 319
    Solution 322
    Recipe Summary 330
    ■INDEX . 331
     

    Các file đính kèm:

Đang tải...
Chủ đề tương tự
  1. Thúy Viết Bài
    Trả lời:
    0
    Xem:
    537
  2. Thúy Viết Bài
    Trả lời:
    0
    Xem:
    334
  3. Thúy Viết Bài

    Tài liệu Ajax Hacks

    Thúy Viết Bài, 5/12/13, trong diễn đàn: Lập Trình
    Trả lời:
    0
    Xem:
    381
  4. Thúy Viết Bài

    Tài liệu Ajax Design Patterns

    Thúy Viết Bài, 5/12/13, trong diễn đàn: Lập Trình
    Trả lời:
    0
    Xem:
    358
  5. Thúy Viết Bài
    Trả lời:
    0
    Xem:
    761