Mercurial > js4py
diff source/europython-tutorial.rst @ 89:d57a5582a475 europython-2011
Start making revisions for presentation next week.
| author | Jonathan Fine <jfine@pytex.org> |
|---|---|
| date | Wed, 15 Jun 2011 08:58:20 +0100 |
| parents | source/europython-2010-tutorial.rst@e0b35ddff586 |
| children | 347e10783e7f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/europython-tutorial.rst Wed Jun 15 08:58:20 2011 +0100 @@ -0,0 +1,96 @@ +EuroPython 2011 Tutorial +======================== + +Time, date and location +----------------------- + +This tutorial will take place on Saturday 17th July, from 2pm to +5.45pm in Lecture Room 2, the Birmingham Conservatoire, Birmingham, +UK. + + +Installed software +------------------ + +Participants should bring with them a laptop computer with the +following installed: + +1. The Firefox web browser, with the Firebug add-on. + +2. A programmer's editor, preferably with a JavaScript mode. + +3. A command line JavaScript interpreter. + + * For Linux I suggest SpiderMonkey. + + .. code-block:: bash + + $ sudo apt-get install spidermonkey-bin # Ubuntu + + (No longer, I'm told, available for Ubuntu 10.4.) + + * For Windows and Mac I suggest JSDB, from + http://www.jsdb.org/download.html. It also works on Linux. + +4. This documentation, downloaded from + `Bitbucket downloads <http://bitbucket.org/jfine/javascript-for-python-programmers/downloads>`_. + +5. The Python documentation, download from + `Python docs site <http://docs.python.org/download.html>`_. + + +Timetable +--------- + +The tutorial consist of two 90 minutes sessions, separated by a 15 +minute break. We start at 2pm prompt, with software already installed +if possible. + +I hope to run six sessions, each 30 minutes long. I hope each session +will be 15 minutes of me talking followed by 15 minutes of +programming. The topics I'm intending to cover are + +1. Demonstration and discussion of the counters example application. + +2. JavaScript gotchas. + +3. Objects and inheritance, class basics. + +Here we have a 15 minute break. + +4. JavaScript's *this* pseudo-variable (including *call* and *apply*). + +5. Closures, modules and memory leaks. + +6. Delegation. + +We finish at 5.15pm. + + +Is this tutorial for me? +------------------------ + +This tutorial aimed at Python web developers who already know a bit of +JavaScript, and who need to understand JavaScript better. + +The tutorial has two related objectives. One is a good understanding +of the counters example. The other is a good understanding of the +things that make JavaScript so different from Python (apart from +JavaScript being the only language supported by web browsers). + +If you're thinking of taking this tutorial take the :doc:`gotcha-quiz` +and read through the :doc:`counters-example`. If you understand +what's there a bit, and would like to understand it more, then this +tutorial is for you. + +Let me know +----------- + +If you're going to attend the tutorial, I'd appreciate an email from +you that tells me a little bit about yourself and what you'd like to +get from the tutorial. If you have specific questions about +JavaScript, I'd like to here them also. (I can be contacted at +Jonathan.Fine1 at gmail.com.) + +You can also, I believe, just turn up on the day, if there is +space. Don't forget to install the software on your laptop.
