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

ECMAScript Internationalization API

ECMAScript Internationalization API | JavaScript for Line of Business Applications | Scoop.it

If you have ever tried to write an application that supports multiple languages, I’m sure you will agree that it can be a complicated process. While there are obvious issues, such as translating the text, there are also differing conventions between countries on how things like dates and numbers are formatted, or how letters are sorted. Even just between the different versions of English, there are issues that crop up, such as how being British, I may understand the date 10/07/2013 differently than my American colleagues.

 

It is these latter cases that the ECMAScript Internationalization APIaims to address. It is a companion spec to ES5.1 and above, that adds language sensitive functionality to JavaScript. It is influenced by established internationalisation APIs in Java and .NET.

The three areas that the current version one of the spec handles are strings, numbers, and dates. It does this by making a number of existing methods of the String, Number, and Date objects locale aware (that is, you can pass in a locale as an argument), and providing anIntl object that provides further localisation functionality.

No comment yet.
Scoop.it!

Designing APIs for Asynchrony

Designing APIs for Asynchrony | JavaScript for Line of Business Applications | Scoop.it

Personally, I don’t actually care all that much about the whole promises/callbacks/coroutines/generators debate. It’s provably trivial to turn any callback-taking API into a promise-returning API or generator-yielding API or vice-versa.

I’m of the opinion that breaking functionality into small enough chunks that your boilerplate doesn’t matter is much more important than which boilerplate you decide tastes the yummiest. In JavaScript, we have first-class language support for passing functions around, so I tend to use callbacks, simply because it requires no extra “stuff”.

What’s important to me is that an API be useful, performant, and easy to reason about. When I’m writing JavaScript, I care a lot about how V8 is going to optimize it, and so try to choose patterns that it can optimize nicely. As of today, generators just aren’t first-class enough, and Promises require an extra abstraction. That may change someday, but these principles probably will not.

No comment yet.
Scoop.it!

Meteor.js with Matt Debergalis

Open-source and written entierly in JavaScript, Meteor hopes to change the way web apps are written.

Through features like live page updating and hot code pushing, they want to make web development on the client and in the cloud at the same time a possibility. In this talk at HTML5 Dev Conf 3, Matt Debergalis talks about how Meteor came to be, and breaks down some of the inner workings of their product's simultaneous development abilites.

No comment yet.
Scoop.it!

Radically faster web development -- Meteor after one year

Meteor is a new development platform that makes it dramatically faster to write rich web applications in pure JavaScript. In this talk from HTML5DevConf, Matt DeBergails, founder of Meteor asks, "how do we build this new style of application that's just fundamentally different than the tooling, and the practices that we've learned over the last ten years building for a server-centric environment?"

Matt will address some of the challenges associated with building client-side apps, and how Meteor's packages work together to create an exceptional development experience.

Scoop.it!

Best Learning Resources for Meteor.js

Best Learning Resources for Meteor.js | JavaScript for Line of Business Applications | Scoop.it

Meteor.js is an open-source platform built on node.js for building web apps quite rapidly. It is designed to allow programmers to create applications in a modern fashion, using up-to-date paradigms. If you’re interested to know what features will be available when, have a look at the Meteor Roadmap.

In the meantime, if you want to learn more about developing applications using JavaScript and Meteor, here’s a short compilations of things I found helpful to jumpstart.

Once you know JavaScript basics you can dive into Meteor. Since the aim of Meteor.js is to radically simplify app development, you will very quickly be able to see good results.


Outline:

* Why Meteor?
* JavaScript
* General Meteor Resources
* Tutorials
* Code Examples
* Testing and Debugging
* Ready for Production
* Keep up to date
* Books
* Built with Meteor
* Know more? Did I miss some interesting resource?

Jan Hesse's insight:

An extensive curated List of learning material and HowTos

No comment yet.
Scoop.it!

Comment by Tom Dale on: Why Angularjs Beat Out Emberjs In Our Stack

Comment by Tom Dale on: Why Angularjs Beat Out Emberjs In Our Stack | JavaScript for Line of Business Applications | Scoop.it

You guys have been using Angular for six weeks. You are still in the sipping phase. I think it's awesome that you guys are excited, but you have not yet built enough to run into the deficiencies in the framework.

I'll tell you what I see in all of the Angular apps I've been looking at:

* Put it on $scope is the new global window

* Their "dependency injection" makes you feel good about doing bad things

* Totally Inscrutable APIs


Long story short: Humans are notorious for making decisions that are good in the short term but disastrous in the long term. Ember.js not only helps you write better architected apps, it helps you do so with less code. There is a lot of misinformation going around—check it out for yourself!

No comment yet.
Scoop.it!

Webcam directive for AngularJS apps

Webcam directive for AngularJS apps | JavaScript for Line of Business Applications | Scoop.it

Imagine being able to show the data of the webcam of an user by using this simple HTML tag:

 <webcam></webcam>

Well, now you can!
Take a look at some demos and download it and see for yourself.

 

It is a module for angularjs that consists of only one directive, webcam.
It gives you a new element tag that can be used to access the user camera on browsers that implement the getUserMedia specification.

No comment yet.
Scoop.it!

Node.js: Creating a Bi-directional RPC Stream over a Websocket

Node.js: Creating a Bi-directional RPC Stream over a Websocket | JavaScript for Line of Business Applications | Scoop.it

For many years, the Remote Procedure Call (RPC) has been one of the most used means of making nodes talk to each other. In RPC there are two intervenients: the server, which hosts a series of procedures, and a client, which calls these procedures. In most RPC implementations, the client calls these procedures as if it was doing local calls, making the code look natural.

In Node.js with the browser you can use this module named rpc-stream to create a RPC channel between a server and a client. You can also make two of these channels on top of a duplex channel (like a sock.js websocket stream) to make the calls bi-directional: not only can the browser invoke procedures on the server, the server can also invoke procedures on the client by its own initiative.

In this post, we’re going to take the To-do application example we built in the previous post and modify it so that it uses an RPC Stream instead of an Event Stream.

Simon Hunanyan's curator insight, August 31, 2013 2:49 AM

SocketStream is a new breed of web framework that uses websockets to push data to the browser in 'realtime'. It makes it easy to create blazing-fast, rich interfaces which behave more like desktop apps than traditional web apps of the past.

Scoop.it!

Get Angular, Durandal, and JavaScript Templates with SideWaffle

Get Angular, Durandal, and JavaScript Templates with SideWaffle | JavaScript for Line of Business Applications | Scoop.it

Hungry for some file templates to get you started in the morning? Well now you can fill up on a set of web template packs for Visual Studio 2012 and 2013. SideWaffle is an open source project that creates a Visual Studio extension containing a set of file templates you can use for web projects.
SideWaffle currently has several templates including 10 I contributed for Angular, Durandal, and creating a JavaScript IIFE. One of the best parts is that SideWaffle will be frequently updated with new and useful templates (they do check for high quality templates). I expect that in the near term we’ll see a lot of additions.
* Angular Controller (using Controller As syntax)
* Angular Controller (using $scope)
* Angular Directive (creates a skeleton for a directive)
* Angular Factory (great for data, logging, and other services)
* Angular Module (sets up a module)
* Durandal ViewModel
* Durandal Service
* Durandal main.js (common creation syntax for kicking off Durandal)
* JavaScript IIFE (Basic IIFE using vanilla.js)
I use the Angular templates in my upcoming course at Pluralsight on using Angular and Breeze to build a powerful SPA.

No comment yet.
Scoop.it!

JumpStart AngularJs

JumpStart AngularJs | JavaScript for Line of Business Applications | Scoop.it

This is a basic tutorial series to introduce Angular Js capabilities to absolute beginners. We will build a sample ELibrary module using angular through out the course. For advance users i will post a different series.

* BootStrap Application

* Model Binding

* Data Filters

No comment yet.
Scoop.it!

Modern JavaScript: Promises/A+ - understanding the spec through implementation

Modern JavaScript: Promises/A+ - understanding the spec through implementation | JavaScript for Line of Business Applications | Scoop.it

What we're going to do is create a promises/A+ implementation based on http://promises-aplus.github.io/promises-spec/. By doing this hopefully we'll get a deeper understanding of just how promises work.

according to the terminology a value can be anything including undefined and a reason is any value that indicates why a promise was rejected. That last definition is a little blurry - can "undefined" indicate why something was rejected? I'm going to say no and only accept non-null values. If anything doesn't work then I'll throw an error.

No comment yet.
Scoop.it!

Knockout.JS and Model-View-View Model (MVVM) Pattern

Knockout.JS and Model-View-View Model (MVVM) Pattern | JavaScript for Line of Business Applications | Scoop.it

Knockout.js is a javascript library that helps us to create rich and responsive use interfaces with a clean data model.

Knockout.js simplifies javascript UIs by applying the MVVM pattern.

 

In recent years, MVVM has been implemented in JavaScript in the form of structural frameworks such as KnockoutJS, Kendo MVVM and Knockback.js.

Model-View-View Model (MVVM) is a design pattern to clearly separate the development of user-interfaces from the business logic and behavior in an application.

No comment yet.
Scoop.it!

Brick by Mozilla

Brick by Mozilla | JavaScript for Line of Business Applications | Scoop.it

About a week or so ago, Mozilla announced the release of Brick. Brick is a set of components based on the W3C standard for Web Components. It is essentially a way to create your own HTML tags and have them rendered out on the client. Anyone who has ever downloaded a UI library knows that there is a strong need for this. Imagine a developer who does not have good JavaScript experience. Instead of having to learn something like jQuery UI to add tabs to their application they can simply include a library and use tags to write out their HTML. We aren't quite there yet but it's approaching.

No comment yet.
Scoop.it!

Introducing ESLint

A long time ago, JSLint was the state of the art in JavaScript linting technology. Then JSHint came along as a fork and took over due to increased flexibility. I welcomed JSHint as my linter of choice and used it everywhere, happily submitting patches and customizing which rules to apply based on the project. At some point I started to feel stifled and frustrated by JSHint as well. There’s no easy way to add additional rules or to create your own that may be project-specific.

After talking with Anton about the possibilities available with JSHint, we both came to the conclusion that it wouldn’t be possible to do what I wanted. I really wanted an AST to evaluate for context and to be able to dynamically plug in new rules at any time, including run time.

ESLint is a JavaScript linting tool built on top of Esprima. The goal of the project is to create a linting tool where all rules are pluggable. This is achieved by having one rule per file and allowing each rules to inspect the AST at the points it wants.

No comment yet.
Scoop.it!

Using Meteor as frontend library!

Using Meteor as frontend library! | JavaScript for Line of Business Applications | Scoop.it

Meteor is awesome, i loved it immediately as i saw the video. The way you can build one page apps is absolutely intuitive. I struggled with Ember.js, Backbone.js and AngularJS (which clutter the HTML too much), but Meteor really got it, in my opinion.

The problem with Meteor is that it forces you to use the full-stack. Natively there is currently no easy way to separate the frontend from the server in Meteor.

As i’m using Meteor to build the awesome TunedIn WebApp and we have already an existing API, i was in the need to split Meteor. Out of any need comes a solution so i wrote a grunt script which takes care of this automatically.

No comment yet.
Scoop.it!

SOARING WITH METEOR.JS

SOARING WITH METEOR.JS | JavaScript for Line of Business Applications | Scoop.it

Out of the box, Meteor utilizes MongoDB for databases, Node.js for the server, Handlebars.js for templating, the Meteor class for awesomeness, and vanilla JavaScript for everything else. These tools make Meteor unique because it enables reactivity with two way databinding, synchronization with hot-code-pushes, responsiveness with latency compensation, and functions with vanilla JavaScript from end-to-end.

There may be two audiences reading this, so I’ll describe each of my favorite Meteor.js features with this in mind.

* TWO WAY DATA-BINDING IN METEOR.JS

* HOT CODE PUSHES

* LATENCY COMPENSATION

No comment yet.
Scoop.it!

EventedMind - teaching you to be reactive with Meteor

EventedMind - teaching you to be reactive with Meteor | JavaScript for Line of Business Applications | Scoop.it

