JavaScript for Li...
Follow
Find
432.5K views | +73 today
 
Scoop.it!

Creating Windows 8 Apps with Ext JS

Creating Windows 8 Apps with Ext JS | JavaScript for Line of Business Applications | Scoop.it

In the coming weeks, I’ll be speaking at SenchaCon and ThatConference about building Windows 8 apps using Ext JS. Although these presentations cover the same concepts, their content is slightly different (based upon the target audience of each conference).

Because I don’t expect everyone to have a strong background in either, I thought I would list all of the relevant resources here rather than having 30 links at the end of each slide deck.

more...
No comment yet.
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!

Replacing callbacks with ES6 Generators

Replacing callbacks with ES6 Generators | JavaScript for Line of Business Applications | Scoop.it
By Matt Baker There are a lot of articles out there discussing the use of ES6 generators to remove the “callback pyramid” we so often encounter in JavaScript. Unfortunately, most of them rely on libraries, and few tell the whole story.
more...
No comment yet.
Scoop.it!

Flux without Flux: Using Flux Architecture in Plain React

Flux without Flux: Using Flux Architecture in Plain React | JavaScript for Line of Business Applications | Scoop.it

If you are into ReactJS you probably wondered whether or not you should use Flux.

In this post I'll share with you a design pattern that implements a very similar Flux architecture, but using just plain React.

I have tested this "Flux without Flux" in many different settings, including reusable components, with great success and I'd love it if you gave it a try and let me know what you think.

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

React Contexts and Dependency Injection

React Contexts and Dependency Injection | JavaScript for Line of Business Applications | Scoop.it

In this post I want to explore the idea of using contexts in React to implement dependency injection (DI) in our application.

We’ll cover two things:

What contexts are in React and how they work
Why we care about DI and how we can implement them using contexts.
React and Contexts
Contexts were formalized in React 0.12, and are planned for React 1.0. They are a mechanism for a component to pass properties down to their descendent components. The difference between props and context is that context chains to descendents, whereas props do not.

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

Angular-Typescript Boilerplate

Angular-Typescript Boilerplate | JavaScript for Line of Business Applications | Scoop.it

Tiny Angular version 1 app written in Typescript with modularized Gulp tasks. Perfect as boilerplate.

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

Better Unit Testing in ReactJS

Better Unit Testing in ReactJS | JavaScript for Line of Business Applications | Scoop.it

Better Unit Testing in ReactJS
with expanded-react-test-utils

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

Comprehensive Beginner's Guide To ReactJS

Comprehensive Beginner's Guide To ReactJS | JavaScript for Line of Business Applications | Scoop.it

React in a way, resembles Angular directives but that’s all there is: these directives. In React, they’re called “Components”. When creating a component, certian methods are run (if available). The main one is render which uses data that React exposes (like state, props, etc. more on that later) and uses it to build a fake DOM using “JSX”.

The beauty of ReactJS is its one-way flow which is easier to follow and understand. There is no $digest nor any way to setup $watch. But let’s look at all the cool things about React first:...

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!

Yeoman generator for ReactJS and Webpack

Yeoman generator for ReactJS and Webpack | JavaScript for Line of Business Applications | Scoop.it

Yeoman generator for ReactJS - lets you quickly set up a project including karma test runner and Webpack module system.

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

Easily testing React components with react-test-tree

Easily testing React components with react-test-tree - Qubit Engineering - Medium
While I love React, testing React components leaves a lot to be desired. The TestUtils are useful but don’t have a parti…
more...
No comment yet.
Scoop.it!

React Native Playground: Share and test your React Native code in the browser

React Native Playground: Share and test your React Native code in the browser | JavaScript for Line of Business Applications | Scoop.it

For testing and sharing your React Native apps and snippets,
from the comfort of your browser.

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

TodoMVC written with React and jsx-typescript

TodoMVC written with React and jsx-typescript | JavaScript for Line of Business Applications | Scoop.it

TodoMVC implementation built on top of React with JSX-TypeScript

more...
No comment yet.
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.