JavaScript for Line of Business Applications
596.1K views | +0 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

Current selected tag: 'React'. Clear
Scoop.it!

cans: A framework for building React MobX application

cans: A framework for building React MobX application | JavaScript for Line of Business Applications | Scoop.it

In my opinion, the best way to building web User Interface is separate the state and the UI. This is what Elm Architecture dose. It separates every elm program into Model, Update and View parts. It’s good. But I am not familiar with functional programming, so do many web UI developers.

Though I am not familiar with functional programming, I always learn a lot from it. I love FP because it is a good tool to write less bug and write more maintainable code. This is why I love React too. Every UI component can write as a function of state ((state) => UI), which let you test the UI more easy, just pass different state and expect the return value.

Using MobX and React means you get all of it. MobX will take care of the state, React will take care of the View render. And then my framework cans came out.

No comment yet.
Scoop.it!

React’s Five Fingers of Death. Master these five concepts, then master React.

React’s Five Fingers of Death. Master these five concepts, then master React. | JavaScript for Line of Business Applications | Scoop.it

Now don’t get me wrong, this doesn’t mean I can turn you into a React master instantly. But at least you’ll understand all the major concepts, if you do decide to jump in.

The five key concepts are:

  1. Components
  2. JSX
  3. Props & State
  4. The Component API
  5. Component Types
No comment yet.
Scoop.it!

Introducing Electrode, an open source application platform powering Walmart.com

Introducing Electrode, an open source application platform powering Walmart.com | JavaScript for Line of Business Applications | Scoop.it

80 million monthly visitors, loads up to 10,000 requests per second, and 15 million items, adding more than one million new items each month is what Walmart.com’s scale is all about. With an e-commerce business that holds the number two online retailer spot in the U.S., we needed not just to scale Walmart.com, but to really leverage the talent and creativity of our engineering base.

No comment yet.
Scoop.it!

Immutable libraries and TypeScript

Immutable libraries and TypeScript | JavaScript for Line of Business Applications | Scoop.it
I have been researching immutable libraries, and found many of them on redux-ecosystem-links. Following are the problems I found with them: To address above issues, I have made another library…
No comment yet.
Scoop.it!

Real-World ReactJS and Redux, Part 1

Real-World ReactJS and Redux, Part 1 | JavaScript for Line of Business Applications | Scoop.it
From real-world ReactJS usage and scaling our app at Threat Stack, we’ve learned that consistent patterns, data structures, and appropriate tools will help you build your larger system. And we avoided magic because it doesn’t scale!
Jan Hesse's insight:

Part 1: http://blog.threatstack.com/real-world-reactjs-and-redux-part-1

Part 2: http://blog.threatstack.com/real-world-reactjs-and-redux-part-2

Part 3: http://blog.threatstack.com/real-world-reactjs-and-redux-part-3

No comment yet.
Scoop.it!

Multifactor Authentication in your React Apps

Multifactor Authentication in your React Apps | JavaScript for Line of Business Applications | Scoop.it

Security can't be overemphasized when it comes to developing software applications. A single authentication factor system (e.g username and password) is no longer safe enough. If credentials are stolen, a user can be impersonated. Implementing a multi-factor authentication system increases security by requiring the user to provide an additional sets of credentials before they are granted access.

Implementing multi-factor authentication can be time-consuming, challenging, and often difficult to get right. However, in this post I'll show you how to quickly implement multi-factor authentication in your React applications in just a few minutes without breaking a sweat!

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!

MobX - Simple, scalable state management

MobX - Simple, scalable state management | JavaScript for Line of Business Applications | Scoop.it

MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). The philosophy behind MobX is very simple:

Anything that can be derived from the application state, should be derived. Automatically.

which includes the UI, data serialization, server communication, etc.

