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

RactAmp - RactiveJS components with AmpersandJS models

RactAmp - RactiveJS components with AmpersandJS models | JavaScript for Line of Business Applications | Scoop.it

As a performant view layer Ractive lets you decide how and by using which of the available "frameworks" you're gonna control backend logic. And as a "non-frameworky framework" AmpersandJS is an ideal choice to utilize only certain parts of a (probably) much bigger machinery to solve discrete problems.

No comment yet.
Scoop.it!

What's the difference between React and Ractive?

What's the difference between React and Ractive? | JavaScript for Line of Business Applications | Scoop.it

The most striking similarity was the use of a virtual DOM. Like Ractive, React had discovered that creating an abstract representation of the DOM allows for lightning-fast operations by minimising the amount of DOM manipulation (the bottleneck in most webapps) that needs to take place. It also facilitates server-side rendering without some of the crazy hacks users of other tools have had to employ.

Another was the focus on reactive programming. This is one of those phrases that threatens to become meaningless with overuse, but it's a useful concept. Put simply, in a reactive system where the value of bdepends on the value of a, if a changes then b will also change. Applied to user interfaces, that means that when your application state changes, your view also changes. With traditional MVC libraries you typically have to implement all your render logic manually and wire it up with a web of publish/subscribe events; with React and Ractive you're spared that (tedious, error-prone, hard-to-optimise) step when building your apps.

Finally, both libraries believe that the way to help developers build complex apps is to give them tools that encourage simplicity and composability and then get out of their way.

Having said all that, there are also some stark differences.

No comment yet.
Scoop.it!

Ractive.js Expressions and the New Wave of Reactive Programming

Ractive.js Expressions and the New Wave of Reactive Programming | JavaScript for Line of Business Applications | Scoop.it

Dedicated followers of JavaScript fashion will by now have noticed this season’s hot new trend. If you haven’t spotted it yet, here are a few projects sporting this style on the GitHub catwalk: React, Reactive.js, component/reactive and reactive.coffee

That’s right: reactive programming is the new black.

At a high level, the idea behind reactive programming is that changes in state propagate throughout a system. Put crudely, this means that in a reactive system where a = b * 2, whenever the value of b changes, the value of a will also change, rather than forever being equal to whatever b * 2 was at the time of the statement.

When we take this idea and apply it to user interfaces, we eliminate the DOM manipulation drudgery that dominates web developers’ lives.

Ractive.js is a new library initially developed to create interactive (hence the name – not to be confused with Reactive.js!) news applications at theguardian.com. It is designed to dramatically reduce the effort involved in creating web apps by embracing these principles.

No comment yet.
Scoop.it!

Ractive.js - next-generation DOM manipulation

Ractive.js - next-generation DOM manipulation | JavaScript for Line of Business Applications | Scoop.it

HTML is an amazing language for creating static documents, but it was never designed for interactive web apps. Many libraries try to get round HTML's limitations, but very few tackle them head on.

Ractive.js is different. It solves some of the biggest headaches in web development – data binding, efficient DOM updates, event handling – and does so with almost no learning curve. (Here's the 60 second setup).

How? By changing the relationship between HTML and JavaScript. Before, HTML was an inert substance that you would breathe life into. Now, it's a blueprint for an app that'sinteractive by default.

No comment yet.
Scoop.it!

S-exps in your browser

S-exps in your browser | JavaScript for Line of Business Applications | Scoop.it

Contents:

* The front end of the pool
Enter ClojureScript
Exit Om
ClojureScript: the bad
Mori + Sweet.js = Ki
JavaScript loaders
Source map support
Macro support and speed
Sprockets dependencies
Shameless plug

No comment yet.
Scoop.it!

Keeping your sanity with Ractive.js

Keeping your sanity with Ractive.js | JavaScript for Line of Business Applications | Scoop.it

One of the most frustrating parts of writing web apps is DOM manipulation and event handling. To demonstrate this, let's use this common scenario - we want to hide an element and show another one when a user click on the 'add-note' textbox.

We will look at two way of doing it - one with jQuery and the other with Ractive.js. At the end we'll talk a bit about Ractive.js and how it compares to AngularJS and Ember.js.

No comment yet.
Scoop.it!

Introducing Ractive.js: next-generation DOM manipulation

Introducing Ractive.js: next-generation DOM manipulation | JavaScript for Line of Business Applications | Scoop.it
The Guardian's interactive team introduce a new JavaScript tool for manipulating webpages

Developers might point you towards a framework for templateing, such as AngularJS or EmberJS. These frameworks do a lot of the heavy lifting for you, particularly as far as model-view data binding is concerned.

But these frameworks also have a cost - they tend to be fairly large, and once you've finished the 'hello world' tutorials they have steep learning curves. Particularly for smaller projects, it's often a case of using a sledgehammer to crack a nut.

Ractive was initially created to tackle the data binding problem in a more elegant way.

No comment yet.