Tag: software engineering

  • PHP 8.1: more on new in initializers

    I could not agree more with Brent when he says concerning the "new in initializers"[1] feature: PHP 8.1 adds a feature that might seem like a small detail, but one that I think will have a significant day-by-day impact on many people. When I see this new feature, lots of places that use Dependency Injection[3] […]

  • Tropeçando 104

    CASL CASL (pronounced /ˈkæsəl/, like castle) is an isomorphic authorization JavaScript library which restricts what resources a given client is allowed to access. It’s designed to be incrementally adoptable and can easily scale between a simple claim based and fully featured subject and attribute based authorization. It makes it easy to manage and share permissions […]

  • Tropeçando 103

    What is Domain-Driven Design (DDD) A definition of DDD as a software design discipline How to refactor without overtime and missed deadlines A lot of software engineers, including myself, are passionate about code quality. This striving for a well-shaped codebase, while getting things done could cost one quite a few hours and nerves, though. I’m […]

  • PHP Memory Usage and Performance Improvements Tips

    Memory usage and performance improvements make everybody happier, from end-user to cloud and infrastructure engineers. And they are all right, and this is an optimization that we should try to achieve as much as possible. I am also keeping this page for a reference to my future self because we cannot rely too much on […]

  • Tropeçando 100

    How Exception to the Convention Does More Harm than Good We have a project, and to make it easier, we use specific standards. E.g., we use spaces in every file. But sometimes, we get to a situation when these standards are stressful. We don’t understand them and just want them to bend over. How does […]

  • Tropeçando 98

    (Operating Lambda: Debugging code – Part 1)[https://aws.amazon.com/blogs/compute/operating-lambda-debugging-code-part-1/] (Operating Lambda: Debugging configurations – Part 2)[https://aws.amazon.com/blogs/compute/operating-lambda-debugging-configurations-part-2/] (Operating Lambda: Debugging configurations – Part 3)[https://aws.amazon.com/blogs/compute/operating-lambda-debugging-integrations-part-3/ In the Operating Lambda series, I cover important topics for developers, architects, and systems administrators who are managing AWS Lambda-based applications. This three-part series discusses core debugging concepts for Lambda-based applications. (Those pesky pull […]

  • Tropeçando 96

    Refinement Code Review With the right environment, I can look a bit of code written six months ago, see some problems with how it’s written, and quickly fix them. This may be because this code was flawed when it was written, or that changes in the code base since led to the code no longer […]

  • Tropeçando 93

    CQRS Is an Anti-Pattern for DDD Are you interested in new ways to build better software systems? If you work with distributed systems or build any kind of web application, you most likely have heard of the new trends like using Domain-Driven Design with Event-Sourcing and Command Query Responsibility Segregation (CQRS). Well, they are not […]