php developer

› Tim Priebe's Blog: Content Management Systems Demystified

In this new post on Tim Priebe's blog, he looks at a variety of the content manage ment system offerings out there on the web today, including several PHP-based options.

The list includes:

  • PHPNuke (general)
  • Drupal (general)
  • Coppermine (images)
  • WordPress (blogging)
  • phpBB (forums)

Tim includes links to all of the resources and screenshots of each package in action. It's interesting to have a summary of some of the more major offerings lined up like this - a good starting place to branch from for other CMS research.

02/06/2006 1:07 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› Sara Goleman's Blog: What the heck is TSRMLS_CC anyway?

Sara Goleman, a definite specialist in the internals of PHP, has posted This new item on her blog today with details on a construct that's a bit mysterious, but pervasive in the code - TSRMLS_CC.

Those who know what this is typically answer questions from those who don't with "Don't worry about what it is, just use it here here here and here. And if the compiler says you're missing a tsrm_ls, put it there too..." This isn't laziness on the part of the person answering the question (okay, maybe it is a little bit), it's just that the engine goes so far out of its way to simplify what this magic values does, that there's no profit in a new extension developer knowing the mechanics of it. The information is like a cow's opinion, it doesn't matter, it's Moo.

Since I love to listen to myself rattle on about pointless topics (and I havn't blogged much this month), I thought I'd cover this topic and see if anyone manages to stay awake through it.

In the remainder of the post, she breaks it down into its components and explains what each means. At its base level, it helps manage the differences between code using the "Zend Thread Safety" functionality and the code that's not. To illustrate the point, she provides two examples - one with globals and one with "non-global globals". Of course, this functionality isn't any good if you can't get to the constructs you need, so she includes an example macro to accomplish just that.

02/06/2006 12:56 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› Jim Plush's Blog: The Event Driven Mobile Application on Minimo

Jim Plush has an interesting post today (complete with a video) about a project he's worked up for sending messages to remote devices via a web connetion and a JSON encoded message.

I have my PDA resting on my laptop and on my laptop I have firefox open with a local PHP page. The PHP page has a couple checkboxes that when clicked and the submit button pressed will actually open up a socket connection to the IP address I specified in the text field above. The script then sends a JSON encoded event string of data. That string gets read in by a custom minimo/firefox extension I wrote that listens on a particular port for incoming connections, reads in any data sent then forwards that on to user land javascript. By user land javascript I mean javascript written on a regular webpage, not in the extension itself.

The video linked to in the post shows more clearly how this functionality works, and also includes a bit more detail on the whole process, including a graphical representation of how the entire process works. Ajax wasn't actually used to send the message in this particular application - it's all just made with regular sockets.

02/06/2006 12:46 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› iPerSec.com: Benchmarking PHP accelerators

Jean-Fran

01/06/2006 3:43 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› IBM developerWorks: Developing PHP the Ajax way, Part 1 - Getting started

IBM developerWorks has posted this new tutorial, the first part in a two-part series looking at the development of a PHP/Ajax application using Saxjax.

Asynchronous JavaScript and XML (Ajax), is arguably the most popular new Web technology. In this two-part "Developing PHP the Ajax way" series, you will create a simple photo album as an online Web application, entirely in PHP and the Simple Ajax Toolkit (Sajax). You'll begin by writing a simple photo album using the standard method of PHP development and later apply Sajax to make it an active Web application.

There's no hesitation on their part - they just jump right in and start in with the image pager class to handle the display of a number of images at a time. The files are stored in a directory on the local filesystem (as they should be) and pulling them in is just a matter of reading the directory. They integrate in basic back/forward and the ability to enlarge the images and the basic gallery is complete.

Now, it's time for the fun stuff - they take the processing that the PHP script was doing to grab the files/display them/etc and move it to the backend, replacing it with a simple Ajax call to another PHP file to grab the image information to display. They even finish off this part of the series with a method for implementing metadata for the images, an XML file with a summary of the file's attributes, date taken - anything you want, really.

01/06/2006 1:44 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› BobCares.com: Deploying libcURL with PHP

On the BobCares.com blog today, there's a quick new tutorial on getting libcURL implemented within your installation of PHP.

In this article, we'll see how to install or upgrade libcurl to a new version ( 7.15.3 ) and then integrate it to the PHP running in the server. Following steps were successfully tested on a Plesk 7.5 server running on RHEL-3.

It's basically a two step process (if all goes well) - downloading/compiling/installing the cURL libraries and application, and integrating it with PHP. If you're going to want to use secure connections with your installation, you'll also need to install the current certifying authorities for your setup.

01/06/2006 1:28 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› php|architect: Rich Internet Applications With PHP and Flex (Part 2)

From php|architect's ART article repository today, there's part two in the series following the creation of "rich internet applications" with PHP and that ever-helpful Adobe product line, their Flex products. This time, they look at how the the AMFPHP (flash remoting for PHP) library can make the connection even easier.

They start with links to the downloads for AMFPHP, and mention to "just follow the instructions" to get it set up. They provide a "create database" string to feed into MySQL before getting into the actual code for the application. The functionality grabs the list of users from the database table and stores it where the Flex interface can get to it.

The next step - generating the interface - is a simple one. They provide the code to cut and paste in to display all of the information the previous script had pulled out (in a datagrid).

Finally, they pull it all together, using the AMFPHP library to bridge the gap between the PHP script and the Flex interface, pushing the data into the Flex application.

01/06/2006 1:22 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› WeberDev.com: User Authentication With patUser (Part 1)

WeberDev has posted part one of their latest series today - a look at using the patUser utility to authenticate users for your website.

It should, therefore, be possible to come up with a generic library to perform these tasks, one which provides developers with a reusable code base and eliminates the need to reinvent the wheel every time they build the user management component of a Web application. This library should be flexible enough to adapt to different needs, powerful enough to satisfy most requirements, and robust enough to meet the performance and scalability requirements of most of the current generation of Web applications.

Which brings me, rather nicely, to patUser.

They take the time to explain what the patUser package is all about, including where to grab the latest copy from. There's a SQL file that comes with the installation to help you get started and will be what the tutorial is based around. They provide a basic example of adding and authenticating a user, breaking it down into chunks to explain it.

They also include a method to make the patUser system use a plain HTTP authentication instead of integrating into a template - sometimes a simpler, quicker approach for validating users.

01/06/2006 1:00 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

bruce morrison

› Benchmarking PHP accelerators

Using an accelerator with eZ publish is highly recommended. This article compares two open-source accelerators: APC and eAccelerator (a Turck-MMCache fork). The commercial Zend Platform gets a mention but is not included in the comparism.
01/06/2006 12:50 am (UTC)   Bruce Morrison   View entry   Digg!  digg it!   del.icio.us  del.icio.us

bruce morrison

› Benchmarking PHP accelerators

Using an accelerator with eZ publish is highly recommended. This article compares two open-source accelerators: APC and eAccelerator (a Turck-MMCache fork). The commercial Zend Platform gets a mention but is not included in the comparism.
01/06/2006 12:41 am (UTC)   Bruce Morrison   View entry   Digg!  digg it!   del.icio.us  del.icio.us

eZ publish™ copyright © 1999-2005 eZ systems as