<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 06 Jan 2009 22:15:53 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Vidyut Luther's Blog: Adding Subscribers to Campaign Monitor Lists using PHP5 and SOAP]]></title>
      <guid>http://www.phpdeveloper.org/news/11570</guid>
      <link>http://www.phpdeveloper.org/news/11570</link>
      <description><![CDATA[<p>
If you're a <a href="http://www.campaignmonitor.com/">Campaign Monitor</a> user (an email marketing tool targeted at designers) and have wanted to dynamically add people to your lists, <i>Vidyut Luther</i> has <a href="http://www.phpcult.com/blog/campaign-monitor-php5-soap/">a solution</a> for you:
</p>
<blockquote>
This is a quick how to, for people interested in adding subscribers to their  Campaign Monitor  lists. What you'll need: PHP 5 with SOAP built in, a Valid Campaign Monitor Account, a Campaign Monitor list.
</blockquote>
<p>
His simple script (about 10 lines with comments removed) makes a call to the service's API and passes in your key, a list and client ID and a call to the AddSubscriber method to push the new contact into the list.
</p>]]></description>
      <pubDate>Mon, 15 Dec 2008 09:33:07 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Danne Lundqvist's Blog: SOAP structures in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11339</guid>
      <link>http://www.phpdeveloper.org/news/11339</link>
      <description><![CDATA[<p>
<i>Danne Lundqvist</i> is <a href="http://www.dotvoid.com/2008/10/soap-structures-in-php/">frustrated with the SOAP functionality</a> that comes native with PHP on one very specific subject - its handling of SOAP structures.
</p>
<blockquote>
Handling SOAP structures in PHP can sometimes be really annoying. If an interface is defined in the WSDL as returning an array I can't be sure that I will get an array. If there is only one element in the array PHP tries to be clever and turn the wanted array into an object which, too me, isn't really smart. I don't know if this is a problem/limitation on the client side, server side or if it is just me doing something stupid in the wsdl.
</blockquote>
<p>
He gives an example of the WSDL that was requested and the differing results from a call that returned one Map item verses several (how the objects were returned). In asking for help, it looks like he got some in the comments - an attribute called SOAP_SINGLE_ELEMENT_ARRAYS that can be added to the configuration array when creating the SoapClient object.
</p>]]></description>
      <pubDate>Tue, 04 Nov 2008 09:33:14 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Andi Gutmans' Blog: Zend Framework 1.6 Featuring Dojo, SOAP, Testing, and more...]]></title>
      <guid>http://www.phpdeveloper.org/news/10971</guid>
      <link>http://www.phpdeveloper.org/news/10971</link>
      <description><![CDATA[<p>
With the recent release of the 1.6 version of the <a href="http://framework.zend.com">Zend Framework</a>, <i>Andi Gutmans</i> has <a href="http://andigutmans.blogspot.com/2008/09/zend-framework-16-featuring-dojo-soap.html">posted some thoughts</a> and highlights of features in the new version.
</p>
<blockquote>
The Zend Framework Community has delivered another feature-rich release of <a href="http://framework.zend.com/">Zend Framework</a> and I'm extremely proud and happy to see the energy and excitement around this project. The ZF team (Wil Sinclair, Matthew Weier O'Phinney, Ralph Schindler, Alexander Veremyev) along with many others in the ZF community and at Zend, have been doing a superb job and have been working very hard to put this release together.
</blockquote>
<p>
He mentions the Dojo integration, the updates to the SOAP component, updates to make test-driven development simpler and a reminder about <a href="http://www.zendcon.com/">ZendCon08</a> coming soon that will feature several Zend Framework-centric talks.
</p>]]></description>
      <pubDate>Fri, 05 Sep 2008 10:23:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Zend Framework 1.6 Release Candidate 1 now available!]]></title>
      <guid>http://www.phpdeveloper.org/news/10660</guid>
      <link>http://www.phpdeveloper.org/news/10660</link>
      <description><![CDATA[<p>
According to <a href="http://devzone.zend.com/article/3712-Zend-Framework-1.6-Release-Candidate-1-now-available">this new post</a> on the Zend Developer Zone (from <i>Wil Sinclair</i>) the latest Release Candidate for the upcoming Zend Framework 1.6 release has been posted - <a href="http://framework.zend.com/download">Release Candidate 1</a>.
</p>
<blockquote>
We couldn't be happier to announce that Zend Framework 1.6 Release Candidate 1 is now available from the <a href="http://framework.zend.com/">Zend Framework download site</a>!
</blockquote>
<p>
New features include the major Dojo integration, SOAP components and updates to the functionality for unit testing, session handling, pagination, character sets and much more. Check out the full list in the <a href="http://devzone.zend.com/article/3712-Zend-Framework-1.6-Release-Candidate-1-now-available">Zend Developer Zone</a> post.
</p>]]></description>
      <pubDate>Tue, 22 Jul 2008 14:42:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[David Goodwin's Blog:  Using SOAP and XmlRpc with PHP5 (a newbies findings)]]></title>
      <guid>http://www.phpdeveloper.org/news/10596</guid>
      <link>http://www.phpdeveloper.org/news/10596</link>
      <description><![CDATA[<p>
In <a href="http://codepoets.co.uk/using-soap-and-xmlrpc-php5-newbies-findings">his "newbie findings"</a> posted to his blog today, <i>David Goodwin</i> recounts his efforts to get SOAP an XML-RPC up and working with his PHP5 project and the wealth of documentation he found.
</p>
<blockquote>
I'm no great expert on the inner workings of these protocols....there are probably secret manuals on SOAP/XmlRpc etc I/we failed to read somewhere. This is just a documentation of what I/we as "newbies" found ...
</blockquote>
<p>
Resources in <a href="http://codepoets.co.uk/using-soap-and-xmlrpc-php5-newbies-findings">the list</a> include things like the <a href="http://pecl.php.net/package/SCA_SDO">SCA SDO module</a> from PECL, some examples of its usage, where it is used, what kind of transport layer the protocol allows and some of the functionality that the Zend Framework allows (including some sample code for a simple server and client).
</p>]]></description>
      <pubDate>Mon, 14 Jul 2008 10:29:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: The future of PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10148</guid>
      <link>http://www.phpdeveloper.org/news/10148</link>
      <description><![CDATA[<p>
In a <a href="http://www.ibm.com/developerworks/opensource/library/os-php-future/index.html?ca=drs-tp1908">new post</a> on the IBM developerWorks page, <i>Nathan Good</i> takes a look at some of the features of the up and coming versions of the PHP language including things like namespaces, changes in the XML handling and a few things taken out.
</p>
<blockquote>
PHP's next edition, V6, includes new features and syntax improvements that will make it easier to use from an object-oriented standpoint. Other important features, such as Unicode support in many of the core functions, mean that PHP V6 is positioned for better international support and robustness.
</blockquote>
<p>
New features <a href="http://www.ibm.com/developerworks/opensource/library/os-php-future/index.html?ca=drs-tp1908">he mentions</a> include namespace support, improvements to the native Unicode support as well as a few of the things that will be permanently retired like the php.ini settings for magic_quotes and register_globals.
</p>]]></description>
      <pubDate>Fri, 09 May 2008 07:55:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com.au: Powerful Web Services with PHP and SOAP]]></title>
      <guid>http://www.phpdeveloper.org/news/10075</guid>
      <link>http://www.phpdeveloper.org/news/10075</link>
      <description><![CDATA[<p>
In <a href="http://www.builderau.com.au/program/php/soa/Powerful-Web-Services-with-PHP-and-SOAP/0,339028448,339288552,00.htm?feed=rss">a new article</a> from PHPBuilder.com.au today, they talk about the "powerhouse of web services", SOAP, and how to get started working with it in PHP.
</p>
<blockquote>
You've tried your hand at building mashups, experimented with a few RESTful Web services, maybe even started your own. Sure, you've got data sharing working. But how do you make your Web applications really talk to each other? In this tutorial, I'll show you how to take your Web applications to the next level with SOAP.
</blockquote>
<p>
They opt to go with the <a href="http://sourceforge.net/projects/nusoap">NuSOAP method</a> to consume another service and create your own simple one. They include a few code examples for either side and a (very) brief look at doing some debugging with what NuSOAP has to offer. One thing to note - if you have PHP5's SOAP extension compiled in and working, NuSOAP will throw an error about redeclaring a class name. This is because of a conflict between the naming of the SOAP extension's methods and NuSOAP.
</p>]]></description>
      <pubDate>Wed, 30 Apr 2008 08:43:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Marco Tabini's Blog: 5 PHP 5 features you can't afford to ignore]]></title>
      <guid>http://www.phpdeveloper.org/news/10071</guid>
      <link>http://www.phpdeveloper.org/news/10071</link>
      <description><![CDATA[<p>
<i>Marco Tabini</i> has <a href="http://mtabini.blogspot.com/2008/04/5-php-5-features-you-cant-afford-to.html">posted his list</a> of what he considers five features of PHP5 that you "can't afford to ignore" when doing your development work:
</p>
<blockquote>
Despite the fact that you may not have a choice in the matter, upgrading comes with a number of bonus new features that can help you write better code and gain access to new functionality that required a fair amount of hacking in previous version. Here's a quick list of 5 personal favourites.
</blockquote>
<p>
The feature to make his list are SimpleXML, JSON/SOAP, PDO, the Standard PHP Library and SQLite. Each has their own bonus feature(s) included too for a little extra incentive to check them out.
</p>]]></description>
      <pubDate>Tue, 29 Apr 2008 17:06:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Eirik Hoem's Blog: Setting xsi:type for objects sent over SOAP (inheritance)]]></title>
      <guid>http://www.phpdeveloper.org/news/9822</guid>
      <link>http://www.phpdeveloper.org/news/9822</link>
      <description><![CDATA[<p>
<i>Eirik Hoem</i> has <a href="http://blog.eirikhoem.net/index.php/2008/03/17/setting-xsitype-for-objects-sent-over-soap-inheritance/">posted a tip</a> for all of the PHP SOAP developers out there - a method for setting the xsi:type correctly for objects sent in the message.
</p>
<blockquote>
I spent quite some time looking for info on how to specify the xsi:type for the objects, and I finally came across <a href="http://no.php.net/manual/en/function.soap-soapvar-construct.php">SoapVar</a>. I created a base class which the SOAP classes extended. A method called pack is responsible for setting xsi:type.
</blockquote>
<p>
In <a href="http://blog.eirikhoem.net/index.php/2008/03/17/setting-xsitype-for-objects-sent-over-soap-inheritance/">his example</a>, he creates a BaseClass to work from and builds a createCustomer class on top of it, defining a setCustomer function inside. When the new Person is created, a new Customer is too complete with the correctly formatted type on the object.
</p>]]></description>
      <pubDate>Wed, 19 Mar 2008 10:26:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Eirik Hoem's Blog: Array problems with SOAP and PHP - Updated]]></title>
      <guid>http://www.phpdeveloper.org/news/9790</guid>
      <link>http://www.phpdeveloper.org/news/9790</link>
      <description><![CDATA[<p>
<i>Eirik Hoem</i> has <a href="http://eirikhoem.wordpress.com/2008/03/13/array-problems-with-soap-and-php-updated/">posted an update</a> on a <a href="http://eirikhoem.wordpress.com/2007/05/23/array-problems-with-x-fire-soap-and-php">previous problem</a> he was having when working with SOAP in PHP and its handling of arrays.
</p>
<blockquote>
The scenario was that when an array with only one object was returned over SOAP the array was discarded and pointed straight to the single object.
</blockquote>
<p>
Come to find out, this behavior wasn't a bug, it was <a href="http://bugs.php.net/bug.php?id=36226">a feature</a> - the fix is to add another parameter to the initialization of the SoapClient to add the SOAP_SINGLE_ELEMENT_ARRAYS feature.
</p>]]></description>
      <pubDate>Thu, 13 Mar 2008 10:22:19 -0500</pubDate>
    </item>
  </channel>
</rss>
