 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Lorna Mitchell's Blog: PHP REST Server (Part 1 of 3)
by Chris Cornutt September 01, 2008 @ 11:21:54
Lorna Mitchell has started a three part series on her blog detailing the process she went through to develop a REST server in PHP.
I recently had reason to write a REST server in PHP, which was very interesting. There aren't a whole lot of resources on this topic around so I thought I'd write an outline of what I did. There is quite a lot to it so I'm publishing in multiple sections - this is part 1, which covers the central functionality and handling the incoming request.
In this first part she talks about the wrapper class she developed and includes some sample code that does the initial handling of the request (reading from php://input and passing it off to a handle() method to the taken care of).
voice your opinion now!
rest server tutorial code wrapper class
Robert Eisele's Blog: Face detection with PHP
by Chris Cornutt July 24, 2008 @ 12:55:41
Robert Eisele has posted on an interesting topic recently - using a PHP interface to the OpenCV library (from Intel) to detect faces in images.
The headline does say facedetection - but what does this mean? Easy said, this article focus on how to find faces on images with PHP. Faces have a certain form and so it is possible to search for it. At the end of the search you will say how many human faces are on the image or better: Where are human faces on my image. This article is not intended to be mathematically.
The OpenCV library is a pattern-detection tool that can, based on the "experience" it has trained on with sample files, do its best to find similar structures in any given image. He's come up with a wrapper that handles most of the details for you. You can define the xml file type (frontalface, lowerbody, upperbody, etc) that you want it to try to match to.
He gives some examples of the output from each on one of the sample images included in the training group as well as a random photo grab from flickr that dynamically tries to apply one of the face filters.
voice your opinion now!
face detect opencv intel wrapper tutorial
Community News: Two Wrappers for Ext JS in PHP - PHP-Ext & ExtPHP
by Chris Cornutt March 12, 2008 @ 09:38:00
As both the Zend Developer Zone and Ajaxian point out, there's been two new projects based on the Ext JS user interface widget system adapted for PHP - PHP-Ext and ExtPHP.
PHP-Ext is an open source widget library written for PHP 4 and 5 to empower the UI Layer. It is based on Ext JS javascript widgets which provide a standard and powerful API to build Rich Internet Applications. It basically works as a convenient wrapper for the Ext JS Javascript Objects.
And from the ExtPHP site:
I needed to be the one person who would have to wrestle JavaScript when problems happened. I therefore needed a way to insulate them from the gory details, which is why I created ExtPHP.
As you may have guessed from subtle hints, such as this entry's 12-feet tall header, ExtPHP creates a PHP wrapper for ExtJS.
The Ajaxian post also includes code examples for each of them, one showing form construction and the other a tabbed interface.
voice your opinion now!
phpext extphp extjs javascript wrapper library
|
Community Events
Don't see your event here? Let us know!
|