Archive for September 27th, 2006

Chris Shiflett’s Blog: CakePHP Visits New York

In his latest blog post, Chris Shiflett talks about CakePHP “visiting” New York at this month’s NYPHP meeting as well of some of his impressions on the framework.

Last night at the monthly NYPHP meeting, Nate Abele presented an introduction to CakePHP, a web application framework. The New York subway wasn’t cooperating with my schedule, and due to a problem affecting all uptown 4/5 trains, I was 30 minutes late to the talk.

Here are some of my notes from the talk as well as the conversation we had over dinner and drinks later.

He wonders about if the fact that Cake supports PHP4 hinders it, the scaffolding available, Ajax functionality, and, of course, some of the security features of the framework. He notes that “as long as you stick to the Cake way of generating output, it handles the escaping for you” - definitely a plus.

Continue Reading · Add comment

PHPBuilder.com: Simulating Graphical Charts with XHTML/CSS

PHPBuilder has another excerpt posted from the book “PHP 5 in Practice” from Sams Publishing. It takes a quick look at a method to simulate graphical charts with some XHTML and CSS tricks (and PHP’s help).

When you need to present data in a chart on a web page, it is often worthwhile to generate graphical charts. This method is covered later in Section 18.4, “Creating a Graph/Chart Library”; however, sometimes for a quick chart CSS can suffice. Listing 9.4.1 presents a function that creates a visual chart of data using CSS and XHTML only.

You can find the code they’re talking about for “Listing 9.4.1″. They explain it briefly, but it’s a quick “here’s what it looks like” and less of a “here’s the logic behind it” kind of post. Never the less, it’s still quite useful.

Continue Reading · Add comment

SitePoint PHP Blog: The Joy of Regular Expressions [3]

Harry Fuecks has gotten busy and posted the third part of his “Joy of Regular Expressions” series over on the SitePoint PHP Blog today.

Following on from the last part, this one is more of an intermission-a round up of regex syntax seen so far and a couple of links following feedback.

He looks at two different topics:

  • A “must reads” section of resources for getting the most out of regular expressions
  • A comprehensive “cheat sheet” with tips on expression delimiters, literals, pattern modifiers, character classes, quantifiers, assertions, sub-patterns, and working with the blackslash.

Continue Reading · Add comment

PHPClasses.org: Responsive AJAX applications with COMET

From PHPClasses.org today, there’s a new article describing the combination of a few technologies - more specifically Ajax, Comet, and PHP - to create responsive applications.

This post describes an approach used to implement highly responsive AJAX applications using the COMET approach. It describes in detail how the AJAX COMET approach can be implemented in PHP.

It also discusses how HTTP compression and chunking affect AJAX response delays, as well aspects that may influence the choice between Apache 1.3.x with mod_gzip versus Apache 2.x with mod_deflate for AJAX COMET applications.

Manuel breaks the tutorial up into sections:

  • Multiple response AJAX requests
  • COMET: Multiple response AJAX request implementation
  • HTTP compression
  • Page compression delays
  • Avoiding mod_gzip dechunking
  • Apache 2.2.x with mod_deflate

For each topic, there’s a bit of explaination and some links to reinforce the ideas. There’s not really any code, but he does link to various classes that can help combine to meet the goal.

Continue Reading · Add comment

User Management in a PHP Invoicing System

In this fourth and final article covering the creation of a PHP invoicing system we re going to put together the user management section. In this section we will be able to view all available users and do all the associated things like deleting or updating user details. We are also going to be able to add new users….

Journyx Timesheet: FREE 10 user license! Increase your sales 5 to 20 percent. Automate billing with this 100% web-based timesheet. 1/4 of most projects lose money. Journyx finds them for you. Linux Wintel Solaris AIX FreeBSD. SOAP/XML API.

Continue Reading · Add comment