 
            
              M.academy
            
            @mdotacademy
Followers
                781
              Following
                155
              Media
                467
              Statuses
                817
              Lessons, courses & tools that make it simple to master Magento development. Taught by 6x Certified Magento Teacher @MarkShust.
              
              Join our newsletter β
            
            
              
              Joined May 2019
            
            
           If you want to know how to scale a Magento site, you really need to know RabbitMQ. One of the confusing aspects of RabbitMQ are bindings and exchanges π 
          
                
                1
              
              
                
                1
              
              
                
                5
              
             We've identified the root cause of the outage at @mdotacademy - it's an infrastructure issue on Teachable's end that requires their team to resolve. Unfortunately, their support team is unavailable over the weekend, so we don't expect the site to be back online until sometime 
          
            
            status.m.academy
              Welcome to M.academy status page for real-time and historical data on system performance.
            
                
                2
              
              
                
                1
              
              
                
                4
              
             A lot has changed over the years, but something that hasn't is Docker filesystem performance. I just wrote a brand new blog article all about it, and how to achieve really good performance on any framework that has a huge filesystem: 
          
            
            m.academy
              Learn how to get 80% faster Docker performance on Mac with selective volume mounting strategies that work on both Intel and Apple Silicon.
            
                
                1
              
              
                
                1
              
              
                
                7
              
             Create an after plugin in Magento at  https://t.co/cbgfpFQiKD  via @mdotacademy
          
          
            
            m.academy
              Magento's after plugins are functions that let you modify data returned from another class method.
            
                
                0
              
              
                
                1
              
              
                
                0
              
             Not an April Fools joke:  https://t.co/vx11MoqgAj  just got its largest enrollment, β¦and from a Fortune 500 company at that! π 
          
            
            m.academy
              Step-by-step tutorials, easy-to-follow lessons, and complex Magento concepts made simple.
            
                
                1
              
              
                
                1
              
              
                
                3
              
             Ready to dive deeper? Check out the full article at 
          
            
            m.academy
              Explore the usage and benefits of the Override attribute, a feature introduced in PHP 8.3, in Magento development to write more robust, maintainable code.
            
                
                0
              
              
                
                0
              
              
                
                0
              
             Adding #[Override] can make your Magento code more robust. It's something worth looking at π 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             The nice thing is it checks at compile-time, not runtime, so it wonβt slow things down. 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             PHP throws an error if an override doesn't match. It's like having a safety net built into your code. This is one way to keep silent bugs out of production. Every little bit helps, right? 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             If the parent method changes, #[Override] gives you a quick heads-up. Definitely saves some headaches down the line. 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             Seen #[Override] in action? Take a peek at how it works in Magento with this example: 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             Use #[Override] to clearly mark which methods you're overriding. It's a good habit to get into. 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             PHP 8.3 introduces the #[Override] attribute. With this new tool comes new possibilities. 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             Maybe you've spotted attributes like #[ReturnTypeWillChange] in Magento's code. It's more common than you might think. 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             PHP attributes let you add extra info to your code without changing how it runs. This is a pretty neat feature. 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             Ever wonder if you're catching all those bugs before they hit production? Here's something to help with that. 
          
                
                1
              
              
                
                0
              
              
                
                0
              
             Sometimes hidden PHP bugs find their way into production. This commonly happens when existing methods are customized... π 
          
                
                1
              
              
                
                0
              
              
                
                4
              
             Do you think you understand Magento's config fallback process? It can be puzzling. But debugging becomes a whole lot easier once you grasp how this process works. Here's a quick breakdown of how it works: 
          
                
                1
              
              
                
                1
              
              
                
                1
              
             Trying to decide between plugins and event observers in Magento? Then read this:  https://t.co/BbNPbP5LF9  Understanding when to use each can make a huge difference in how efficiently and cleanly you can customize Magento. Plugins allow you to modify the behavior of public 
          
                
                0
              
              
                
                2
              
              
                
                2
              
             Very happy to support open source and sponsor @wpoortman on GitHub for his wonderful work on MageWire! π Please also consider sponsoring him if you derive value or generate profits from his work -- any amount helps: 
          
            
            github.com
              I'm a curious, self-taught tech enthusiast with over a decade of web development experience. Extended depth of PHP & Magento 2 and extensive knowledge of building e-commerce solutions.
            
                
                0
              
              
                
                2
              
              
                
                7
              
             Want more coding tips like this? Follow @mdotacademy or sign up to get free weekly snippets dedicated to Magento at 
          
            
            m.academy
              PHP β MySQL β AI β Docker β more. Raw insights from building real applications. Join thousands getting Mark's unique dev insights.
            
                
                0
              
              
                
                0
              
              
                
                0
              
            