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: 'Sails.js'. Clear
Scoop.it!

How to use JSON web token authentication with Sails.js

How to use JSON web token authentication with Sails.js | JavaScript for Line of Business Applications | Scoop.it
Using JSON webtoken authentication for consuming rest-api from your Single Page Application is pretty common these days. In this post I'll be helping you to use it in your Sails.js App. Well'll be using simplest user name and password...
No comment yet.
Scoop.it!

Five Tips When Working With Routes On Sails.js

Five Tips When Working With Routes On Sails.js | JavaScript for Line of Business Applications | Scoop.it

Sails.js is a Node based web framework that you can use to easily generate your back-end. If you're not familiar with Sails check out my Sails.js Tutorial before we begin. We'll be looking at using routes with Sails.js as well as how it works with the SANE stack. SANE Stack it's a tool that helps generate both your front-end using Sails and your back-end using Ember.js.

No comment yet.
Scoop.it!

Comparing Node.js Frameworks: Express, Hapi, LoopBack, Sailsjs and Meteor

In this video recorded on Feb 3, 2015 at the BayNode Meetup in Mountain View, Shubhra Kar from StrongLoop walks through a compare and contrast of various Node frameworks like Express, Hapi, restify, sail.js, Meteor and LoopBack and their suitability for building scalable APIs.

No comment yet.
Scoop.it!

sails-sqlserver-adapter

sails-sqlserver-adapter | JavaScript for Line of Business Applications | Scoop.it
sails-sqlserver-adapter - Official Microsoft SQL Server Adapter for sails.js
No comment yet.
Scoop.it!

Sane Stack

Sane Stack | JavaScript for Line of Business Applications | Scoop.it
The JS Fullstack to get you productive instantly.

A Javascript Fullstack and CLI that lets you rapidly create production-ready web apps using Sails and Ember, giving you Docker support, generators and more.

No comment yet.
Scoop.it!

Intro to Sails.js

Mike McNeil http://www.nodevember.org/speakers/mike-mcneil
No comment yet.
Scoop.it!

[How To] Implement Passport.js Authentication with Sails.js

[How To] Implement Passport.js Authentication with Sails.js | JavaScript for Line of Business Applications | Scoop.it

Here we intend to demonstrate the procedure of local authentication i.e. by using a username and password.


Dependencies:

* passport

* passport-local

* bcrypt

No comment yet.
Scoop.it!

AdmiralJS - a web app for admin generation + a node server for api + file upload.

AdmiralJS allows quick generation of an admin interface, letting you spend more interesting time on the design of the front end with your favorite framework.

  • Customisable field editors for your models
  • Instant admin generation from a schema.json
  • That means you can change your models’structure on the fly ! (great for development)
  • Pluggable on any CRUD or RESTFUL API (optimized for SailsJS)
  • Written in javascript with requirejs / jquery / backbone
  • Usable with the bundled server or as a standalone webapp

AdmiralJS was developped as a client-side webapp, to make it as much as possible independant from frameworks and platforms.

No comment yet.
Scoop.it!

How to Get Started with Sails.js

How to Get Started with Sails.js | JavaScript for Line of Business Applications | Scoop.it

Today we will learn how to do the following:

  1. Setup Sails.js and get it running
  2. Creating a database ready app

Lets begin!

NOTE: This tutorial assumes that you have previously installed Node.js on your machine.

No comment yet.
Scoop.it!

Testing and code coverage using grunt-mocha-istanbul in Sails js

Testing and code coverage using grunt-mocha-istanbul in Sails js | JavaScript for Line of Business Applications | Scoop.it

In this post, I will be showing how to write tests for sails js apps (version >= 0.10.4).

No comment yet.
Scoop.it!

Using Sails Generators To Integrate An ember-cli Project

Using Sails Generators To Integrate An ember-cli Project | JavaScript for Line of Business Applications | Scoop.it

Ember-cli is the missing utility belt for ember based projects. Among its features is a generator that creates a strongly opinionated project structure and build chain.

Along with ember-cli, I ran across sails-ember-blueprints which overrides some of Sails' blueprint templates for compatibility with Ember-Data's RESTAdapter.

I decided to take a stab at creating some Sails generators around these great projects.

No comment yet.
Scoop.it!

Introduction to SailsJS

Introduction to SailsJS | JavaScript for Line of Business Applications | Scoop.it

It is pretty awesome at most of the part, so if you need something like Rails for Node.js, Sails is the way to go.

The Sails.JS is an MVC framework, so there are Models, Views and Controllers.

In Sails.JS you can create models, and model represents the data model, so if for each table you would have a model and in case of no-sql databases, each collection is represented by a model. Inside a model you can describe, the attributes present in that model, their datatype and validation rules.

