node.js, angularj...
Follow
Find
2.6K views | +0 today
node.js, angularjs, mongodb, and more...
Your new post is loading...
Your new post is loading...
Rescooped by Matloob Hasan from nodeJS and Web APIs
Scoop.it!

Node.js Best Practices - Part 2

Node.js Best Practices - Part 2 | node.js, angularjs, mongodb, and more... | Scoop.it
The next chapter of node.js best practices, featuring pre-commit checks, JavaScript code style checker and configuration best practices...

Via Srdjan Strbanovic
more...
No comment yet.
Rescooped by Matloob Hasan from javascript node.js
Scoop.it!

How to Build a GitHub Webhook with Node.js | Web Builder Zone

How to Build a GitHub Webhook with Node.js | Web Builder Zone | node.js, angularjs, mongodb, and more... | Scoop.it

GitHub Webhooks Every GitHub repository can easily communicate with a web server whenever the repository is pushed. This communication is called a...


Via Mikael Bourges-Sevenier
more...
No comment yet.
Rescooped by Matloob Hasan from JavaScript for Line of Business Applications
Scoop.it!

Node.js Security Tips

Node.js Security Tips | node.js, angularjs, mongodb, and more... | Scoop.it

Node.js is getting more and more mature, no doubt - despite this, not a lot of security guidelines are out there.

In this post I will share some points you should keep in mind when it comes to Node.js security.


Contents:

* No eval, or friends
* Strict mode, please
* Static code analysis
* Testing
* Say no to sudo node app.js
* Avoid command injection
* Temp files
* Securing your web application
* Tools to use
* Stay updated


Via Jan Hesse
more...
No comment yet.
Scooped by Matloob Hasan
Scoop.it!

Why The Hell Would I Use Node.js? A Case-by-Case Tutorial

Why The Hell Would I Use Node.js? A Case-by-Case Tutorial | node.js, angularjs, mongodb, and more... | Scoop.it
Node.js was never created to solve the compute scaling problem. It was created to solve the I/O scaling problem. Find out why, with case-by-case tutorial.
more...
No comment yet.
Rescooped by Matloob Hasan from #CodeReview
Scoop.it!

Multi-Instance Node.js App in PaaS Using Redis Pub/Sub

Multi-Instance Node.js App in PaaS Using Redis Pub/Sub | node.js, angularjs, mongodb, and more... | Scoop.it
If you use PaaS to host your application, you often end up with lots of small "containers", and with each instance of your app running in another virtual machine. As a result, the instances don't share memory.

Via Ex FromTheLeft
more...
No comment yet.
Rescooped by Matloob Hasan from JavaScript for Line of Business Applications
Scoop.it!

Message Systems in Programming: Callbacks, Events, Pub Sub, Promises, and Streams

Message Systems in Programming: Callbacks, Events, Pub Sub, Promises, and Streams | node.js, angularjs, mongodb, and more... | Scoop.it

How you decide to allow objects to talk to each other has pro’s and con’s for each method and it’s good to know your options as you can use many together in effective hybrid approaches.This article will cover the 5 common ones you’ll often encounter.We’ll cover:* Callbacks* Events* Pub Sub* Promises* Streams


Via Jan Hesse
more...
Arik Grinstein's curator insight, November 1, 4:09 PM
A good summary about messaging options
Rescooped by Matloob Hasan from nodeJS and Web APIs
Scoop.it!

Excess XSS: A comprehensive tutorial on cross-site scripting

Excess XSS: A comprehensive tutorial on cross-site scripting | node.js, angularjs, mongodb, and more... | Scoop.it
A comprehensive tutorial on cross-site scripting.

Via Srdjan Strbanovic
more...
Ed Cosillo's curator insight, November 21, 12:09 PM

Good tutorial on cross-site scripting

Rescooped by Matloob Hasan from JavaScript for Line of Business Applications
Scoop.it!

Node.js Best Practices

Node.js Best Practices | node.js, angularjs, mongodb, and more... | Scoop.it

Contents:

Always Use Asynchronous MethodsNever require Modules Inside of FunctionsSave a reference to this Because it Changes Based on ContextAlways “use strict”Validate that Callbacks are CallableCallbacks Always Pass Error Parameter FirstAlways Check for “error” in CallbacksUse Exception Handling When Errors Can Be ThorwnUse module.exports not just exportsUse JSDocUse a Process Manager like upstart or foreverFollow CommonJS Standard
Via Jan Hesse
more...
No comment yet.
Scooped by Matloob Hasan
Scoop.it!

AngularJS: Demystifying Directives

AngularJS: Demystifying Directives | node.js, angularjs, mongodb, and more... | Scoop.it
Toptal engineer Eric Greene provides this in-depth guide to AngularJS directives, and the four functions that execute as a directive is created and applied to the DOM.
more...
No comment yet.
Rescooped by Matloob Hasan from nodeJS and Web APIs
Scoop.it!

