Implicit Evaluation with PHP

Implicit Evaluation with PHP Archives: PHP

next page ·

4 May 2007

Benchmarking PHP Threads

All threads can now both hear and report on conditions. A problem with the original send/recieve mechanism made threads hang the controlling thread while long operations were occurring.

continue reading... » One Comment

3 May 2007

Communicating with threads in PHP

Earlier this week, I suggested PHP could be multithreaded. The sample I provided was very simple and at least one reader quickly wondered how to communicate with threads.

continue reading... » 5 Comments

1 May 2007

Multi-threading strategies in PHP

PHP does not have threading anywhere in its massive core. We can, however, fake it by relying on the underlying operating system instead of PHP. This article will show you how.

continue reading... » 10 Comments

28 March 2007

Fortitude is Dead

This morning, I learned of Delphi for PHP. It looks like the PHP.net language I’ve always wanted. Short of the System.* Namespace, it seems to be a .net clone. It has the interface I hoped to develop to front-end Fortitude. It has a framework which is close enough. This is the future of PHP development.

continue reading... » 0 Comments

15 March 2007

Comparing monolithic controllers with task-based controllers

While learning to program with MVCs, design questions like “what should be covered in a given controller” and “how many controllers do I need?” arise. After reading this, you’ll learn how to determine the answers to questions like those.

continue reading... » 0 Comments

8 March 2007

Nuances with mysql_real_escape_string

What to do if mysql_real_escape_string gives you an empty string as a result.

continue reading... » 0 Comments

22 February 2007

Generating SQL Insert Queries

Its possible to generate a well formed SQL query with one line of PHP by capitalizing on lambda-style functional support.

continue reading... » 2 Comments

9 February 2007

The Implicit Isset

A guide discussing when to use isset and when to assume.

continue reading... » 0 Comments

8 February 2007

Managing Variable Scopes While Using Templates

PHP’s rules for variable’s scopes can make coding complex templates difficult. Today, I’ll show you several methods to make it easier.

continue reading... » 0 Comments

30 January 2007

PHP as a Lambda Language

PHP is an imperative language which supports object-oriented programming. However, it supports a number of paradigms closer to what you would expect Lisp or Scheme to allow. I’ve discussed parts of this before, but its time to put together a definitive primer. You’ll learn ways to create entire functions at run time, as well as applying them to entire arrays in a single pass. PHP will seem more LISP-like than it ever has before.

continue reading... » 7 Comments

next page ·