slides
z, ?
toggle help (this)
space, →
next slide
shift-space, ←
previous slide
d
toggle debug mode
## <ret>
go to slide #
c, t
table of contents (vi)
f
toggle footer
r
reload slides
n
toggle notes
p
run preshow
loading presentation...
JavaScript and CoffeeScript
Where Does JavaScript Fit In?
HTML
— What to display;
CSS
— How to display it;
JavaScript
— Do something with it.
Well, not exactly, but you get the picture.
What is JavaScript?
A programming language.
Supposedly written quickly by Brendan Eich.
Added to Netscape Navigator in Sept. 1995.
Not actually related to Java.
Just riding the hype train.
What's it Used for?
Animation
AJAX
Changing a web page
Interacting with the browser
Anything interactive on the web, really.
What's Wrong with this Picture?
JavaScript is quirky
Some parts shouldn't be used
JavaScript: The Good Parts
by Douglas Crockford
Oh, and different browsers do things differently
How to Handle Browsers
Use a library to hide the differences
jQuery
To Fix JavaScript, Use CoffeeScript
What's CoffeeScript
Yet Another Language
A lot like JavaScript
Fewer Warts
Just the Good Parts
More Concise
Translates to JS Automatically
What's the Downside?
Tool Support
Debugging Messages are to JavaScript files
But the situation's
improving
Examples