How to convert standalone PHP files to Magento's MVC
I have a task to convert the standalone PHP files to Magento's MVC. These PHP files were created by another developer. The code in the PHP file accesses the database, converts the result into JSONP format and forward it to the frontend developer. I don't have any knowledge of Magento's MVC. Is this task of conversion similar to the modules in the app/code/core/Mage in the Magento folder?? How can I do this? Is the magento MVC the same as the PHP MVC? I am including the php file that I need to convert to Magento MVC. So it will be easier for you to understand.. <?php header('content-type: