News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
Adam Trachtenberg's Blog:
PHP 5 SOAP Hacking
October 22, 2005 @ 06:22:54

Adam Trachtenberg has posted a fun new usefulness for a feature in the PHP5 SOAP libraries - the classmap option.

My new favorite PHP 5 SOAP feature is the classmap option. By default, ext/soap converts complexTypes into stdClass objects. However, that's only useful for reading the data.

Using the classmap option, you can specify how ext/soap should map complexTypes to PHP classes. This allows me to write methods to implement iterators and pretty-printing of objects.

He's looking to create a series of model classes that can automatically pull/push the data it needs. Now, if we could only see some code...

1 comment voice your opinion now!





Community Events





Don't see your event here?
Let us know!


application release community symfony2 language database unittest podcast component phpunit api framework development test introduction conference custom interview series opinion

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