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 tag: 'isomorphic'. Clear
Scoop.it!

Isomorphic TypeScript, fetch, promises, ava and coverage

Isomorphic TypeScript, fetch, promises, ava and coverage | JavaScript for Line of Business Applications | Scoop.it

Writing an API client in JavaScript is a lot of work, you have to write one for Node.js and one for the browser. I found out a way to have both on the same codebase with the same API, all that with only changes to the build scripts. It’s called isomorphic code, and doing it with modern TypeScript isn’t easy, but it’s achievable.

TypeScript brings lots of advantages to the JavaScript world with almost mandatory typings. But TypeScript code is transpiled, and to play well with other libraries that aren’t originally written in TypeScript needs manually written type definition and some hacks to play well with other external tools, like code coverage and test frameworks.

No comment yet.
Scoop.it!

catbee: High level framework based on Catberry, Baobab and Cerebral concepts

catbee: High level framework based on Catberry, Baobab and Cerebral concepts | JavaScript for Line of Business Applications | Scoop.it

Catbee is Catberry small brother (read as fork). Unlike the Catberry, Catbee use "Single State Tree" conception. All state mutations run in signals, and powered by AppState module.

With Boilerplate for ES6, YAML, CSSModules, PostCSS, Cached API Service, ESLint and Lab.

No comment yet.
Scoop.it!

Back to the future: Isomorphic javascript applications

Remember when we use to “render” websites directly from the backend?Single page applications are cool and catchy, but some times they fall short, for example, when hit by a search engine, and that’s when you start turning to isomorphic javascript applications.in this talk I share our experience gained on the field while turning our frontends form angular SPAs to isomorphic vanillaJS javascript apps with node a a thin active layer on the client side, taking the best form famous frameworks such as angular and react, and making our own mix.

No comment yet.
Scoop.it!

Isomorphic apps = normal React+FRP apps

Isomorphic apps = normal React+FRP apps | JavaScript for Line of Business Applications | 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:

  1. Your backend must understand JSX syntax
  2. Your front-end modules must be CommonJS compatible
No comment yet.
Scoop.it!

React To The Future With Isomorphic Apps

React To The Future With Isomorphic Apps | JavaScript for Line of Business Applications | Scoop.it
Find out why isomorphic apps might just give us the best of both worlds: using JavaScript in both places, and delivering to the user a good experience by sending down something they can see quickly and then building on that with client-side JavaScript.
No comment yet.
Scoop.it!

Oh god, I built another JavaScript framework

Oh god, I built another JavaScript framework - On Coding - Medium
How and why I was driven into the warm embrace of my very own web stack

Once I started going down this path, I tried to come up with what the ideal web app bootstrapping framework might actually look like.

I took my codebase and literally started moving files around, trying to come up with a sane way of organizing everything that didn’t feel like a bunch of duct tape and bubble gum.

Here are the guidelines I came up with during this process...

Jan Hesse's insight:

http://skitjs.com/

No comment yet.
Scoop.it!

Brisket - Isomorphic Javascript Framework by Bloomberg

Brisket - Isomorphic Javascript Framework by Bloomberg | JavaScript for Line of Business Applications | Scoop.it

"best perceived speed, the greatest code freedom, and the strongest search engine optimization"

Brisket is a framework for building single page web apps using isomorphic JavaScript. A Brisket app is both a traditional web site AND a single page web application at the same time. Brisket provides the tools that you need to spend your time focusing on your application's logic rather than on "what environment is my code running in?".

Jan Hesse's insight:

http://www.bloomberg.com/company/2015-03-24/bloomberg-weve-made-brisket-can-make-anything/

No comment yet.
Scoop.it!

Building Isomorphic Webapps on the JVM with React.js and Spring Boot

Building Isomorphic Webapps on the JVM with React.js and Spring Boot | JavaScript for Line of Business Applications | Scoop.it

This article demonstrates how to combine React.js with Java and Spring Boot in order to pre-render fully-fledged MVC-frontends on the JVM server without even thinking about Node.js.

