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 tags: 'React', 'Tutorial'. Clear
Scoop.it!

React Tutorial using MERN stack

React Tutorial using MERN stack | JavaScript for Line of Business Applications | Scoop.it

This is a step-by-step tutorial that will help you get up to speed with React quickly, and also build a complete app with the MERN (Mongo-Express-React-Node) stack. You'll also learn other tools that you typically use to build an app: Gulp, Browserify, Material-UI and React-Bootstrap.

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

Learn React with chantastic

Learn React with chantastic | JavaScript for Line of Business Applications | Scoop.it
3ish minute videos on React
No comment yet.
Scoop.it!

The Flux Quick Start Guide

The Flux Quick Start Guide | JavaScript for Line of Business Applications | Scoop.it

This article will give you an overview of how to build JavaScript applications with the Flux pattern. It's the minimal amount of material to get you familiar with the core Flux concepts. You should follow along with the accompanying starter kit. You'll need a basic understanding of React and preferably some experience building components. 

No comment yet.
Scoop.it!

A primer for building Single-Page Applications with React

A primer for building Single-Page Applications with React | JavaScript for Line of Business Applications | Scoop.it

Part 0: Preface
Part 1: Intro to React
Part 2: Harmony aka ES6 aka ES2015
Part 3: Useful Libraries
Part 4: Webpack
Part 5: React Router
Part 6: Flux
Part 7: Testing
Part 8: Rails (Bonus Chapter)

No comment yet.
Scoop.it!

React.js View State Management Tutorial

React.js View State Management Tutorial | JavaScript for Line of Business Applications | Scoop.it
One of the biggest and most common problems in front-end web development is state management. A developer is constantly focused on keeping the state object in sync with its view and the DOM representation. Users can interact with the application in many ways and it's a big task to provide a clean transition from one view state to another.

We will see how using React JavaScript library can help us reduce application complexity and off-load UI transitions from our application.
No comment yet.
Scoop.it!

The React.js Way: Getting Started Tutorial

The React.js Way: Getting Started Tutorial | JavaScript for Line of Business Applications | Scoop.it
This tutorial helps to jump in React.js with ES6 for newcomers and cover the basics like: components, virtual DOM, JSX, testing, Webpack and Babel....

In this three-part blog series React.js tutorial I am going to explain these concepts and give a recommendation on what to use and how. We will cover ideas and technologies like:

  • ES6 React
  • virtual DOM
  • Component-driven development
  • Immutability
  • Top-down rendering
  • Rendering path and optimization
  • Common tools/libs for bundling, ES6, request making, debugging, routing, etc.
  • Isomorphic React
No comment yet.
Scoop.it!

React Examples: Mailbox

React Examples: Mailbox | JavaScript for Line of Business Applications | Scoop.it

This post explains the construction of a simple React web application. The app we want to design is basically a React clone of the email client in Ember‘s home page. It won’t send email, or communicate with a backend to pull a list of emails, it’s just a bit of static data with some Bootstrap styling.


Each component is, as always, a visible, semantic element on the screen. We have components to represent an email, a list of emails, the list of mailboxes, and a general component for when no email or mailbox has been selected.

No comment yet.
Scoop.it!

React JS Tutorial and Guide to the Gotchas

React JS Tutorial and Guide to the Gotchas | JavaScript for Line of Business Applications | Scoop.it

If you haven't used React at all, you're in the right place. If you have used React, but you've run into some confusing edges, you're still in the right place. This guide covers all the basics as well as some of the confusing gotchas.

No comment yet.
Scoop.it!

Gentle Introduction to the React Flux Architecture - Learn React

Gentle Introduction to the React Flux Architecture - Learn React | JavaScript for Line of Business Applications | Scoop.it

The absolute best JavaScript tutorials videos on the Internet. Start learning AngularJS and ReactJS Today!

React is the "V" in your MVC, but with the Flux Application Architecture you can add the "M & C" to easily wire up components into a working application.

To get you started, we've published a series. We'll start with 5 (free) lessons as an introduction, and then move into building a real-world React Flux example application.

