Singleton pattern is used where you need to handle some kind of expensive task – like connection to a database – and you want to be sure that only one instance of an object exists at a time. A very…
Singleton pattern is used where you need to handle some kind of expensive task – like connection to a database – and you want to be sure that only one instance of an object exists at a time. A very…
There can be several plugins related to the issue, but it can be also SendGrid plugin. The fix this problem modify sendgrid-email-delivery-simplified/lib/class-sendgrid-settings.php in line 52 – replace: add_filter( ‘contextual_help’, array( __CLASS__, ‘show_contextual_help’ ), 10, 3 ); with: add_filter( ‘current_screen’, array(…
What to use – Laravel or WordPress for a CMS project? Well, it depends on specification and budget. For really low budget WordPress is by far much much better option. You can save huge money on design/layout, and you can…
Surprisingly for the out of the box authentication scaffolding Laravel 8 uses Jetstream/Tailwind CSS framework. What does Tailwind CSS do? Well, it does more or less the same what Bootstrap does, except that for Bootstrap you have tons of tutorials,…
Where to host Laravel (Laravel 8) installation? Obviously, you can install Laravel locally, on your laptop, but we will not analyse such scenario here. Your local Laravel website will not be visible to the outside world, unless you go with…
The full messy error message can look like this: PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails This can happen when, let’s say, you have related columns Posts and…
In object oriented programming there are some rules which help to keep development less messy and maintenance of developed systems easier and cheaper. One of such set or rules are SOLID principles: S – Single Responsibility Principle O – Open-Closed…
WordPress taxonomy is one of the main reasons for which WordPress is so popular CMS framework not only for blogs but for e-commerce too. WordPress taxonomy extends incredible flexibility of this framework and plays significant role in SEO peformance. Taxonomy…
Sending email in Laravel is simple, and is based on few steps, assuming that some mail provider (like SendGrid for instance) is already set in .env file. install Maillable module for some specific type of email you would like to send:…
As for most such comparisons much depends on what you need the frameworks for. Essentially they both are MVC, keeping in mind that MTV (Model Template View) for Django means in fact Model View Controller. That is – in Django…