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: 'AngularJS 2'. Clear
Scoop.it!

Angular Forms in Depth

Angular Forms in Depth | JavaScript for Line of Business Applications | Scoop.it

Web applications heavily rely on forms. In many ways Angular is so successful because two-way bindings and ng-model made creating dynamic forms easy.

In this article we will look at how form handling (or input handling) works in Angular.

No comment yet.
Scoop.it!

An Introduction to Observables for Angular Developers

An Introduction to Observables for Angular Developers | JavaScript for Line of Business Applications | Scoop.it
Jen Looper explains what observables are, why they are necessary for asynchronous communication and how to use them in an Angular 2 application with RxJS.
No comment yet.
Scoop.it!

Server-Side Rendering in Angular 2 with Angular Universal

Server-Side Rendering in Angular 2 with Angular Universal | JavaScript for Line of Business Applications | Scoop.it

The conventional server rendering solution has saved us for years with Angular 1 by provisioning web crawlers with our actual content. That seemed to keep us happy but we were missing one thing -- state.

The Universal idea is to build an app that does not just render to server but also runs on the server. Running in the sense that our state, content and styles are intact on the client and the server as well. In Angular 2, this is achieved with the help of Angular Universal which loads our app on the server first, and then drops it to the browser once ready.

No comment yet.
Scoop.it!

Angular 2 and Observables: Data Sharing in a Multi-View Application

Angular 2 and Observables: Data Sharing in a Multi-View Application | JavaScript for Line of Business Applications | Scoop.it
Learn the benefits Observables can provide when you are developing complex web applications.

While a Promise represents a value to be resolved in future, an Observable represents a stream of values throughout. An Observable may be completed, which means it won’t emit any further values. An Observer subscribes to these Observables. These Observers are essentially callbacks to emissions of the Observable. This paradigm supports asynchronous operations naturally. In our application, the Angular 2 components have functions which act as Observers, while the data-sharing service can act as an Observable.

No comment yet.
Scoop.it!

Angular 2 Form Validation

Angular 2 Form Validation | JavaScript for Line of Business Applications | Scoop.it

In this tutorial we are going to look at what’s changed with forms and more importantly how to handle form validation the right way with Angular 2.

Angular 2.x aims to make the creation and validation of forms simple, intuitive, and manageable.

 

No comment yet.
Scoop.it!

How to build the SPA for enterprise application using Angular2 and ASP.Net WebApi

How to build the SPA for enterprise application using Angular2 and ASP.Net WebApi | JavaScript for Line of Business Applications | Scoop.it

Some highlight technologies:

  • Angular2 (typescript)
  • WebApi (RESTful)
  • Entity Framework
  • Bootstrap
  • IoC
  • Multi-Layer architecture
  • Modular your Application
  • Multi Languages
  • Design Pattern (Unit Of Work, Repository, …)
  • SOLID principle
  • Gulp
  • NodeJs
No comment yet.
Scoop.it!

Understanding Angular 2 Components for AngularJS Devs

What is it like to build an Angular 2 app, and how is the experience different from AngularJS?

Angular 2 is component based. Components combine concepts that we are already familiar with from AngularJS. The Angular 2 Component combines the AngularJS Directive, Controller, and Scope. My article will attempt to make you more comfortable with components by comparing them to what you already know from AngularJS.

Here are some tutorials that I worked through to prepare this. I will periodically link to code examples from them: Quickstart & Tour of Heroes

TypeScript is recommended for Angular 2. You will see the .ts file extension. I will point out TypeScript syntax where needed.

No comment yet.
Scoop.it!

Build a Better Angular 2 Application with Redux and ngrx

Build a Better Angular 2 Application with Redux and ngrx | JavaScript for Line of Business Applications | Scoop.it

State management within Angular started out as a single celled organism if you will in the form of a single controller managing all the state for the application. If this is a single page application, one controller makes sense right? We emerged out of the ice age by starting to group our views and controllers into smaller, self-contained units either within a directive or a route. This was a vast improvement, but there was still the problem of managing complex state within our applications. It was not uncommon for us to have bits and pieces of state strewn across our application tucked inside of controllers, services, routes, directives, and occasionally, in our templates. Mutable state in itself is not inherently evil but shared mutable state is a recipe for disaster.

