The Internals of Passing Variables by Reference and Value

Tobby :

The concept of passing variables by reference or value isn't new to seasoned PHP developers; but often, newer developers aren't as familiar with this concept. Simply put: "by reference" means that you are passing the pointer (memory address) of a variable, while "by value" means you are copying the contents of a variable.

Posted 12/12/2011 - 09:41

PHP for Designers (or Wanting to Drive Your Sister's Cadillac)

Laura:

"Why use parentheses instead of brackets?" These are the types of basic questions asked by designers learning PHP. Such questions befuddle instructors and annoy developer-types in PHP classes, but making PHP accessible to designers is a huge leap toward advancing Drupal adoption. Drupal instructors are fumbling to create PHP courses that are designer-friendly and don't scare away this huge group of potential Drupal users.

And designers are hungry to learn PHP. While they've been walking down the website creation street with their bag of design, CSS and HTML tricks, their PHP-literate sister is zooming by in her shiny black Cadillac.

Posted 11/08/2011 - 09:29

Setting Up LAMP Stack On CentOS and RackSpace Cloud Server

Irakli:

A step-by-step guide for setting up and configuring a LAMP (PHP 5.2) Stack on a 1GB or 2GB RackSpace Cloud Server.

Posted 12/30/2010 - 22:24 // 6 comments

A Story of a PHP Variable Reference Pitfall

Irakli:

If you think you have something as "basic" as PHP variables and reference rules all figured-out, you may have to think twice. Or at least that's what happened to me and following is an honest-to-heart story of it.

Posted 08/27/2009 - 20:14 // 6 comments

Drupal: Hooking Into Menu Item's After Save State

Irakli:

A short blog post that describes how to "create" post-state hooks if you have pre-state hook in Drupal. The specific example simulates a post-menu-item-save hook (which does not actually exist).

Posted 07/20/2009 - 17:45 // 3 comments

Troubles with Drupal, File Uploads, and XAMPP

Frank:

Ever tear your hair out for hours trying to track down why something is not working, only to find out that it is the simplest thing? Well, after losing a large chunk of my life that is never to return, I am happy to say that it is solved.

Posted 08/14/2008 - 05:22 // 7 comments

Multipart HTML Emails With Drupal

Irakli:

Multi-part email format allows you to send both textual and HTML-formatted emails concurrently. These days, most web-systems should support this. In the following blog post, we discuss and show a quick example of how to send multi-part e-mails with Drupal

Posted 07/15/2008 - 13:47 // 6 comments

HOWTO: Install PECL APC Cache on CentOS (without XAMPP)

Frank:

As Irakli already discussed, the Alternative PHP Cache (APC) is an op-code pre-compiler and a cache system that can boost the performance of a PHP application up to 10 times. Op-code caches are very effective for a Drupal website, since Drupal deals with large number of source files and time spent in parsing them significantly affects performance. However, if you don’t have XAMPP and need to install it on CentOS, you can follow this guide to get around some of the problems that happen with the default server settings.

Posted 04/02/2008 - 21:21 // 9 comments

HOWTO: Install PECL APC Cache with XAMPP on Linux

Irakli:

Alternative PHP Cache (APC) is an op-code pre-compiler and a cache system that can boost the performance of a PHP application up to 10 times. Op-code caches are very effective for a Drupal website, since Drupal deals with large number of source files and time spent in parsing them significantly affects performance. The following blog post explains how to install APC in a XAMPP environment.

Posted 03/13/2008 - 11:34 // 4 comments