Scott Smith

Blog Tutorials Projects Speaking RSS

Twitatron: Building a Production Web App With Node

In this multi part series you will learn how to create a production ready Node web application with authorization, user accounts, data storage, background workers, security, email, APIs, RSS, and third party service integrations.

Protect Your Node App’s Noggin With Helmet

Learn how to protect your Express Node application from cross-site scripting, script injection, clickjacking, insecure requests, and more by using a set of Express middleware provided by Helmet.

Beer Locker: Building a RESTful API With Node - Digest

Many readers have asked questions about how to use different authentication strategies so I am going to continue this series and delve into many of those strategies. This article will explore the use of Digest authentication instead of Basic.

Beer Locker: Building a RESTful API With Node - OAuth2 Server

In this beer locker installment we will dive into creating an OAuth2 server and allowing access to API endpoints for the authorized user or authorized applications. We will do this by integrating OAuth2orize into our application.

Beer Locker: Building a RESTful API With Node - Passport

In this part of the beer locker series, we will dive into creating user accounts and authentication using Passport. By the end of this article you will have learned how to add user accounts, implement authentication, and control access to beer lockers.

Beer Locker: Building a RESTful API With Node - CRUD

In this beer locker part, we will dive a bit deeper and learn how to implement CRUD operations on our beer locker. By the end of this article you will have learned how to connect to a MongoDB, used Mongoose for object modeling, and have implemented GET, PUT, POST, and DELETE endpoints.

Beer Locker: Building a RESTful API With Node

In this multipart series we’ll be creating a RESTful API using Node, Express, Mongoose to interact with MongoDB, Passport for authentication, OAuth2orize for OAuth support, and explore best practices and tools.

The Birth of Bit: Making Ideas Happen

We all have ideas. In the space we work it is nearly impossible not to. We are developers and designers; the makers of the digital world. They key is having the ability to take the leap and transform an idea into a reality. Why do so many people not follow through with their ideas? Read on to learn practical tips on how to take an idea and make it real.

Deeper Dive Into ScriptCS

In this article, we will be exploring the newish REPL interactive mode, script packs, and many other cool features of ScriptCS.

Using @ and _ With HTML Helpers in Razor Views

Here is a tip for you .NET developers.

When you are using HTML helpers there are times when you need to add extra attributes to the HTML element being produced by the helper. Two attributes that are commonly added are the class and data- attribute. HTML helpers support the ability to pass in an anonymous object for setting these attributes. The helper will take each item out of the anonymous object and add them to the html element as attributes.