Magento is written in PHP and uses elements of the Zend Framework and the MVC (model-view-controller) architectural pattern. It has a highly modular structure that relies on multiple open-source technologies besides PHP.