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

The Case for Object-Oriented JavaScript

The Case for Object-Oriented JavaScript | JavaScript for Line of Business Applications | Scoop.it

JavaScript is a flexible and powerful programming language that drives most modern-day web sites and applications. The jQuery library, in particular, has a simple API for traversing and manipulating the DOM. Just choose a your selector, add an event handler, and voilà! Instant UI magic. The ease of jQuery, though, comes with a price. Without much thought in organizing your code, it’s easy to end up with a hot mess of jQuery selector soup -- and that’s the last thing we want in a complex application like ours.

In this blog post, I will show you the case for object-oriented design in a functional language like JavaScript, using examples from Wealthfront's codebase.

No comment yet.
Scoop.it!

Handling environment data with Ember.js

Handling environment data with Ember.js | JavaScript for Line of Business Applications | Scoop.it

It’s likely that your Ember app is going to require some configuration or environment data as it grows: deployment environment name, feature flags, locale strings and so on.

What’s the best way to handle this requirement? There are a couple of ways you could handle this, but here’s a technique I’ve seen in the wild and that works for me.

No comment yet.
Scoop.it!

9 Things you should know before starting your next Ember.js and Ember Data application

9 Things you should know before starting your next Ember.js and Ember Data application | JavaScript for Line of Business Applications | Scoop.it

If you are building a fairly complex web application, there is a high probability that you will have a lot of JavaScript code, and you would want to organize your code in some modular way that will be easier to maintain. Also at the same time you would also want to use some sort of a framework to simplify the process for you. But before getting there, let’s talk about how we got here at first place. 

No comment yet.
Scoop.it!

Composable Generators in Javascript

Composable Generators in Javascript | JavaScript for Line of Business Applications | Scoop.it

Since it is Node.js, every action you do that touches the database or file system really wants to be asynchronous. I started by using promises with the Bluebird library, and it was okay for simple cases. However, the code became very hard to follow when I started chaining more than 3-4 operations together. Just this week I finally got a chance to try out the usage of the new ES6 generators feature with my codebase in the places where I was having to combine so many asynchronous operations and I’m very happy with the results so far.

To my eyes, generators are a big improvement in readability over promises. Consider two versions of the same method from my event store library.

No comment yet.
Scoop.it!

Extending AngularJS services with the Decorate method

Extending AngularJS services with the Decorate method | JavaScript for Line of Business Applications | Scoop.it

Many large Angular applications tend to see a lot of repetition - same API endpoint, same method of dealing with and transforming data, etcetera. One technique you can use to at least alleviate that is using AngularJS's decorate method, which allows you to extend, adjust or even fully replace any existing service.

As you'll see in this post, using this allows you to modify and extend the framework you build your app in, which will lead to a cleaner, more legible codebase, written in a more functional style (the what, not the how).

No comment yet.
Scoop.it!

Let's build: An AngularJS app with Browserify and Gulp

Let's build: An AngularJS app with Browserify and Gulp | JavaScript for Line of Business Applications | Scoop.it

Today I want to show a generic workflow and setup I have used a lot lately when working on building apps with Angular. It uses Gulp as a CI system and Browserify to minimize code clutter and maximize awesomeness. So let's jump in.

No comment yet.
Scoop.it!

tcomb: JavaScript types and combinators

tcomb: JavaScript types and combinators | JavaScript for Line of Business Applications | Scoop.it

tcomb is a library for Node.js and browser which allows you to check the types of JavaScript values at runtime with a simple syntax. It is great for checking external input, for testing and for adding safety to your internal code. Bonus points:

  • write complex domain models in a breeze and with small code footprint
  • easy debugging
  • instances are immutables by default
  • encode/decode of domain objects to/from JSON for free
  • gradually make your existing code safer
No comment yet.
Scoop.it!

A Stroll Through Node: Building a Recipe Website with Express

A Stroll Through Node: Building a Recipe Website with Express | JavaScript for Line of Business Applications | Scoop.it

Ever wanted to a create real website but don’t know anything about back-end programming? Are you still writing websites with raw HTML files? Try this guide out which uses the Express Web (3.x) framework, Jade HTML templates and Twitter-Bootstrap to make a Simple (and delicious) recipes website.

Note: This walkthrough uses Node tools for Visual Studio.

No comment yet.
Scoop.it!

Ember: The Magic Demystified

Slides: https://speakerdeck.com/rwjblue/ember-the-magic-demystified

No comment yet.
Scoop.it!

Securing a modern JavaScript based single page web application

Modern web apps are often single page web apps. The heavy HTML-generating backend is replaced by JavaScript, JavaScript frameworks like Backbone.js and templating languages like mustache.js or underscore.js. Data is transferred via RESTful JSON services. We are moving functionality normally implemented on the server to the browser. Sometimes we even implement the backend using JavaScript.
What kinds of security problems can occur if we do this incorrectly? How do we mitigate the security problems found in these applications?

No comment yet.
Scoop.it!

TuteCumber

TuteCumber | JavaScript for Line of Business Applications | Scoop.it
TuteCumber - Tutorial and example project for cucumber.js with node.js


Tutorial:
* Our System (Calculator)
* First feature: Addition (aka Stage 1)
* Second feature: Subtraction (aka Stage 2)
* Third feature: Chaining multiple operations (aka Stage 3)

No comment yet.
Scoop.it!

An introduction to JavaScript Unit Testing with qUnit and Sinon.js

An introduction to JavaScript Unit Testing with qUnit and Sinon.js | JavaScript for Line of Business Applications | Scoop.it

If you are developing for the web – apps or websites, then it is almost impossible to escape JavaScript. At some point, you will write some client-side code and as the application grows and the requirements become more complex, your JavaScript code is bound to grow with it. Like with every other complex piece of code, we need to be confident that the code behaves as expected. It doesn’t matter if you decide to use TDD or not, what’s important is to test your code. You can do this manually, very tedious and error prone, or programmatically. The choice is yours!

JavaScript is a different beast on its own, especially if you, like me, are used to doing server-side programming and testing. So how does one start with client-side unit tests?

No comment yet.
Scoop.it!

Speeding up AngularJS apps with simple optimizations

Speeding up AngularJS apps with simple optimizations | JavaScript for Line of Business Applications | Scoop.it
AngularJS is a huge framework with that already has many performance enhancements built in, but they can’t solve all our problems. No matter how fast the framework, we can all create sluggish code through bad practices and not understanding key concepts that help it perform well. The following performance pointers are some of the things I’ve learned from developing Angular applications that will hopefully enable you to keep building fast applications.
No comment yet.
Scoop.it!

Opinionated Rundown of JS Frameworks

Opinionated Rundown of JS Frameworks | JavaScript for Line of Business Applications | Scoop.it

In doing our trainings and in writing my book, Human JavaScript and within our team itself we’ve come to realize there is a huge gap between picking a tool, framework, or library andactually building a complete application.

Not to mention, there are huge problems surrounding how to actually build an app as a team without stomping on each other.

There are sooooo many options and patterns on how to structure, build, and deploy applications beyond just picking a framework.

Few people seem to be talking about how to do all of that, which is just as big of a rabbit hole as picking a framework!

No comment yet.
Scoop.it!

Getting Started with Ember.js using Ember CLI

Getting Started with Ember.js using Ember CLI | JavaScript for Line of Business Applications | Scoop.it

I'm writing the tutorial that I wish I had 6 months ago when I was starting out with Ember. The tutorial that doesn't assume that I've been using jQuery for 5 years, know what state is, eat 'promises' for breakfast or even understand the term 'hook'. It's a tutorial for beginners, beginners to coding, beginners to JavaScript or beginners to front end frameworks. 

No comment yet.
Scoop.it!

Getting started with AngularJS and ASP.NET MVC

Getting started with AngularJS and ASP.NET MVC | JavaScript for Line of Business Applications | Scoop.it

Welcome to Part One of a series of articles regarding AngularJS and ASP.NET MVC, and utilizing and getting the most out of both