No comment yet.
Scoop.it!

hitting the open sea with sails.js

One of the strengths of Sails is its ability to interface with a range of databases using a uniform API. In this post I’m going to take a look at integrating with MongoDB - the leading NoSQL database. Hopefully by the end of the post you’ll be set up with a Sails server, Mongo database and the basic structure of an app that you can build upon. Let’s get started.

No comment yet.
Scoop.it!

Real-Time Ember and Sails

Real-Time Ember and Sails | JavaScript for Line of Business Applications | Scoop.it

We'll be building a new version of the helpdesk ticket application that was created in the previous post. Like the old version the tickets will be displayed in real-time.

Improvements made over the old version will be a new interface using bootstrap, and more importantly tickets will be saved to a database this time around. Since Sails makes all of this completely trivial, because Sails is awesome.

No comment yet.
Scoop.it!

An introduction to Sails.js, a real-time MVC-framework

An introduction to Sails.js, a real-time MVC-framework | JavaScript for Line of Business Applications | Scoop.it
Let me tell you the truth. There is a true secret lodge of JavaScript fans in our magazine. As soon as we, including the chief editor, the managing editor, and yours truly, catch the sight of one more interesting JS-framework, we immediately get excited and start to write an article about it. Having broken the resistance of our hardcore guys (this was easy, as their health had been undermined by coding on C and nights spent with the disassembler), we introduce one more useful material for you to evaluate. Let me introduce Sails.js, which is able to please even the hardened fans of Node.js, because developing with the use of Sails.js on the server is completely trouble-free.
No comment yet.
Scoop.it!

Using Sails.js with Ember.js

Sails makes it easy to build custom, enterprise-grade Node.js apps. It is designed to emulate the familiar MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps: data-driven APIs with a scalable, service-oriented architecture. It's especially good for building chat, realtime dashboards, or multiplayer games; but you can use it for any web application project - top to bottom.

No comment yet.
Scoop.it!

Implement Passport.js authentication with Sails.js ~0.10

Sails.js v0.10.5 - Passport.js v0.2.1 - Waterline ORM v0.10...


Due to the number of outdated examples about this subject that I've seen on the web, I might save your day by writing an updated, working one, by myself.

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 

No comment yet.
Scoop.it!

SailsJS and node-webkit

SailsJS and node-webkit | JavaScript for Line of Business Applications | Scoop.it

I decided to write this article since I couldn't find any source that clearly stated how to integrate both projects. I recommend reading it completely (including references) before coding but then again, that’s your call.

Before we start I’m assuming that you have some previous node-webkit and SailsJS knowledge so I’ll focus in the basic integration rather than explaining how to work with them.

No comment yet.
Scoop.it!

Authentication in Sails

In a recent project, the same server-side was used for an API for a mobile app, and for a web application for the adminstrators of the app. 
As usual in Sails.js the server-side consists of a set of controllers. For modularity and security we have separate controllers for the mobile API and the administration. These controllers use the same set of models.

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

No comment yet.
Scoop.it!

Node.js Web Development Using Sails

End-to-end JavaScript web applications? Thanks to Node.js, this has become a reality, with the added benefit of massive scalability. Despite approaching server-side web applications differently than traditional MVC platforms (like ASP .Net MVC), frameworks have emerged to bridge the knowledge to Node.js. Using one of these frameworks, Sails.js, we demonstrate how the tried and true MVC pattern is applied in Node.js.

No comment yet.
Scoop.it!

Using Sails.js with Ember.js

From the August 2014 Ember London meetup. See more at http://emberlondon.com
No comment yet.
Scoop.it!

sailsjs-angularjs-bootstrap-example

sailsjs-angularjs-bootstrap-example | JavaScript for Line of Business Applications | Scoop.it

A suite of examples written for Sails.js, AngularJS, and Twitter Bootstrap.
Contents:

* A REST API test page using Sails' transport agnostic routing (HTTP vs. Socket.io)
* A "Todo List" app demo using Sails' Socket.io messaging and REST Blueprints
* Passport middleware authentication integrated with Sails policies.
* Twitter Bootstrap / Font Awesome custom LESS compiles (Grunt)
* Cache busting JS/CSS for production (Grunt)

No comment yet.
Scoop.it!

Unit Testing Sails.js Applications With Mocha

Unit Testing Sails.js Applications With Mocha | JavaScript for Line of Business Applications | Scoop.it

As it turns out, getting tests in place for Sails was one of the easier things I've done in my life and I was able to get a few unit tests running withing 30 minutes of sitting down to do it.

No comment yet.