Mercurial > js4py
annotate teaser.tex @ 95:95ef8898e43e europython-2011
Add two sample JavaScript files and teaser.tex.
| author | Jonathan Fine <jfine@pytex.org> |
|---|---|
| date | Sat, 02 Jul 2011 22:15:21 +0100 |
| parents | |
| children |
| rev | line source |
|---|---|
|
95
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
1 \begin{frame} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
2 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
3 \frametitle{JavaScript for Python Programmers} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
4 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
5 The course slides are available on http://bitbucket.org/jfine. |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
6 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
7 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
8 \bigskip |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
9 Go to |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
10 javascript-for-python-programmers/downloads. |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
11 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
12 \bigskip |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
13 Download latest version of js4py. |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
14 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
15 \end{frame} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
16 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
17 \begin{frame} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
18 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
19 \frametitle{JavaScript for Python Programmers} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
20 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
21 A major part of the tutorial is to understand properly the |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
22 \emph{counters example} in the tutorial. |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
23 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
24 \begin{itemize} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
25 \item gotchas |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
26 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
27 \item object tree |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
28 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
29 \item this vs. self |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
30 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
31 \item binding |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
32 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
33 \item delegation |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
34 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
35 \item objects and classes in Python and JavaScript |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
36 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
37 \end{itemize} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
38 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
39 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
40 \end{frame} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
41 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
42 \begin{frame} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
43 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
44 \frametitle{To finish, if there is time} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
45 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
46 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
47 We will show why \emph{JavaScript objects} are like Python classes |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
48 which are never instantiated, and which have special attribute and |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
49 item access methods on the metaclass. |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
50 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
51 \end{frame} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
52 |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
53 \end{document} |
|
95ef8898e43e
Add two sample JavaScript files and teaser.tex.
Jonathan Fine <jfine@pytex.org>
parents:
diff
changeset
|
54 |
