Learning by Teaching (a crash course in Backbone.js)
On Wednesday, the day after my lightning talk at the Django meetup, I gave a talk “An introduction to Backbone.js“, at a newly formed javascript meetup, loosely based around the locality of southville in Bristol. This was an interesting experience as other than using Backbone.js on one project (largely written by other people, so I only really dipped into it to add stuff), when I was volunteered to do the talk by Andy Mcgregor, I didn’t actually know a great deal about Backbone!
When it came to the crunch, i.e. pretty much the day before the talk, I started searching for online tutorials that might demonstrate what I wanted to cover in the talk, and the first one that I found was Hello Backbone.js by Artur Adib, which provides a fantastic step through with a set of examples building up on the previous example. I created a little “To Do” list app based roughly on these examples.
I then found an excellent set of video tutorials called Introduction to Backbone.js, by Joe Zim, which run through some interactive examples for Models, Views, Collections, Routers and Ajax within backbone, which really helped the penny drop for me, and gave me a basis for my own live-coding examples. The audience (of about 20 people – not bad for a highly localised, highly niche meetup!), were a mixture of people who already know backbone and people who have never used it, but hopefully there was something useful there for everyone. On a personal level, being put under pressure to be able to demonstrate something, accelerated my backbone knowledge very quickly, to the point that I would confidently start my next project using backbone.
The moral of the story is – if you want to learn a new skill quickly, you don’t need to pay to go to a workshop – volunteer to do a talk instead! Even if you don’t want to do a talk, find your friendly local user groups (or friendly online user groups, if there’s none local to you), and get involved. I’m not knocking paid workshops – there’s a place for those and i’m sure some of them are good value for money, but i’ve always loved the way that the web community are happy to share their knowledge for free, and you really can find the knowledge out there without spending your hard earned cash! Being part of the web community provides valuable support too when you get stuck, something that doesn’t happen in the world of “traditional” paid training.
The next southville js talk is “An introduction to CoffeeScript” by Tom Holder on wednesday 12th July, kindly hosted again by SimpleWeb. Also keep an eye on the Bristol Web Folk calendar for upcoming web related events in Bristol – there’s loads!
Photo above nabbed from an instagram pic by Chris Mytton
Any chance you could make the hacked main_template.pt available to look at?
Shane Graber 2007-01-17 13:35:33
Congratulations for this successfull event. Is there any Screencast available for the Plone comunity ?
Norbert M Haigermoser 2007-01-17 12:01:07
Yes the presentation was videoed and will be put online in the near future – I will post a link on my blog when it is ready.
Rick 2007-01-17 12:06:58
sure – http://www.rickhurst.co.uk/code/minimal_main_template.pt.txt
in fact the doctype slot and top slot aren’t strictly necessary here, but this shows the basics of rendering the body content and portlets (just cut and pasted from plone default main_template.
word of warning though, as this doesn’t render any links to places like the prefs_portalskin_form or the ZMI, inexperienced users may lock themselves out if not careful! Having a minimal template like this is only intended for where you use a seperate skin (i.e. usually Plone Default) for editing.
Rick 2007-01-17 14:48:17
Looking forward to seeing the screencast of this event when its ready, especially after recently watching the video on the first Plone event which was great – any idea when this might be up? 🙂
David 2007-02-25 11:03:02
I’ve been nagging the guy who is sorting the video – he is trying to get it sorted but has a genuine lack of editing time available at the moment i’m afraid 🙁
Rick 2007-02-25 19:54:59
It’s look something interesting. May I know where i should get the detail of Plone Skinning Information
Ritz 2007-12-27 02:24:30