JavaScript for Line of Business Applications
596.5K views | +1 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: 'javascript'. Clear
Scoop.it!

Api's and ember js

This is my #MagmaConf presentation, I talk about API's, Ruby on Rails and EmberJS
Jan Hesse's insight:

REST, CRUD, Versioning, Solr, Serializers

No comment yet.
Scoop.it!

Advanced Unit Testing Techniques in JavaScript

Advanced Unit Testing Techniques in JavaScript | JavaScript for Line of Business Applications | Scoop.it

By now, everyone knows about Test-Driven Development and unit testing. But are you using the testing frameworks to their fullest?

In this tutorial, I’ll introduce you to some of the more advanced techniques available to you.

As this tutorial will cover some advanced topics, I assume you’ve already created unit tests before and are familiar with the basics and its terminology. If not, here’s an excellent article to you get started: TDD Terminology Simplified.

We’ll be using SinonJS. This is a standalone framework which provides an API for mocks, stubs, spies and more. You can use it with any testing framework of your choosing, but for this tutorial, we’ll be using BusterJS, as it ships with SinonJS built-in.

No comment yet.
Scoop.it!

The race for speed part 2: How JavaScript compilers work

The race for speed part 2: How JavaScript compilers work | JavaScript for Line of Business Applications | Scoop.it

When we talk about a JavaScript engine what we’re usually referring to is the compiler; a program that takes human-readable source code (in our case JavaScript) and from it generates machine-readable instructions for your computer. If you haven’t considered what happens to your code when it runs this can all sound rather magical and clever but it’s essentially a translation exercise. Making that code run fast is what’s clever.

No comment yet.
Scoop.it!

6 Examples of Hard to Test JavaScript

6 Examples of Hard to Test JavaScript | JavaScript for Line of Business Applications | Scoop.it

The following content comes from the second module of my Pluralsight course entitled: Front-End First: Testing and Prototyping JavaScript Apps. The rest of the course covers an introduction to Unit Testing,Mocha (a JavaScript test runner), Grunt (a JavaScript task runner),Sinon.js (a mocking and spying library), Mockjax (a way to mock Ajax requests), mockJSON (a way to generate semi-random complex objects for prototyping), and more.

No comment yet.
Scoop.it!

Building The New Financial Times Web App (A Case Study)

Building The New Financial Times Web App (A Case Study) | JavaScript for Line of Business Applications | Scoop.it
In this article, Wilson Page provides you an insight in the process of building the new Financial Times Web app. and discusses some of the changes made in the latest release and the decision-making behind them.
No comment yet.
Scoop.it!

The future is written in Javascript

There are a lot of programming languages, but there is only one that runs in your web browser, and that’s Javascript. Ruby, Java, C#, Python, PHP and dozens more are used to write software for the web but in the end they all produce HTML and Javascript, and HTML is not a programming language. That means that there’s only one programming language for the web, and that’s Javascript.

If you’re writing software for the web, you’re programming in Javascript, it’s just a matter of how many layers of “comfort zone” there is between you and your application.

Rohit Ranjan's curator insight, July 3, 2013 1:57 PM

looks interesting

Scoop.it!

Designing Better JavaScript APIs

Designing Better JavaScript APIs | JavaScript for Line of Business Applications | Scoop.it
This article focuses on how to make your code accessible to other developers and how to design JavaScript APIs that developers will love using.

 

 

 

 

TABLE OF CONTENTS

* Fluent Interface

* Consistency

* Handling Arguments

* Extensibility

* Hooks

* Generating Accessors

* The Reference Horror

* The Continuation Problem

* Handling Errors

* Going Asynchronous

* Debugging Fluent Interfaces

* Documenting APIs

* Conclusion

No comment yet.
Scoop.it!

Doing without jQuery

JavaScript equivalent to jQuery basics

... because loading 92Ko of jQuery to use less than 2% of it kind of sucks. Mostly inspired by Doing without jQuery and From jQuery to JavaScript: A Reference.

* Selectors

* Attributes

* Styles

* Events

* Others

No comment yet.
Scoop.it!

Unit Testing JavaScript with Venus.js

