I've integrated CakePHP with legacy code, with the end goal that all legacy code would eventually be converted to CakePHP.
-- The trickiest part was ensuring that the legacy code could use the CakePHP sessions. To do this, I had to alter webroot/index.php with a define that would prevent the Dispatcher being called, and then include webroot/index.php in the legacy code, in a location that would be called before any output was generated (so revised session cookies would be output).
On Saturday, 12 October 2013 01:47:19 UTC+10, Sam wrote:
On Saturday, 12 October 2013 01:47:19 UTC+10, Sam wrote:
Is it possible for the same web app to mix cakephp with non-cakephp code? Some pages of a website can use cakephp and others use non-cakephp code. Can this be done?Thank you.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment