JavaScript for Line of Business Applications
507.4K 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...
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.
more...
No comment yet.
Scoop.it!

Create a character voting app using React, Node.js, MongoDB and Socket.IO

Create a character voting app using React, Node.js, MongoDB and Socket.IO | JavaScript for Line of Business Applications | Scoop.it

In this tutorial we are going to build a character voting app (inspired by Facemash) for EVE Online - a massively multiplayer online game. You will learn how to build a REST API with Node.js, save and retrieve data from MongoDB, track online visitors in real-time using Socket.IO, build a single-page app experience using React + Flux with server-side rendering and then finally deploy it to the cloud.

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

Guide to Full Text Search in Meteor

Guide to Full Text Search in Meteor | JavaScript for Line of Business Applications | Scoop.it

It's possible to do full text search in Meteor, as long as you're running MongoDB 2.6 (which is included in Meteor 1.0.4 or higher). Earlier versions of MongoDB did not support text search well.

Before you can do a search, you need to build a text index. This is a data structure that lets MongoDB perform text searches incredibly quickly. Whenever data is inserted or removed from the indexed collection, MongoDB updates the corresponding index.

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

Re-Architecting a Firebase app to work with Node.js and MongoDB

Re-Architecting a Firebase app to work with Node.js and MongoDB | JavaScript for Line of Business Applications | Scoop.it

So, I went back and asked why Firebase and why are you fitting Firebase in your application architecture? Here are 2 major answers

  • Real time data sync
  • Offline storage

After giving the above reasons a good thought, I have come up with the below architecture that will “emulate” Firebase using Websockets and Local Storage inside a Node.js/MongoD.

If this solution gets stable over a period of time, I may create a yeoman/slush generator to scaffold a Node.js/Express.js and a MongoDB app with real time data sync and offline storage capabilities.

For this post, I will use a simple Todo app as an example. 

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

Creating a One-To-Many Relationship with Sails.js, Mongo and SANE-CLI

Creating a One-To-Many Relationship with Sails.js, Mongo and SANE-CLI | JavaScript for Line of Business Applications | Scoop.it

n a previous post I explained the basics of SANE and created a simple application. In this post I'll be going one step further and adding a relationship between two tables, using Sails.js, Mongo and Ember.

Relatonships occur when one foreign key references the primary key of another. Since we'll be using a nosql data store we'll be using document references instead. We'll set the schema using Sails.js so don't worry too much about that for now.

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

Working with Ember Data, Node, Express and MongoDB

Working with Ember Data, Node, Express and MongoDB | JavaScript for Line of Business Applications | Scoop.it
A simple tutorial for working with Ember Data, Node, Express and MongoDB to build an api.

I have really been enjoying working with EmberJS lately, once you get over the learning curve and understand how things should relate, it becomes really fast and fun!

Lets take a look at how we can use Ember Data with Node (or io.js),Express and MongoDB. For this example lets use the Ember CLI to start an Ember application fast!

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

Single page Application with Angularjs, Minimalweb Node MVC and MongoDB

Single page Application with Angularjs, Minimalweb Node MVC and MongoDB | JavaScript for Line of Business Applications | Scoop.it

Features of the SPA in this Article:

Angular.js for client side development – Single Page Application (SPA)
Cross Domain Communication in between Angular.js and Node.js Application Server through Custom Middleware
Node.js for server side application development
Rest based web service creation with Minimalweb
Datastore – MongoDb
Node.js MongoDb Module Extention (mongojs)
Reader can download the complete source-code in GitHub.

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

Create a REST Backend For Ember.js With Node.js, Express, and Mongoose

Create a REST Backend For Ember.js With Node.js, Express, and Mongoose | JavaScript for Line of Business Applications | Scoop.it
Learn how to create a Emberjs and Ember-cli compatible REST API using Node.js, Express, and Mongoose....

The express-generator is great; however, it added a couple of things we will not be needing so we will remove them now. I am removing the following because this server will only be used as an API and it will not serve a frontend, you do not need to remove them but they are not in the scope of this tutorial.

Jan Hesse's insight:

Part 2:

http://connorbrewster.me/rest-ember-relationships/

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

The growing irrelevance of MongoDB

The growing irrelevance of MongoDB | JavaScript for Line of Business Applications | Scoop.it

aybe a better name for this phase should be maturity. At this moment I knew where and, even more important, where NOT use MongoDB. At this age you know that MongoDB is a nice product, but a product that you should use with caution. You know that the document model is great and solves a lot of problems for you, but not all: actually, quite a few.

