Best way to bridge two large PHP frameworks

cutiepy983

New Member
I've made several php scripts as a plugin for one large framework. My scripts use its libraries quite often. Now someone who is using another platform, with its own libs and so on (probably just as powerful as the framework i use) wants to call functions in my scripts.What's the best way to make my scripts callable from another framework?
  • the other person just include()s the script files he needs, so my scripts call my framework's libraries, also meaning that both frameworks need to be installed at the same server
  • i make my functions callable through web services (probably incurring loss of speed, but separation of frameworks is possible)
  • rewriting my functions to his framework...
Does anyone have an opinion based on attempts they made as to which is the nicest solution when one of the platforms decides to upgrade, for instance?Cheers!
 
Back
Top