JavaScript for Li...
Follow
Find
439.7K views | +235 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...
Scoop.it!

How to Implement Node + React Isomorphic JavaScript & Why it Matters

How to Implement Node + React Isomorphic JavaScript & Why it Matters | JavaScript for Line of Business Applications | Scoop.it

With the proliferation of more and more of the web being driven by JavaScript, The speed of the browser DOM is becoming increasingly noticeable.

Lots of sites being driven by popular JavaScript frameworks like Ember, Backbone, or Angular can take a while to render into the DOM. This forces the user to wait for the app to bootstrap itself before they can start viewing & ‘using’ the app.

more...
No comment yet.
Scoop.it!

Ionic Framework Tutorial

Ionic Framework Tutorial | JavaScript for Line of Business Applications | Scoop.it
What You Will Learn:
  • How to create and build (compile and package) an Ionic project using the CLI (Command Line Interface).

  • How to start from one of the Ionic starter apps

  • How to build a modern mobile UI using Ionic components such as side menu, cards, action sheets, etc.

  • How to create a service using the Angular resource module (ngResource) to access REST services

  • How to use controllers

  • How to use routing

  • How to login with Facebook, and publish information to your feed

Jan Hesse's insight:

https://github.com/ccoenraets/ionic-tutorial

more...
No comment yet.
Scoop.it!

React.js - A guide for Rails developers

React.js - A guide for Rails developers | JavaScript for Line of Business Applications | Scoop.it
Integrate React.js with Ruby on Rails to build web apps

Summarizing, the application will behave as follows:

  • When the user creates a new record through the horizontal form, it will be appended to the records table
  • The user will be able to inline-edit any existing record
  • Clicking on any Delete button will remove the associated record from the table
  • Adding, editing or removing an existing record will update the amount boxes at the top of the page
more...
No comment yet.
Scoop.it!

Loupe - Understand JavaScript's Call Stack and Event Loop

Loupe is a little visualisation to help you understand how JavaScript's call stack/event loop/callback queue interact with each other.

  • Loupe runs entirely in your browser.
  • It takes your code.
  • Runs it through esprima, a JS parser.
  • Instruments it a bunch so that loupe knows where function calls, timeouts, dom events, etc happen.
  • Adds a whole bunch of while loops everywhere to slow down the code as it runs.
  • This modified code is then turned back into JavaScript and sent to a webworker (in your browser) which runs it.
  • As it runs, the instrumentation sends messages to the visualisation about what is going on so it can animate things at the right time.
  • It also has some extra magic to make dom events, and timers work properly.


more...
No comment yet.
Scoop.it!

Functional UIs and Unidirectional Dataflow

Slides: http://www.slideshare.net/mikaelbr/budapest-49024114 http://jsconfbp.com/#mikaelbrevik Let us bring back the days where we could write declarative re...
more...
No comment yet.
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. 

more...
Honey Almast's comment, June 12, 2:53 AM
hahah you got to check this out - http://goo.gl/QJIdMf
Scoop.it!

First Look at Angular2

First Look at Angular2 | JavaScript for Line of Business Applications | Scoop.it

Better? Worst? More simple? complex? Lets look at a first application created with a first draft version of Angular2 + Firebase and its change detection.

Im not going to post any opinion. It is too early in the game. NG-CONF is around the block and it IS going to be Angular2 centric.

more...
No comment yet.
Scoop.it!

WebPack For Visual Studio Developers -

WebPack For Visual Studio Developers - | JavaScript for Line of Business Applications | Scoop.it
Burke Holland explains how the WebPack module loader let's you load any asset - CommonJS or AMD, JavaScript or CSS - and how to use it with Visual Studio.

WebPack calls itself a “Module Bundler”. We tend to think of modules in terms of JavaScript, but WebPack thinks of them in terms of any assets that you might want to transpile, minify and pipe to the browser. JavaScript, TypeScript, CoffeeScript, CSS, SASS, images – it doesn’t matter to WebPack. But this is not the reason why I love it. The reason why WebPack is my tool of choice, is that it bridges the gap between AMD and CommonJS.

more...
No comment yet.
Scoop.it!

Grunt and Gulp: Task Runners in Asp.Net 5

Grunt and Gulp: Task Runners in Asp.Net 5 | JavaScript for Line of Business Applications | Scoop.it

What’s the difference between Gulp and Grunt? While Gulp is a later entry to the field, it has gained popularity for crisp performance and elegant syntax. Unlike Grunt, which tends to read and write files to disk, Gulp uses a stream (Vinyl) object to pipe method results to following methods, allowing calls to be chained together in a fluent syntax. Grunt is an earlier entry in the client-build-tool space. Grunt modules predefine most everyday tasks like linting, minimizing, and unit testing, and Grunt is widely adopted and downloaded thousands of times each day.

more...
No comment yet.
Scoop.it!

An overview of Javascript reactive frameworks

An overview of Javascript reactive frameworks | JavaScript for Line of Business Applications | Scoop.it

This post is only meant to be a snapshot of the current state of the various DOM virtualising webframeworks that are around. I’m partly publishing it to try and discover more that I may not be aware of.

more...
No comment yet.
Scoop.it!

Mobile App Framework Matrix - Build iOS/Android apps in JavaScript

Mobile App Framework Matrix - Build iOS/Android apps in JavaScript | JavaScript for Line of Business Applications | Scoop.it
The Mobile App Framework Matrix represents a comparison and documentation of technologies for building iOS/Android apps with a single JavaScript code base.
more...
No comment yet.
Scoop.it!

Native Mobile Apps in JavaScript with Tabris.js

Native Mobile Apps in JavaScript with Tabris.js | JavaScript for Line of Business Applications | Scoop.it

Today I want to highlight the rather new and unknown JavaScript framework Tabris.js.

In contrast to many other hybrid frameworks, Tabris.js is no HTML5 + WebView framework, but still offers the possibility to use Javascript libraries, npm modules and Cordova plugins! I will show you the strengths, we will develop a simple app to get a feeling for the code structure and finally inspect the similarities and differences to other well known frameworks.

Sounds good? Let’s take a closer look!

more...
No comment yet.
Scoop.it!

JSX Looks Like An Abomination

JSX Looks Like An Abomination - JavaScript Scene - Medium

JSX expressions evaluate to ReactElements. Think of them as shorthand for calling `React.createElement()`. Babel has built-in support for JSX.

Let’s break this down:

JavaScript Expressions

You can embed JavaScript expressions in JSX using syntax that will be familiar to any handlebars user, e.g. `style = { displayStyle }` assigns the value of the JavaScript variable `displayStyle` to the element’s `style` attribute.

Styles

You can set styles by assigning an ordinary JavaScript object to the `style`attribute. You don’t use CSS syntax. Instead, you use the similar JS object literal format.

Events

There’s a set of event handlers that you hook up in a way that should look very familiar to anybody who knows HTML.

more...
No comment yet.
Scoop.it!

JavaScript Code Smells

JavaScript Code Smells | JavaScript for Line of Business Applications | Scoop.it

In the past I've given presentations, recorded videos, and written blog posts about fixing common JavaScript and jQuery bugs. This is a good skill to have, but what about working code? Fixing broken code is important, but have you ever gotten into the situation where your code works, but it doesn't feel quite right... maybe even smells?

more...
No comment yet.
Scoop.it!

Static Site Generation with React and Webpack

Static Site Generation with React and Webpack | JavaScript for Line of Business Applications | Scoop.it

React is incredibly intuitive and flexible to work with, but relying solely on client side rendering leaves a lot to be desired in regards to percieved performance. With a static React site, the page loads just like any other static HTML, and the JavaScript kicks in whenever it’s downloaded. This is extremely helpful for combining documentation with interactive demonstrations, like Colorable or Building SVG Icons with React. Using React with webpack also allows you to consolidate the entire build process in Node and take advantage of anything in the npm ecosystem. Last but not least, React is just fun to use.

more...
No comment yet.
Scoop.it!

The 8 Most Common Ember.js Developer Mistakes

The 8 Most Common Ember.js Developer Mistakes | JavaScript for Line of Business Applications | Scoop.it
Ember.js is an awesome framework for building rich and powerful front-ends, favoring convention over configuration to make development a breeze. Yet all this convention can hide some dangerous pitfalls, and developers must tread carefully to avoid falling through the cracks.

Thankfully, Toptal developer Balint Erdi is here to shine a guiding light, pointing out these 8 common mistakes for Ember.js developers to watch out for.
more...
No comment yet.
Scoop.it!

Common Misconceptions About Inheritance in JavaScript

Common Misconceptions About Inheritance in JavaScript - JavaScript Scene - Medium

Classical and prototypal inheritance are fundamentally and semantically distinct.

There are some defining characteristics between classical inheritance and prototypal inheritance. For any of this article to make sense, you must keep these points in mind:

In class inheritance, instances inherit from a blueprint (the class), andcreate sub-class relationships. In other words, you can’t use the class like you would use an instance. You can’t invoke instance methods on a class definition itself. You must first create an instance and then invoke methods on that instance.

In prototypal inheritance, instances inherit from other instances. Usingdelegate prototypes (setting the prototype of one instance to refer to anexamplar object), it’s literally Objects Linking to Other Objects, orOLOO, as Kyle Simpson calls it. Using concatenative inheritance, you justcopy properties from an exemplar object to a new instance.

more...
No comment yet.
Scoop.it!

Tweak.js - Component driven MVC

Tweak.js - Component driven MVC | JavaScript for Line of Business Applications | Scoop.it

Tweak.js is a MVC framework built to help developers' structure code; for use in web applications and web components. Tweak.js is also accompanied with extra features that advances typical MVC concepts.

Tweak.js is not another backbone.js or anything as big as Ember. It's designed to be slap bang in the middle. It offers simple improvements over backbone.js and is way simpler compared to the massive MVC frameworks. It keeps in mind that not all applications are data driven, and when they are you don’t want to be told how to retrieve, monitor, and send that data; that should be down to you.

more...
Honey Almast's comment, June 12, 2:53 AM
hahah you got to check this out - http://goo.gl/QJIdMf
Scoop.it!

AngularJS For Everyone - YouTube Playlist

AngularJS For Everyone - YouTube Playlist | JavaScript for Line of Business Applications | Scoop.it

#0 Series Introduction - AngularJS For Everyone
#1 Two-way Data Binding - AngularJS For Everyone
#2 Repeating Over Data With ng-repeat - AngularJS For Everyone
#3 Basic Filtering In Angular - AngularJS For Everyone
#4 Our First Controller - Angular For Everyone
#5 Adding A Form Event - Angular For Everyone
#6 Controller As Syntax - AngularJS For Everyone
#7 Using Filters In Angular Templates - AngularJS For Everyone
#8 Conditional Classes With ngClass - AngularJS For Everyone
#9 ngIf vs ngShow & ngHide - AngularJS For Everyone
#10 Properly Including Images With ngSrc - AngularJS For Everyone
#11 Including Templates and Inline SVG with ngInclude - AngularJS For Everyone
#12 Adding External Modules - AngularJS For Everyone
#13 Animating With Angular Part 1 - AngularJS For Everyone

more...
Honey Almast's comment, June 12, 2:53 AM
hahah you got to check this out - http://goo.gl/QJIdMf
Scoop.it!

Getting started with Vue.js: AngularJS perspective

Getting started with Vue.js: AngularJS perspective | JavaScript for Line of Business Applications | Scoop.it

Writing Vue.js applications after working with AngularJS will feel familiar. Vue won't pack as many goodies out of the box, but it will still give Angular a run for its money.

more...
No comment yet.
Scoop.it!

Production ready apps with ionic framework

Production ready apps with ionic framework | JavaScript for Line of Business Applications | Scoop.it

Complete guide to prepare your ionic app for production. Uglify, minify and obfuscate your app and many other tips to protect your code.


For all the previous task we are going to use a mixture between gulp tasks andcordova hooks . Gulp tasks will be “running” all the time after you run ionic serve. Cordova hooks will run each time you build or run your project with ionic build ios [android] or ionic run android [ios]

more...
No comment yet.
Scoop.it!

Using JSON Web Tokens to Authenticate JavaScript Front-Ends on Rails

Using JSON Web Tokens to Authenticate JavaScript Front-Ends on Rails | JavaScript for Line of Business Applications | Scoop.it

Since those dark times, a few tools have cropped up and improved the landscape. As I mentioned before, I have recently been working on a project that I wanted to have a stand-alone front-end app for (inb4 single page apps don't work). I wanted to avoid the messes I've encountered with JavaScript-heavy Rails apps and keep Rails as API-centered as possible. Once I had a functioning back-end, I knocked together a rudimentary front-end with React using Bower to manage dependencies and Jekyll to compile it all down to a static page.

more...
No comment yet.
Scoop.it!

A cookbook for using Webpack with React JS

A cookbook for using Webpack with React JS | JavaScript for Line of Business Applications | Scoop.it

Recipes for solving common Webpack problems.

The purpose of this cookbook is to guide you into the world of React and Webpack. Both are powerful technologies and when used together, frontend development becomes a joy.

The cookbook should have something to offer for all skill levels. If you are interested in just React, skip the Webpack part and vice versa.

more...
No comment yet.
Scoop.it!

Faster Mobile Websites

As mobile device usage continues to grow, developers need to ensure that their mobile websites are fast and offer a high quality experience for all users. A fast mobile website can be the difference between winning or losing a customer. A few seconds delay in your page load time and you might find that users to your site easily become frustrated and navigate away to another site...or even worse, your competitors site!

Developers understand the need for fast, smooth websites - but how do you apply this to a mobile website and the vast amount of mobile devices out there? This talk is aimed at all developers that build websites and will dive into basic and advanced web performance techniques - there is something for everyone! The talk also covers free tools that developers can use to test and profile the performance of their mobile websites.

This talk will cover a variety of performance related issues specifically aimed at mobile websites and the techniques that developers can use to overcome them and will include:

- Mobile Network Overhead
- Critical Path Rendering
- Basic web performance techniques
- Responsive images
- Performance build automation
- Mobile Website profiling and debugging tools
- A step by step website optimization

more...
No comment yet.
Scoop.it!

Creating an Isomorphic Web Application with ReactJS and Express

In our fast-changing world, technology is rapidly taking giant leaps forward. For the people who are just beginning to take part in this new “gold rush” of web development, it is sometimes inevitable to feel a sense of desperation of not being able to keep up with the evolution. In this article, I will attempt to give a brief overview of one of the most-adored features of Facebook’s Reactframework—isomorphism(a.k.a. server side rendering).

more...
No comment yet.