[wsf-c-dev] Data Service

sumedha at wso2.com sumedha at wso2.com
Wed Mar 12 19:20:28 PDT 2008


> Sanjiva Weerawarana wrote:
>> Can you give some more info on the php data services stuff?
>
> What has been done in PHP DS is that, you can create a PHP class
> inherited form WSService and pass the options as an associative array.
> The associative array would have provition to provide all the info that
> you would get in a DBS file.
>
>> How should we position it against Java data services etc.?
>
> The original idea that I had when proposing the data services was
> because, many people use databases with PHP and the fact that those
> databases could be exposed as services would expand the way PHP apps
> would be used. As an example, Drupal uses a database for config, as well
> as for data.
> Also, to some part, Java community is distinct form PHP community. So
> having a PHP equivalent Java DS would propagate the privileges that Java
> people get fom DS to PHP community.
>
>> How is the comparative performance?
>
> This is yet to be done. If Java has a benchmark, same could be
> implemented with PHP.
>
>> Is Sumedha aware of the status etc.?
>
> I am not sure. Sumedha?
Manoj is communicating with me when he encounters problems. So from that
perspective I am updated.

Last week he showed me a wiki page
(http://wso2.org/wiki/display/wsfphp/API+for+Data+Services) with a
proposal for client API for data service. I saw several dis-advantages in
this approach & told him so.

Disadvantages
1. Client becomes data service specific (In java impl, client is not aware
of the fact he/she is calling a data service. Its just a web service call
for him)

2. Configuration details which are part of .dbs file in java impl, are
being passed from client when calling the service.

3. Java client will not be able to interop with PHP based data service.

4. Concept of creating a data service using contents in the configuration
file (.dbs) seems to be violated.


As per the last conversation I had with him, the code is written in mysql
specific manner. So explained the generic approach taken by java
implementation & discussed how PHP impl can take a similar pattern.

So far I haven't tried a working version from a user perspective. Should
try that myself.

But I feel Manoj is making progress.

/sumedha


>
>> Have you guys started on the REST part too?
>
> Nop. It is still in SOAP stage.
> Bit on REST. Axis2/C made REST more RESTful with last release (PUT,
> DELETE and RESTful URL mappings added). That is yet to be integrated
> into PHP. Better to look into REST only after doing that REST
> integration to PHP.
>
> Samisa...
>
>
>>
>> Thanks,
>>
>> Sanjiva.
>>
>> Manoj wrote:
>>> Hi all,
>>>
>>> Currently the PHP Data Service works properly with Mysql Database. We
>>> need to make it works with other Databases too. Hopes your comments
>>> on this issue?
>>>
>>> regards,
>>> Manoj _______________________________________________
>>> Wsf-c-dev mailing list
>>> Wsf-c-dev at wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>>>
>>
>
>
> --
> Samisa Abeysinghe
> Software Architect; WSO2 Inc.
>
> http://www.wso2.com/ - "Oxygenating the Web Service Platform."
>
>




More information about the Wsf-c-dev mailing list