web development war stories from the frontlines to the backend

PHP Drinks Java

tags: ,

This post got me thinking about exactly why it is that PHP developers dislike Java?
While researching I stumbled upon this post which attempts to explain why you shouldn’t treat PHP as if it were Java. The example singleton code looks nearly identical in both PHP and Java. The author suggests that an “experienced” [...]

Found some great PHP resources that I’d like to share. I haven’t seen much talk of these so I’m hoping I can help spread the word.
First off libmemcached.
Most PHP folks are familiar with the memcache (note the lack of a ‘d’ in the name) PECL extension. This extension exposes a simple [...]

Background
“Long polling” is the name used to describe a technique which:

An AJAX request is made (utilizing a javascript framework such as jQuery)
The server waits for the data requested to be available, loops, and sleeps (your server-side PHP script)
This loop repeats after data is returned to the client and processed (usually in your AJAX request’s onComplete [...]

  

Recent Posts

Categories

Archives