The wakeup call for me was my own failures with it and, most of all, the failure of others. Mostly from people that I saw getting really excited about MEAN and trying to transform the world into a nail so that MongoDB could be the perfect hammer for it. It’s the moment where some facts get into your face and shout at you:...

more...
Karim Cadi's curator insight, January 21, 2015 3:43 AM

MongoDb from the trenches: does not solve everything and probably won't replace the "old" relational database system.

Scoop.it!

Node.js - Building Web Apps on the MEAN Stack with OData in Microsoft Azure

Node.js - Building Web Apps on the MEAN Stack with OData in Microsoft Azure | JavaScript for Line of Business Applications | Scoop.it

In this article I’m going to show you that by using the MEAN stack, building create, read, update and delete (CRUD)-heavy applications can be fast and easy. I’m going to assume you have a basic conceptual understanding of AngularJS (angularjs.org), Node.js (nodejs.org), MongoDB (mongodb.org) and Express (expressjs.com).

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

.NET vs. MEAN: Migrating from Microsoft to Open Source

.NET vs. MEAN: Migrating from Microsoft to Open Source | JavaScript for Line of Business Applications | Scoop.it

Developer Michael Perrenoud describes what it's like for .NET developers who want to explore the MEAN stack -- MongoDB, Expressjs, AngularJS, and Node.js

I was standing in the middle of a matrix I'd avoided for a very long time: Microsoft vs. The World. It was a decision I thought I'd never have to make. Here I was, 33 years old and feeling like a dinosaur. Don't get me wrong, the skill set I had wasn't so out of date that it was already dead, but I could feel the market shifting. I knew that if I didn't make a change, in 10 years, I'd be staring down that same barrel those COBOL friends of mine were right now.

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

A Rails Enthusiast’s take on MEAN.js

A Rails Enthusiast’s take on MEAN.js | JavaScript for Line of Business Applications | Scoop.it
John looks at AngularJS and the MEAN stack as an alternative to Ruby on Rails as a productive stack for building typical web applications.

To dive into MEAN, what better way for a Rails fan to get up to speed than by following the path of the famous demo, and creating my own blog application with MEAN.js. A more up-to-date version of the Rails blog exercise, without the “Uoooops,” is the Rails getting started guide. Our journey here will mirror this guide and summarize my comparison with Rails.

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

Implementing pagination with MongoDB, Express.js & Slush

Implementing pagination with MongoDB, Express.js & Slush | JavaScript for Line of Business Applications | Scoop.it

MongoDB accepts and provides access to data in the Javascript Object notation (JSON) format. This makes MongoDB a perfect fit when dealing with javascript based REST services. In this post, we will take a look at Pagination using MongoDB. We will scaffold a simple Express/Mongojs application using slush-mongo. Then we will use skip() and limit() to fetch the required records from a set of data.

Pagination is one of the simplest ways to increase UX when dealing with average to huge data sets. We split the entire data into x records per page and the we will have (total records/x) pages and then we show a pagination with the number of page. As the user clicks on the page number, we seek and fetch the set of records for that particular view only.

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

Making MEAN Apps with Google Maps (Part II)

Making MEAN Apps with Google Maps (Part II) | JavaScript for Line of Business Applications | Scoop.it

Today, we’ll be taking our work a step further by adding a new control panel that allows us to filter users based on a variety of fields. The final product will allow us to query our map based on gender, age, favorite language, proximity, and whether a user’s location has been HTML5 verified. Additionally, this tutorial will give us an opportunity to introduce some of MongoDB’s geospatial query tools.

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

Optimistic UI with Meteor

Optimistic UI with Meteor | JavaScript for Line of Business Applications | Scoop.it

In this post we'll look at the collection of technologies that Meteor provides to enable 'Optimistic UI' updating. This capability is crucial to user expectations for modern web apps and is fundamental to Meteor.

Your app should be able to respond to user inputs faster than it takes to make a whole roundtrip to the server — we call this Optimistic UI updating. It's very hard to build an app that correctly implements client-side simulations as it takes a lot of work to make your UI consistent, avoid loading duplicate data over and over, and keep your client up to date with your server data. 

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

Developing a MEAN app with Angular 2.0

Developing a MEAN app with Angular 2.0 | JavaScript for Line of Business Applications | Scoop.it

I know, I know it is too early to be building end to end apps with Angular 2.0.

A MEAN stack app would typically consist of a server layer built with Nodejs & Express – Express being the web framework. MongoDB for data persistence & Angular as the client side MVW framework.

