concurrency through evented programming
193 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by Nitin Gupta from Software Development Hub
Scoop.it!

The art of the JavaScript Metaobject Protocol

The Art of the JavaScript Metaobject Protocol

Via Srdjan Strbanovic
more...
No comment yet.
Rescooped by Nitin Gupta from JavaScript for Line of Business Applications
Scoop.it!

How about a NoSQL database for your front-end?!

How about a NoSQL database for your front-end?! | concurrency through evented programming | Scoop.it

In my working on various front-end systems over the years, one thing that I have continually found painful is trying to manage data. Shoving it in some random location, calling the server relentlessly, keeping state where I need not, storing it in DOM — gross. And as web applications continually get beefier and users expect more responsive, awesome interactivity, the front-end has had to take on more of the workload in working with data. Thanks to HTML5 we have the rather awesome localStorage, but I, personally, find the API to not be really ultra sweet, and what they do give us seems a little under powered, IMHO. I also find that this is not an uncommon issue and in managing data on the front-end numerous developers end up creating a bunch of boiler plate and state management all over their code and it gets messy, painful to look at, and even more painful to manage.


Via Jan Hesse
more...
No comment yet.
Rescooped by Nitin Gupta from JavaScript for Line of Business Applications
Scoop.it!

Facebook: MVC Does Not Scale, Use Flux Instead

Facebook: MVC Does Not Scale, Use Flux Instead | concurrency through evented programming | Scoop.it

Facebook came to the conclusion that MVC does not scale up for their needs and has decided to use a different pattern instead: Flux.

The complexity of the system went exponential every time they attempted to add a new feature making the code “fragile and unpredictable.” This was becoming a serious problem for developers new to a certain codebase because they were afraid to touch the code lest they might break something. The result was MVC was falling apart for Facebook.

A fix for this problem required to “structure the code in a way that makes it more predictable.” This has been done with Flux and React. Flux is a system architecture that promotes single directional data flow through an application. According to Occhino, React is a JavaScript framework for building “predictable” and “declarative” web user interfaces that has enabled Facebook to move faster in developing web applications.


Via Jan Hesse
more...
Rescooped by Nitin Gupta from JavaScript for Line of Business Applications
Scoop.it!

Keep Your Single-page Application Codebase Separate

Keep Your Single-page Application Codebase Separate | concurrency through evented programming | Scoop.it

These days, we believe in a principle that guides our whole approach to building modern applications: Build a REST API backend, then treat your Single Page Application just like any other client, with a separate codebase and separate server.

This blog post explains, at a high level, how our server architecture looks, and the reasoning behind it.


Via Jan Hesse
more...
No comment yet.
Rescooped by Nitin Gupta from Software Development Hub
Scoop.it!

Distributed Systems and the End of the API

Distributed Systems and the End of the API | concurrency through evented programming | Scoop.it
This is a written (expanded) narrative of the content from a talk I first gave at PhillyETE on April 23rd, 2014. It mostly follows the flow of the presentation given then, but with a level of detai...

Via Srdjan Strbanovic
more...
No comment yet.
Rescooped by Nitin Gupta from javascript.js
Scoop.it!

Pitfalls in Large-Scale Application Development on Node.js

Pitfalls in Large-Scale Application Development on Node.js | concurrency through evented programming | Scoop.it
Pitfalls in Large-Scale Application Development on Node.js Node.js based development tips

Via NodeJS-News.com
more...
No comment yet.
Rescooped by Nitin Gupta from Nodejs-code
Scoop.it!

NodeJS: Simple Clustering Benchmark

If you are interested in node, you know that NodeJS uses an event driven I/O model and it is single threaded, so it is not meant to be working multi-core. However, by using the clustering support, ...

Via nodejs-code
more...
No comment yet.
Rescooped by Nitin Gupta from nodejs
Scoop.it!

Nodejs and a simple push notification server

Hey dudes, In this post I will show you how to create a simple push notification server using nodejs and socket.io.

Via Nicolas Clerc, Mark Manley, ppattern
more...
No comment yet.
Rescooped by Nitin Gupta from JavaScript for Line of Business Applications
Scoop.it!

Reusing require.js modules in Node.js

Reusing require.js modules in Node.js | concurrency through evented programming | Scoop.it
A tutorial on how to reuse require.js AMD modules directly in Node.js at the same time as using the standard Node's modules using AMDrequire library.

Via Jan Hesse
more...
No comment yet.
Rescooped by Nitin Gupta from JavaScript for Line of Business Applications
Scoop.it!

Creating a simple CRUD HTTP API using KoaJS

In this screencast I'm creating a very basic CRUD Api using Koa Js. I have created a couple of tests that we use to see how the API is supposed to be used and that drives us through the screencast. 
We will also talk very shortly about generators, a new feature in Javascript that is coming soon and that KoaJs is using extensively.


Via Jan Hesse
more...
No comment yet.
Rescooped by Nitin Gupta from JavaScript for Line of Business Applications
Scoop.it!

Writing Node.js Modules Video Tutorial

In this course, Jack Franklin will teach you how to build NodeJS modules, both for your own internal, as well as for others to make use of. You'll learn how to structure Node modules, use npm, manage module dependencies, and so much more.


Via Jan Hesse
more...
No comment yet.
Rescooped by Nitin Gupta from Software Development Made Simple
Scoop.it!

Visualize Data Beautifully With Chart.js Library

Visualize Data Beautifully With Chart.js Library | concurrency through evented programming | Scoop.it
Learn how to create charts without using Photoshop or Illustrator. This tutorial is about creating charts using the Chart.js library.

Via Arthur Minduca
more...
No comment yet.
Rescooped by Nitin Gupta from Nodejs-code
Scoop.it!

NodeJS Callback Conventions and Your App

NodeJS Callback Conventions and Your App | concurrency through evented programming | Scoop.it

NodeJS has a pretty specific convention when implementing callbacks in modules - function(err,result). Does this always make sense?


Via nodejs-code
more...
No comment yet.
Rescooped by Nitin Gupta from webDev stuff
Scoop.it!

Cluster - extensible multi-core server management for nodejs

ShareJS is an Operational Transform library for NodeJS & browsers. It lets you easily do live concurrent editing in your app.


Via Nicolas Clerc, Mark Manley
more...
No comment yet.