Categories
PHP Development Web Development

PHP Singleton Pattern

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 good example of such patter is below: // Example of Singleton Class. class DBConnection { […]

Categories
WordPress Development

Deprecated: contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in …/wp-includes/functions.php on line 5152

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( __CLASS__, ‘show_contextual_help’ ), 10 ); And replace public function in line 101 public static function […]

Categories
Laravel Development Web Development WordPress for Beginners

Laravel vs WordPress

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 find really good and not expensive web hosting for WordPress projects starting from about £30 […]

Categories
Laravel Development

Laravel Jetstream – Jet Another Headache

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, free code, and cheap templates. Tailwind CSS, if you prefer this route, is not ugly […]

Categories
Laravel Development

The best web hosting for Laravel 8

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 dynamic DNS messy route. There are many web hosting companies offering Laravel installations, they promise […]