From my experience Magento (Zend PHP Framework) is a pain to learn, a pain to develop plugins for and there is not really much you cant do with a WordPress site that you cannot with a Magento, the selling point for most is that it should be PCI/DSS compliant over WP.
Personally I see the future with node.js apps rather than a Software built on a PHP Library