Encapsulating backend business logic into Trailblazer operations is a very important part of building an app based on it, alongside contracts and moving logic from controllers. Another important st...
Since we prepared and tested Operation and Contract to create Proposal with Trailblazer way, it is time to clean the mess in the controller. Let's remind how our controller #create action looks...
Before we move our business logic to Operation class we still need to handle: Setting the speaker data, Updating the bio of current user based on the speaker from proposal bio. **_(Iter...
Since we have basic cases and success flow tested and implemented, it is time to focus on our business logic which we want to move from controller to Operation. Our first identified logic is t...
Introduction We write web development software for ~20 years, we used Perl, PHP, Python, C#, and Java during the first 13 years of our existence. Now for the last 7 years, we decided to focus ...
Context Before I start this little controversial blog post, I would like to give a little context of the situation, which made me come with conclusions below. About 7 years ago I started to a ...
INTRODUCTION “The Art of War” by Sun Tzu is already well-known East Asian ancient warfare guide. It contains complex advice on how to approach an upcoming war, how to conduct the reconnaissanc...
GraphQL cursor pagination in Rails. So you implemented some graphQL types but it just turns out that returning bazillions of records with each query introduces some performance issues. "It wou...
ANOTHER GIT TUTORIAL? WHY? WHY GOD, WHY? Well for sure there is plenty of git guides etc out there, but from my own experience, I know that most of them are really, really basic and limit t...
One of the most interesting thing in starting a new project is the possibility to learn new things. For the last year, I had the occasion to work on the ops side of running an app and not just limi...