Hi Simon,

On Dec 3, 2007 4:18 PM, Simon Laws <[EMAIL PROTECTED]> wrote:
>
> 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.
>

I think an embedded PHP runtime is not required. I tried to illustrate
the currently
envisioned scenario in the following two diagrams:

* http://people.apache.org/~dsh/bennu/bennu_components.png
* http://people.apache.org/~dsh/bennu/bennu_artifacts.png

As you can see the PHP based management interface on the appliance is optional.
If the user decides to use a central management server instead, the
appliance just
exposes a webservice interface that will be utilized to administer the
device. In such
a case there will be no need to provide a HTML based GUI on the appliance.

> 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.
>

Yep basically the admin GUI will be accessed by a single administrator. In rare
cases several admins may administer different aspects of the appliance device.

> 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.
>

I still need to work on a more concrete use case scenario ... probably
during the next
weekend.

Regards
Daniel S. Haischt

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to