First, we are going to setup an express app, build the REST API to Create, Read, Update & Delete todos and then integrate it with the Angular app.

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

Learn to Build Modern Web Apps with MEAN

Learn to Build Modern Web Apps with MEAN | JavaScript for Line of Business Applications | Scoop.it

The goal of this tutorial is to guide you through the creation of a Reddit/Hacker News clone using the MEAN stack. By completing this tutorial, you will gain a basic understanding of the MEAN stack including building a REST interface with Express.js on top of Node.js and using that interface to perform CRUD operations on a database via an AngularJS frontend.

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

MeteorJs - Build Apps Lightning Fast

MeteorJs - Build Apps Lightning Fast | JavaScript for Line of Business Applications | Scoop.it

In this post, we will see how we can leverage the power of Meteor js to build top quality apps at lightning pace. We will take a quick look at how the framework works and how we can leverage it to build apps easily.

By the end of this post, we will be building 2 apps. A Single Page Chat Application (SPA)  only with Meteor js to get a feel of Meteor & a Multi Page Application (MPA) named Events Feed, leveraging Meteorite js – a package manager for Meteor js & Iron router, that will serve the purpose of a Chat app at live public events.

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

Goodbye MongoDB, Hello PostgreSQL

Goodbye MongoDB, Hello PostgreSQL | JavaScript for Line of Business Applications | Scoop.it
Migrating from MongoDB to PostgreSQL

While we can be extremely proud of what we have achieved so far there was always something lurking in the dark: our primary database. From the start of Olery we’ve had a database setup that involved MySQL for crucial data (users, contracts, etc) and MongoDB for storing reviews and similar data (essentially the data we can easily retrieve in case of data loss). While this setup served us well initially we began experiencing various problems as we grew, in particular with MongoDB. Some of these problems were due to the way applications interacted with the database, some were due to the database itself.

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

Building a Meteor.js mobile app with Cordova, MongoDB, and Ratchet

Join Josh Owens as he builds a Meteor.js app from scratch using Ratchet, Cordova, and MongoDB.
more...
No comment yet.
Scoop.it!

Easily Develop Node.js and MongoDB Apps with Mongoose

Easily Develop Node.js and MongoDB Apps with Mongoose | JavaScript for Line of Business Applications | Scoop.it

Today we’ll be looking at code samples to handle CRUD operations in a Node.js, ExpressJS, and MongoDB application. We’ll use the popular Node package, mongoose.

Mongoose allows us to have access to the MongoDB commands for CRUD simply and easily. 

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

Unit Testing in Sails.js with Mockgoose, Mocha and Chai

Unit Testing in Sails.js with Mockgoose, Mocha and Chai | JavaScript for Line of Business Applications | Scoop.it

I obviously chose Sails.js, I decided to use Angular because I wanted to learn it, and I used Mongo because I wanted to work with a NoSQL db (for no other reason than to learn it). This kept my stack completely Javascript, and really fun to learn. When it came time to write my models I decided to use Mongoose instead of Waterline, which involved some fun little hacks here and there to get it wired up inside of Sails. However, the real challenge came when I decided to start doing Unit Testing and TDD, and that's what I'll go in to (finally, right?). For the sake of clarity I'm going to focus on how I got Mockgoose to work with my tests 

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

Using MongoDB aggregations to power a Meteor.js publication

Using MongoDB aggregations to power a Meteor.js publication | JavaScript for Line of Business Applications | Scoop.it

This article is about a way to publish aggregate data using the MongoDB aggregation framework with Meteor.js.

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

A Simple CRUD with MEAN Stack (MongoDB, ExpressJS, AngularJS, Node.js) + Sails.js on Windows

MEAN stack is a full JavaScript solution that helps you build fast, robust and maintainable production web applications using MongoDB, ExpressJS, AngularJS and Node.js.
Sails.js allows you to build custom, enterprise-grade Node.js apps using the Model-View-Controller pattern to organize your code so it is easier to maintain.
New MEAN Stack = MongoDB+ExpressJS+AngularJS+Node.js+Sails.js = MEANS stack

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

Build a Single Page Application with Angular, Node & Mongo – Part II

Build a Single Page Application with Angular, Node & Mongo – Part II | JavaScript for Line of Business Applications | Scoop.it

It’s now time to take a look at the back-end: Node.js and MongoDB with Mongoose. I’m a big fan of Nodejs to build RESTful APIs. It is fast and can scale easily.

The application needs to store Friends and Expenses, both being linked to a Sheets. We use MongoDB as the database. 

more...
No comment yet.