FB Web Tips

Promise-Based Validation

By Pavan Podila The concept of “Promises” has changed the way we write asynchronous JavaScript. Over the past year, many frameworks have incorporated some form of the Promise pattern to make asynchronous code easier to write, read and maintain. For example, jQuery added $.Deferred(), and NodeJS has the Q and jspromise modules that work on […]

FB Web Tips

Testing Laravel Controllers

By Jeffrey Way Testing controllers isn’t the easiest thing in the world. Well, let me rephrase that: testing them is a cinch; what’s difficult, at least at first, is determining what to test. Should a controller test verify text on the page? Should it touch the database? Should it ensure that variables exist in the […]

FB Web Tips

Meet the Connect Framework

By Andrew Burgess Newcomers to NodeJS typically find its API difficult to grasp. Luckily, many developers have created frameworks that make it easier to work with Node. Connect is one such framework. It sits on top of Node’s API and draws the line between comfort and control.   Think of Connect as a stack of […]

FB Web Tips

Writing a Shell Script from Scratch

By Andrew Burgess Writing shell scripts can be rather daunting, primarily because the shell isn’t the most friendly of languages to use. However, I hope to show you in this tutorial that shell scripting is actually not as tough or as scary as you might expect.   For this tutorial, we’ll write a script that […]

FB Web Tips

Reflection in PHP

By Patkos Csaba Reflection is generally defined as a program’s ability to inspect itself and modify its logic at execution time. In less technical terms, reflection is asking an object to tell you about its properties and methods, and altering those members (even private ones). In this lesson, we’ll dig into how this is accomplished, […]

FB Web Tips

Getting Into Ember.js: Part 3

By Rey Bango I hope that you’re starting to see that Ember.js is a powerful, yet opinionated, framework. We’ve only scratched its surface; there’s more to learn before we can build something truly useful! We’ll continue using the Ember Starter Kit. In this portion of the series, we’ll review accessing and managing data within Ember. […]

FB Web Tips

IRC is Back: Here’s Your Starter Guide

By Rey Bango How of many of your remember Compuserve? What about Prodigy? I’m asking because, back in the good ‘ole days, they were popular services that allowed you to communicate with other people from all over the world. In many cases, they offered complementary services, such as forums or classified services, not to mention […]

FB Web Tips

Digging Into Rails 4

By Arun Srinivasan Rails 4 is rapidly approaching. In this article, let’s take a look at some of the new features that it offers, as well as the changes that may affect your current applications.   Some Bookkeeping Cache digests are Rails 4′s solution for tracking the changes of aggressively cached templates. There are several […]

FB Web Tips

PSR-Duh!

By Gabriel Manricks In a previous lesson here on Nettuts+, you learn about PSR; however, that article didn’t detail the process of integrating that coding style into your projects. Let’s fix that!   Note: this article assumes that you’ve read PSR-Huh?, and understand what PSR refers to. Let’s begin with the first standard: PSR-0. PSR-0 […]

FB Web Tips

Laravel 4 Mastery

By Jeffrey Way Perhaps it goes without saying that I’m fairly passionate about the Laravel framework (probably irritatingly so, for some of you). I like it so much to the point of creating a massive course for Tuts+ Premium, most of which I’ve made free to the public!   Below is a list of the […]