http://lostechies.com/derickbailey/2014/01/03/semantics-modu...
684 karma · joined August 26, 2011
http://lostechies.com/derickbailey/2014/01/03/semantics-modu...
linode's $160/mo plan would cover me for a while. i'm transfering around 4TB a month right now, and that would cover 16TB.
thanks for the feedback and suggestions! this is something i'll need to keep in mind in the near future.
i have a customer that averages 20,000 downloads per episode, and a bunch of others with close to 1,000 downloads per episode. it adds up fast.
for me, being able to focus on features is more important than these concerns, right now. i expect that over time i will take some of these tasks in and write the code myself, but at the moment i'm more concerned with feature growth.
Asynchronous Module Definition - a method of defining JavaScript modules, to be loaded when needed.
I took the time to script out the code and the talking points this time around. I also recorded the audio separately so that I could really focus on the code and on the audio, independently.
I hope this episode shows the level improvement I think it has! If not, I'm always looking for feedback on what I can do better.
var vent = _.extend({}, Backbone.Events);
done.
see also http://lostechies.com/derickbailey/2011/07/19/references-rou... for more info on using it, and http://lostechies.com/derickbailey/2011/11/17/introduction-t... for more info on creating larger apps w/ backbone
as for the wizardry - it's jquery (or zepto or something else), not backbone that does this. while backbone integrates with and uses jquery heavily in the views, i don't think it's a fair claim to say backbone creates facilitates those user experiences. it helps us organize our code effectively so that we can create those user experiences in a well structured manner.
and come on, Jeremy... you know how much I love backbone! it's 80% of what I blog about these days! :)
backbone and knockout focus on two different problem spaces: app architecture (backbone) and UI wizardry (knockout).
there are several plugins for backbone that bring model binding and other user experience enhancements to it, though. plus, backbone integrates directly with jQuery, so you have access to all of jQuery's libraries and plugins, still.
If you're going to use Knockout to provide wiz-bang editing and binding on single page (as opposed to a slew of jQuery code everywhere), then you might not need much more than Knockout.
If you're going to be creating multi-page JavaScript applications within a single page of your site, you should look at combining something like Backbone.js with Knockout, using the Knockback library I linked to in that article.
Alternatively, if your looking for good structure for JavaScript applications in general, I have another post that introduces a few of the concepts and links to some great resources, here: http://derickbailey.lostechies.com (unfortunately, I can't get the exact URL at the moment... site seems to be slow / not responding. just look for the "Intro to composite JavaScript apps" post)
My opinion: I've used qunit and I don't like it. It's better than nothing, but not what I want in a testing framework. The syntax is awful.
In my experience, a project set up is such an un-common occurrence (it only happens once per project, after all) that there is really nothing special or customized about doing it. When I set up a project, I download and install everything as if I had never done it before. I don't use any special tools or scripts. I just use whatever the framework and plugin system I choose comes with.
My intention with this screencast was specifically not to show project setup, but to show the later stages of a project. I find most of the breakdown and slog through code happens after something has been in place for a while, and now needs to change - hence the need for refactoring.
... but, I do have some ideas that would play well in to what you're wanting. I'll definitely keep this in mind as I'm looking at what I'm going to work on next.
I've got a few 5 or 10 minute videos on getting started with Test-Driven JavaScript using the Jasmine framework. I can give those away and then have a much longer episode on really diving deep into Jasmine. Hopefully I'll be able to get this done soon.
As for the price - PeeCode sells all their recent videos at $12 each, for ~1hr of content. So, $14 seemed reasonable to me (also based on the price I've paid at Tekpub, DestroyAllSoftware and other screencasting sites) considering the length of the content that I've produced.
But, you may be right. Maybe I should drop it since I am an unknown person in the screencasting world.