4 ms·
PayPal releases Kraken, Node.js framework
- blhack 13y agoHuh: https://www.kraken.com/ https://www.kraken.com/ Why this is relevant: kraken is a bitcoin trading platform. Paypal is a competitor to bitcoin.
- gberger 13y agoHuh: https://kraken.io/ https://kraken.io/
- gry 13y agoHuh: http://asana.github.io/kraken/ http://asana.github.io/kraken/
- ricardobeat 13y agoYeah, these days people don't seem to give a shit to preceding OS projects with the same name. "Ours will be much bigger".
- moreproductive 13y agoMaybe I'm a minority, but I can't really trust anything from a company with a login screen that says "logging you in securely" for 5000ms before loading me (sometimes) to my dashboard.
- lighthazard 13y agoYou are not their target market.
- moreproductive 13y agoExplain?
- chaz 13y agoThis might provide you some insight: http://thedailywtf.com/Articles/The-Slow-Down-Loop.aspx http://thedailywtf.com/Articles/The-Slow-Down-Loop.aspx In all seriousness, adding interstitials can provide value. If the login performance has high variance, it's better to set an expectation that it will take 5 seconds than leave the user wondering if the click actually worked. Similarly, Apple has done an amazing job with UI transitions in iOS to mask the actual load time.
- davidmarcus 13y agoI agree with you. This is one of my biggest pet peeves. But we're working hard on load times. Every call is HTTPS, adds lag. But you'll start to see improvements on the new experiences that will start rolling out in Q1. One thing after another, we're improving the company, its platform, and its engineering culture. I have to say I'm quite proud of the team behind Kraken. This framework is solid.
- leokun 13y ago==== Don't like: dust.js templates instead of handlebars self = this all over the place native use of forEach and Object.keys instead of underscore or lowdash ==== I like: that you can change the template system grouping routes, I always add this myself, makes it more django like security stuff like csrf dev and prod environment awareness directory layout is cool apache license uses grunt they use Object.create! one var statement per function krakens ==== Overall pretty awesome. p. s. I have no idea how to format text here.
- ricardobeat 13y agoWhat's wrong with using .forEach or Object.keys? Underscore will fallback to that if it's supported (which is always in nodejs).
- leokun 13y agoSomeone else asked this too, check out my answer there.
- deleted 13y ago[deleted]
- kevincennis 13y agoI'd be interested to hear what you don't like about Object.keys or Array#forEach. Not looking to start an argument, just genuinely curious why you prefer a utility library over native methods -- especially in Node, where you have guaranteed ES5 compatibility. Also: self = this can be avoided in a lot of cases with Function#bind, but not always. Seems like a weird criticism to me.
- deleted 13y ago[deleted]
- leokun 13y agoNative methods can be slower than simply using a for (Edit: while) loop: http://allyoucanleet.com/post/21624742336/jsconf-us-12-slides http://allyoucanleet.com/post/21624742336/jsconf-us-12-slide... self = this is error prone because it relies on JavaScript's lexical scope to share a variable across nested functions. It's a gross abuse of closures. It invalidates the ability to bind or use apply later, since everything is bound to that local variable self, and it's simply not needed and is probably used to avoid considerable use of bind, but using bind is only an issue when you write flock of seagull style nested function code. using self = this is not the right solution, writing more modular code with smaller functions is.
- jalan 13y agoHow does this compare with Sails.js?
- ricardobeat 13y agoI was honestly expecting something with more added value to warrant it's own name, maybe a viable competitor to Sails.js, Derby, etc. Lusca is nice, everything else is more or less what everyone is already doing - runtime config, controllers, grouped routes, etc, more of a template than a framework. Good thing they are not reinventing the wheel.
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]