background preloader

Passport - Simple, unobtrusive authentication for Node.js.

Passport - Simple, unobtrusive authentication for Node.js.

http://passportjs.org/

Related:  Node.Js ResourcesNodeJS

Essential Node.js patterns and snippets In this post, I take a look at the different patterns that you need to know when using Node.js. These came from my own coding and from a look at the code behind Tim Caswell’s flow control libraries. I think it is necessary to know how these basic patterns are implemented even if you use a library.. 1.1 Class pattern If the class is long, then instead of doing a single Class.prototype = {…} assignment, it may be split into multiple Class.prototype.method = function () {..} assignments.

Useful Node.js Tools, Tutorials And Resources Advertisement Created by Ryan Dahl in 2009, Node.js is a relatively new technology which has gained a lot of popularity among Web developers recently. However, not everyone knows what it really is. Node.js is essentially a server-side JavaScript environment that uses an asynchronous event-driven model. the cross-browser WebSocket for realtime apps. What is Socket.IO? Socket.IO aims to make realtime apps possible in every browser and mobile device, blurring the differences between the different transport mechanisms. It's care-free realtime 100% in JavaScript. Server Client How to use

Building a Login System in Node.js and MongoDB This past week I finally got around to playing with Node.js and am really impressed with how simple it was to get a server and database up and running in literally minutes. Once there, I thought a good first project to explore the platform would be to try building a simple login system analogous to what I feel like I’ve built a million times in mysql & php. So after thinking about it a bit, I knew these were the basic features I wanted to implement : Node.js Hosting with OpenShift Online New to OpenShift? If you’ve got a big idea, we’ve got the platform to support it. Sign up for Free OpenShift Online is Red Hat's next-generation application hosting platform that makes it easy to run your Node.js applications in the cloud for free. Key Benefits End-to-End Node.js SupportWith OpenShift you can easily deploy and run Node.js applications using your favorite frameworks and databases.

Shining Light Productions - Win32 OpenSSL Shining Light Productions' Technical Support is highly acclaimed by many as the best in the software industry. The reason? You get to talk to the original/current developer of the product one-on-one...this means that there is no annoying third party using scripted responses. The downside is that, since you ARE e-mailing a real developer, you need to realize this and respect the developer, no matter what mood he/she is in. A developer's time is extremely valuable and a developer may not be in the most pleasant mood all the time.

10 Node.js Modules You May Not Know About As Node.js continues to rise in popularity and the number of modules on npm rapidly increase it becomes harder and harder to keep up with the useful and unique modules. So in order to make it a little easier I've compiled a list of some of the great Modules you might not know about. 1. Easy Node Authentication: Setup and Local This tutorial has been updating for ExpressJS 4.0. Read more here. Authentication and logins in Node can be a complicated thing.

Twitter Art (small web-ready text pictures) Because I've collected a lot more than enough usual text arts. The text art page took loads of time to load so I thought it would be great to divide text arts into different categories to lower the loading time and to make text arts better scrollable. So I've took text art pictures made specially for Twitter messages and put them here. You can find here small text arts that you can put onto your Twitter, Facebook, Google+ and many other social networking websites, or into some comments, blog/forum posts, even Skype and chat messages.

Breaking down app.js file - nodejs, express, mongoose A working draft of the app architecture is in progress, visit the boilerplate wiki Ok, this post is long overdue! tl;dr : This blog post explains how to structure and organize your node.js application. Its an anatomy of nodejs-express-demo app NodeJS by Example I prefer not to write blog post showing coding samples. They tend to go stale and lose relevance quickly. Instead, I publish sample apps to GitHub with pretty damn good documentation. Express.js Sessions – A Detailed Tutorial I am making a part of this chapter available in the form of a tutorial on Express.js sessions for those who haven’t bought the book yet. There are two broad ways of implementing sessions in Express – using cookies and using a session store at the backend. Both of them add a new object in the request object named session, which contains the session variables. No matter which method you use, Express provides a consistent interface for working with the session data. Cookie-based Session Using the fact that cookies can store data in the users browser, a sessions API can be implemented using cookies.

Related: