Earlier quoted context omitted.
The component.io ecosystem encourages using only functionality that you actually need instead of bundling a heavyweight library like _ or $. It would be great to use a small component (like riot.js say) with other nimble components.
why use riot when you could just pull in a router, an event emitter, and a model?
Riot.js – A 1kb client-side MVP framework
101–110 of 147 posts
Re: Riot.js – A 1kb client-side MVP framework
#1021kb, plus jQuery's 50. This must be a joke...
Angular has no dependancies. Knockout also has no dependancies, so it's actually 13k > than riot.
For anyone who really serious about going minimal, here are some alternatives to jquery to build on.
9.7kb http://zeptojs.com/ 3.4kb https://github.com/rpflorence/snack 5.0kb https://github.com/julienw/dollardom/ 10kb http://xuijs.com/ https://github.com/honza/140medley
What a riot!
Re: Riot.js – A 1kb client-side MVP framework
#103Earlier quoted context omitted.
Since I was used as proof of the effectiveness of "puffery", I went to find out what that English word means: "promotional statements and claims that express subjective rather than objective views, which no 'reasonable person' would take literally". Well, I don't claim to take all my decisions based on pure reasoning. Intuition has a lot to do with my technology choices, because it's built on all my prior experiences…
And sadly, with great pain, I rest my case. --- But hey, if you want to try out a hot new framework that Fits in A Tweet™, I've got something special for you. Announcing Revolution.js It's a mere fraction the size of Riot.js, and provides over 100 times the functionality. Despite the unbelievable size, all the building blocks are there: a template engine, router, event library and a strict MVP pattern to keep things…
Re: Riot.js – A 1kb client-side MVP framework
#104I just dislike the use of "new" in javascript...
Re: Riot.js – A 1kb client-side MVP framework
#105I apologize if I'm missing something, I'm not a data visualization expert, but what the heck is going on with that graph? http://content.screencast.com/users/sequoia.m/folders/Jing/m...
Re: Riot.js – A 1kb client-side MVP framework
#106Re: Riot.js – A 1kb client-side MVP framework
#107While I'd usually prefer to be nice in the mornings ... starting off with those benchmarks got my goat. So. This sort of thing is a beautiful demonstration of marketing, big promises, and bombastic rhetoric in open source. But one of the best things about open source is that you don't have to take such claims at face value. If you actually look at the source, you'll find: https://github.com/moot/riotjs/blob/29ae687ca…
Since I was used as proof of the effectiveness of "puffery", I went to find out what that English word means: "promotional statements and claims that express subjective rather than objective views, which no 'reasonable person' would take literally". Well, I don't claim to take all my decisions based on pure reasoning. Intuition has a lot to do with my technology choices, because it's built on all my prior experiences…
Re: Riot.js – A 1kb client-side MVP framework
#108While I'd usually prefer to be nice in the mornings ... starting off with those benchmarks got my goat. So. This sort of thing is a beautiful demonstration of marketing, big promises, and bombastic rhetoric in open source. But one of the best things about open source is that you don't have to take such claims at face value. If you actually look at the source, you'll find: https://github.com/moot/riotjs/blob/29ae687ca…
Since I was used as proof of the effectiveness of "puffery", I went to find out what that English word means: "promotional statements and claims that express subjective rather than objective views, which no 'reasonable person' would take literally". Well, I don't claim to take all my decisions based on pure reasoning. Intuition has a lot to do with my technology choices, because it's built on all my prior experiences…
Jeremy's point is that the framework is snake oil, and he is right. You will spend effectively just as much time ensuring your code is manageable without this framework as you will with it. It is mostly a wrapper around jQuery, and if you aren't the sort of JavaScript developer who can recreate this sort of wrapper in short order, you should strive to be (especially if you are taking on the task of authoring a large scale JavaScript application).
Re: Riot.js – A 1kb client-side MVP framework
#109I apologize if I'm missing something, I'm not a data visualization expert, but what the heck is going on with that graph? http://content.screencast.com/users/sequoia.m/folders/Jing/m...
Re: Riot.js – A 1kb client-side MVP framework
#110Precompilation renders template rendering speeds...moot. What a weird factor to use for choosing a template engine. Also there already is a popular unit test framework called riot.js
> Precompilation renders template rendering speeds. Not 100% sure what you mean but if you measure the time to render a HTML fragment 100 times the total time is 1 x pre-compilation + 100 x rendering. The pre-compilation has virtually no effect on the total time.