MobX is inspired by reactive programming principles as found in spreadsheets. It is inspired by MVVM frameworks like in MeteorJS tracker, knockout and Vue.js. But MobX brings Transparent Functional Reactive Programming to the next level and provides a stand alone implementation. It implements TFRP in a glitch-free, synchronous, predictable and efficient manner.

No comment yet.
Scoop.it!

React application data-flow: Where and how to store your data?

React application data-flow: Where and how to store your data? | JavaScript for Line of Business Applications | Scoop.it

In this article, we’re going to look at some best practices on how data should be modeled in a React app. Typically, this is when we would start talking about Flux, Redux and all that, but in this case we won’t. Instead, we’re going to start by implementing a light-weight data store mechanism and use that instead. I’ll tell you why in a moment.

No comment yet.
Scoop.it!

Wrapping jQuery with React

Are you interested in migrating your existing jQuery project to React?

Maybe you’re just interested in using a jQuery plugin in your project and there’s no React component that handles your needs.

Using a lot jQuery plugins in your React project is not something that I would encourage, but in these situations wrapping a jQuery plugin with React might be your best option.

No comment yet.
Scoop.it!

Cabin - A React/Redux Tutorial Series

Cabin - A React/Redux Tutorial Series | JavaScript for Line of Business Applications | Scoop.it

This example application created by getstream.io teaches you how to to build an Instagram style application with activity streams and newsfeeds.

No comment yet.
Scoop.it!

Rebass - ReactJS Stateless Functional UI Components

Rebass - ReactJS Stateless Functional UI Components | JavaScript for Line of Business Applications | Scoop.it

Rebass is a React UI component library that uses inline styles to avoid CSS dependencies and prevent leaky global styles from affecting an application. Rebass components inherit styles where appropriate and can be customized using React Context. Rebass components are built as stateless functional components and modeled as presentational components. With unit tests for each component, Rebass is great for prototyping and ready for production.

No comment yet.
Scoop.it!

How I learned to stop worrying and love the JSX

How I learned to stop worrying and love the JSX | JavaScript for Line of Business Applications | Scoop.it
So you’ve heard the commotion about React, and thought you’d take a look. And you’ve liked what you’ve seen! Or you did, until you saw this: JSX butters my toast OK. You’re happy to give a new technology the benefit of the doubt. But this? Didn’t we escape PHP years ago? And what ever... Continue reading →
No comment yet.
Scoop.it!

An Introduction to Life Cycle Events in React

An Introduction to Life Cycle Events in React | JavaScript for Line of Business Applications | Scoop.it

There are many different life cycle methods, but in this post we’re going to explore the ones that are used most often (which will cover ~90% of use cases).

You can really break React’s Life Cycle Methods down into two categories.

  1. When a component get mounted to the DOM and unmounted.
  2. When a component receives new data.
No comment yet.
Scoop.it!

Redux: Structure your frontend applications

Redux: Structure your frontend applications | JavaScript for Line of Business Applications | Scoop.it

avascript ecosystem is really rich: full of developers but also full of frameworks and libraries.

When you want to develop a frontend application, whatever its rendering framework, you will have to structure things into your project in order to organize the data management with views. This case occurs particularly when you use component rendering frameworks like React or VueJS.

Historically, this has been needed by React so that’s why Facebook has open sourced its tool named Flux.

No comment yet.
Scoop.it!

Build a MobX Example App in 4 Steps

Build a MobX Example App in 4 Steps | JavaScript for Line of Business Applications | Scoop.it
In this blog I will show you how to pick up an existing codebase example and curtail it into your own, beautiful MobX Example App built using React, MobX and the Cosmic JS API to create and remove…
No comment yet.
Scoop.it!

React’s Component Lifecycles – MoFed

React’s Component Lifecycles – MoFed | JavaScript for Line of Business Applications | Scoop.it
React’s rendering method enables users to work with a virtual DOM. This type of DOM rendering can cause issues when it comes to accessing the browser DOM and utilizing new props in specific ways. So…
No comment yet.
Scoop.it!

Recycle — Truly Functional and Reactive way of writing React apps

Recycle — Truly Functional and Reactive way of writing React apps | JavaScript for Line of Business Applications | Scoop.it

One of the most popular FRP JavaScript framework today is — Cycle.js.

Although, Recycle uses React, its actually inspired with Cycle.js. Recycle initial version had nothing to do with React and was made as an “opinionated version of Cycle.js”.

But, as it turns out, defining components composed of a view, actions and functions responsible for modifying state is a model that can be described without the use of the main function, drivers or complex stream manipulations.

No comment yet.
Scoop.it!

Next.js - A minimalistic framework for universal server-rendered React applications

Next.js - A minimalistic framework for universal server-rendered React applications | JavaScript for Line of Business Applications | Scoop.it

We're very proud to open-source Next.js, a small framework for server-rendered universal JavaScript webapps, built on top of React, Webpack and Babel, which powers this very site!

Yu PANG's curator insight, November 21, 2016 9:20 AM
Next.js - A minimalistic framework for universal server-rendered React applications
Scoop.it!

A Guide For Building A React Redux CRUD App

A Guide For Building A React Redux CRUD App | JavaScript for Line of Business Applications | Scoop.it
Building a single-page CRUD app using React and Redux can be challenging because you’ll have to deal w/ new techniques and terms like…
No comment yet.
Scoop.it!

3 simple steps to improve your React Redux code

3 simple steps to improve your React Redux code | JavaScript for Line of Business Applications | Scoop.it
Learn how to improve your React Redux code and ensure its scalability and maintainability in the long run through 3 simple steps.

I’ll share a few insights on how I transformed my Frankenstein into a clean and Redux-compliant codebase, while still being able to deliver new features.

The insights from this article might also be useful for seasoned developers, who want some tips on how to achieve a better-organized and scalable code.

No comment yet.
Scoop.it!

Styling in React

Styling in React | JavaScript for Line of Business Applications | Scoop.it
Learn how to style content in React using both old-school CSS and React's inline approach.

For generations, mankind (and probably really smart dolphins) have styled their HTML content using CSS. Things were good. With CSS, you had a good separation between the content and the presentation. The selector syntax gave you a lot of flexibility in choosing which elements to style and which ones to skip. You couldn't even find too many issues to hate the whole cascading thing that CSS is all about.

Well, don't tell React that. While React doesn't actively hate CSS, it has a different view when it comes to styling content. As we've seen so far, one of React's core ideas is to have our app's visual pieces be self-contained and reusable. That is why the HTML elements and the JavaScript that impacts them are in the same bucket we call a component.

No comment yet.
Scoop.it!

Fullstack React

Fullstack React | JavaScript for Line of Business Applications | Scoop.it

Fullstack React is a weekly newsletter about the React ecosystem with an emphasis on useful libraries, tutorials and code. Subscribe to read the best articles each week on React, Flux, GraphQL, Relay, and friends.

No comment yet.
Scoop.it!

Containers Are Dead. Long Live Observable Combinators

Containers Are Dead. Long Live Observable Combinators | JavaScript for Line of Business Applications | Scoop.it

I really like Cycle.js. It is simple and declarative. But it has two caveats. First it has hard RxJs dependency and that is too much: if I select a rendering library then I don’t want it to constrain my state handling! Second, Cycle’s DOM event subscription system is not practical (regardless how functional and “reactive” it may be): the emitted data must be encoded into DOM (e.g. by using data attributes like data-id=”myId”). Just ugly.

Single source of Truth. And its problems
The state of your whole application is stored in an object tree inside a single store.

That is a direct quote from Redux website. The most of the current Flux libraries use combined reducer and this has locked the developers’ mindsets to the fact that the state should be like a mega sized “blob” which is passed to the “dummy” components via props. And there is always an explicit layer which separates the state handling and the UI: the top level “application container”. Perhaps you’ve seen this kind of lines in Redux apps...

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