JavaScript for Line of Business Applications
606.5K views | +9 today
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

Scoop.it!

Teach Yourself Node.JS in 10 Steps

Teach Yourself Node.JS in 10 Steps | JavaScript for Line of Business Applications | Scoop.it

I'm not sure anyone needs convincing that Node.JS is freaking awesome, little has been said otherwise. Many of the people reading this blog are already experienced Node developers, but maybe we could help newcomers ramp up as fast as the technology itself is ramping up.
If you are on the verge of trying something new, though, then this article has high hopes of you. I can personally guarantee you won't regret giving Node.JS a test drive.
I'll try to cover as much as possible, but this is meant to be just an overview. You have to explore by yourself; I'll give you the tools to do just that, forking off of what I've learned over the last year. JavaScript might be awesome, but Node is even more so. That rhymes.

 

No comment yet.
Scoop.it!

KnockoutJS vs. Silverlight

KnockoutJS vs. Silverlight | JavaScript for Line of Business Applications | Scoop.it
This article compares Silverlight and KnockoutJS by looking at the implementation of the same application with both frameworks and tries to answer the all-important question "which framework is best?
No comment yet.
Scoop.it!

ngInfiniteScroll - Infinite Scrolling for AngularJS

ngInfiniteScroll - Infinite Scrolling for AngularJS | JavaScript for Line of Business Applications | Scoop.it

ngInfiniteScroll is a directive that you can use to implement infinite scrolling in your AngularJSapplications. Simply declare which function to call when the user gets close to the bottom of the content with the directive and the module will take care of the rest. Of course, you can specify several options to ensure that the behavior is just what you're looking for.

Brian Petro's curator insight, July 12, 2013 1:54 PM

Infinite scrolling!

Scoop.it!

Getting Started With Google’s Dart Language

Getting Started With Google’s Dart Language | JavaScript for Line of Business Applications | Scoop.it
Want to get started with the Dart Language? In this quick tutorial, I show you how to get setup and create your first Dart web application.
No comment yet.
Scoop.it!

Wrapping a jQuery plugin with Ember.js Views

Wrapping a jQuery plugin with Ember.js Views | JavaScript for Line of Business Applications | Scoop.it

Whenever I'm working with Ember I often find myself wanting the functionality that a jQuery plugin provides. It may not be obvious, but we can wrap jQuery plugins inside of Ember views and use these plugins just like any other Ember view.

Here I'll be wrapping the PickADate jQuery plugin. This plugin allows you to attach to a text input field and whenever it is focused it shows a date popup for you to select. This Ember view will allow us to embed the PickADate view into our templates and bind the value selected to a property just like Ember.TextField does.

No comment yet.
Scoop.it!

Animation in AngularJS

Animation in AngularJS | JavaScript for Line of Business Applications | Scoop.it
AngularJS now provides full support for animations direct from it's core

There are three ways to perform animations in AngularJS: Using CSS3 Transitions, CSS3 Animations andusing JavaScript (these are referred to as CSS3-enabled and JavaScript-enabled animations). CSS3 transitions aremuch easier to use since they don't require any JavaScript code and JavaScript-enabled animations require you todefine an animation within your module (much like you would define a filter or a directive).

No comment yet.
Scoop.it!

Angular service or factory?

Angular service or factory? | JavaScript for Line of Business Applications | Scoop.it

In various AngularJS tutorials and documentation, the authors choose to useservice or factory but don't explain why you would use one or the other. Few mention that value and constant are also options.

Let's see why you would use one over the other. We should also understand how providers work:

 

If you want your function to be called like a normal function, use factory. If you want your function to be instantiated with the new operator, useservice. If you don't know the difference, use factory.

No comment yet.
Scoop.it!

Diving into Ember.js - Part 1

This article is a part of the tutorial on Ember.js framework. The goal is developing of the js application: neither too complex, nor too trivial. We are going to build it up from scratch, without using bootstrapping tools. Be free to look into the source code to feel the idea. Note: i’m going to create js application in the context of the Padrino; actually, only js files will matter by now. Let’s go!

