|
From: <php...@li...> - 2009-09-23 19:18:19
|
dominik wrote: > I would recommend to encapsulate your arbitrary code inside a java > method and simply call > the method from the php-side of the bridge, instead of rebuilding it > in php. Thanks for the suggestion. That doesn't really work for what we are wanting to do, however. We will have this arbitrary code spread all through our PHP application, in the PHP code that handles user requests. Much of the arbitrary code in question will interact with parameters supplied from the user, and the data model classes will be used in the view to render the page. While we could create dozens of methods for each different PHP page that accepts various parameters, this would be a maintenance nightmare and would defeat the purpose of trying to leverage this code in the first place. Thanks again. Michael |