FB Web Tips

Cargo-Culting in JavaScript

By James Padolsey

Cargo-cult programming is what a programmer does when he or she doesn’t know a particular language or paradigm well enough, and so ends up writing redundant and possibly harmful code. It rears its head quite often in the land of JavaScript. In this article, I explore the concept of cargo-cult programming and places to watch out for it in JavaScript.

FB Web Tips

The Right Way to Retinafy Your Websites

By Allan Berger Making your website ready for Retina display doesn’t have to be a hassle. Whether you are building a new website or upgrading an existing one, this guide is designed to help you get the job done smoothly.   Make it Retina First The easiest and most time-saving way to add Retina support […]

FB Web Tips

How to Create a PyroCMS Theme

By Zac Vineyard Like most content management systems, PyroCMS uses front-end themes. Though PyroCMS themes are built a bit differently than what you might be used to from other systems, they’re still quite easy to create. They’re so easy, in fact, that very little PHP experience is required to assemble them!   The Folder Structure […]

FB Web Tips

Tuts+ Premium Cash Back Offer: 3 Days to Go

By Joel Bankhead This offer ends soon! Act now and don’t miss out on cash back when trying a monthly Tuts+ Premium subscription. At $19 a month, Tuts+ Premium is fantastic value. But it’s even better when we hand your first $19 right back to you! For a limited time, we’re offering $19 cash back […]

FB Web Tips

The Linux Firewall

By Patkos Csaba There are several firewall applications for Linux, but what you may not realize is that, at the heart of all these programs is a single all-mighty application that is built right into the Linux Kernel: iptables. This is the Linux firewall. No matter which program you use to configure your firewall under […]

FB Web Tips

How to Write Testable and Maintainable Code in PHP

By Chris Fidao Frameworks provide a tool for rapid application development, but often accrue technical debt as rapidly as they allow you to create functionality. Technical debt is created when maintainability isn’t a purposeful focus of the developer. Future changes and debugging become costly, due to a lack of unit testing and structure. Here’s how […]

FB Web Tips

Mass Assignment, Rails, and You

By Arun Srinivasan Early in 2012, a developer, named Egor Homakov, took advantage of a security hole at Github (a Rails app) to gain commit access to the Rails project. His intent was mostly to point out a common security issue with many Rails apps that results from a feature, known as mass assignment (and […]

FB Web Tips

Real Time Chat With NodeJS, Socket.io and ExpressJS

By Krasimir Tsonev NodeJS gives me the ability to write back-end code in one of my favorite languages: JavaScript. It’s the perfect technology for building real time applications. In this tutorial, I’ll show you how to build a web chat application, using ExpressJS and Socket.io.   Setup Environment Of course, the first thing to do […]

FB Web Tips

Master Developers: Addy Osmani

By Rey Bango A bright star in the JavaScript community, Addy Osmani has skyrocketed to prominence not only for his fabulous JavaScript articles and open source contributions but for also being one of the friendliest and approachable developers around. His blog is a treasture trove of front-end knowledge and well-worth the visit. In this post, […]