Monday, June 29, 2009

Develop Web Services With WSF/C++

WSF/C++ is the latest product from the WSF family of frameworks for developing Web Services with C++. Its client side was released a while back and now the server side has also been added to the stack. This is due to be release soon.

Following are some of the features of the Up coming WSF/C++ 2.0.0.

1. Client and Service API s for providing and consuming Web Services.

2. Support for WS-Security, WS-Secure Conversation and WS-Policy based configuration options.

3. MTOM attachments support.

4. Code generation tool to generate client stubs and service skeletons given a wsdl.

I will go though these futures in detail in future posts.

Installing eAccelerator with WSF/PHP

eAccelerator is a popular php optimizer and a dynamic content cache. By installing an optimizer, a php web site can be optimized to get maximum performance and would result in very quick response times for the clients significantly improving the client experience.

Here we will have a look at how to install this tool with a PHP system which already have installed WSF/PHP. One of the complains I have seen is that eAccelerator does not work properly with WSF/PHP which is not correct.  You can easily get both WSF/PHP and eAccelerator running together.

First install WSF/PHP which has been explained in detail in the installation guide. Next download the eAccelerator source code.

Now you are ready to go ahead with the installation.

unzip the source code.

unzip eaccelerator-0.9.5.3.zip

cd eaccelerator-0.9.5.3

type ./configure --help to view the configuration options.

./configure --help

You will find the configuration option --with-eaccelerator-doc-comment-inclusion

Now you are ready to configure and install eaccelerator.

./configure --with-eaccelerator-doc-comment-inclusion

./make

./make install

This will install the eaccelerator shared library to the php extensions directory.  Now configure the php.ini settings for eaccelerator.