FB Web Tips

Getting Into Ember: Part 4

By Rey Bango In my previous tutorial, I touched on how to use Ember.Object to define your models and work with datasets. In this section, we’ll look more closely at how Ember uses the Handlebars templating framework to define your app’s user interface.   Client-side Templates Most server-side developers are used to using templates to […]

FB Web Tips

Test-Driving Shell Scripts

By Patkos Csaba Writing shell scripts is very much like programming. Some scripts require little time investment; whereas, other complex scripts may require thought, planning and a larger commitment. From this perspective, it makes sense to take a test-driven approach and unit test our shell scripts.   To get the most out of this tutorial, […]

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 […]