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.

PhpStorm and why I use it

For those who didn’t have any prior experience with JetBrains IDEs and applications, I can say that they are always top quality and very well known among large groups of developers. In this article, however, I’ll be focusing just on their web development IDE called PhpStorm (or the second IDE without PHP support called WebStorm), …

Create Google Map with Marker and Geocoder

As I’m learning JavaScript, I got an idea to make a simple Google Map with some additional stuff just to try it. I like the results so I decided to write a tutorial on how to make it. In this guide you’ll learn how to include Google Map on your website, how you make use …

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.

My Favorite HTML5 Games

I loved playing games. All kinds of games. Recently, I got into JavaScript development and one of the main reasons I gave it a try was these beautiful HTML5 games. If you never played a HML5 game (“it’s too slow, bad graphics, no 3D…), I challenge you to play at least one of these. You will …