No comment yet.
Scoop.it!

The React Quick Start Guide

The React Quick Start Guide | JavaScript for Line of Business Applications | Scoop.it

This article will give you a quick overview of how to build user interfaces in React JS. There's just enough to get yourself started and nothing more. Code along with this starter kit (instructions in the repo) or just read along.

No comment yet.
Scoop.it!

Building a Multi-Step Registration Form with React

Building a Multi-Step Registration Form with React | JavaScript for Line of Business Applications | Scoop.it

React is awesome at handling what and when to show something to the user. In our example, what we're showing are related input fields (simple markup), and when those fields are shown is determined by the current step (the state of our Registration component). One way of thinking of this relationship is state determines shape. Depending on the state of our application, we're able to simply and predictably render something different, whether it's as small as a single character change or showing a completely different component altogether.

No comment yet.
Scoop.it!

Learning React.js: Getting Started and Concepts

Learning React.js: Getting Started and Concepts | JavaScript for Line of Business Applications | Scoop.it

One of it’s unique selling points is that not only does it perform on the client side, but it can also be rendered server side, and they can work together inter-operably.

The way React works, rather than taking the real person and rebuilding them from the ground up, it would only change the face and the arms. This means that if you had text in an input and a render took place, as long as the input’s parent node wasn’t scheduled for reconciliation, the text would stay undisturbed.

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:...

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).

No comment yet.
Scoop.it!

How to communicate between React components

How to communicate between React components | JavaScript for Line of Business Applications | Scoop.it

How to communicate between React components ? That’s a good question, and there are multiple answers. That depends of the relationship between the components, and then, that depends on what you prefer.

I am not talking about data-stores, data-adapters or this kind of data-helpers that gets data from somewhere that you need to dispatch to your components, I’m really just talking about communication between React components only.


There are 3 possible relationships:

owner to ownee (parent to child)
ownee to owner (child to parent)
they are not related

No comment yet.
Scoop.it!

Flux in Depth. Overview and Components.

Flux in Depth. Overview and Components. | JavaScript for Line of Business Applications | Scoop.it
This is the first blog post of the series “Flux in Depth”. Is this “yet the another flux tutorial”? What I have seen so far, while researching flux, were mostly “how-to” tutorials (usually with todo applications), which describe the main components of given flux application and the data flow between them. This is definitely useful for getting a high-level overview of how everything works but in reality there are plenty of other things, which should be taken under consideration. In this series of posts I will try to wire theory with practice and state my own solutions of problem I face on daily basis. Since these solutions might not be perfect, I’d really appreciate giving your opinion in the comments section below.
No comment yet.
Scoop.it!

Best Practices for Component State in React.js

Best Practices for Component State in React.js | JavaScript for Line of Business Applications | Scoop.it

When writing React applications, it’s important to know when and when not to use state in components. In this post, I will review what I consider to be best practices for working with state. TL;DR:

  1. If a component does not own a datum, then that datum should not influence it’s state.
  2. Store the simplest possible values to describe a component’s state.
  3. Leave calculations and conditionals to the render function.

These rules obviously have exceptions and should be violated when appropriate; though if you’re able to follow them most of the time, you will find that your components will be easier to break down, the tests will be easier to write, and the entire application will have fewer bugs. Let’s take a closer look at each of these rules.

No comment yet.
Scoop.it!

Immutability in React

Immutability in React | JavaScript for Line of Business Applications | Scoop.it

In this article Christian Johansen gives you an example of how immutability can be used with React, the well-known library developed by Facebook.

In my previous article I mentioned that tracking changes can be drastically improved because we can short-circuit the expensive diffing algorithm in libraries like React. When you give React some new data, it calls theshouldComponentUpdate() function on all the components. If this function returns false, React won’t diff this component with the existing version, so the library won’t re-render the elements that make the component. This potentially saves a lot of work, and can lead to a massive improvement in performance.

