Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tbranyen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
Streaming data into Backbone.js collections
(weblog.bocoup.com)
8 points
by
tbranyen
15y ago
|
0 comments
122.
▲
by
tbranyen
15y ago
Backbone.js huh =) We should get you on the homepage. Submit a pull req or contact me on GitHub.
123.
▲
by
tbranyen
15y ago
I am working on a follow up post, where you will see how complicated these systems get. Its not trivial nor foundational for anyone looking on how to structure a project. Edit: There is a pull request that would make using at least jQuery/
124.
▲
by
tbranyen
15y ago
This pattern uses an immediately invoked function expression (IIFE) to scope dependencies and shorten variable names. Be smart about your code, you can expose anything you want and attach anything to the module object for testing.
125.
▲
by
tbranyen
15y ago
Much appreciated. =)
126.
▲
by
tbranyen
15y ago
For what its worth, I felt really awkward reading many of your replies in this thread. You are our spokesperson for JavaScript and the CTO of Mozilla. It would be nice if you could talk to people without making disparaging and downright c
127.
▲
by
tbranyen
15y ago
We are planning a follow up post on this soon that will discuss using script loaders and libraries that assist in organizing code into modules.
128.
▲
by
tbranyen
15y ago
swoon
129.
▲
Synchronizing HTML5 Slides with Node.js
(weblog.bocoup.com)
19 points
by
tbranyen
15y ago
|
2 comments
130.
▲
by
tbranyen
15y ago
You definitely missed this part in the second paragraph: "This leads many seasoned programmers to respond with, “well, duh” when first confronted. Design patterns are derived from scrutiny of best practices in the real world (not your old C
131.
▲
by
tbranyen
15y ago
Pretty much. I'm using this pattern in the following way: SomeComponent.prototype.views = { home: { template: '/path/to/template', render: function(tmpl) { this.element.html(Mustache.to_html(tmpl, this.data)); } } };
132.
▲
by
tbranyen
15y ago
If anyone has any questions I'm happy to respond in here as well.
133.
▲
by
tbranyen
16y ago
Interesting, I am curious about Haskell, but so far have kept a safe distance away. Thanks!
134.
▲
by
tbranyen
16y ago
Why did you change your original post, your typo seems to be exactly what these guys were talking about. The confusion between the naming is not good . For those who are coming later, the OP of this thread had said W3C instead of w3school
135.
▲
by
tbranyen
16y ago
W3C huh...
136.
▲
by
tbranyen
16y ago
Existing solutions already exist, but unfortunately search results are dominated by W3schools. Poor code examples and wrong information is why http://promotejs.com/ started. This is nothing new, the web needs nothing new. Learning abou