Recent Articles

Never stop trying

profile picture

Never stop trying, even when things get though, because they always get eventually. Don't give up.

- - - - - - - - - - - - - - -

Laravel Console Command to Automatically Restore a Backup from Spatie Laravel Backup Package

profile picture

spatie/laravel-backup is an amazing Laravel Package that allows you to automatically send backups of your laravel application to an AWS S3 Bucket. It's good practice to regularly trigger a "DB only" backup. What about automatic restore...

- - - - - - - - - - - - - - -

Laravel Valet - Too many parallel requests getting blocked

profile picture

I have this very specific project running in PHP 7.4 on my machine with Laravel Valet. It's a front end application in vuejs with a separate back end and they are communicating through an API. There's a page that makes a lot of requests in one g...

- - - - - - - - - - - - - - -

Presenters in PHP - How to clean your views

profile picture

How to use a Presenter class Super simple! class BookPresenter extends Presenter { public function __construct( public Book $book ) {} public function price() { return number_format($this->book->price, 2); } }...

- - - - - - - - - - - - - - -

Transformers in PHP

profile picture

Another Design Pattern to cover in PHP are the Transformers . This one is really simple to understand. It allows you to return an object to another format in a re-usable way. For laravel developers, this is mostly done through Resources . Fo...

- - - - - - - - - - - - - - -

Repository pattern in PHP and Laravel

profile picture

TL;DR A repository is an interface-signed class that encapsulate all SQL queries in specific methods. The repository class is then injected into your controller methods using dependency injection. You use the class methods instead of running sql q...

- - - - - - - - - - - - - - -

Building your empire starts with small rocks

profile picture

A ambitious man sees a castle on the horizon. He wants to have a big castle too. He goes to an old, wise man and tells him, "you see this castle ? I want the same one. I want my own empire". The wise man thinks for a second and says &q...

- - - - - - - - - - - - - - -

about me

profile picture

I consider myself as an IT Business Artisan. Or Consultant CTO. I'm a self-taught Web Developper, coach and teacher. My main work is helping and guiding digital startups.

more about me

follow me

newsletter

A weekly email with the latests articles

support my work

Start trading on binance
  • BTC

    BTC

    18SY81ejLGFuJ9KMWQu5zPrDGuR5rDiauM

  • ETH

    ETH

    0x68e8c828b8ce670062a83199cd8f62667c792f23

  • Monero

    XMR

    895bSneY4eoZjsr2hN2CAALkUrMExHEV5Pbg8TJb6ejnMLN7js1gLAXQySqbSbfzjWHQpQhQpvFtojbkdZQZmM9qCFz7BXU

(adsbygoogle = window.adsbygoogle || []).push({});

2022 © My Dynamic Production SRL All rights Reserved.