JavaScript for Line of Business Applications
596.1K views | +0 today
Follow
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...

Popular Tags - Filter using the Funnel

Current selected tag: 'WebWorker'. Clear
Scoop.it!

Totally Tooling Tips with Addy Osmani & Matt Gaunt - YouTube

In 'Totally Tooling Tips' web developers Matt and Addy discuss the latest topics, issues and work arounds for building apps and libraries to help mop up your Totally Tooling Tears.

No comment yet.
Scoop.it!

Barbaric Basics: Web Workers

Barbaric Basics: Web Workers | JavaScript for Line of Business Applications | Scoop.it

Web Workers allows you to spawn worker threads to run computation heavy pieces of javascript asynchronously and independently from your web application and the normal javascript runtime lifecycle. In practice, you will instantiate a WebWorker from your website and communicate with it back and forth through messages.

No comment yet.
Scoop.it!

Multithread.js : In-browser multithreading made easy

Run any business logic you like without interrupting the user experience.

Multithread is a simple wrapper that eliminates the hassle of dealing with Web Workers and transferrable objects.

Run any code you'd like asynchronously, in its own thread, without interrupting the user experience.

No comment yet.
Scoop.it!

Web Workers are slower and that’s OK.

Web Workers are slower and that’s OK. | JavaScript for Line of Business Applications | Scoop.it

Workers in JavaScript are for running things in parallel, everyone knows that parallelism is how you make stuff Fast these days, therefore I can write a version of map that distributes the workload over 4 workers and it will be 4 times as fast as the regular map right?

Sorry to burst your bubble but no you probably can’t.  While your 4 worker version is going to be faster than one with 1 or 2 workers It’s going to be a lot slower than the native map method (which in fairness is going to be much slower than doing a for loop, but that’s a whole different thing).

No comment yet.
Scoop.it!

High-performance Web Worker messages

High-performance Web Worker messages | JavaScript for Line of Business Applications | Scoop.it
In recent posts and talks, I've explored how Web Workers can vastly improve the responsiveness of a web application, by moving work off the UI thread and thereby reducing DOM-blocking. In this post, I'll delve a bit more deeply into the performance characteristics of postMessage(), which is the primary interface for communicating with Web Workers.…
No comment yet.
Scoop.it!

An Ember.js plugin proving integration with Parallel.js

An Ember.js plugin proving integration with Parallel.js | JavaScript for Line of Business Applications | Scoop.it

his plugin allows you to run code inside web workers in the browser (i.e. in background threads) and access the results easily within your ember app. This is particularly useful when you're dealing with large quantities of data, or computationally expensive algorithms within your app that would otherwise lock up the browser for a period of time.

No comment yet.
Scoop.it!

Communist! A JavaScript Library for workers

A JavaScript library all about workers. Workers should make your life easier not harder and with communistjs launching a new worker is as simple as calling a function, and it works the same across all (modern) browsers.

No comment yet.
Scoop.it!

Concurrency in JavaScript

Concurrency in JavaScript | JavaScript for Line of Business Applications | Scoop.it

Just like with Flash, JavaScript code runs by default on the UI thread, and any expensive JavaScript computation will usually affect the UI responsiveness. As you may know, at 60 fps, you have around 16ms per frame to do what you have to do (computations, rendering and other misc logic). If you exceed that budget, you will alter the frame rate and potentially make your content feel sluggish or worse, unresponsive.

Web Workers are now broadly available in most browsers even on mobile  and give you the power of concurrency from within JavaScript. It will allow you to move expensive computations to other threads, to permit best responsive programming, and ideally open the doors in the future to true parallelization in JavaScript. Let’s have a look at the reasons why you may be interested into leveraging Web Workers.

No comment yet.