No comment yet.
Scoop.it!

Meteor, Angular2 and React: once the dust settles…

Meteor, Angular2 and React: once the dust settles… | JavaScript for Line of Business Applications | Scoop.it
2015 will be remembered as the year of the Javascript Fatigue.


Being a JS developer right now is like being one of the suitors waiting forPenelope to finish weaving Odysseus’s shroud, being constantly reminded that yes, 1.x is indeed limited and 1.y will change everything so please stick with us a little bit longer.

I mean, there is no framework right now that is really production-ready (except for React, but, again… React 1.x is coming soon, is it?). Change is good, change is healthy, although having to re-learn everything from scratch again (yes, Angular, I’m talking to you) can be difficult for big projects that would like to stay up-to-date.

No comment yet.
Scoop.it!

Angular 2 versus React: There Will Be Blood

Angular 2 versus React: There Will Be Blood | JavaScript for Line of Business Applications | Scoop.it

Angular 2 has reached Beta and appears poised to become the hot new framework of 2016. It’s time for a showdown. Let’s see how it stacks up against 2015’s darling: React.

You’re Comparing Apples and Orangutans!

Sigh. Yes, Angular is a framework, React is a library. Some say this difference makes comparing them illogical. Not at all!

No comment yet.
Scoop.it!

Angular 2 for React developers

Angular 2 for React developers | JavaScript for Line of Business Applications | Scoop.it

React has been on top of the world as of recently, for good reasons, it’s a fantastic approach to building modern web apps. This post is catered to those who are neck-deep in React and what to make an easy transition to Angular 2. This is angular 2 for react developers.

No comment yet.
Scoop.it!

Angular 2.0 Vs Aurelia

The new direction Angular 2.0 is taking created a lot of discussion in the community. Some people love it, some people hate it. Most people agree there is room for simplification, performance enhancements and native support of new language features. Not everyone likes the way Angular 2.0 is picking these up though. There is an alternative direction: Aurelia. In this talk, we'll do a side-by-side comparison and have the audience answer the question: Should you keep all your eggs in the Angular basket?

Scoop.it!

Angular Expressions

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

One of the first things a developer writes in Angular, other than the ng-app directive, is an expression. This is easily identified as the code written inside of a binding {{ }} or directive.

<input type="text" ng-model="name" />
{{'Hello ' + name + '!'}}

In this example, 'Hello ' + name + '!' is the expression. 

No comment yet.
Scoop.it!

Making your Angular apps fast

Making your Angular apps fast | JavaScript for Line of Business Applications | Scoop.it

Angular claims to be very fast by default. What does “fast” really mean? Of course, this always depends on the context. What does our application do? How many different things is it doing at a certain point? How is our application’s component tree structured and how many bindings does it introduce? This and other questions come into play when trying to figure out, how we can make our applications faster.

A couple of weeks ago we were discussing a demo application in which we compared the default performance and what we can do to make it faster. In this article we’d like to take this demo and show some tips and tricks to make it blazingly fast. One or the other trick might help speeding up your application as well.

No comment yet.
Scoop.it!

A deep dive on Angular decorators

Decorators are a core concept when developing with Angular 2 and above. There’s also an official TC39 proposal, currently at Stage-2, so expect decorators to become a core language feature soon in JavaScript as well.

Back to Angular, the internal codebase uses decorators extensively and in this post we’re going to look at the different types of decorators, the code they compile to and how they work.

No comment yet.
Scoop.it!

Building Tesla's battery range calculator with Angular 2 reactive forms

In this epic tutorial, we’re going to build some advanced Angular 2 components that rebuild Tesla’s battery range calculator and then compile it to AoT and deploy on GitHub pages. We’ll be using the reactive forms API as well and building custom form controls and use some stateful and stateless component practices, as well as change detection strategies.

This is the final project gif of what we’re about to build:

No comment yet.
Scoop.it!

Angular 2 best practices: Change detector performance

