Web Development
4.7K views | +0 today
Follow
Web Development
Your new post is loading...
Your new post is loading...
Scooped by Prabin Varma
Scoop.it!

Angular 2 Template Syntax | Victor Savkin

Dart, JavaScript, software design, large-scale architecture, and more.
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

Creating Reactive, Loosely Coupled Apps with Aurelia and Flux - Episode 1

Creating Reactive, Loosely Coupled Apps with Aurelia and Flux - Episode 1 | Web Development | Scoop.it

Why should we even bother with reactive programming? Well, we all do care about writing testable, loosely coupled code, but are our dependencies really loose? Imagine that you have a working piece of code implementing particular business logic, and you would like to connect a new feature into the flow. If your code isn't reactive yet, you would have to add more "if-ology" to it, causing you to have to change the existing code base - that is not what I believe loosely coupled dependencies look like. How can the reactive, unidirectional Flux pattern help?


Via Jan Hesse
more...
No comment yet.
Scooped by Prabin Varma
Scoop.it!

The React.js Way: Flux Architecture with Immutable.js

The React.js Way: Flux Architecture with Immutable.js | Web Development | Scoop.it
“How to write blazing fast component based React.js apps with Flux architecture, Immutable.js, and ES6.”
more...
No comment yet.
Scooped by Prabin Varma
Scoop.it!

Making React reactive: the pursuit of high performing, easily maintainable React apps

Making React reactive: the pursuit of high performing, easily maintainable React apps | Web Development | Scoop.it
How to build fast and elegant React apps? Combining React with Observables is a match made in heaven.
more...
No comment yet.
Scooped by Prabin Varma
Scoop.it!

Simple isomorphic routing using react.js, express and react-router

Simple isomorphic routing using react.js, express and react-router | Web Development | Scoop.it
“A simple example of isomorphic routing using react.js, express and react-router. This is a really easy example and should get you up and running really quickly...”
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

Better Unit Testing in ReactJS

Better Unit Testing in ReactJS | Web Development | Scoop.it

Better Unit Testing in ReactJSwith expanded-react-test-utils


Via Jan Hesse
more...
No comment yet.
Scooped by Prabin Varma
Scoop.it!

A Guide To Transclusion in AngularJS

A Guide To Transclusion in AngularJS | Web Development | Scoop.it
Tero Parviainen
Prabin Varma's insight:

A must read into one of the most misunderstood / less understood parts of Angular.

more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

True Hash Maps in JavaScript

True Hash Maps in JavaScript | Web Development | Scoop.it

Using an object literal as a simple means to storing key-value pairs is common place within JavaScript. However, an object literal is not a true hash map and therefore poses potential liabilities if used in the wrong manner. While JavaScript may not offer native hash maps (at least not cross-browser), there is a superior alternative to object literals to capture the desired functionality without the pitfalls.


Via Jan Hesse
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

The Case for Flux

The Case for Flux | Web Development | Scoop.it
Friends don’t let friends pick a design pattern blindly.
Via Jan Hesse
more...
No comment yet.
Rescooped by Prabin Varma from Angular.js and Google Dart
Scoop.it!

The Flux Quick Start Guide

The Flux Quick Start Guide | Web Development | 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.


Via Jan Hesse, Piyas De
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

Isomorphic apps = normal React+FRP apps

Isomorphic apps = normal React+FRP apps | Web Development | Scoop.it

Isomorphic apps are almost like “normal” apps when creating them with the FRP. Because the FRP encourages you to always pass the entire state object to the rendering function, nothing prevents you to do the same in the backend as well.

If you have read other tutorials you may already know that React has a “backend-compatible” function called renderToString. It behaves exactly like render but doesn’t call componentDidMount and returns the rendered HTML as a string instead of placing it into a DOM node. Component & model in → HTML out. Couldn’t be simpler?

Well… actually, it could be. There are two gotchas you should know before trying to use renderToString:

- - Your backend must understand JSX syntax - Your front-end modules must be CommonJS compatible
Via Jan Hesse
more...
No comment yet.
Scooped by Prabin Varma
Scoop.it!

Michael Pierre on Twitter

Michael Pierre on Twitter | Web Development | Scoop.it
Modular Angular: Apps that Scale by @bendrucker | https://www.youtube.com/watch?v=4a5L82OBBWk … #JavaScript pic.twitter.com/6VSw2ZwsBu
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

Good bye Flux, welcome Bacon/Rx?

Good bye Flux, welcome Bacon/Rx? | Web Development | Scoop.it
Facebook introduced Flux about a year ago for client-side web application building and since then it has become one of t…
Via Jan Hesse
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

Creating an Isomorphic Blogging app Using React and Flux

Creating an Isomorphic Blogging app Using React and Flux | Web Development | Scoop.it

One of the many benefits of React is its ability to render components on both client and server. This tutorial aims to teach you how to create isomorphic apps using React and Flux architecture. We will also create a simple blogging app to understand how exactly Flux and React fit together.


Via Jan Hesse
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

Transitioning to Flux Architecture

Transitioning to Flux Architecture | Web Development | Scoop.it

I’m going to share how we transitioned to Flux and give some insight into why each part of the architecture is valuable. I’ll also show a couple examples similar to real problems we faced here at Kapost. I do assume the reader has some knowledge of React, a rough idea of what Flux is, and doesn’t mind reading a lot of code. If you are unfamiliar with React and Flux, check out the React documentation and the basic introduction to Flux. (Unfortunately the Flux docs are like a shoddy professor—giving a vague lecture and basic example, then running off and expecting you to solve the hard problems with no office hours.) I’ll try to explain the parts in more detail below.


Via Jan Hesse
more...
No comment yet.
Scooped by Prabin Varma
Scoop.it!

Building Plugins for React Apps

Building Plugins for React Apps | Web Development | Scoop.it
We are building a new email app using React, Flux, and Electron with a primary goal of extensibility. Over the past few months, we've designed a new way to structure large React applications in order to reliably and safely support plugins.
more...
No comment yet.
Scooped by Prabin Varma
Scoop.it!

Styling React Components in Sass

Styling React Components in Sass | Web Development | Scoop.it
“The following is a guest post by David Khourshid about how he uses Sass and the 7-1 pattern to style React components. React being all over the place these...”
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

Comprehensive Beginner's Guide To ReactJS

Comprehensive Beginner's Guide To ReactJS | Web Development | 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:...


Via Jan Hesse
more...
No comment yet.
Rescooped by Prabin Varma from Angular.js and Google Dart
Scoop.it!

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

How to Implement Node + React Isomorphic JavaScript & Why it Matters | Web Development | 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.


Via Jan Hesse, Piyas De
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

A cookbook for using Webpack with React JS

Recipes for solving common Webpack problems
Via Jan Hesse
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
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).


Via Jan Hesse
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

Baby’s First Reaction

Baby's First Reaction - JavaScript Scene - Medium
A “Hello, World” Example for React
Via Jan Hesse
more...
No comment yet.
Rescooped by Prabin Varma from Angular.js and Google Dart
Scoop.it!

BangJS - use Bacon.js in an Angular context

BangJS -  use Bacon.js in an Angular context | Web Development | Scoop.it

BangJS is Bacon-flavored Angular. Program watertight web app user interface behavior with AngularJS and Bacon.js.

Enjoy everything that’s good about functional reactive programming with all the benefits of a mature and vibrant front-end framework ecosystem.

BangJS offers you the tools to take this challenge head on:

make support for asynchronous logic the default;focus on your business logic instead of managing state;keep your code maintainable and scalable due to inherent composability.
Via Jan Hesse, Piyas De
more...
No comment yet.
Rescooped by Prabin Varma from JavaScript for Line of Business Applications
Scoop.it!

Reactive ReactJS: improving data flow using reactive streams

Reactive ReactJS: improving data flow using reactive streams | Web Development | Scoop.it
“Many people that use ReactJS as their renderer are using some kind of theFlux architecture to store data, react to actions and notify componentsabout changes. After a University project involving Scala and RxJava, I wantedto use these ideas together with ReactJS views. Besides that I found two thingsmissing in the Flux architecture:composing different kinds of data easilyinteraction with the serverOf course there are ways to solve this, but perhaps reactive streams can helpease these shortcomings.”
Via Jan Hesse
more...
No comment yet.
Scooped by Prabin Varma
Scoop.it!

Creating your first Angular 2 app: From authentication to calling an API and everything in between

Creating your first Angular 2 app: From authentication to calling an API and everything in between | Web Development | Scoop.it
Learn how to create a real world angular 2 app using Pipes, Directives, Components, DI, ES6 and much more! We'll implement from Authentic...
more...
No comment yet.