EventedMind is a place dedicated to learning. Sometimes I'm learning the material along with you, and sharing as I go. Other times, I'm teaching from experience. And sometimes, I'm learning and teaching by experimenting with or creating new projects. In the future, I hope to cover projects and Meteor packages that other people have created as well.

No comment yet.
Scoop.it!

Discover Meteor

Discover Meteor | JavaScript for Line of Business Applications | Scoop.it

Meteor is at the forefront of a new wave of frameworks that make building web apps easier, simpler, and faster.

Not only is Meteor entirely real-time (meaning any change to your database is automatically reflected live in the browser), but the fact that it uses JavaScript on both the client and servermeans that you won't have to juggle with multiple languages and environments anymore.

No matter your programming experience, by following our step-by-step instructions you'll be able to get your own Meteor app up and running in a matter of days!

What we are building in this tutorial is a real-time social news app, complete with posting, voting and commenting.

Jan Hesse's comment, August 28, 2013 3:51 PM
http://www.youtube.com/watch?v=2ntHe1UW1QI
Jan Hesse's comment, August 28, 2013 3:51 PM
Sacha Greif and Tom Coleman give a talk during the Discover Meteor Book Release Party on May 6, 2013, with an introduction by Meteor cofounder Matt DeBergali
Scoop.it!

Structuring Applications with JavaScript, Backbone and WordPress

Structuring Applications with JavaScript, Backbone and WordPress | JavaScript for Line of Business Applications | Scoop.it
A talk on using Backbone to structure your JavaScript code within WordPress themes and plugins, delivered at WordCamp Chicago in June 2013
No comment yet.
Scoop.it!

Understanding Scope and Context in JavaScript

Understanding Scope and Context in JavaScript | JavaScript for Line of Business Applications | Scoop.it

JavaScript’s implementation of scope and context is a unique feature of the language, in part because it is so flexible. Functions can be adopted for various contexts and scope can be encapsulated and preserved. These concepts are behind some of the most powerful design patterns JavaScript has to offer. However, this is also a tremendous source of confusion amongst developers, and for good reason. The following is a comprehensive explanation of scope and context in JavaScript, the difference between them, and how various design patterns make use of them.

No comment yet.
Scoop.it!

Docular

Docular | JavaScript for Line of Business Applications | Scoop.it
Similar to JSDoc and YUIDoc, Docular provides documentation generation. Docular and the grunt-docular plugin leverage the AngularJS documentation generation implementation.

performs documentation generation based on AngularJS's documentation generation implementation.

Docular will parse, manipulate, and render documentation embedded within yoru script files or within standlone non-script fiels. The documentation can be viewed within a webapp through NodeJS or can be moved to the root of an apache server.

No comment yet.
Scoop.it!

angular-cache

angular-cache | JavaScript for Line of Business Applications | Scoop.it
angular-cache is a very useful replacement for Angular's $cacheFactory.

angular-cache is a caching system that improves upon the capabilities of the $cacheFactory provided by AngularJS. Check out the demo for a quick introduction, or continue on down for more detailed information.

The goal of the project is to solve a general problem, not satisfy a specific scenario.

No comment yet.
Scoop.it!

Web Components Resources

* Specs / standardization
* Implementation / status
* Articles
* Presentations
* Libraries & polyfills
* Element registries
* People / Social

No comment yet.
Scoop.it!

Node.js and JavaScript coding and development guidelines

Two years ago I wrote about “How to get started with Node.js”: I think most of the information there are still valid… even the book Node.js in Action is still a MEAP (this time planned for release this month, August 2013).

This summer I’m planning on revising, during my holidays, the architecture of OpenROV, and given the huge number of people that are starting to use it, I want to inject" a bit more of “better ALM” in the mix, so I started to look around for coding conventions, development guidelines and how to do unit testing, continuous integration, build and so on: this post is a collection of some link that I found useful.

* Coding and development guidelines

* Testing framework

* CI and build

* Deployment

No comment yet.
Scoop.it!

Knockout Validation with Durandal JS Single Page Application Framework

I have seen issues people have been having with knockout validation and integrating it into a Durandal SPA scenario.

This video assumes you know some basics about Durandal and javascript structure (e.g. revealing module pattern).

No comment yet.