Category  |  Web Development

My notes on DevOps Kungfu

Chef Style DevOps Kungfu - Adam Jacob Keynote - ChefConf 2015

Photo by churkinms

IP2Location + Varnish = Geocentric Supercaching

My friend and coworker @brettfitzgerald has developed a front-end load-balancer that uses a combination of Varnish and the IP2Location database to perform some geocentric caching that caches websites according to a user's country and timezone.  This allows for websites to be cached and served up with unique content based on the user's location.  Not a big deal if you have 3…

5 Common Server Setups For Your Web Application | DigitalOcean

When deciding which server architecture to use for your environment, there are many factors to consider, such as performance, scalability, availability, reliability, cost, and ease of management.

In this post, Mitchell Anicas outlines a list of commonly used server setups, with a short description of each, including pros and cons. Keep in mind that all of the concepts covered here can be used in various combinations with one another, and that every environment has different requirements, so there is no single, correct configuration.

Photo by xmodulo

How I Migrated From Apache to NGINX

Steps to Migrating from Apache2 to NGINX

First, we will install NGINX and PHP-FPM:

sudo apt-get install nginx php5-fpm

Next, we will need to update the PHP-FPM config at /etc/php5/fpm/pool.d/www.conf

sudo nano /etc/php5/fpm/pool.d/www.conf

My server has 4 cores, so this is what my www.conf file looks like:

user              www-data;
worker_processes  4;
worker_cpu_affinity 0001 0010 0100 1000;
error_log         /var/log/nginx/error.log;
pid               /var/run/nginx.pid;

events {
    worker_connections  2048;
}

http…

Photo by Garrett Heath

Creating a Dedicated Memcached Server on Rackspace Cloud Servers

This tutorial will step us through the creation of a Memcached server on Rackspace cloud servers.  The ultimate goal will be to have a dedicated Memcached server which will be accessed by multiple web servers that are load balanced in a Rackspace cloud hosting environment.

There are a few reasons to set up a dedicated Memcached server:

  • Performance: We will custom-prepare…

Photo by jimw

Creating a MySQL Database Server on Rackspace Cloud Servers

This tutorial will step us through the creation of a MySQL cloud database server on Rackspace cloud servers, we will not be using the "Rackspace Cloud Databases".  The ultimate goal will be to have a dedicated database server which will be accessed by multiple web servers that are load balanced in a Rackspace cloud hosting environment.

There are a few reasons…

Web Fonts are NOT the Future of the Web

My apologies in advance to my good friends in web design, but I am going to take off my web designer hat and put on my web developer hat for a minute.  And yes, you heard me right, web fonts are not the future of the web.

Web designers have an amazing impact on the web as they are the ones who make it beautiful.…

Photo by isado

10 Steps to Setting-Up Your PC as a Development Server for Wordpress

This is your step-by-step guide to setting up a Wordpress web development environment on a PC using XAMPP, Wordpress 3.x, and Subversion.

XAMPP installs PHP, MySQL, and Apache on your PC turning it into a local web server for development purposes.  Once installed you can begin creating custom Wordpress themes and plugins in your own local development environment.

After downloading and installing…

Photo by wwarby

Using Custom Post Types in Wordpress 3.0

So what is all of the buzz about custom post types in Wordpress 2.9 and 3.0? What can we do with a "post_type" and why does it matter? For some of us developers out there who have known the secret that Wordpress is actually much more than just a blogging platform this in no big news. To the rest of the…

Photo by renatomitra

Everything a Web Developer Needs to Get Started

Ever consider Web Development as a career? The following list of free resources will help you get up-and-running as a Web Developer.

PHP - Currently the most popular and widely used web development platform in the world.  After starting my software/web development career several years ago in the world of Microsoft, it was a relief to see that there was a…