Client side MV* frameworks are all the rage at the moment, and my favourite by far is AngularJS. This article will show you how to hit the ground running with AngularJS while using my favourite server side MVC framework, ASP.NET MVC (5).

Jan Hesse's insight:

Part2: http://www.codeproject.com/Articles/806500/Getting-started-with-AngularJS-and-ASP-NET-MVC-P

No comment yet.
Scoop.it!

wu.js 2.0 - higher order functions for ECMAScript 6 iterators

wu.js 2.0 - higher order functions for ECMAScript 6 iterators | JavaScript for Line of Business Applications | Scoop.it

wu.js aims to provide higher order functions for ES6 iterables. Some of them you already know (filter, some, reduce) and some of them might be new to you (reductions,takeWhile). wu.js works with all ES6 iterables, including Arrays, Maps, Sets, and generators you write yourself. You don't have to wait for ES6 to be fully implemented by every JS engine, wu.js can be compiled to ES5 with the Tracuer compiler.

No comment yet.
Scoop.it!

Using prototypal inheritance for AngularJS controllers and services

Using prototypal inheritance for AngularJS controllers and services | JavaScript for Line of Business Applications | Scoop.it

As AngularJS matures and is used on bigger projects, the advice on best practices at scale proliferates.

Most programmers find that their first projects using AngularJS were written with messy codebases. Although AngularJS is JavaScript, it’s almost akin to learning a new language. The learning curve is a non-linear ascent path scattered with unexpected obstacles. 

No comment yet.
Scoop.it!

AngularJS Style Guide by John Papa

AngularJS Style Guide by John Papa | JavaScript for Line of Business Applications | Scoop.it
angularjs-styleguide - AngularJS Style Guide: A starting point for AngularJS development teams to provide consistency through good practices.
No comment yet.
Scoop.it!

Creating an Extensible Ember.js Application

Slides: http://eviltrout.com/extending/

No comment yet.
Scoop.it!

AngularJS and Benefits to the Development Team

AngularJS and Benefits to the Development Team | JavaScript for Line of Business Applications | Scoop.it

The technology should serve the team. I think Angular does that well, but other solutions may be a better fit for your team, given experience, mindset, project history, or other factors.

Angular covers a good range of functionality for building robust web applications. Wintellect has used Angular successfully on very large enterprise projects, using hundreds of controllers, services, and directives. It worked well for us on a large, distributed team.

No comment yet.
Scoop.it!

End-to-End testing with Angular and Knockout

End-to-End testing with Angular and Knockout | JavaScript for Line of Business Applications | Scoop.it

I’ll start by looking at how we can implement e2e tests in both solutions. Next, I’ll consider the value of having these tests, how brittle they can be, and therefore the cost of writing and maintaining them. Finally, I’ll suggest a couple of ways to reduce the cost by making the tests more robust.

No comment yet.
Scoop.it!

Mark Rendle - Angular TypeScript

The unholy pairing of the two bears fruit that is, quite possibly, the best data-bindy, view-modelly, uber-productively effective development system I've ever used (and I've used a lot). Come and learn how to splice the DNA of framework and language to create AngularTS, and get the joy back in your programming life.

No comment yet.
Scoop.it!

A real-world website developer framework :: Responsive

A real-world website developer framework :: Responsive | JavaScript for Line of Business Applications | Scoop.it
A super lightweight HTML, SASS, CSS, and JavaScript framework for building responsive websites

Frameworks like Bootstrap and Foundation are too design opinionated and heavy. They're great for prototyping but every time you start a real, front-facing, project with them you have to overwrite lots of designer styles that do nothing to add to the functionality of the website. That costs developers time and money.

Responsive has been built with that in mind. It is the result of thousands of hours of real, client driven web development and testing; specifically developed to be as lightweight as possible to prevent the need to undo styles set by the framework itself and allow developers to write efficient code and lower costs.

No comment yet.
Scoop.it!

Sails.js Intro

An introduction to the Sails.js web framework for Node.js