On Dec 2, 2007 9:36 PM, Daniel Stefan Haischt <[EMAIL PROTECTED]> wrote:

> Dear all,
>
> I am currently working on a project proposal and I'd like to get some
> feedback
> regarding the Tuscany re-use aspect of the proposal. Please feel free to
> question or comment the current proposal:
>
>  -> 
> http://people.apache.org/~dsh/bennu/BENNU_PROPOSAL.txt<http://people.apache.org/%7Edsh/bennu/BENNU_PROPOSAL.txt>(DRAFT)
>
> Regards
> Daniel S. Haischt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> Hi Daniel

Good to hear from you. Sounds interesting. I have some initial question
about how you intend to use the Tuscany Native (C++) SCA implementation and
in particular what you require in terms of PHP Integration.

As you probably know SCA provides a model for describing, building and
assembling components and the services they expose. We have implementations
in Java, C++ and in PECL we have a PHP implementation. Loose integration
exists between these implementation in the form of the remote bindings that
the different implementations  support.

We did some work on providing close integration between PHP and Native SCA
by embedding the PHP runtime within the Native SCA runtime. In this way
components described in PHP could talk directly to components described in
C++. This didn't actually make it into a release but I could try and fire it
up again if this is what you were interested in. The downside of this
approach is that you are not dealing with a vanilla HTTP/PHP installation so
loose some of that familiarity.

Alternatively you could talk between PHP and C++ using one of the remote
bindings such as REST or WEB Services. In that way the server installations
are more straightforward but there is a penality to pay in terms of page
rendering speed. This may not be a big issue if the UI is single user.

Maybe you could outline a scenario of the kind of operation the user of the
software would undertake and what the different layers in Bennu are doing to
satisfy the request. We could then map that onto SCA components and see if
Tuscany is a good fit.

Regards

Simon

Reply via email to