11 Dec '13, 9pm

Using JavaScript Promises to Reason About User Interaction

Using JavaScript Promises to Reason About User Interaction Sean Griffin December 11, 2013 javascript In functional programming, we rarely worry about concurrency primitives like threads. Instead, we use abstractions to make our code easier to reason about. In JavaScript, a Promise is the most common abstraction we encounter. It is usually associated with an Ajax request. We often use abstractions to reason about our concurrent code, but those abstractions can apply in other situations, as well. High level user interactions are essentially large asynchronous events, and can be represented as such in code. Example: A video storefront Let's take a look at an example. We're working on a video store front. The user can buy videos, and play videos that they own. If they aren't signed in, they need to sign in to buy a video, and we'd like to use modal dialogs for the sign in and ...

Full article: http://robots.thoughtbot.com/using-javascript-promises-to...

Tweets

Using JavaScript Promises to Reason About User ...

robots.thoughtbot.com 11 Dec '13, 5pm

Using JavaScript Promises to Reason About User Interaction Sean Griffin December 11, 2013 javascript In functional program...

Using #get and its like in request specs is awe...

api.rubyonrails.org 15 Dec '13, 6pm

Performs a GET request with the given parameters. path : The URI (as a String ) on which you want to perform a GET request...

Promises, Promises

blogcrystal.com 22 Dec '13, 6pm

“Everyone talks about the weather, but nobody ever does anything about it.” –Warren Miller Praying for Snow It’s no secret...

the reason to set a goal is because of the pers...

nomeatathlete.com 14 Dec '13, 6pm

Matt, on July 13 my wife Stephanie (who, coincidentally is a professional coach and teaches and lectures about goal settin...

A 4chan user used Bitcoin to buy a $200,000 Lamborghini Gallardo:

A 4chan user used Bitcoin to buy a $200,000 Lam...

businessinsider.com 11 Dec '13, 11pm

Lamborghini An anonymous user used Bitcoin to buy a $209,995 Lamborghini Gallardo. For the second time in the past two wee...

Functional Programming Using F# and JavaScript - Electronic Design (blog)

Functional Programming Using F# and JavaScript ...

electronicdesign.com 09 Dec '13, 6pm

Anyway, but back to the book Functional JavaScript. The book does a very good job of presenting a number of very difficult...

Using XML Sitemaps To Determine Google Panda Penalized Categories

Using XML Sitemaps To Determine Google Panda Pe...

seroundtable.com 11 Dec '13, 4pm

A WebmasterWorld thread has discussion around how to determine which sections or categories of your web site are impacted ...

A new reason to love Paris in the Spring @LVMH

twitter.com 17 Dec '13, 12pm

To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content,...

Would you ever stop using shampoo?

Would you ever stop using shampoo?

treehugger.com 13 Dec '13, 1pm

Until recently, I’d never heard of the “No ‘Poo” method for washing hair. I had no idea that giving up shampoo altogether ...