23.02.2015 Views

www.it-ebooks.info

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Deployment and Distribution<br />

Welcome to the last chapter of this book; we have come far and learned a lot along<br />

the way. By now, you should have a clear idea of everything involved in working<br />

and developing custom extensions for Magento.<br />

Well, almost everything, as w<strong>it</strong>h any other Magento developer your code will<br />

eventually need to be promoted to production or maybe packaged for distribution;<br />

in this chapter we will see the different techniques, tools, and strategies that are<br />

available to us.<br />

The final objective of this chapter is to give you the tools and skills to do<br />

deployments w<strong>it</strong>h confidence and w<strong>it</strong>h l<strong>it</strong>tle to no downtime.<br />

The road towards zero-downtime<br />

deployment<br />

Deploying to production is probably one of the most dreaded tasks for developers,<br />

and more often than not, <strong>it</strong> will be improperly done.<br />

But what is zero-downtime deployment? Well, <strong>it</strong> is to production w<strong>it</strong>h confidence,<br />

knowing the code is properly tested and ready, this is the ideal that all Magento<br />

developers should aspire to.<br />

This is achieved not by a single process or tool but by a combination of techniques,<br />

standards, and tools. In this chapter we will learn the following:<br />

• Distributing our extension through Magento Connect<br />

• The role of version control systems in deployment<br />

• Proper practices for branching and merging changes<br />

<strong>www</strong>.<strong>it</strong>-<strong>ebooks</strong>.<strong>info</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!