Unit Testing JavaScript with Venus.js | JavaScript for Line of Business Applications | Scoop.it

Venus.js in an open source software testing tool developed by LinkedIn that allows you to organize and run your entire JS testing system with a single tool using Node.js. Venus eliminates repetitive tasks and friction points and lets you focus on writing tests instead of running them.

No comment yet.
Scoop.it!

Adding Support for Search Engines to your Javascript Applications

Adding Support for Search Engines to your Javascript Applications | JavaScript for Line of Business Applications | Scoop.it

It’s a myth that if you use a client side MVC framework that your application’s content cannot be indexed by search engines.

Search engine visibility does, however, require a little more work to implement. This is a real trade off you’ll have to consider before you decide to go with an MVC framework instead of an application that does its rendering on the server side.

Before you get scared off: I’d like to point out that our search engine code was done by Sam Saffron in a day! This extra work might take you less time than you thought.


No comment yet.
Scoop.it!

10 Useful and Time Saving JavaScript Snippets

10 Useful and Time Saving JavaScript Snippets | JavaScript for Line of Business Applications | Scoop.it
JavaScript evolves at a really fast pace. With such a big wave of fresh JavaScript technology splashing the web everyday it's a daunting task to keep up to date with all of it.
Jan Hesse's insight:

JavaScript evolves at a really fast pace. With such a big wave of fresh JavaScript technology splashing the web everyday it's a daunting task to keep up to date with all of it. jQuery is the preferred library due to its undeniable popularity, although some scripts are written in pure JavaScript.

In this article we are going to cover 10 useful scripts that will save you some time when solving common problems. Most of these snippets are good to copy & paste but feel free to analyze, strip, mix, share, or adapt them to your own workflow.

No comment yet.
Scoop.it!

Cargo-Culting in JavaScript

Cargo-Culting in JavaScript | JavaScript for Line of Business Applications | Scoop.it

Cargo-cult programming is what a programmer does when he or she doesn't know a particular language or paradigm well enough, and so ends up writing redundant and possibly harmful code. It rears its head quite often in the land of JavaScript. In this article, I explore the concept of cargo-cult programming and places to watch out for it in JavaScript.

Cargo-culting is sometimes defined as "the extreme adherence to the form instead of content." The form, in programming, being the syntax, paradigms, styles and patterns that we employ. The content being the abstract thing that you are seeking to represent through your code — the very substance of your program.

No comment yet.
Scoop.it!

Learning Advanced JavaScript

This tutorial contains code and discussion from the upcoming book Secrets of the JavaScript Ninja by John Resig.

1) Our Goal
2) Defining Functions
3) Named Functions
4) Functions as Objects
5) Context
6) Instantiation
7) Flexible Arguments
8) Closures
9) Temporary Scope
10) Function Prototypes
11) Instance Type
12) Inheritance
13) Built-in Prototypes
14) Enforcing Function Context
15) Bonus: Function Length

Scoop.it!

OOP In JavaScript: What You NEED to Know

OOP In JavaScript: What You NEED to Know | JavaScript for Line of Business Applications | Scoop.it

The main principle with Object Oriented Programming (OOP) is the use of Classes (Functions in JavaScript) to create objects, and that objects are implemented in a manner that allows them to adopt Inheritance, Polymorphism, and Encapsulation. We are only concerned with Inheritance and Encapsulation, since only these are applicable for OOP in JavaScript. Essentially, objects can encapsulate functionalities and inherit methods and properties.

The rest of this article will focus on using objects in JavaScript in an object oriented manner—with inheritance and encapsulation—to easily reuse code in our applications and abstract functionalities away into specialized objects. We will focusonly on the best two techniques [1] for implementing OOP in JavaScript.

No comment yet.
Scoop.it!

Google JavaScript Style Guide

Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style.

“Style” covers a lot of ground, from “use camelCase for variable names” to “never use global variables” to “never use exceptions.” This project holds the style guidelines we use for Google code. If you are modifying a project that originated at Google, you may be pointed to this page to see the style guides that apply to that project.

Click here to edit the title

No comment yet.