No comment yet.
Scoop.it!

Build A Real-Time Twitter Stream with Node and React.js

Build A Real-Time Twitter Stream with Node and React.js | JavaScript for Line of Business Applications | Scoop.it

Today we are going to build an application in React using Isomorphic Javascript.

React is amazing on the client side, but it’s ability to be rendered on the server side makes it truly special. This is because React uses a virtual DOM instead of the real one, and allows us to render our components to markup.

No comment yet.
Scoop.it!

Taunus - Micro Isomorphic MVC Engine for Node.js

Taunus - Micro Isomorphic MVC Engine for Node.js | JavaScript for Line of Business Applications | Scoop.it

Taunus focuses on delivering a progressively enhanced experience to the end-user, while providing a reasonable development experience as well. Taunus prioritizes content. It uses server-side rendering to get content to your humans as fast as possible, and it uses client-side rendering to improve their experience.

While it focuses on progressive enhancement, usability and performance are both core concerns for Taunus. Incidentally, focusing on progressive enhancement also improves both of these. Usability is improved because the experience is gradually improved, meaning that if somewhere along the line a feature is missing, the component is still expected to work.

No comment yet.
Scoop.it!

Isomorphic JavaScript - The future of web app development

Isomorphic JavaScript - The future of web app development | JavaScript for Line of Business Applications | Scoop.it
Isomorphic JavaScript Resources: Libraries, Frameworks, Tutorials, Techniques, and more.
No comment yet.
Scoop.it!

MERN — Easiest way to build isomorphic JavaScript apps using React and Redux.

MERN — Easiest way to build isomorphic JavaScript apps using React and Redux. | JavaScript for Line of Business Applications | Scoop.it
MERN is a scaffolding tool which makes it easy to build isomorphic apps using Mongo, Express, React and NodeJS. It minimizes the setup time and gets you up to speed using proven technologies.
No comment yet.
Scoop.it!

Universal React

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

One of the libraries to receive a huge amount of focus in 2015 has been ReactJS, a library created by Facebook for building user interfaces and web applications.

More generally we’ve seen an even greater rise in the number of applications built primarily on the client side with most of the logic implemented in JavaScript. One of the main issues with building an app in this way is that you immediately forgo any customers who might browse with JavaScript turned off, and you can also miss out on any robots that might visit your site to crawl it (such as Google’s search bots). Additionally, we gain a performance improvement by being able to render from the server rather than having to wait for all the JavaScript to be loaded and executed.

The good news is that this problem has been recognised and it is possible to build a fully featured client-side application that can be rendered on the server. The way in which these apps work is as follows...

No comment yet.
Scoop.it!

Creating an Isomorphic Blogging app Using React and Flux

Creating an Isomorphic Blogging app Using React and Flux | JavaScript for Line of Business Applications | 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.

No comment yet.
Scoop.it!

The Isomorphic Express Boilerplate

The Isomorphic Express Boilerplate | JavaScript for Line of Business Applications | Scoop.it

Isomorphic means that it's designed to run a lot of the same code on both the client and the server. Typically that includes a lot of rendering and domain logic. (Not to be confused with isomorphisms from category theory / functional programming. That's a totally different thing.)

There are many advantages to building apps this way, but the primary advantages are:

  • Cross-functional teams. Since everything is written in JavaScript, it's easier to build teams who know how to work on both the client and server sides of the app.
  • Write once, run everywhere. With the exception of a few library substitutions and browser polyfills, the code is shared, which means you have to write about half the code you'd write working on a non-isomorphic app.
  • More productive developers. Since the app is more consistent across the stack, there's no context switching when you need to maintain application behavior on both sides of the stack. Write the behavior once, and you're done. Context switching slows developers down significantly.
No comment yet.
Scoop.it!

Omniscient.js - Functional programming for ReactJS UIs

Omniscient.js - Functional programming for ReactJS UIs | JavaScript for Line of Business Applications | Scoop.it

A library providing an abstraction for React components that allows for fast top-down rendering embracing immutable data for js.

Do fast top-down rendering embracing immutable data. With cursors into immutable data structures, components can easily swap their own piece of data inside the larger immutable data structure only to render components that actually have changed their data layer.

No comment yet.
Scoop.it!

LazoJS - 100% SEO compliant; single code base; client, server framework with optimized time to render.

LazoJS - 100% SEO compliant; single code base; client, server framework with optimized time to render. | JavaScript for Line of Business Applications | Scoop.it

A client-server web framework built on Node.js that allows front-end developers to easily create a 100% SEO compliant, component MVC structured web application with an optimized first page load.

No comment yet.
Scoop.it!

Isomorphic Apps done right with React Nexus

Isomorphic Apps done right with React Nexus | JavaScript for Line of Business Applications | Scoop.it

Isomorphic apps isn’t just about writing the code once; its more about maintaining a consistent codebase without having to double-check every single modification in your client or server code to make sure its consistent. In 2015, server-side rendering is simply not an option: being able to deliver HTML that is consistent with you client-side-JS-powered app is mandatory for any public-facing moderately large product, for SEO and mobile performance if not for desktop time to first interaction and accessibility. Anybody who has tried to use PhantomJS or Selenium for server-side rendering at scale also knows that its simply not viable in practice.


The most important problem is data fetching. If all your components are purely local, ie. they don’t depend on remote data fetching, then React.renderToString works great. But in the real world, you most certainly need to wire your components with data from your backend: SQL server, HTTP API, or whatever central data repository you’re using. And data fetching is, by nature, asynchronous. It can rely on sql.query or xhr or whatever fetching mechanism you’re leveraging. But React.renderToString is synchronous. This means it doesn’t make sense to write something like this...

No comment yet.
Scoop.it!

What is Isomorphic JavaScript and When Should it Be Used?

What is Isomorphic JavaScript and When Should it Be Used? | JavaScript for Line of Business Applications | Scoop.it

he combination of client and server rendering is known as Isomorphic JavaScript. Isomorphic JavaScript is one of those fancy sounding computer science terms. Isomorphic means the application uses the same rendering engine on the client and the server, thus making it easier for developers to maintain markup templates.

Modern web application development is about building rich user experiences utilizing the new APIs and performance offered by today's modern browsers. Traditional web sites are rendered on the server, binding data with markup to produce a finished product. The finished product is shipped to the browser, which then renders the page as it loads CSS, images and any other asset designated in the markup and CSS.

No comment yet.
Scoop.it!

CompoundJS

CompoundJS | JavaScript for Line of Business Applications | Scoop.it

CompoundJS is the Node.JS MVC framework based on ExpressJS, fully ExpressJS-compatible. It allows you to build well-structured web applications.

The main objective of the framework - web development without pain.

No comment yet.
Scoop.it!

Isomorphic Flux

Let's decompose the Flux flow to figure out how it could be used on the server.

No comment yet.
Scoop.it!

catberry - a framework for fast and modular isomorphic web-applications using node.js

catberry - a framework for fast and modular isomorphic web-applications using node.js | JavaScript for Line of Business Applications | Scoop.it

Catberry was developed to help in creating "isomorphic" Web applications. Isomorphic applications are apps that use the same codebase to run from both server and client-side environments.

This means you write the code only once, and deploy it the way you want. Catberry handles all the differences between these two environments, and will make sure the normal JavaScript modules that would need a server-side environment to run will execute without errors inside a browser.

The application fits best when developing single-page applications (SPAs) and is also very well documented, helping developers new to the platform easily get acquainted to all of its features.

Catberry uses modern technologies like HTML 5, Browserify, Connect, and Express, works on most modern browsers, and can also be extended via dedicated packages.


Main features:
* Fast rendering engine
* Integrated the LinkedIn's Dust template engine
* Browser history via the HTML5 History API
* Dependency injection support
* Event-based routing
* SEO friendly code

No comment yet.