433 karma · joined June 28, 2010
[ my public key: https://keybase.io/marcuswestin; my proof: https://keybase.io/marcuswestin/sigs/WYXCFq2ZdmUKksmgntn6sK9Gmb90IVwNjVvHo-N_eEA ]
> It's hard to determine benchmarks for performance when the kids are operating at such different stages of development.
Agreed - the point I'm striving for is an incentive conceived from shared gains (you benefit directly from creating value) rather than evaluation by proxy (performance evaluation). It's possibly too theoretical a point to be of much value though, I see that :)
Firefox 3.6.11 OS X 10.6 firesheep-0.1-1.xpi
Well worth the watch: http://www.youtube.com/watch?v=b7SUFLFu3HI
- your bed
- your desk setup if you work at one, including the chair
- food
- the people closest to you (roommates, family)
// PHP code
and // Fun code
comments at the top of the code examples. Not great but hopefully helpful :) This was meant to be a high-level intro. I'll be diving into explaining the nitty gritty of the language next month. fin.set(id, property, value)
fin.observe(id, property, function callback(mutation){})
Would be rockin to see if we could hook up fin to js-model!http://github.com/marcuswestin/fun/commit/05870f3f54fda43090...
Someone should take the underlying realtime datastore (http://github.com/marcuswestin/fin) and bundle it with mustache or <angular/>!
You can declare something akin to a function, which takes arguments and emits HTML. Imagine e.g.
let taskTemplate = template(task) {
<div class="task">
<span class="title">task.title</span>
</div>
}
for (task in tasks) { taskTemplate(task) }
I'm not decided on syntax yet.You can definitely separate out logic from template this way.
Fun outputs javascript, not HTML - the javascript then builds the DOM.
Any piece of UI that needs extra care, e.g. a very long list of items, is implemented in javascript with appropriate lazy rendering.
if (!window.console)
Or if (typeof console == 'undefined')
Or if !('console' in window))
NPersistJS falls back on flash and cookies, which is bad (flash slows down browser during page loading, cookies fatten your network requests). Store.js uses localStorage, globalStorage and IE behaviors which do not have those negative side effects.