Michael Check wrote:
Does anyone have any experience with integrating Active4d and php in the
same set of pages? Or maybe a suggestions for the following:
Our client uses a Mambo, a CMS which has a basic set of web application
framework routines. It will let us write small modules that perform certain
functions (like circuits and fuseactions in fusebox). Mambo is hosted
through an ISP offsite to the customer's internal 4D server. So we need to
build on the mambo server to send requests through A4D so that the data is
pulled/pushed at their internal server but presented through Mambo's web app
framework. Apache and php are used on that ISP server with mysql as the
backend for Mambo.
Primarily what were looking for is a system (possibly fusebox-like or other)
that will allow easy separation of content and presentation. Mambo gives us
that now, using templates and css to present the data pulled from the
internal database, but we need to integrate their internal 4D server db.
A4D will give us great control over that 4D database, but we need to
post/request through the external server.
Best way or suggestions?
Michael,
I'm not totally clear on what you want to do, but think I have an idea.
Hopefully I haven't totally misunderstood what you want to do.
1) I'll assume that you can provide extra PHP code that will run on the
ISP server. This will allow you to extend Mambo.
2) PHP's include() command can include remote content. You can use this
to include remote Active4D files from you 4D server. In most cases your
A4D files won't serve full web pages, but just parts of a page.
Therefore if you output content that uses the Mambo stylesheets the end
user will have no idea that the page is built on content from 2 servers.
I've used this technique to allow colleagues in our research program to
include content from our 4D database in some of their PHP based pages.
-- Brad Perkins
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/