Maslow’s Hierarchy of Needs: DevOps Edition
An interesting implementation of Maslow's Hierarchy of Needs, focused on DevOps.
Join the DZone community and get the full member experience.Join For Free
american psychologist abraham maslow is best known for his concept of a “hierarchy of needs” explaining human motivations. in his framing, fundamental biological needs for sustenance and a safe environment are a baseline. once those needs are satisfied, people want to be loved, respected by others and fulfill their full potentials. while the hierarchy of needs may be overly simplistic or culturally dependent, it is a helpful starting point for understanding the ways many people organize their priorities. the same concepts of a hierarchy of needs can be applied to the ways teams prioritize their decision around website development operations.
humans need to breath in and breathe out. drupal and wordpress read and write out to databases. people need an environment with water and food for energy. the basic needs of a website include electricity to power a webserver like nginx or apache. people die without their basic needs met and an error from the wrong version of php could be, well, fatal.
like people staying attentive to threats in the physical world, websites need the latest security updates to avoid exploits. those releases should first be applied to development and test environments to ensure the changes do not endanger the site. when a team is managing a large number of sites, the odds increase that something will go wrong with the live deployment. when that does happen, safe websites needs backups of their composite elements (code, database and user-uploaded files). it also helps to have change-by-change records of code modification from a version control system like git.
plenty of web development teams meet the first two levels of need with stable servers and a backup system. however, they do so in an inconsistent manner with sites scattered across different hosts. each site might have a slightly different deployment procedure. maybe there is even one site that everyone on the team is reluctant to touch because of a poorly documented or convoluted release process. such a site will fail to reach the next hierarchy level of belonging. a team can keep all of their sites at this level by having common procedures for each site and a unified tool for viewing the status of each site. having tools to share code among an agency’s sites like pantheon’s custom upstreams further enforces community and belonging amongst the sites.
how does a team know their sites are any good? more and more teams are adopting formal code review processes so that they can validate the quality of the changes being made. tools like pantheon’s multidev environments allow each developer on a team to work in their own git branch tied to its own subdomain. once the branch is ready, another team member can review the subdomain and do a pull request review on github. there, a tool like circleci can validate compliance with code style and team members can review the quality of the code. each team does their validation differently. by having a process to review changes, whatever that process is, a team can feel better about the sites they produce.
in the previous stage, one developer on the team helps another answer whether a feature was coded right. that is a different question from whether they were coding the right feature. high up on the hierarchy of needs is the concept of actualization. for a site to be actualized it needs user research to validate exactly what the site should be. that research can then be turned into conversations and decisions with techniques like behavior driven development. tools like behat make parts of behavior driven development executable. the more complex a site becomes, the higher the need for automated tests to validate that the team’s intentions are continuously fulfilled. in order to know that a site is doing exactly what it should be doing a team needs to be very specific,down to the level of executable tests, about what is expected.
years after first writing about the hierarchy of needs, maslow discussed another stage to further highlight the importance of altruism. for drupal and wordpress websites this concept can take the form of open source contributions to the community. for many developers the question when writing code is always “how could this code be more contrib-friendly?” this stage highlights how a team does not necessarily need to perfect each stage before thinking about the next. few teams use test driven development for all of their work. they still share quality code with the world. for the people behind the code, the welcoming, friendly drupal and wordpress communities are usually a major part their own personal hierarchy of needs. joining and contributing to open source communities is a great way to find belonging common goals.
while it is not strictly necessary for the needs at each level of the hierarchy to build on the one before, it does usually work that way. just as most people need food, water, and safety before focusing on intellectual pursuits, most websites need a stable server and reliable backups before implementing behavioral tests. by being intentional about moving themselves up the hierarchy of needs, developers can improve the work they produce. websites, like everything else, reflect the people who made them in surprising ways .
Published at DZone with permission of Emily Miller, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.