Angular 2 best practices: Change detector performance | JavaScript for Line of Business Applications | Scoop.it
Follow these Angular 2 best practices to eliminate needless change detection, making your web app faster and cleaner.

In order to guarantee that the DOM always shows the very latest available data, Angular monkey-patches every entry point to running Javascript with a Zone. So any time Javascript finishes executing—meaning an AJAX request completes, a click event handler runs, or a Promise is fulfilled—Angular 2 checks whether any changes have occurred that would affect the DOM.

No comment yet.
Scoop.it!

Building Angular 2 Components on the Fly: Dialog Boxes

Building Angular 2 Components on the Fly: Dialog Boxes | JavaScript for Line of Business Applications | Scoop.it
There's no recipe for building dynamic Angular 2 components on the fly, but that doesn't mean it can't be done. Here's our solution.

A dialog box is a good example of an Angular 2 component you may want to build on the fly. If your application has a fair number of them, and you feel put out at the thought of writing one large ngSwitch, then building them dynamically is a good alternative.

No comment yet.
Scoop.it!

Angular 2 vs React: The Ultimate Dance Off

Angular 2 vs React: The Ultimate Dance Off | JavaScript for Line of Business Applications | Scoop.it
Most people who follow me know that I personally favor React, but of course I like my decisions to be educated, not based on uninformed…
No comment yet.
Scoop.it!

Functional Reactive Programming for Angular 2 Developers — RxJs and Observables

Functional Reactive Programming for Angular 2 Developers — RxJs and Observables | JavaScript for Line of Business Applications | Scoop.it
In this post, we are going to go over the concept of Functional Reactive Programming from the point of view of an Angular 2 developer. Most of this is applicable for Angular 1 applications, but the examples in this post are in Angular 2.
No comment yet.
Scoop.it!

Taking advantage of Observables in Angular 2

Taking advantage of Observables in Angular 2 | JavaScript for Line of Business Applications | Scoop.it
Angular 2 favors Observables over Promises when it comes to async. The rational behind this decision may not be obvious right from the start. There is definitely a learning curve to master Observables in all their beauty. In this article we like to explore some practical advantages with Observables for server communication.
Jan Hesse's insight:

FollowUp: http://blog.thoughtram.io/angular/2016/01/07/taking-advantage-of-observables-in-angular2-pt2.html

Scoop.it!

Include External JavaScript Libraries In An Angular 2 TypeScript Project

Include External JavaScript Libraries In An Angular 2 TypeScript Project | JavaScript for Line of Business Applications | Scoop.it
Use external JavaScript libraries in a TypeScript Angular 2 project.  Declare components from external libraries and then use them as normal.
No comment yet.
Scoop.it!

A quick introduction to explore how components can be created in several frameworks.

A quick introduction to explore how components can be created in several frameworks. | JavaScript for Line of Business Applications | Scoop.it

In this project I want to compare the usage and development of components in several frameworks. To test these frameworks I'll create multiple components from simple to complex to show the differences between these frameworks. I currently plan to look into the following frameworks:

No comment yet.
Scoop.it!

Angular 2: Developer Preview

Angular 2: Developer Preview | JavaScript for Line of Business Applications | Scoop.it

Though Angular 1.x has proved to be a good framework for building rich internet applications (RIA), it was built with older browsers in mind. The framework had to build its own module system and a set of abstractions to make its usage easier. By leveraging the new features of the web, the framework won’t have to define certain abstractions, and will instead focus on making the experience of working on it better in many other ways. Angular 2 still adopts some of the good things from Angular 1, but at the same time, it abandons features that complicate things while writing large applications or, the features that are already covered by the language. 

No comment yet.
Scoop.it!

Build an Angular 2 App - Data Binding Syntax

Build an Angular 2 App - Data Binding Syntax | JavaScript for Line of Business Applications | Scoop.it

Now, I cannot possibly do a better job explaining this than Victor Savkin already has in his article: Angular 2 Template Syntax, so I am not going to try. I highly encourage you to go take a look at that article to get an in-depth explanation of the new data binding and template syntax within Angular 2.

Instead, what I want to focus on is the 90% case, and the implications that has in terms of how you build your applications.

No comment yet.