BDD/TDD development from scratch with node.js/express

BDD/TDD development from scratch with node.js/express | node.js, angularjs, mongodb, and more... | Scoop.it
Clearly, the world is in dire need of another blogging engine, right? OK, perhaps not so much but I am very much in need of a website where I can show off my best work and a blog where I...

Via Srdjan Strbanovic
more...
No comment yet.
Scooped by Matloob Hasan
Scoop.it!

Understanding Angular’s $scope and $rootScope event system $emit, $broadcast and $on

Understanding Angular’s $scope and $rootScope event system $emit, $broadcast and $on | node.js, angularjs, mongodb, and more... | Scoop.it
JavaScript, AngularJS and HTML5 engineer helping build a better web.
Matloob Hasan's insight:

Really useful article! 

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

Delving into Node.js and Express web framework

Delving into Node.js and Express web framework | node.js, angularjs, mongodb, and more... | Scoop.it

I will teach you how to take advantage of the MEAN stack in becoming a full-stack JavaScript developer.

Node.js was created by Ryan Dahl and it’s basically a platform built on Chrome’s JavaScript runtime called V8, whose greatest advantage over other JavaScript engines is the compiling of JavaScript code to native machine code before executing it. It uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.


Via Jan Hesse
more...
No comment yet.
Rescooped by Matloob Hasan from nodeJS and Web APIs
Scoop.it!

StrongLoop | Practical Examples of the New Node.js Streams API

StrongLoop | Practical Examples of the New Node.js Streams API | node.js, angularjs, mongodb, and more... | Scoop.it

Via Srdjan Strbanovic
more...
No comment yet.
Rescooped by Matloob Hasan from nodeJS and Web APIs
Scoop.it!

Unwrapping JSON-P

Unwrapping JSON-P | node.js, angularjs, mongodb, and more... | Scoop.it
Examining better ways to handle JSON-P responses than traditional script tags.

Via Srdjan Strbanovic
more...
No comment yet.
Rescooped by Matloob Hasan from Node.js
Scoop.it!

Testing REST APIs with Node, Jasmine, and Frisby · Patrick McCarthy

At work, one thing we are building is a web application that depends on polling a data service through a REST API. It's nothing terribly complex, but I picked up the task of testing that the service provides what it is expected to, especially as further development continues. It's a tedious and mundane task to do manually, so I turned to developing a test suite built on node.js along with two excellent testing libraries, Jasmine.js and Frisby.js. I had some experience with Jasmine, but I had never used Frisby before. Within a couple of hours I was up and running with a decent test suite and overall I am quite pleased with how slick the whole system is.


Via Eyal Vardi
more...
No comment yet.
Rescooped by Matloob Hasan from JavaScript for Line of Business Applications
Scoop.it!

An Introduction To Unit Testing In AngularJS Applications

An Introduction To Unit Testing In AngularJS Applications | node.js, angularjs, mongodb, and more... | Scoop.it

One of the reasons for AngularJS’ success is its outstanding ability to be tested. It’s strongly supported by Karma (the spectacular test runner written by Vojta Jína) and its multiple plugins. Karma, combined with its fellows Mocha, Chai and Sinon, offers a complete toolset to produce quality code that is easy to maintain, bug-free and well documented.

Tests must define the code’s API. This is the one principle that will guide us through this journey. An AngularJS application is, by definition, composed of modules. The elementary bricks are materialized by different concepts related to the granularity at which you look at them. At the application level, these bricks are AngularJS’ modules. 


Via Jan Hesse
more...
No comment yet.
Scooped by Matloob Hasan
Scoop.it!

Build a Custom Filter with AngularJS and Moment.js – One Hungry Mind

We are going to take a break from the RESTful API series and tackle an interesting challenge that my partner in crime Shane Mielke asked me to help him sol
more...
No comment yet.
Rescooped by Matloob Hasan from nodeJS and Web APIs
Scoop.it!

sindresorhus/awesome-nodejs

sindresorhus/awesome-nodejs | node.js, angularjs, mongodb, and more... | Scoop.it

 

awesome-nodejs - A curated list of delightful Node.js packages and resources.

Via Srdjan Strbanovic
more...
No comment yet.
Rescooped by Matloob Hasan from JavaScript for Line of Business Applications
Scoop.it!

Twitatron: Building a production web app with Node

Twitatron: Building a production web app with Node | node.js, angularjs, mongodb, and more... | Scoop.it

Using Favatron as a guide, I will take you through the entire process of creating a fully functional production ready Node web application. Some of the many parts we will touch on include authorization, user accounts, data storage, background workers, security, email, APIs, RSS, third party service integrations, and much more.

I am proud to introduce Twitatron, the web application we will be making. Twitatron will automatically monitor your Twitter account for mentions. When it finds those mentions, it will process them, store them, show them in the UI, expose them via an API endpoint and RSS feed, send an email digest, and share weekly stats with integrated social networks.


Via Jan Hesse
more...
No comment yet.