Lava Layers Anti-pattern

Whenever introducing a new technology to an older codebase it’s important to have a plan on how and when to replace the existing technology. Case in point, consider an existing codebase with over one hundred ASP .Net WebForms that are used every day. My team was forced to get creative when trying to introduce the shiny-ness that is ASP .Net MVC. This great piece by Matt Hawley was the creativity we needed. It enabled the team to slowly integrate MVC one Model View Controller at a time at our own pace. Cut forward well over a year later, and the team removed the last ASP .Net WebForm and successfully migrated to ASP .Net MVC.

Our team was successful as we avoided the lava layer anti-pattern which is discussed in Jimmy Bogard’s blog. The take home is that often it can be better to live with an existing technology rather than partly introduce yet another technology, even if it is shiny and new. Our team avoided this as we made a concerted effort to replace all instances of the older technology even though it took over a year to do this. During this time, we deliberately avoided introducing any new presentation frameworks.

comments powered by Disqus