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: 'algorithm'. Clear
Scoop.it!

Start using closures with your AngularJS, EmberJS code, and other JavaScript.

Start using closures with your AngularJS, EmberJS code, and other JavaScript. | JavaScript for Line of Business Applications | Scoop.it

Closures are one of the most powerful tools in JavaScript; they can help you write faster, cleaner, and safer code. No matter if you are using AngularJS, EmberJS, JQuery or another framework, closures are an invaluable tool you should be taking advantage of. Lets review the how and why of closures, and give you some examples to play with on your own.

No comment yet.
Scoop.it!

VisuAlgo - visualising data structures and algorithms through animation

VisuAlgo - visualising data structures and algorithms through animation | JavaScript for Line of Business Applications | Scoop.it

isuAlgo is an ongoing project, and more complex visualisations are still being developed.
The most exciting new development is an automated question generator and verifier (the online quiz system) that allows student to test their knowledge of basic data structures and algorithms.

To try this online quiz feature, click the "Start training!" button on the top right corner of this page. 

No comment yet.
Scoop.it!

Machine Learning in Javascript

I love machine learning algorithms. I’ve taught classes and seminars and given talks on ML. The subject is fascinating to me, but like all skills fascination simply isn’t enough. To get good at something, you need to practice!

Through this series of articles, I’ll teach you the fundamental machine learning algorithms using Javascript — not Python or Octave — as the example language. Originally I intended to write these articles in a variety of languages (PHP, JS, Perl, C, Ruby), but decided to stick with Javascript for the following reasons:

  • If you’re a web developer you probably already know JS, regardless of your backend expertise.
  • Javascript has JSFiddle, a great tool that lets me embed executable Javascript right in my posts (hard to do that with C or Perl!)
  • Several people asked me to stick to just one language.

While I’ll be writing these articles with Javascript in mind, please re-write the examples in your language of choice as homework! Practice is how you get better, and writing the same algorithm several times in different languages really helps you understand the paradigms better.

No comment yet.
Scoop.it!

Crossfilter - Fast Multidimensional Filtering for Coordinated Views

Crossfilter - Fast Multidimensional Filtering for Coordinated Views | JavaScript for Line of Business Applications | Scoop.it

Crossfilter is a JavaScript library for exploring large multivariate datasets in the browser. Crossfilter supports extremely fast (<30ms) interaction with coordinated views, even with datasets containing a million or more records; we built it to power analytics for Square Register, allowing merchants to slice and dice their payment history fluidly.

Since most interactions only involve a single dimension, and then only small adjustments are made to the filter values, incremental filtering and reducing is significantly faster than starting from scratch. Crossfilter uses sorted indexes (and a few bit-twiddling hacks) to make this possible, dramatically increasing the perfor­mance of live histograms and top-K lists. For more details on how Crossfilter works, see the API reference.

No comment yet.
Scoop.it!

Taming the Asynchronous Beast with CSP in JavaScript

Taming the Asynchronous Beast with CSP in JavaScript | JavaScript for Line of Business Applications | Scoop.it

I think things can be simplified to a single abstraction since the underlying problem to all of this is the same. I present to you CSP and the concept of channels. CSP has been highly influential in Go and recently Clojure embraced it as well with core.async. There's even a C version. It's safe to say that it's becoming quite popular (and validated) and I think we need to try it out in JavaScript. I'm not going to spend time comparing it with every other solution (promises, FRP) because it would take too long and only incite remarks about how I wasn't using it right. I hope my examples do a good enough job convincing you themselves.

Jan Hesse's insight:

Communicating sequential processes

No comment yet.
Scoop.it!

5 ways to add machine learning to Java, JavaScript, and more

5 ways to add machine learning to Java, JavaScript, and more | JavaScript for Line of Business Applications | Scoop.it
The pressure is on to harness machine learning for more responsive enterprise apps. So find the open source tool that works best for your programming style and architecture.
No comment yet.
Scoop.it!

Creating a Realistic Rain Effect with Canvas and JavaScript

Creating a Realistic Rain Effect with Canvas and JavaScript | JavaScript for Line of Business Applications | Scoop.it

I recently released a fun project called rainyday.js. I consider it a rather humble piece of code and, in fact, it is more or less my first contact with JavaScript on a level that requires a little more than displaying alert popups. Hopefully, some of you will find it useful and interesting.

The idea behind rainyday.js is to create a light JavaScript library that makes use of the HTML5 canvas to render an animation of raindrops falling on a glass surface. Simple enough, yet challenging at times, especially since we’re trying to avoid that cartoonish look usually attributed to JavaScript animations and at the same time make sure the animations work smoothly.

In this article I’ll try to describe the overall approach as well as the “little things”, so bare with me.

The animation uses three different canvas objects in order to achieve the layering effect, as can be seen on the figure below...

No comment yet.