FB Web Tips

The Fundamentals of Bash Scripting

Shell scripts are widely used in the UNIX world. They’re excellent for speeding up repetitive tasks and simplifying complex execution logic. They can be as simple as a set of commands, or they can orchestrate complex tasks. In this tutorial, we’ll learn more about the Bash scripting language by writing an example script step-by-step.


FB Web Tips

Just Released: Laravel Testing Decoded

After months of effort, I’m proud to announce the release of my new book, Laravel Testing Decoded! It’s my hope that you won’t find a better, more approachable resource for learning the ins and outs of testing in PHP. I’ve spent years learning how to explain complicated topics in such a way so that anyone can understand. So, if learning how to properly test has been on your bucket list for a while now, maybe it’s time to finally dive in!

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

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