Book Image

Magento PHP Developer????s Guide, 2nd Edition

By : Allan MacGregor
Book Image

Magento PHP Developer????s Guide, 2nd Edition

By: Allan MacGregor

Overview of this book

Table of Contents (16 chapters)
Magento PHP Developer's Guide Second Edition
About the Author
About the Reviewers

The road toward zero-downtime deployment

Deploying to production is probably one of the most dreaded tasks for developers, and more often than not, it will be done improperly.

But what is zero-downtime deployment? Promoting to production with the confidence that the code has been properly tested and is ready the ideal that all Magento developers should aspire to achieve.

This is achieved not by a single process or tool, but by a combination of techniques, standards, and tools. In this chapter, we will learn the following:

  • Distributing our extension through Magento Connect

  • The role of version control systems on deployment

  • Proper practices to branch and merge changes

Making it right from scratch

In the previous chapter, we learned how testing can not only enhance our workflow, but also save us from future headaches, unit tests, and integration tests; automated tools are at our disposition to ensure that our code is properly tested.

Writing tests means more than just putting together a few tests and...