Clivern

A Software Engineer and Occasional Writer.

Working With WordPress Shortcodes

01 March 2014

Shortcodes enable developers to embed content that would require alot of complicated tasks. With shortcodes ,you can enhance your posts with few characters.

Read More

Laravel Schema Builder Part3

28 February 2014

Once you database tables created ,it is a complex task to update these tables names and their structure .But i think laravel has another opinion .Let's get started and i will show you how laravel take care of you.

Read More

Laravel Schema Builder Part1

28 February 2014

Does your application need to store data in a database? Well let's see if laravel will give help. Laravel support MySQL, SQLite, PostgreSQL and SQL Server Platforms. Also it has very flexible abstraction layer. It can work with multi database applications. Secured as it escape value for you .Let's explore how laravel take care of you.

Read More

Learning Laravel Views

26 February 2014

Laravel like any php framework separate visual aspects of your application from business logic .Before we get started to explore templating syntax . I will show you how to render view files from a route or controller.

Read More

Laravel Routing

24 February 2014

Laravel 4.1 provides us with a handful routing API which can be used for both small and large application .Also with this API you can define RESTful controllers ,and controllers can have predefined methods to receive requests via GET,PUT,DELETE,POST and UPDATE .we will see this later in subsequent tutorials but now we will discus basic routing API.

Read More

Working With PHP Interceptors

19 February 2014

PHP provides some handful methods which can be used within your classes to intercept messages sent to undefined methods and properties .Some developers call this overloading .These methods like `__construct()` method which invoked when you instantiate object. Let's explores these methods.

Read More

PHP Packages and Namespaces

19 February 2014

Package is a set of PHP classes grouped in some manner .Many developers use file system to organise their applications because PHP has no native concept of a package until PHP 5.3 .With PHP 5.3 ,namespaces become part of PHP .I know that most of us think many times before using namespaces in any commercial code .you know ,not all servers support PHP 5.3 but this will be for a while.

Read More

How To Create Custom Tables In WordPress

18 February 2014

WordPress creates 11 tables to store settings, users data, posts data, comments data, links and terms. In many cases wordpress tables can fit perfectly our plugin data but sometimes you need to create custom tables. WordPress provides a handful function that can create your custom tables and update their structure easily.

Read More

WordPress HTTP API Best Practice

18 February 2014

After you fine tuned wordpress HTTP API ,it is the time to put your codes in a larger practice. I thick the best practice on HTTP API is wordpress plugin upgrades. Agreat trait of wordpress is that you can create plugins for public use and host them on wordpress servers. In this case you don't have to think about plugin upgrades because twice daily, wordpress sends requests to `api.wordpress.org` to check latest updates (visit More Details) .One of these requests a list of all plugins currently installed. The API server replies with a list of new versions and informations about them if available.

Read More