SitePoint's PHP Blog: Dynamically Typed |
Rasmus Lerdorf: PHP Frameworks? Think Again. Date: 08/28/2008
This is the fist time I have heard Rasmus Lerdorf speak and it was entertaining to say the least. Refreshing would another way to describe it, I enjoy hearing real opinions and not holding back — Rasmus doesn’t hold back.
Just a short background, Rasmus Lerdorf is the creator of PHP and still continues [...]

|
Mangling XML as Text with PHP DOM Date: 07/24/2008
Recently I had to do some mass-conversion of HTML files to DITA XML — material I’d written for the upcoming JavaScript Ultimate Reference (the third, and arguably most complicated, part of the SitePoint Reference).
But a problem I came across several times was the sheer complexity of recursive element conversion — <code> becomes <jsvalue> (or one [...]

|
Keeping Current With PHP Date: 07/15/2008
Just a quick hint to people with an interest in the development of PHP, but no time for following php-internals. Since March, there has been a wiki at wiki.php.net. The most interesting section is probably wiki.php.net/rfc, which - as the name implies - contains RFC’s for improvements of the language. I’ve rambled on about closures [...]

|
Last we checked, PHP IS a framework. Date: 06/08/2008
When it comes to web programming languages, PHP probably holds the record for copping criticism from the community at large. Comparisons with alternatives such as Ruby on Rails and Python/Django are common; defenders of PHP are quick to criticise the comparison of a language and a framework. But at the end of the day, developers [...]

|
PHPBench.com: Live PHP benchmarks, demystifying “best practices” Date: 06/02/2008
As a new contributor to the SitePoint blogs, I’ll be covering PHP web development, JavaScript and general web tech.
When it comes to optimizing PHP for performance, there’s no end of resources available, and no end of conflicting opinions either. Everyone seems to have their own approach to writing “fast” PHP code; using single quotes, avoiding [...]

|
Debugging PHP Date: 06/01/2008
I just checked in a little project, I’ve been working on for the last couple of weeks.
It really begun at the last Copenhagen php-meetup; Joakim Nygård and Jacob Oettinger made a presentation of their project, WebCacheGrind. I casually mentioned something about having played with the dbgp-protocol (The debugging part of Xdebug) and that it ought [...]

|
Useful in-browser development tools for PHP Date: 05/12/2008
While debuggers exists, there isn’t much of a tradition for using them in PHP. People have largely come to rely on injecting debugging code directly into the program, for inspecting program scope. The infamous var_dump have served for this purpose and version 4.3.0 of PHP brought us another equally useful function — debug_backtrace.
Tracers and error [...]

|
A PHP Guy’s Look At Python Date: 05/09/2008
Against all odds, I found myself with a little spare time this week. Rather than do something sensible like clean the garage or get some exercise, I took the opportunity to learn a new programming language: Python.
Like may SitePoint readers, I cut my teeth on PHP. I’ve become very comfortable with it over the years, [...]

|
Drupal 6.0 Released Date: 02/17/2008
The Drupal development team surprised everyone when they released version 6.0 last week, ahead of schedule.
After one year of development we are ready to release Drupal 6.0 to the world. Thanks to the tireless work of the Drupal community, over 1,600 issues have been resolved during the Drupal 6.0 release cycle. These changes are evident [...]

|
What’s so bad about the Singleton? Date: 02/12/2008
I keep running into people who caution against using Singleton and recommend to avoid it like a plague. What is so scary about it?
— Kailash Badu
It’s a good question, for it is true that global variables are often demonised and more recently the Singleton has befallen the same fate. Perhaps a bit surprising, it [...]

|
| Back |