PHP error reporting and logging

Logging and error reporting are parts of a debugging process. For some programmers, putting define(‘WP_DEBUG’, true); define(‘WP_DEBUG_LOG’, true); define(‘SAVEQUERIES’, true); define(‘SCRIPT_DEBUG’, true); in the wp-config.php file is the end of the story. Let’s discuss how we can improve the debugging process of our WordPress-based web app.

Coding in the cloud without the need of local environment

At our company, we have been getting a few WordPress-based website jobs lately. Usually, three of us work simultaneously on such a project and need to edit the same codebase with the same database (so the theme settings and content stays the same). We can share the changed files through git and database through exports […]

How To Fix WordPress 3.8 ImageMagic Media Upload Error

Lately, I’ve been working on some WordPress projects for my clients and had this ‘Http Error’ when uploading images (only images) to the Media Library. What didn’t help? – Switching to the browser uploader. (When I switched I had a Proxy Error and blank page instead.) – Chmoding wp-content/uploads or the entire WordPress directory to […]

Writing WordPress Articles with Code Examples in Vim using Markdown

Lately, I’v been thinking about writing blog articles in Vim and finally, I found a solution! But before we get to the how to part of the article, let my first outline some of the reasons I wanted to use Vim for article writing instead of WordPress online text editor.

Processing large amounts of data in JavaScript

Have you ever wondered why when you are processing a lot of data (for example thousands of DOM manipulation) browser usually freezes? It’s because of the way JavaScript works. It makes use only of one thread at a time. It can’t multitask. So all the events are being queued – mouse click, animations, data processing […]

Create simple HTML5 canvas “game” using pure JavaScript

I have always been interested in games. Now that I’m learning JavaScript programming, I decided to make a simple “game” in HTML5 canvas element. Disclaimer: this is my first tutorial on building a game in JavaScript so there might be some bugs and mistakes.