Fotolia API implementation using PHP5 and Zend Framework

16 views
Skip to first unread message

Olivier / Fotolia

unread,
May 1, 2008, 8:50:40 PM5/1/08
to Fotolia API
Hello everyone,

I have added a new file named "fotolia-php5-kit.tar.gz" containing a
sample implementation of the Fotolia XML-RPC API using a full object
oriented design.
This kit is written using the MVC pattern provided by Zend Framework
(http://framework.zend.com).
It does not pretend to demonstrate every API calls even if Fotolia_Api
class does support every available calls.
It has been written with an educational purpose in mind to demonstrate
how easy a implementation of our API could be. Therefore it should be
a good starting point if you intend to implement our API using php5
language.

To be functional, this kit requires the following:
* apache with mod_rewrite support
* php5
* zend framework

Quick install of the kit:
1/ uncompress the archive into the selected directory of your server
2/ configure properly apache's mod_rewrite module (see doc/
apache.conf for a sample configuration file)
3/ edit application/includes/auto_prepend.php

I hope this will help some of you to get started with our API.

Olivier
Reply all
Reply to author
Forward
0 new messages