No comment yet.
Scoop.it!

Building an Ember app with RailsAPI - in 3 parts

Building an Ember app with RailsAPI - in 3 parts | JavaScript for Line of Business Applications | Scoop.it

Part 1:

Lately I've been playing with Ember.js and I have really grown to love it. I get the same "AHA!" feeling I got building my first Rails app 7 years ago. Let's see how to build a simple CRUD app using the RailsAPI as the backend. We're going to build a new app and deploy to Heroku.

Part 2:

In this part I will go over building the Ember app from the perspective of a Rails developer. I will be making comparisons to where Ember resembles common patterns in Rails and even Ruby itself.

Part 3:

Today we're going to do some coding on the Rails side and the Ember side to add Creating, Updating, and Destroying records.

No comment yet.
Scoop.it!

Much Very Confused; Ember for the inappropriately experienced

Much Very Confused; Ember for the inappropriately experienced | JavaScript for Line of Business Applications | Scoop.it

Our preconceived notions of MVC can prevent us from understanding and taking full advantage of a framework such as Ember. I propose a better way to transfer knowledge from one framework to another.

This is the screencast version of a talk I gave at the June EmberATX meetup.

No comment yet.
Scoop.it!

Using PhantomJS to make your AJAX web applications crawlable by Google

Using PhantomJS to make your AJAX web applications crawlable by Google | JavaScript for Line of Business Applications | Scoop.it
JavaScript is playing a stellar role in web development; However, the indexing mechanisms behind search engines such as Google or Bing do not execute JavaScript.
No comment yet.
Scoop.it!

A re-introduction to JavaScript (JS Tutorial)

A re-introduction to JavaScript (JS Tutorial) | JavaScript for Line of Business Applications | Scoop.it
Why a re-introduction? Because JavaScript has a reasonable claim to being the world's most misunderstood programming language. While often derided as a toy, beneath its deceptive simplicity lie some powerful language features.
No comment yet.
Scoop.it!

Promises – an alternative way to approach asynchronous JavaScript

Promises – an alternative way to approach asynchronous JavaScript | JavaScript for Line of Business Applications | Scoop.it

Even if you’ve done very little JavaScript, you should be familiar with callbacks, which are used heavily for managing asynchronous operations in JavaScript. We’re going to look at an alternative way to handle such asychronous code by using Promises. The examples I’m going to cover are going to use Node.js, but the techniques and libraries involved work equally well for client side JavaScript too. And, you definitely don’t need be an expert on Node.js to follow this article.

No comment yet.
Scoop.it!

JavaScript, the winning style

JavaScript, the winning style | JavaScript for Line of Business Applications | Scoop.it
If your code is easy to read, there will be less bugs, any remaining bugs will be easier to debug and new coders will have a lower barrier to participate in your project.
No comment yet.
Scoop.it!

AngularJS Pain Points

AngularJS Pain Points | JavaScript for Line of Business Applications | Scoop.it

At first glance I was very impressed with Angular – the two-way binding removes the need for constantly updating the view and the scope objects makes for a clean separation between the controller and the view. There were other elements which were very appealing as well – a complete documentation site, a focus on testability, and a clean separation of concerns through built-in dependency injection. As I said, at first glance it definitely looks very impressive.

Now that I’m more familiar with AngularJS I am unfortunately less impressed. The framework is definitely powerful, but there are various factors which seem to make Angular more painful to work with than I thought would be the case. There are definitely some great features in the framework, but I definitely don’t think Angular is the clear winner in the JavaScript-framework-wars by any means.

No comment yet.
Scoop.it!

Ext JS 4: Preserving State on the Server

The goal of persisting state between sessions is to allow a user to return to a screen that they had previously customized. Ext JS 4 enables you to save the current state of windows, grids, and panels in a border layout.

Other Ext components can be extended to be state-aware for application specific uses.
Saving state information as browser cookies or into HTML5 localstorage is directly supported by Ext, however, the framework does not include a state provider for storing state information on an application server.

No comment yet.
Scoop.it!

JavaScript’s Apply, Call, and Bind Methods are Essential for JavaScript Professionals

Functions are objects in JavaScript, as we should know well by now, and as objects, functions have methods, including the powerful Apply, Call, and Bind methods. Apply and Call are nearly identical and they are used frequently in JavaScript for borrowing methods and explicitly setting the thisvalue. We also use Apply for variable-arity functions. We use Bind for setting the this value in methods, in addition for Function Currying.

We will discuss all the scenarios in which these 3 methods are most often used in JavaScript.

No comment yet.
Scoop.it!

Top 10 Ext JS Development Practices to Avoid

Top 10 Ext JS Development Practices to Avoid | JavaScript for Line of Business Applications | Scoop.it

At CNX, although most of our development work in the Ext JS space entails creating new apps from scratch, occasionally our clients ask us to look at some of their existing internal work to address performance issues, bugs and structural problems. Having worked in this capacity as “cleaners” for quite some time now, we’ve noticed a common set of ill-advised coding practices that tend to pop up rather often in the apps we’re investigating. Based on a review of our work over the last few years, we came up with this list of the top 10 development practices we recommend you avoid in your Ext JS apps.

No comment yet.
Scoop.it!

Working with Typed Arrays in Knockout.js

Working with Typed Arrays in Knockout.js | JavaScript for Line of Business Applications | Scoop.it

Knockout.js is a powerful JavaScript library, but there had always been this little hiccup that bothered me whenever I tried to do anything reasonably complex. Let me lay out a fairly common situation.

Let's say I have two different types of ViewModels which I have written using the Constructor pattern:...

No comment yet.
Scoop.it!

Angular injection

Angular injection | JavaScript for Line of Business Applications | Scoop.it

Dependency injection was one of AngularJS's first evil magicks I encountered. The idea that calling this function will magically reach out to the universe and grab the correct values for$scope and $http runs contrary to all the JavaScript I've ever used. You can't do that!

 

So I dug in to discover the magicks. And now it's not magic! It's great! It's rougly equivalent to import in Python or require in Ruby. Here's how it works:

No comment yet.
Scoop.it!

5 Useful Tips for Ember.js Developers

5 Useful Tips for Ember.js Developers | JavaScript for Line of Business Applications | Scoop.it

Ember.js is growing fast. As with any new technology, once you want to do something that is not covered in the guides, you are gonna have a google time.

Here are 5 things that I learned while building a real world application with Ember.js. Hope they will save you some time!

* Sorting an ArrayController
* Metamorphs breaking :last-child CSS selectors
* Using jQuery.timeago plugin Ember.js
* Toggling properties
* Integrating Ember.js with Rails Devise

No comment yet.
Scoop.it!

Random tricks when using AngularJS

Random tricks when using AngularJS | JavaScript for Line of Business Applications | Scoop.it

If you don’t know AngularJS, it is a very good Javascript library that allows you to easily build web applications. Here are some random useful tricks that I found for AngularJS users.

No comment yet.
Scoop.it!

JavaScript from Null: Video Series

JavaScript from Null: Video Series | JavaScript for Line of Business Applications | Scoop.it

Thanks to the wide adoption of libraries like jQuery and Mootools, JavaScript’s popularity has skyrocketed in the last few years. However, in the process, an interesting thing occurred: many newer developers are learning these libraries without taking the time to actually learn about raw JavaScript techniques. What percentage of jQuery users don’t know how to fade out an element with only raw JS? My guess is that it’s much higher than many would think.

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.
Scoop.it!

How to Unit Test Private Functions in JavaScript

How to Unit Test Private Functions in JavaScript | JavaScript for Line of Business Applications | Scoop.it

JavaScript's closures provide an excellent way to make variables and functions private, keeping them out of the global scope. This is particularly important in the browser because all scripts share the same scope, and it's quite easy to inadvertently pick a variable or function name used by another library.

The problem, however, is that when functions are hidden inside a closure, it's very difficult to test them.

No comment yet.