Rob Allen, who is on PHPWM and who I met at the recent PHPWM meeting in Worcester posted something on his blog detailing his prefered directory structure recently. Here’s mine, seemingly nicked straight from FHS: /home/$USER/www/$PROJECT: /codebase /bin [...]
Continue reading...7. September 2006
Today I had a requirement to strip off the first 9 digits from a string from within a Smarty template. The system using Smarty is *totally* locked down so no access to plugins or using php functions as modifiers so I could not simply do $string=substr($string,9); or even {assign var=”shorterThing” value=$thing|substr:9} In the end I used [...]
Continue reading...26. June 2006
Disclaimer: You have to be a geek to find the following even mildly interesting or heaven forbid, amusing. List: php-general Subject: [PHP] Sad PHP Poem From: “Martin Alterisio” Date: 2006-06-26 4:25:20 A sad poem of an algorithm where [...]
Continue reading...22. April 2006
CMS made simple (CMSms) is great as it does what it says on the tin e.g. it’s a CMS and it’s easy to use and configure. Most importantly for me, it’s easy to skin and modify. It uses Smarty as a template engine and I have to admit that I was dubious when I saw this [...]
Continue reading...7. April 2006
If you’ve installed Wordpress in the past then you will have seen the Kubrick theme. A lot of people who use WP end up keeping the original theme as it looks good, for example Cathie has done just this on her blog: http://ackers.bealers.com/. Bealers.com has been annoying me recently, the way it looks and the [...]
Continue reading...7. April 2006
I’ve added a second part to my of my Using the Zend Framework over in my How-To section. http://bealers.com/how-to/using-the-zend-framework-part-2/ Related: Part 1
Continue reading...3. April 2006
Grab the code Option 1 - Subversion [code] cd ~bealers/www svn co http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk cmsmadesimple [/code] This checks out the entire project including a lot of modules into a folder called cmsmadesimple which may not be what you want, but it’s what I’ve done. Option 2 - Tarball Instead you could grab the tarball and extract to the same place and rename the folder [...]
Continue reading...31. March 2006
I’ve been playing with the Zend Framework and have started a little How-To mostly for my own benefit. http://bealers.com/how-to/using-the-zend-framework-part-1/
Continue reading...30. March 2006
I’ve been writing code in my spare time again and have been wanting to blog little snippets but Wordpress munges any code that I add into the post body. I googled for wordpress plugins and most didn’t support WP 2 or were a bit tame but then look what I found. The iG:Syntax Hiliter by [...]
Continue reading...27. March 2006
A great one page cheat sheet for PCRE’s can be found over on the PHP Guru website. http://www.phpguru.org/article.php?ne_id=67
Continue reading...
19. September 2006
0 Comments