php

Adding Custom Breadcrumbs to Views Pages

Recently I needed to add custom breadcrumbs to views 2 generated pages. Now we were using excellent custom_breadcrumbs 1.x to add custom breadcrumbs on site. At that time I discovered that 1.x version of custom_breadcrumbs do not support views generated pages and 2.x version of module (which supports views) is not production stable. So I came up with this solution to create custom breadcrumbs for views pages:

Serialized Objects

in

It sounds pretty obvious. My php warning to you is:

if you serialize a php object, be sure that when you unserialize the object, that the php file which defines the object is loaded in memory.

in complex projects, the ifs-and-whys are often buried deep in the code. The specifics of my saga involve Drupal and panels.

Xdebug, Phing and SpikePHP Coverage Tools

Recently I've been looking into various open source PHP development tools, focusing mainly on Xdebug, Phing and SpikePHP Coverage Tools. Xdebug is an open source package of debugging tools for PHP, and is often called the "swiss army knife tool'' for PHP developers. It provides a number of useful features such as debugging, tracing, profiling and code coverage. It works well on a variety of platforms and there's also third party extensions for it for Eclipse and Firefox.

vi, Drupal Search, and Playa Del Carmen Retreat

LIVE FROM THE ENGINEERING PLAYA DEL CARMEN RETREAT... I first used vi in 1984 while writing an Operating System for one of my classes. I probably really learned vi while playing nethack during the summer of 1984. I've used vi in almost every job I've had since then. Even when I was on windows, I used mks toolkit or cygwin. That's a 24 years of vi use. I know that we all love our editor. And I have no desire to get into an editor flame war. The point is that I that I've been using vi for a long time, and it's very comfortable for me.

PHP 4 is dead

Just a reminder that the deadline of the GoPHP5 campaign is upon us. There are less than 19 hours to go (at time of writing): http://gophp5.org/ If you listed your website, project, host or service on GoPHP5.org, then you should have finished migrating by now. Go PHP 5!
Syndicate content