Posted on

Using Git submodules and @import with Modman for Magento

After chatting to Colin about his excellent modman project at Magento Imagine earlier this year I’d been meaning to swap our internal stores onto a git submodules + modman @import setupfinally got around to it only two months late!

In this post I’ll walk through importing the git submodule, and then using it in the context of a larger modman project, and lastly I’ll brain dump some useful/relevant git submodule commands while they’re fresh in my head. For a worked introduction to modman, see my earlier article and if you’re not using modman, this article summarizes some modman benefits, with pictures.

Throughout this example I’ll use my SMTP Pro Magento extension on Github as an example.
Continue reading Using Git submodules and @import with Modman for Magento

Posted on

Structuring your Magento project for Engineering, not Hacking

This is a blog post about how I structure my Magento store development, and how that has been made easier thanks to the efforts of Colin Mollenhour and his script modman. Hopefully after reading this, you’re all inspired to go set up a similar project structure, because it gives a repeatable, hopefully less upgrade ruined Magento experience. Certainly if you’re not inspired, I’d like to hear about how you are structuring your projects – the more talk of this, the better the overall quality of Magento stores in the wild, I hope.
Continue reading Structuring your Magento project for Engineering, not Hacking