AnsweredAssumed Answered

Alfresco Devs: Is the PHP API finished/paused/dead!?

Question asked by dwilson on Dec 13, 2008
Latest reply on Aug 8, 2011 by ddanninger
Sorry for the sensational topic, but I wanted to get some feedback from Alfresco on this.  Here are some of my concerns:

Documentation:  In the Wiki documentation I see several intended headings relating to the PHP section with incomplete documents.  (actually this isn't just in the PHP section, but all over the Wiki) Another example is Tutorial Five doesn't exist yet but was clearly intended.  Potential tutorials 6+ with many more examples would also be very helpful!  Uploading files, modifying associations, child associations, etc.  I see numerous posts about improving the wiki or uploading examples but then it seems like this project was just dropped suddenly.

I have Jeff Potts' excellent Alfresco Developer Guide though there is only one PHP example there- it's very hard to find information on Alfresco's PHP API at all, and the activity level in the "PHP Library" forum is a touch disappointing…   :|

Also, doesn't seem to contain "alfresco-php-library-X.Y.0.tar.gz" for example, yet in old posts it was hinted to be there.  (phpIntegration.amp only seems to contain java-php integration, tests, and examples.)

Lastly, the latest API I can find, alfresco-php-library-2.1.0.tar.gz, contains this in the actual release code despite the wiki API doc having no mention of this problem-  Straight from Node.php… Empty functions!
   public function removeChild($childAssociation)
   public function addAssociation($to, $associationType)
      list($associationType) = $this->_session->namespaceMap->getFullNames(array($associationType));
      $association = new Association($this, $to, $associationType);
      $this->addedAssociations[$to->__toString()] = $association;      
   public function removeAssociation($association)
Combine this with cryptic SOAP error messages all over the place and that I can't get the simple method "addChild" to work at all for an important script I'm writing…  = frustration.   I've already put a lot of effort into using the PHP API successfully for several other projects, should I be considering re-coding them with perhaps the Java SDK which would hopefully be more robust?

Thanks for reading this far… I hope this post doesn't just sound like a negative rant. 
Any direction or advice would be greatly appreciated!