Avoid messy coding with PHPMD (Atom + Ubuntu)
PHP Mess Detector aka PHPMD is a tool that helps you to write clean code. It warns you about overcomplicated code, Spaghetti code, unused code, possible bugs, etc. PHPMD warns…
PHP Mess Detector aka PHPMD is a tool that helps you to write clean code. It warns you about overcomplicated code, Spaghetti code, unused code, possible bugs, etc. PHPMD warns…
Let's create a Gmail email client using PHP's native IMAP library. For this, you need the php-imap installed. Despite the name, the IMAP library works with POP3 too. Basic code:…
This is the 4th part of my WordPress Plugin Development tutorial. Check also the first and second parts. You can choose between two APIs to implement Ajax in WordPress: Ajax…
This is the second part of my WordPress Plugin Development tutorial. Check the first part here. 1. Adding a menu item: A menu item is created with the add_options_page() method,…
WordPress only supports MySQL, but with this plugin created by kjmtsh you can use SQLite instead. The plugin was created a long time ago but still works like a charm…
This tutorial shows how to implement a "Continue with Facebook" button just PHP. No JS required.If you prefer to render the button with JS, see my other tutorial. JS vs…
This tutorial shows how to implement a "Continue with Facebook" button using JS and PHP. The button is implemented with JS. PHP is used to process Facebook result.If you prefer…
You need jQuery and jQuery UI ... A CDN version: https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js ... and some styling: You can either use the jQuery UI CSS or write some basic rules for…
I use Prism JS to prettify the code blocks on this Wordpress blog. Here I will show a quick, 5-minute, very simple way to add it on your own blog.…
PHP Code Sniffer (aka PHPCS) is, in my opinion, the most basic tool for professional PHP development. To be fair, I would also add another popular PHP linter, the PHP…