News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Rob Allen's Blog:
A review of "Learning PHP Data Objects"
0 comments :: posted Monday May 05, 2008 @ 13:44:10
voice your opinion now!

Rob Allen has posted a review of the Packt Publishing book "Learning PHP Data Objects" over on his blog today:

Packt Publishing recently sent me a couple of books to review. This post is about the second one I received, Learning PHP Data Objects by Dennis Popel. I was excited to receive this book as PDO underlies a lot of the Zend_Db_Adapter objects that I use in my day to day programming. It seemed like a good idea that I should know more about it.

He provides some good detail of what the book covers (chapter by chapter) as well as a summary including his recommendation for who should use the book and how they can best enjoy its contents.

tagged with: learning data objects pdo review book packt



MSBWare.com:
XML to Array
0 comments :: posted Monday April 14, 2008 @ 10:23:11
voice your opinion now!

Michael has posted a simple script today that takes in XML data and spits back out an array on the other side:

The function takes the specified XML data (which must be in valid XML format) and converts into an array. Any attributes in the XML elements are dropped an only the element values are placed in the array.

The code uses a combination of XPath, DOM, and regular expressions to parse the given XML content.

tagged with: xml translate array xpath dom regularexpression data element

DevShed:
Retrieving Information on Several Objects with Destructors in PHP 5
0 comments :: posted Thursday February 07, 2008 @ 10:28:00
voice your opinion now!

DevShed has posted the next-to-last (part four) of their series looking at destructors in PHP5 applications today. This time they focus on passing information back out of the destructors as the script is finishing.

In this fourth article of the series I'm going to teach you how perform this process when working with multiple objects (remember that you already learned how to achieve this using only one class instance).

They start simple, showing how to handle one object to give you a base to work from. They modify this to expand it out and show the management instead of three different user data objects.

tagged with: php5 tutorial destructor manage multiple object data

DevX.com:
Four Ways to Transfer Data Between Flash and PHP
0 comments :: posted Tuesday February 05, 2008 @ 12:58:00
voice your opinion now!

The DevX.com site has posted some code that gives you methods for passing information back and forth between PHP and a Flash application.

When you need to develop a web form with a special design and great effects, you will probably elect to use Flash. But building and programming Flash forms is considerably different from building standard HTML-based forms. [...] To do that though, you need to know how to access data in the Flash form and (sometimes) how to update the Flash form from PHP as well.

They help you build a sample Flash form as a base to work with in the transfer methods including the ActionScript to get the data out of each field. The tutorial shows the two way communication that's possible - pushing the Flash values out to the PHP script via a getURL() call and pulling the results back in with a call to loadVars() from the PHP script's output.

tagged with: data transfer flash application form script backend loadvars geturl

Community News:
The PDO v2 Proposal
0 comments :: posted Friday January 25, 2008 @ 08:58:00
voice your opinion now!

Wez Furlong posted a request for comments to the php.internals and php.pdo mailing lists yesterday about a new ly proposed update to the current PDO functionality - PDO 2. He just wants to clear up a few things...

It became apparent over the past year or so that PDO has been a good and valuable addition to PHP. [...] We believe that having direct involvement from the data access providers would be most effective, which is why we set out to try and get them on board.

There were three steps they would need to make to push things to version two (documentation, define scope/direction and organize data provider integration methods) and the proposal that has caused a huge stir in the community - the idea of requiring a CLA contributors would need to sign.

Comments to this point from the community include:

tagged with: pdo data abstraction layer version cla require

DevShed:
Implementing Destructors with Multiple Objects in PHP 5
0 comments :: posted Wednesday January 23, 2008 @ 14:57:00
voice your opinion now!

DevShed has posted part two in their series looking at the use of destructors in PHP5. This time they focus on their use with multiple objects inside of an application.

Destructors can be used in all sorts of clever ways in the context of a given PHP 5 application, mostly in those cases where it's necessary to keep track of the status of certain objects prior to their being destroyed by the PHP interpreter. In this second chapter you'll learn how to work simultaneously with multiple classes that concretely implement their respective destructors.

They revisit their previous example with a simple class that's then extended to allow the flexibility to call the same destructor on multiple instances.

tagged with: destructor class user data multiple tutorial

Zend Developer Zone:
Zend_Gdata for Picasa, YouTube, Google Documents List
0 comments :: posted Tuesday December 18, 2007 @ 08:46:00
voice your opinion now!

On the Zend Developer Zone there's a new post from Bill Karwin highlighting the Zend_GData component of the Zend Framework and how it can help grab information from the Google Data APIs.

The recent Zend Framework 1.0.3 release includes new support for some great services, including Picasa Web Albums, YouTube, and Google Documents List.

He talks about the interfaces for each of these (including what you can grab) and includes some pointers to example code that can be used with either the full framework or just the GData bundle. There's also a video demo of the component being used to fetch data from the Data API.

tagged with: zendgdata google data api picasa youtube documents zendframework zendgdata google data api picasa youtube documents zendframework


releases PEAR application package cakephp database security mysql pecl developer framework conference PHP5 job book zendframework ajax release zend code

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework