Slide 1

Slide 1 text

AJAX

Slide 2

Slide 2 text

A gentle introduction

Slide 3

Slide 3 text

(very gentle)

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

What is AJAX?

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Asynchronous Javascript And XML

Slide 16

Slide 16 text

Why?

Slide 17

Slide 17 text

Interactive Web Apps

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No need to reload pages

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Less restrictive

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

It is more a pattern...

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

...than a technology

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

Who? When?

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

The first AJAX application was Outlook Web Access

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

Adopted by Mozilla

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

And Google

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

Jesse James Garrett from Adaptive Path coined the name “AJAX”

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

New technology?

Slide 40

Slide 40 text

(not really)

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

HTML + CSS

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

DOM

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

XMLHttpRequest

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

JavaScript...

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

...acting as the glue

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

What for?

Slide 53

Slide 53 text

Real-time form validation

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

Auto-completion

Slide 56

Slide 56 text

Master-detail views

Slide 57

Slide 57 text

... sophisticated UIs

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

Happy users

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

How?

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

HTTP requests in the background

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

(lots of them)

Slide 69

Slide 69 text

Asynchronously

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

Callbacks in JavaScript

Slide 72

Slide 72 text

No content

Slide 73

Slide 73 text

readyState == 4 && request.status == 200

Slide 74

Slide 74 text

No content

Slide 75

Slide 75 text

responseText responseXml

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

Interactions

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

No content

Slide 80

Slide 80 text

No content

Slide 81

Slide 81 text

Problems?

Slide 82

Slide 82 text

Back button

Slide 83

Slide 83 text

No content

Slide 84

Slide 84 text

Bookmarks

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

Confusing user experience

Slide 87

Slide 87 text

No content

Slide 88

Slide 88 text

More JavaScript!

Slide 89

Slide 89 text

No content

Slide 90

Slide 90 text

Difficult to debug

Slide 91

Slide 91 text

No content

Slide 92

Slide 92 text

Viewable source

Slide 93

Slide 93 text

No content

Slide 94

Slide 94 text

Browser support?

Slide 95

Slide 95 text

Internet Explorer 5+

Slide 96

Slide 96 text

No content

Slide 97

Slide 97 text

Mozilla Opera 9+ Apple Safari

Slide 98

Slide 98 text

Web 2.0?

Slide 99

Slide 99 text

No content

Slide 100

Slide 100 text

AJAX ≠ Web 2.0

Slide 101

Slide 101 text

AJAX < Web 2.0

Slide 102

Slide 102 text

AJAX = Core feature of Web 2.0

Slide 103

Slide 103 text

No content

Slide 104

Slide 104 text

Web as a platform Collective intelligence Multiple devices Rich user experience

Slide 105

Slide 105 text

Future?

Slide 106

Slide 106 text

No content

Slide 107

Slide 107 text

No content

Slide 108

Slide 108 text

No content

Slide 109

Slide 109 text

No content

Slide 110

Slide 110 text

No content

Slide 111

Slide 111 text

No content

Slide 112

Slide 112 text

Books?

Slide 113

Slide 113 text

No content

Slide 114

Slide 114 text

No content

Slide 115

Slide 115 text

No content

Slide 116

Slide 116 text

No content

Slide 117

Slide 117 text

No content

Slide 118

Slide 118 text

And one more thing...

Slide 119

Slide 119 text

No content

Slide 120

Slide 120 text

Thank you!

Slide 121

Slide 121 text

Questions?