Easily build an API for your application with the tools provided in Seagull

August 10, 2009 18:51, contributed by: seagull

Those of you following Seagull System's Doris product might have noticed we released an API to the service last month.

As some of our techie users will have guessed, we’ve had an API (Application Programming Interface) for Doris working for some time now, that’s the reason you can use a range of clients (iPhone, Dashboard widget, Opera widget) to access and update your account data.

But starting today we’ve made the API publicly available, see for yourself by checking out the Doris API documentation.

Using the easy-to-configure filter chain mechanism built into Seagull you only need to assemble a few standard tasks to create your own API, see this example for a REST service working with XML

filterChain="SGL_Task_Init,
    SGL_Task_ResolveManager,
    DRS_Task_AuthenticateRestRequest,
    SGL_Task_CustomHeaders,
    DRS_Task_GzCompress,
    DRS_Task_PhpToXmlSerializer,
    SGL_Task_XmlToPhpUnserializer,
    SGL_Task_CoreProcessor"

or JSON

filterChain  = "
    SGL_Task_Init,
    SGL_Task_ResolveManager,
    DRS_Task_AuthenticateRestRequest,
    SGL_Task_CustomHeaders,
    DRS_Task_GzCompress,
    DRS_Task_PhpToJsonSerializer,
    DRS_Task_JsonToPhpUnserializer,
    SGL_Task_CoreProcessor

 

[back to list]

comments


be the first to leave a comment
Enter your comment Note: Comments must be approved before being displayed.
  #####    #####    #####    #####  
 #     #  #     #  #     #  #     # 
 #     #  #              #  #     # 
  #####   ######    #####    ###### 
 #     #  #     #  #              # 
 #     #  #     #  #        #     # 
  #####    #####   #######   #####  
 

At a Glance

Sponsors

Login

Username Password

Not Registered?
Forgot Your Password

*denotes required field

Community

 
Seagull PHP Framework Seagull PHP Framework

Sponsored by

The Seagull project is sponsored by Seagull Systems, see the range of products offered.

Readers