How do I create API for a Zend Framework site?
Moderator: General Moderators
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
How do I create API for a Zend Framework site?
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!)
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
Re: How do I create API for a Zend Framework site?
I would like to let other developers integrate with our site through an API.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How do I create API for a Zend Framework site?
What API? Like Atom/RSS? Or SOAP/XMLRPC? Or plugins?
(#10850)
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
Re: How do I create API for a Zend Framework site?
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.
)
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How do I create API for a Zend Framework site?
Well ... there is both XML and XMLRPC support. Plus you might be able to you the new context stuff in your Controllers.
(#10850)
Re: How do I create API for a Zend Framework site?
They could also develop/write plugins using the Zend_Controller_Plugin_Abstract class then loading it from the bootstrap
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
Re: How do I create API for a Zend Framework site?
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.
I need to read up on the ZF manual.