Blog

Using mysql from the command line tool helps you keep your SQL knowledge fresh. The console mysql command line tool is pretty simple to use and in time you will start to love working with it. Checking if mysql client is installed First of all in order to see if you have the mysql command […]

Lately i wanted to build a simple singleton class that i will just extend from and build more singleton classes but i had a problem. Singleton abstractization First i started making an abstract singleton class: abstract class AbstractSingleton { protected static $instance ; public static function getInstance() { if (null === static::$instance) { static::$instance = […]

We will start by going to the plugins path in our wordpress project wp-content/plugins/ and create a new folder for our plugin, the name should be unique if you want to post it on the wordpress plugin directory. Structuring the plugin For my plugin i will choose the name, granalyticstracking, so i will make a […]

Composer is a dependecy tool for PHP, it helps you install packages(libraries) into your project from the command line tool. When you dont want to reinvent the wheel and you need an already built library it’s really simple to use. Just go to https://packagist.org/ to search for your desired package. For our example lets take Monolog(“Sends your logs […]

Developing on local servers based on WAMP ( MAMP on osX ) is not the right choice because you might end up with problems like not beeing able to see issues with your application until they reach production. To avoid differences between a production server and a local development environment developers started using a virtual […]

Since version 5.5.0 PHP introduced an easy way to hash passwords based on the crypt() method. When building your website authentication, you should never store clear passwords into your DB because you risk exposing user information in the case you get hacked. Many people confuse encrypting and hashing for doing the same thing, but it’s […]

pattern
http://georgerujoiu.com/wp-content/themes/carbon/
https://georgerujoiu.com/
#7dc771
style5
paged
Loading posts...
/home/georgerujoiu/public_html/
#
on
none
loading
#
Sort Gallery
on
yes
yes
on
Enter your e-mail address
on
on