background preloader


Facebook Twitter

Easy Node Authentication: Setup and Local. This tutorial has been updating for ExpressJS 4.0.

Easy Node Authentication: Setup and Local

Token-Based Authentication With AngularJS & NodeJS. Techniques for authentication in AngularJS applications — Opinionated AngularJS. RESTful API User Authentication with Node.js and AngularJS. My all time most viewed article is How To Handle User Authentication With AngularJS Inside Your Ionic App, and it’s also the one with the most questions.

RESTful API User Authentication with Node.js and AngularJS

User authentication is one of the features almost every app(web and mobile) needs today. Techniques for authentication in AngularJS applications — Opinionated AngularJS. Authentication The most common form of authentication is logging in with a username (or email address) and password.

Techniques for authentication in AngularJS applications — Opinionated AngularJS

This means implementing a login form where users can enter their credentials. Such a form could look like this: <label for="username">Username:</label> <input type="text" id="username" ng-model="credentials.username"> AngularJS.DE → AngularJS - Login & Sicherheit. Nodejitsu joins GoDaddy. In 2010, Nodejitsu started with a simple idea: a company with Open Source in its DNA creating essential productivity tools focused on a new platform that most people had never heard of or were already dismissive of: Node.js.

Nodejitsu joins GoDaddy

Back then the server-side JavaScript ecosystem was fragmented and diverse; with CommonJS the only (barely) unifying thread between names like Narwhal, Rhino and Node. Yet despite the obvious challenges, a fantastic community along with companies like Nodejitsu helped Node grow into the success it is today. Now almost five years later, Nodejitsu and its team of Node.js veterans have a new path forward: we are joining the team at GoDaddy. We’ve been working very closely with GoDaddy over the last few months helping in their transition to Node.js and everyone at Nodejitsu was impressed with the transformation and big challenges they’re taking on to empower small businesses across the globe.

That’s the 10,000 foot view. I am an existing Nodejitsu customer. Building a WebRTC Video and Voice Chat Application - PubNub. WebRTC is a big bundle of open source technology.

Building a WebRTC Video and Voice Chat Application - PubNub

Are you planning on building Skype-like apps on web and mobile iOS/Android? WebRTC makes it easy for you to create new types of voice and video chat applications that require audio or video streaming. AngularJS: Looking under the hood [Part 1] - Tutorial. The more AngularJS you write, the more you marvel at its magic.

AngularJS: Looking under the hood [Part 1] - Tutorial

I got pretty curious about some of the fantastic things Angular does and decided to dive into the source code and see if I could reveal some of its secrets. I’ve documented some of the things I’ve found really useful that explain some of the more advanced (and hidden!) Side of Angular in its 23,000+ lines of source code! WebSockets and Long Polling in JavaScript, Ruby and Python - PubNub. The PubNub Data Stream Network is a very powerful, highly scaled, reliable service for sending and receiving messages across the globe at extraordinary speed and volume.

WebSockets and Long Polling in JavaScript, Ruby and Python - PubNub

It enables a new class of applications of many varieties that can be realtime and responsive on just about any platform, iOS, Android, browsers, laptops, desktops, servers, Arduinos, Raspberry Pi, sensors, light bulbs, you name it. The only thing required is for the device to have a connection to the Internet and one of our 55 SDK’s. What is a typical Message over HTTP Long Polling or WebSockets JavaScript Serialized Object Notation, or JSON, has quickly become the new standard in transferring information between applications, browsers and machines. The cost of privacy. I have a bone to pick with a certain oddly prevalent piece of received wisdom in the JavaScript community.

The cost of privacy

I’ve been meaning to rant about this properly for what seems like geologic amounts of time, but I finally hit a concrete example today that both broke the camel’s back and gave me something I could actually illustrate my point with. Let’s talk about private variables, or more precisely, defining API methods inside a closure, giving them privileged access to data that code outside the closure cannot see. This is used in several JavaScript design patterns, for example when writing constructors or using the module pattern: The reason people use this pattern, in fact the only reason for doing so as far as I can tell, is encapsulation. They want to keep the internal state of something private, so that access to it is predictable and it can’t put the object in a weird or inconsistent state, or leak implementation details to consumers of the API.



Adding Social Authentication to Ionic App With Firebase-Tutorial. With the increasing popularity of social media it has become immensely necessary for mobile apps to authenticate users via social sign in.

Adding Social Authentication to Ionic App With Firebase-Tutorial

The users of your app most likely have an account with Facebook, Google, Twitter etc. LocalePlanet: L10N and I18N for JavaScript. A curated list of angular-js modules and directives for ui and bootstrap » The best angular directives for bootstrap , ui , controller , scope , element. Best JavaScript Debugging Tools for Developers - Code Geekz. In general, JavaScript is a pretty straightforward language where anyone can learn the basics within hours.

Best JavaScript Debugging Tools for Developers - Code Geekz

And, like any other language, some common mistakes and bad practices -which can be avoided easily- exist. Developers prefer this scripting language to improve user interface, provide rich features, or make various interactive elements on the website. Mastering The Developer Tools Console. The developer tools console is one of the most powerful tools available to you when it comes to debugging your front-end web applications. The console has an API that provides a number of methods that make debugging easier.

It’s not uncommon to see developers using console.log() or console.dir() to investigate problems; but the developer tools console has a lot more to offer. In this blog post you’re going to learn how to debug your web applications using the methods provided by the console API. Some browsers support more functionality than others so I’ll be pointing out any compatibility issues as we go. Lets get started! Using the Developer Tools Console. JavaScript Optimization. Essential Grunt Plugins » Donna Peplinskie. Tools for modern front-end workflow: Yeoman, Grunt and Bower. In this article we will talk about some tools for modern front-end workflow.

These tools boost your productivity, help you quickly scaffold (set up and prototype) your front-end projects, and take all the boring stuff out of front-end development! First things first, to get Yeoman, Grunt and Bower, we will need npm. npm npm stands for Node Package Manager. It comes with node.js so go over to the download page and follow the installation instructions for your operating system.

JavaScript Scoping and Hoisting. Do you know what value will be alerted if the following is executed as a JavaScript program? Var foo = 1; function bar() { if (! Foo) { var foo = 10; } alert(foo); } bar(); Fantastic Micro-Frameworks and Micro-Libraries for Fun and Profit! Warming Up With Ember.js. How to Use SVG Image Sprites. Despite being scalable, saving bandwidth and an obvious candidate for Responsive Web Design, Scalable Vector Graphics (SVGs) are relatively rare on the web.

The reasons? Everything’s Gone JavaScript « Eric Elliott – JavaScript Architect (A JavaScript Blog) How much of this did you see coming? “Everything that can be written in JavaScript will eventually be written in JavaScript”. – Atwood’s law JavaScript is now an integral part of several operating systems: Tons of mobile apps are either just HTML web views, or use a lot of web views, so a lot of the software that runs on every smartphone is written in JavaScript. Essential JavaScript Design Patterns For Beginners. Design patterns are reusable solutions to commonly occurring problems in software design. Building nested recursive directives in Angular - Sebastian's Blog. A comparison of Angular, Backbone, CanJS and Ember - Sebastian's Blog.

Selecting a JavaScript MVC framework can be hard work. AngularJS vs Ember - Evil Trout's Blog. Recently I got together with some local developers to discuss client side MVC frameworks. Efficient JavaScript. JayData home - JayData. CoffeeScript vs. TypeScript vs. Dart. Software often requires two or three iterations before you get it right. Mathjax. My VexFlow - A Blues Lick by 0xFE. CoffeeScript woes. I recently wrote a piece comparing CoffeeScript, TypeScript and Dart.