This all depends on the other application. The basic premise is the same - just include the file you need and if the other app has a whole hierachy of includes etc you need to include those as well. THen instantiate your foreign app class and start using it as a normal class (not cake style), Vendors was built for this sort of situation.
Geoff -- http://lemoncake.wordpress.com On Sep 24, 4:46 am, zonium <[EMAIL PROTECTED]> wrote: > I have 2 applications: > - appA is built with cakephp 1.2 and > - appB is an old good application. > > I want to make use of some business logic code in appA for appB. > That business logic code is in controller actions (e.g methods) of > appA. > > Previously when appA was not in cake, I just used a normal include to > have functions declared in appA available in appB. But now I don't > think I can do such an include because appA is in cake structure. > > I know requestAction() allows for accessing an action from an > arbitrary controller but it's required that all applications have to > be in cake platform. > > Any suggestion how I can get through this? (restriction: converting > appB to use cake is not an available option) > > Thanks a lot, > Zonium --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
