Page 1 of 1
How do I create API for a Zend Framework site?
Posted: Tue Mar 11, 2008 2:47 pm
by DaveTheAve
Does anyone know of a good tutorial or at least point me in the right direction on how to create an API service for an existing or new site that was built around Zend Framework. (Note: Zend Framework is the BEST!)
Re: How do I create API for a Zend Framework site?
Posted: Tue Mar 11, 2008 3:36 pm
by Christopher
What does "API service" mean?
Re: How do I create API for a Zend Framework site?
Posted: Tue Mar 11, 2008 6:54 pm
by DaveTheAve
I would like to let other developers integrate with our site through an API.
Re: How do I create API for a Zend Framework site?
Posted: Tue Mar 11, 2008 7:01 pm
by Christopher
What API? Like Atom/RSS? Or SOAP/XMLRPC? Or plugins?
Re: How do I create API for a Zend Framework site?
Posted: Tue Mar 11, 2008 8:03 pm
by DaveTheAve
I suppose it would indeed help if I stated how the API was to be accessed. I was hoping for transmissions to and from the API via a XML format. The API would be used to obtain and post data to and from the application. (Allow authenticate the API session somehow using a token. Should be fun to figure that out to the way i've been asked too.

)
Re: How do I create API for a Zend Framework site?
Posted: Tue Mar 11, 2008 8:14 pm
by Christopher
Well ... there is both XML and XMLRPC support. Plus you might be able to you the new context stuff in your Controllers.
Re: How do I create API for a Zend Framework site?
Posted: Wed Mar 12, 2008 6:33 am
by anto91
They could also develop/write plugins using the Zend_Controller_Plugin_Abstract class then loading it from the bootstrap
Re: How do I create API for a Zend Framework site?
Posted: Wed Mar 12, 2008 7:10 am
by DaveTheAve
They finished the Plugin Class already? Wow, i've been away from programming for too long (4-5 months).
I need to read up on the ZF manual.