Hi All -
Finally time for a new post! (Something I’m surprised I haven’t covered yet).
This post will inform you on how to run Magento code outside of Magento. All you need is to have access to Magento’s ‘app/Mage.php‘ file.
This will be handy code for a few things:
- Integration with 3rd party items – shared sessions, or just shared themes
- Ajax calls – although not the preferred solutions for Ajax calls, it is a quick and easy one
To expand on these ideas a bit more:
-You can use this code to output HTML that is outputted in Magento anywhere. You might want to integrate WordPress and steal the navigation from Magento, for instance. You might want to share sessions and users between your CMS and Magento (and even share the databases). This can help you get started on doing that.