Let’s consider our game. When you reveal a tile, the whole game is rendered over again. However, thanks to our immutable data model, all the tiles that didn’t change will still be the same exact references. These don’t need to be re-rendered, because with immutable data, same reference means no change. To let React know about this detail, we can improve our component wrapper as follows:

No comment yet.
Scoop.it!

Testing React apps with Protractor

Testing React apps with Protractor | JavaScript for Line of Business Applications | Scoop.it

If you’ve ever used AngularJS, you’ll know that it has a pretty cool built-in testing setup - Karma for unit testing, and Protractor for end-to-end testing. I love Protractor, but recently ran into issues when trying to use it for a non-Angular project. Here’s how to get it working.

If you’ve not encountered end-to-end testing before, you’re in for a treat. Unlike unit testing, which is designed to validate very small components, an end-to-end test can be used to simulate how a user will actually interact with your website. We can make it go to a page, click a link, check the right page gets loaded, give it some input, check it displays the correct output - whatever you want, really. Used in conjunction with other forms of testing, it gives us a really useful look at how our site’s working, and is great for helping us catch any sneaky regressions.

No comment yet.
Scoop.it!

React: Create maintainable, high-performance UI components

React: Create maintainable, high-performance UI components | JavaScript for Line of Business Applications | Scoop.it

Go beyond the browser DOM with the React JavaScript library for maintainable web UIs

Start using React, an open source JavaScript library for easily creating UI view components and composing them to form modern web UIs. Follow this tutorial's examples to learn prescribed best practices for crafting React components in a maintainable and reusable manner.

Jan Hesse's insight:

https://github.com/Sing-Li/react-starter

No comment yet.
Scoop.it!

React.js best practices and conventions

React.js best practices and conventions | JavaScript for Line of Business Applications | Scoop.it
An opinionated set of React.js best practices to make components more readable, more robust and easily maintainable.
No comment yet.
Scoop.it!

Getting Started with React.js

React.js is a JavaScript library for building user interfaces.

- Just the UI: Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.

- Virtual DOM: React uses a virtual DOM diff implementation for ultra-high performance. It can also render on the server using Node.js — no heavy browser DOM required.

- Data flow: React implements one-way reactive data flow which reduces boilerplate and is easier to reason about than traditional data binding.

No comment yet.
Scoop.it!

React.js Tutorial Pt 1: A Comprehensive Guide to Building Apps with React.js

React.js Tutorial Pt 1: A Comprehensive Guide to Building Apps with React.js | JavaScript for Line of Business Applications | Scoop.it

Components are the building blocks of React. If you’re coming from an Angular background, components are very similar to Directives. If you’re coming from a different background, they’re essentially widgets or modules. You can think of a component as a collection of HTML, CSS, JS, and some internal data specific to that component. I like to think of React components as the Kolaches of the web. They have everything you need, wrapped in a delicious composable bundle. These components are defined either in pure JavaScript or they can be defined in what the React team calls “JSX”. If you decide to use JSX (which you most likely will, it’s pretty standard – and it’s what we’ll use for this tutorial), you’ll need some compile stage to convert your JSX to JavaScript, we’ll get to this later.

Jan Hesse's insight:

Pt I: A Comprehensive Guide to Building Apps with React.js.

Pt II: Building React.js Apps with Gulp, and Browserify.

Pt III: Architecting React.js Apps with Flux. (Coming Soon)

Pt IV: Add Routing to your React App with React Router. (Coming Soon)

Pt V: Add Data Persistence to your React App with Firebase. (Coming Soon)

Pt VI: Combining React.js, Flux, React Router, Firebase, Gulp, and Browserify. (Coming Soon)

No comment yet.
Scoop.it!

Creating A Simple Shopping Cart with React.js and Flux

Creating A Simple Shopping Cart with React.js and Flux | JavaScript for Line of Business Applications | Scoop.it

Today we are going to put all of it together to create a basic shopping cart application. In a typical e-commerce website, the product detail page has several moving parts that rely on one another and React really helps simplify and organize the co-dependency between them.

No comment yet.