Clivern

A Software Engineer and Occasional Writer.

Build Realtime Apps With Redis PubSub

02 September 2017

Last week I worked with Pusher. Pusher is really amazing product to build scalable realtime apps. Also there is slanger and Poxa, Both are open source implementation compatible with Pusher libraries. But today we will use PHP, NodeJs, SocketIO and Redis Pub/Sub To work with realtime messaging.

Read More

How To Install LAMP Stack on Ubuntu

02 May 2017

LAMP stack is a group of open source software and it stands for Linux, Apache, MySQL, and PHP. To install them Just run the following bash script with a non-root user with sudo privileges configured on a server running Ubuntu.

Read More

How to Install Apache Tomcat 8 on Ubuntu 16.04

30 April 2017

Tomcat is an open source web server used to serve Java Web Applications and provides a Java HTTP web server environment in which Java code can run. To install Tomcat Server Just run the following bash script with a non-root user with sudo privileges configured on a server running Ubuntu 16.04.

Read More

Custom Queries with WordPress WP_Query

20 September 2014

WP_Query is the heart of WordPress. It gives you a lot of control over the website content as well as holding important informations for debugging. It makes building complicated queries a lot easier by passing criteria as an associative array. Understanding WP_Query is a must for theme developers.

Read More

How to Secure WordPress Plugins

01 August 2014

Securing your wordpress plugin isn't a difficult task or cumbersome because wordpress implements several tools to make your code safe and secure. We will exploore how to secure your plugins from internet pirates.

Read More

Working With WordPress wpdb Object

22 July 2014

WordPress offers an object that can be used to access data form default tables and custom tables. The $wpdb object contains several methods to read, insert, delete and update records from tables. Let's explore these methods in details.

Read More

Adding Menus and Submenus for Wordpress Plugins

29 June 2014

Integrating your plugin in wordpress is the first step in building plugins. There are many different ways to integrate your plugins including adding menus and submenus, adding metaboxes and adding widgets. Let's explore how to add menus and submenus for wordpress plugins.

Read More

How To Create Wordpress Widgets

22 June 2014

Wordpress provides a great API to create and interact with widgets. Widgets are a great way to allow plugin users to build their blog sidebar easily. I will show you how to create widgets, add widget options and display it in the sidebar.

Read More

PHP Errors Handling

30 May 2014

PHP5 introduced exceptions, a completely different way to handle errors. Simply, exceptions like sensors detect any error occur within your code and output a bunch of data to handle these errors. Let's see how these exceptions work.

Read More