Archive for August 11th, 2006

SitePoint PHP Blog: Pimpin Harry’s pretty bluescreen

On the SitePoint PHP blog today, Maarten Manders talks about some updates he made to the “pretty blue screen” created originally by Harry Fuecks to handle more error types.

I modified it to handle errors as well and added some features which make it useful in productive systems as well: Error logging, Error Mailing, and Configuration.

The script logs or mails unique errors only once to prevent your log file or mailbox to be spammed with the same error again and again. It also takes care of the error level including shutup operator. It’s a little bit hacky but did well on our dev servers (where errors tend to happen) in the past few weeks.

The link to grab this latest version of a handy bit of functionality is here - two different files, one for the error handler and one for the exception handler. He also includes a sample code snippet of how to use it.

Continue Reading · Add comment

Joshua Eichorn’s Blog: You got AJAX questions I got Answers

Joshua Eichorn, being the generous soul that he is, is offering in his latest post to answer any Ajax questions his readers might want to know about.

Have you wondered whats the easiest way to submit a form using AJAX, what the status of HTML_AJAX development is, or what is covered in Understanding AJAX?

Well nows your chance.

To get your question(s) in, just submit them as a comment on this post and he’ll come back in a few days with the answers.

Continue Reading · Add comment

Laura Thomson<’s Blog: More jobs @ OmniTI

Laura Thomson has posted this note on her blog today about job offerings over at OmniTI (employer of her, George Schlossnagle, Chris Shifflet, and Theo Schlossnagle) for junior to mid-level web developers.

She lists the requirements (including good PHP/SQL/UNIX/HTML & CSS skills, and knowledge of database design/Ajax/web services/etc).

To apply, send off a resume and code samples to jobs@omniti.com.

Continue Reading · Add comment

Kristian Kohntopp’s Blog: Annotations to “Five Common PHP database problems”

Building on this article from the IBM developerWorks site talking about “Five Common Database Problems”, Kristian Kohntopp adds in some of his own comments for the five common problems from his perspective.

My experience in the field differs slightly from his observations, and so I thought a few annotations may be in order.

Each of the five in the list have large explainations following them, with slightly different takes on what was said before on the subject and sometimes even a few agreements here and there.

Continue Reading · Add comment

Jacob Santos’s Blog: Don’t Advocate Inner Classes

Jacob Santos talks in this new blog post about something that, if added to PHP, just might be more trouble than it’s worth - inner classes.

Inner Classes are contained in parent classes and offer a sort of namespace mechanism for the public and open private class data transfer for private subclasses.

The functionality is already available in other languages, but the question is whether it is needed in PHP. The short answer is no. With PHP execution model, it would further slow down and bloat PHP compilation.

He demonstrates their purpose with some simple examples but also gives the reasons why it would be a bad thing to try to include them, including the better choice of namespaces over inner classes.

Continue Reading · Add comment