Share
Embed
Transcript
207 slides
-
This is an intro, yet... • It’s better if you
do know some Prototype -
This is an intro, yet... • It’s better if you
do know some Prototype ‣ script.aculo.us relies heavily on it -
This is an intro, yet... • It’s better if you
do know some Prototype ‣ script.aculo.us relies heavily on it ‣ If you just attended one of the Prototype sessions this morning, you should be fine -
This is an intro, yet... • It’s better if you
do know some Prototype ‣ script.aculo.us relies heavily on it ‣ If you just attended one of the Prototype sessions this morning, you should be fine • As for script.aculo.us, we’ll skim the surface and showcast the features. -
Who am I? • 29, lives in Paris. Web work
since 1995 -
Who am I? • 29, lives in Paris. Web work
since 1995 • Prototype Core member -
Who am I? • 29, lives in Paris. Web work
since 1995 • Prototype Core member • Rails & script.aculo.us contributor -
Who am I? • 29, lives in Paris. Web work
since 1995 • Prototype Core member • Rails & script.aculo.us contributor • Prototype doc writer (prototypejs.org) -
Who am I? • 29, lives in Paris. Web work
since 1995 • Prototype Core member • Rails & script.aculo.us contributor • Prototype doc writer (prototypejs.org) • Prototype & script.aculo.us book author -
Who am I? • 29, lives in Paris. Web work
since 1995 • Prototype Core member • Rails & script.aculo.us contributor • Prototype doc writer (prototypejs.org) • Prototype & script.aculo.us book author • Top question batter on the Google Group -
What are we going to see? • Visual effects •
Drag and drop, re-orderable elements -
What are we going to see? • Visual effects •
Drag and drop, re-orderable elements • Autocompletion -
What are we going to see? • Visual effects •
Drag and drop, re-orderable elements • Autocompletion • In-place editing -
What are we going to see? • Visual effects •
Drag and drop, re-orderable elements • Autocompletion • In-place editing • Sliders -
What are we going to see? • Visual effects •
Drag and drop, re-orderable elements • Autocompletion • In-place editing • Sliders • Concise DOM building -
Overview • No Flash, no SVG, just plain JS/CSS/DOM! •
6 Core Effects, 18 Combined Effects -
Overview • No Flash, no SVG, just plain JS/CSS/DOM! •
6 Core Effects, 18 Combined Effects • 9 “transitions” (control acceleration) -
Overview • No Flash, no SVG, just plain JS/CSS/DOM! •
6 Core Effects, 18 Combined Effects • 9 “transitions” (control acceleration) • Fine-tune: 8 generic options, 7 callbacks -
Overview • No Flash, no SVG, just plain JS/CSS/DOM! •
6 Core Effects, 18 Combined Effects • 9 “transitions” (control acceleration) • Fine-tune: 8 generic options, 7 callbacks • Queues to sync timelines -
Overview • No Flash, no SVG, just plain JS/CSS/DOM! •
6 Core Effects, 18 Combined Effects • 9 “transitions” (control acceleration) • Fine-tune: 8 generic options, 7 callbacks • Queues to sync timelines • Custom effects easy to implement -
Triggering an effect • new Effect.Name(element[, arg][, options]) ‣ Mandatory
argument sometimes (e.g. Scale) -
Triggering an effect • new Effect.Name(element[, arg][, options]) ‣ Mandatory
argument sometimes (e.g. Scale) ‣ As usual, a hash of options. Many effects feature specific options in addition of the 8 generic ones. -
Triggering an effect • new Effect.Name(element[, arg][, options]) ‣ Mandatory
argument sometimes (e.g. Scale) ‣ As usual, a hash of options. Many effects feature specific options in addition of the 8 generic ones. new Effect.Opacity('header', { to: 0.5 }); -
Triggering an effect • new Effect.Name(element[, arg][, options]) ‣ Mandatory
argument sometimes (e.g. Scale) ‣ As usual, a hash of options. Many effects feature specific options in addition of the 8 generic ones. new Effect.Opacity('header', { to: 0.5 }); new Effect.Highlight('notice', { duration: 2 }); -
Triggering an effect • new Effect.Name(element[, arg][, options]) ‣ Mandatory
argument sometimes (e.g. Scale) ‣ As usual, a hash of options. Many effects feature specific options in addition of the 8 generic ones. new Effect.Opacity('header', { to: 0.5 }); new Effect.Highlight('notice', { duration: 2 }); new Effect.Scale('mugshot', 200, { scaleFromCenter: true }); -
Core effects • Opacity ‣ Alters an element’s opacity. Relies
on the generic from/to options to define opacity. -
Core effects • Opacity ‣ Alters an element’s opacity. Relies
on the generic from/to options to define opacity. • Move ‣ Absolute or relative movement -
Core effects • Opacity ‣ Alters an element’s opacity. Relies
on the generic from/to options to define opacity. • Move ‣ Absolute or relative movement • Scale ‣ Resizing (impacting textual contents or not) -
Core effects • Highlight ‣ Cross-fading background color • Morph
‣ Smoothly migrating any set of measurable CSS properties (colors, sizes) in sync! -
Core effects • Highlight ‣ Cross-fading background color • Morph
‣ Smoothly migrating any set of measurable CSS properties (colors, sizes) in sync! • Parallel ‣ Synchronized execution of multiple effects -
Generic options • When to start ‣ delay, queue •
How fast to go ‣ fps, sync, transition -
Generic options • When to start ‣ delay, queue •
How fast to go ‣ fps, sync, transition • Cutting corners: where to start and stop ‣ from, to -
Core Effects demos • Effect.Morph • Using custom queues •
“Flash Stompers” ‣ Effect.multiple + Element.tagifyText • Creating a custom effect: Effect.Wave -
Combined effects • Just like core, except you don’t need
new • Many symmetrical ones: ‣ Appear/Fade, BlindDown/Up, SlideDown/Up ‣ Grow/Shrink -
Combined effects • Just like core, except you don’t need
new • Many symmetrical ones: ‣ Appear/Fade, BlindDown/Up, SlideDown/Up ‣ Grow/Shrink • And funky ones to boot: ‣ DropOut, Puff, SwitchOff, Squish, Fold, Pulsate, Shake, Transform... -
Combined Effects demo • Let’s look at live examples of
just about every combined effect... -
Overview • Custom use / manual setup ‣ Making an
element draggable -
Overview • Custom use / manual setup ‣ Making an
element draggable ‣ Setting up an element as a drop zone -
Overview • Custom use / manual setup ‣ Making an
element draggable ‣ Setting up an element as a drop zone ‣ Controlling drag, restricting drops -
Overview • Custom use / manual setup ‣ Making an
element draggable ‣ Setting up an element as a drop zone ‣ Controlling drag, restricting drops • Foremost use-case: re-orderable elements -
Making stuff draggable • new Draggable(element[, options]) • How easier
can it get?! • Can be disabled by calling destroy() on the Draggable instance. -
Dragging, my way. • Reverting • Movement restrictions (handle) •
Using specific handles to drag -
Dragging, my way. • Reverting • Movement restrictions (handle) •
Using specific handles to drag • Staying within a scrolling container -
Dragging, my way. • Reverting • Movement restrictions (handle) •
Using specific handles to drag • Staying within a scrolling container • Delayed triggering, dragging layer, ghosting... -
Dragging, my way. • Reverting • Movement restrictions (handle) •
Using specific handles to drag • Staying within a scrolling container • Delayed triggering, dragging layer, ghosting... • Callbacks on start, drag step, drag release -
Dragging demo • A plump Tux wandering on a mini
Chess board (now that’s an odd sight) -
Here’s your drop zone • Droppables.add(element[, options]) • Droppables.remove(element) •
Callbacks (dropped element & drop zone) -
Here’s your drop zone • Droppables.add(element[, options]) • Droppables.remove(element) •
Callbacks (dropped element & drop zone) -
Here’s your drop zone • Droppables.add(element[, options]) • Droppables.remove(element) •
Callbacks (dropped element & drop zone) • ...do we actually charge clients for this?! -
Not letting anybody in • Restricting on CSS class names
• Restricting on container of origin -
Re-ordering lists... with your mouse • Sortable.create(container[, options]) • Sortable.destroy(container)
• Refund that client now, scoundrel! -
It doesn’t have to be lists... • It can be
any container element, and any child elements -
It doesn’t have to be lists... • It can be
any container element, and any child elements ‣ It doesn’t even have to be all the children -
It doesn’t have to be lists... • It can be
any container element, and any child elements ‣ It doesn’t even have to be all the children ‣ It doesn’t have to be vertical -
It doesn’t have to be lists... • It can be
any container element, and any child elements ‣ It doesn’t even have to be all the children ‣ It doesn’t have to be vertical ‣ You can even swap elements between containers! -
It doesn’t have to be lists... • It can be
any container element, and any child elements ‣ It doesn’t even have to be all the children ‣ It doesn’t have to be vertical ‣ You can even swap elements between containers! • Two callbacks keep you posted on changes -
Re-ordering demos • A regular sorted list with callbacks and
serialization of the updated order • An horizontal list (you gotta love CSS) • Re-ordering part of the <p>’s in a <div> • Playing with multiple lists -
Overview • Assisted typing (e.g. Google Suggest) ‣ Terrific to
reduce misspellings, duplicates... ‣ Helps accelerate the input process -
Overview • Assisted typing (e.g. Google Suggest) ‣ Terrific to
reduce misspellings, duplicates... ‣ Helps accelerate the input process • Processes a ul/li list ‣ CSS can make it look like anything we want -
Overview • Assisted typing (e.g. Google Suggest) ‣ Terrific to
reduce misspellings, duplicates... ‣ Helps accelerate the input process • Processes a ul/li list ‣ CSS can make it look like anything we want • Full keyboard+mouse operation -
Overview • Assisted typing (e.g. Google Suggest) ‣ Terrific to
reduce misspellings, duplicates... ‣ Helps accelerate the input process • Processes a ul/li list ‣ CSS can make it look like anything we want • Full keyboard+mouse operation • Suggested items can be content-rich -
The basics • new Ajax.Autocompleter(element, container, url[, options]) • A
few CSS rules won’t hurt, too. -
The basics • new Ajax.Autocompleter(element, container, url[, options]) • A
few CSS rules won’t hurt, too. • Plenty of cool options -
The basics • new Ajax.Autocompleter(element, container, url[, options]) • A
few CSS rules won’t hurt, too. • Plenty of cool options ‣ autoSelect, minChars, frequency... -
The basics • new Ajax.Autocompleter(element, container, url[, options]) • A
few CSS rules won’t hurt, too. • Plenty of cool options ‣ autoSelect, minChars, frequency... ‣ AJAX is 98% of use cases; can also be local... -
Dealing with rich contents • Often suggesting texts alone is
insufficient • Example: company’s internal directory ‣ Just how many “John Smith” are at GE/BofA? -
Dealing with rich contents • Often suggesting texts alone is
insufficient • Example: company’s internal directory ‣ Just how many “John Smith” are at GE/BofA? • Bringing up more info helps the user ‣ Dept. name, photo, dates, file sizes, whatever ‣ But completion should still extract our text -
Multiple-field completion • “John Smith, Corporate Accts” looks nice, but
the server will hate it ‣ Why don’t you send it a nice person_id? ‣ You don’t want your server’s hatred... -
Multiple-field completion • “John Smith, Corporate Accts” looks nice, but
the server will hate it ‣ Why don’t you send it a nice person_id? ‣ You don’t want your server’s hatred... • So we should hook up on the completion and grab more info from the selected entry ‣ Complete multiple fields, visible or hidden... -
Autocompletion demo • Consolidated demo ‣ AJAX completion based on
installed Ruby libraries ‣ Rich contents ‣ Can complete multiple entries in the same field -
Overview • Makes any document fragment editable ‣ Right there,
right then: in place -
Overview • Makes any document fragment editable ‣ Right there,
right then: in place • Numerous options address most needs -
Overview • Makes any document fragment editable ‣ Right there,
right then: in place • Numerous options address most needs ‣ Working on an alternate text (i.e. not HTML) -
Overview • Makes any document fragment editable ‣ Right there,
right then: in place • Numerous options address most needs ‣ Working on an alternate text (i.e. not HTML) ‣ Customize editor controls -
Overview • Makes any document fragment editable ‣ Right there,
right then: in place • Numerous options address most needs ‣ Working on an alternate text (i.e. not HTML) ‣ Customize editor controls ‣ Offer a dropdown list instead of free typing -
Overview • Makes any document fragment editable ‣ Right there,
right then: in place • Numerous options address most needs ‣ Working on an alternate text (i.e. not HTML) ‣ Customize editor controls ‣ Offer a dropdown list instead of free typing • Recently 100% rewritten: clean-slate code -
A simple editable fragment • new Ajax.InPlaceEditor(element, url[, options]) ‣
Uses an OK button and a Cancel link -
A simple editable fragment • new Ajax.InPlaceEditor(element, url[, options]) ‣
Uses an OK button and a Cancel link ‣ Binds to Return and Esc -
A simple editable fragment • new Ajax.InPlaceEditor(element, url[, options]) ‣
Uses an OK button and a Cancel link ‣ Binds to Return and Esc ‣ Uses a POST request -
A simple editable fragment • new Ajax.InPlaceEditor(element, url[, options]) ‣
Uses an OK button and a Cancel link ‣ Binds to Return and Esc ‣ Uses a POST request ‣ Works over the native markup -
A simple editable fragment • new Ajax.InPlaceEditor(element, url[, options]) ‣
Uses an OK button and a Cancel link ‣ Binds to Return and Esc ‣ Uses a POST request ‣ Works over the native markup ‣ Uses multiple-line editor only if needed -
Nips & tucks • Tweak AJAX persistence ‣ paramName, callback,
ajaxOptions, htmlResponse -
Nips & tucks • Tweak AJAX persistence ‣ paramName, callback,
ajaxOptions, htmlResponse • Customize appearance ‣ TONS of options: controls, texts, CSS classes... -
Nips & tucks • Tweak AJAX persistence ‣ paramName, callback,
ajaxOptions, htmlResponse • Customize appearance ‣ TONS of options: controls, texts, CSS classes... • Plenty of callbacks -
Working with an alternate textual form • Perhaps you’re storing
these dynamic markups as something other than HTML -
Working with an alternate textual form • Perhaps you’re storing
these dynamic markups as something other than HTML ‣ Textile? Markdown? Wiki? Something... darker? -
Working with an alternate textual form • Perhaps you’re storing
these dynamic markups as something other than HTML ‣ Textile? Markdown? Wiki? Something... darker? • You’d want your user to edit in that format -
Working with an alternate textual form • Perhaps you’re storing
these dynamic markups as something other than HTML ‣ Textile? Markdown? Wiki? Something... darker? • You’d want your user to edit in that format ‣ Load an alternate text when entering editing -
Working with an alternate textual form • Perhaps you’re storing
these dynamic markups as something other than HTML ‣ Textile? Markdown? Wiki? Something... darker? • You’d want your user to edit in that format ‣ Load an alternate text when entering editing ‣ Respond to persistence with the matching markup, as usual -
Using a dropdown list • So your users can’t be
trusted? • You’d like them to pick from a dropdown list (“combo”) instead... -
Using a dropdown list • So your users can’t be
trusted? • You’d like them to pick from a dropdown list (“combo”) instead... • Just use Ajax.InPlaceCollectionEditor ‣ Collection can be local or AJAX-based -
In-place editing demos • Simple editing with a few style
options • Editing an alternate text representation • Using a collection-based editor -
Sliders in 30” (re-enacted by rabbits) • Replaces numerical input
(free/dropdown) • One or more handles sliding on a track -
Sliders in 30” (re-enacted by rabbits) • Replaces numerical input
(free/dropdown) • One or more handles sliding on a track • Easy customization through CSS + options -
Sliders in 30” (re-enacted by rabbits) • Replaces numerical input
(free/dropdown) • One or more handles sliding on a track • Easy customization through CSS + options ‣ Orientation: vertical or horizontal -
Sliders in 30” (re-enacted by rabbits) • Replaces numerical input
(free/dropdown) • One or more handles sliding on a track • Easy customization through CSS + options ‣ Orientation: vertical or horizontal ‣ Restrict valid positions -
Sliders in 30” (re-enacted by rabbits) • Replaces numerical input
(free/dropdown) • One or more handles sliding on a track • Easy customization through CSS + options ‣ Orientation: vertical or horizontal ‣ Restrict valid positions ‣ Prevent handles from crossing each other -
Sliders in 30” (re-enacted by rabbits) • Replaces numerical input
(free/dropdown) • One or more handles sliding on a track • Easy customization through CSS + options ‣ Orientation: vertical or horizontal ‣ Restrict valid positions ‣ Prevent handles from crossing each other ‣ Using handle pairs to define value ranges -
Slider demos • Simple sliders ‣ Vertical & horizontal ‣
Callbacks • Multiple-handle slider • 3 handles defining 2 ranges, no cross-over -
Building DOM fragments “by hand” is booooring • Yet sometimes
update/insert won’t cut it ‣ Browser innerHTML (or equiv.) weirdness -
Building DOM fragments “by hand” is booooring • Yet sometimes
update/insert won’t cut it ‣ Browser innerHTML (or equiv.) weirdness • Prototype has a nice new Element thing ‣ But one element at a time, no textual content -
Building DOM fragments “by hand” is booooring • Yet sometimes
update/insert won’t cut it ‣ Browser innerHTML (or equiv.) weirdness • Prototype has a nice new Element thing ‣ But one element at a time, no textual content • So how do we manually build DOM fragments in a concise, expressive way? -
Builder.node Builder.node('p') // <p></p> Builder.node('p', { id: 'demo', className: 'notice'
}) // <p id="demo" class="notice"></p> -
Builder.node Builder.node('p') // <p></p> Builder.node('p', { id: 'demo', className: 'notice'
}) // <p id="demo" class="notice"></p> Builder.node('p', 'Hello world!') -
Builder.node Builder.node('p') // <p></p> Builder.node('p', { id: 'demo', className: 'notice'
}) // <p id="demo" class="notice"></p> Builder.node('p', 'Hello world!') // <p>Hello world!</p> -
Builder.node Builder.node('p') // <p></p> Builder.node('p', { id: 'demo', className: 'notice'
}) // <p id="demo" class="notice"></p> Builder.node('p', 'Hello world!') // <p>Hello world!</p> Builder.node('p', { id: 'demo' }, 'Hello world') -
Builder.node Builder.node('p') // <p></p> Builder.node('p', { id: 'demo', className: 'notice'
}) // <p id="demo" class="notice"></p> Builder.node('p', 'Hello world!') // <p>Hello world!</p> Builder.node('p', { id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> -
Builder.node Builder.node('p') // <p></p> Builder.node('p', { id: 'demo', className: 'notice'
}) // <p id="demo" class="notice"></p> Builder.node('p', 'Hello world!') // <p>Hello world!</p> Builder.node('p', { id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> Builder.node('div', [Builder.node('h2', 'Intro'), 'Hey']) -
Builder.node Builder.node('p') // <p></p> Builder.node('p', { id: 'demo', className: 'notice'
}) // <p id="demo" class="notice"></p> Builder.node('p', 'Hello world!') // <p>Hello world!</p> Builder.node('p', { id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> Builder.node('div', [Builder.node('h2', 'Intro'), 'Hey']) // <div><h2>Intro</h2>Hey</div> -
Builder.node Builder.node('p') // <p></p> Builder.node('p', { id: 'demo', className: 'notice'
}) // <p id="demo" class="notice"></p> Builder.node('p', 'Hello world!') // <p>Hello world!</p> Builder.node('p', { id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> Builder.node('div', [Builder.node('h2', 'Intro'), 'Hey']) // <div><h2>Intro</h2>Hey</div> Builder.node('div', { id: 'demo' }, ['Hey', Builder.node('h2', { className: 'regular' }, 'Intro')]) -
Builder.node Builder.node('p') // <p></p> Builder.node('p', { id: 'demo', className: 'notice'
}) // <p id="demo" class="notice"></p> Builder.node('p', 'Hello world!') // <p>Hello world!</p> Builder.node('p', { id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> Builder.node('div', [Builder.node('h2', 'Intro'), 'Hey']) // <div><h2>Intro</h2>Hey</div> Builder.node('div', { id: 'demo' }, ['Hey', Builder.node('h2', { className: 'regular' }, 'Intro')]) // <div id="demo">Hey<h2 class="regular">Intro</h2></div> -
Builder.dump: shortcuts! Builder.dump(); P() // <p></p> P({ id: 'demo', className:
'notice' }) // <p id="demo" class="notice"></p> -
Builder.dump: shortcuts! Builder.dump(); P() // <p></p> P({ id: 'demo', className:
'notice' }) // <p id="demo" class="notice"></p> P('Hello world!') -
Builder.dump: shortcuts! Builder.dump(); P() // <p></p> P({ id: 'demo', className:
'notice' }) // <p id="demo" class="notice"></p> P('Hello world!') // <p>Hello world!</p> -
Builder.dump: shortcuts! Builder.dump(); P() // <p></p> P({ id: 'demo', className:
'notice' }) // <p id="demo" class="notice"></p> P('Hello world!') // <p>Hello world!</p> P({ id: 'demo' }, 'Hello world') -
Builder.dump: shortcuts! Builder.dump(); P() // <p></p> P({ id: 'demo', className:
'notice' }) // <p id="demo" class="notice"></p> P('Hello world!') // <p>Hello world!</p> P({ id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> -
Builder.dump: shortcuts! Builder.dump(); P() // <p></p> P({ id: 'demo', className:
'notice' }) // <p id="demo" class="notice"></p> P('Hello world!') // <p>Hello world!</p> P({ id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> DIV('div', [H2('Intro'), 'Hey']) -
Builder.dump: shortcuts! Builder.dump(); P() // <p></p> P({ id: 'demo', className:
'notice' }) // <p id="demo" class="notice"></p> P('Hello world!') // <p>Hello world!</p> P({ id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> DIV('div', [H2('Intro'), 'Hey']) // <div><h2>Intro</h2>Hey</div> -
Builder.dump: shortcuts! Builder.dump(); P() // <p></p> P({ id: 'demo', className:
'notice' }) // <p id="demo" class="notice"></p> P('Hello world!') // <p>Hello world!</p> P({ id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> DIV('div', [H2('Intro'), 'Hey']) // <div><h2>Intro</h2>Hey</div> DIV({ id: 'demo' }, ['Hey', H2({ className: 'regular' }, 'Intro')]) -
Builder.dump: shortcuts! Builder.dump(); P() // <p></p> P({ id: 'demo', className:
'notice' }) // <p id="demo" class="notice"></p> P('Hello world!') // <p>Hello world!</p> P({ id: 'demo' }, 'Hello world') // <p id="demo">Hello world!</p> DIV('div', [H2('Intro'), 'Hey']) // <div><h2>Intro</h2>Hey</div> DIV({ id: 'demo' }, ['Hey', H2({ className: 'regular' }, 'Intro')]) // <div id="demo">Hey<h2 class="regular">Intro</h2></div> -
Online resources • The documentation sites ‣ http://prototypejs.org to understand
the code ‣ http://script.aculo.us to download and read the Wiki (massive overhaul initiated) -
Online resources • The documentation sites ‣ http://prototypejs.org to understand
the code ‣ http://script.aculo.us to download and read the Wiki (massive overhaul initiated) • The official list ‣ http://groups.google.com/rubyonrails-spinoffs -
Online resources • The documentation sites ‣ http://prototypejs.org to understand
the code ‣ http://script.aculo.us to download and read the Wiki (massive overhaul initiated) • The official list ‣ http://groups.google.com/rubyonrails-spinoffs • IRC ‣ #scriptaculous on Freenode -
Shameless plug • “The Bungee Book” • Available already (as
beta) from the Pragmatic Bookshelf ‣ http://books.pragprog.com/titles/cppsu/ -
Shameless plug • “The Bungee Book” • Available already (as
beta) from the Pragmatic Bookshelf ‣ http://books.pragprog.com/titles/cppsu/ • 95% content-complete already -
Shameless plug • “The Bungee Book” • Available already (as
beta) from the Pragmatic Bookshelf ‣ http://books.pragprog.com/titles/cppsu/ • 95% content-complete already • Up-to-date on the latest stuff -
Shameless plug • “The Bungee Book” • Available already (as
beta) from the Pragmatic Bookshelf ‣ http://books.pragprog.com/titles/cppsu/ • 95% content-complete already • Up-to-date on the latest stuff • Pre-order the paper book too!