Introducing Nura Aesha Safia

IMG_3931

Here’s my first (and currently only) daughter Nura Aesha Safia binti Mior Muhammad Zaki.

CRUD Library for Ext.CodeIgniter: An Example

logoOne of the drawback on CodeIgniter is the Scaffolding Class which is only suitable for testing or development stage. In order to do the same functionality you might find in other PHP Framework for CRUD you have to combine few available libraries in CodeIgniter including Table, Pagination, Form Validation and etc. All the libraries are great but you will end up having to write a long list of function and code to do still CRUD process.

To make the learning process much easier to understand I would actually try to convert CodeIgniter From Scratch: Day 5 – CRUD from Nettuts+ from using available libraries to Ext.CodeIgniter CRUD Library.

Requirements and Basic Informations

  • is based and developed on CodeIgniter 1.7.1, it might work with previous version but please do test it out first.
  • requires Table, Pagination, Form (Ext.CodeIgniter Library), Form Validation libraries and Form helper.
  • callback can be optimized with Template Library for Ext.CodeIgniter.
  • your model code can be minimized with ActiveRecord, you may require more works if using raw SQL.

[Click here to read more...]

KreativeThemes: Selling Premium WordPress Themes

kt

KreativeThemes is a collaboration of young creative and talented people in developing and producing WordPress themes (other platforms will join in in the future) of finest quality at affordable prices. It is co-founded by Izuddin Helmi and Amirul Faisyal and backed up by a dedicated team comprises of Ajmal Eylia, Gaddafi, Mohd Huzairy, Nur Fathihah and me.

[Click here to read more...]

3F Aidilfitri Open House 2009

Bamboo Fence

Foods for everyone

View full photoset 3F Aidilfitri 2009 Open House @ Flickr

SEO Friendly WordPress Title

wordpress-logo
The default WordPress title using the_title() structure is acceptable but lack SEO. Some Wordpress theme already try to improve the structure instead of just the default value, most theme I been using has adopted this method.

<title><?php wp_title('--',true,'right'); ?> <?php bloginfo('name');?></title>

I prefer a more informative title display to improve SEO for your blog/website.

<?php
function seo_title()
{
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    wp_title('&laquo;', true, 'right');

    if ($paged > 1)
    {
        echo ' Page ' . $paged . ' &mdash;';
    }

    echo ' ';
    bloginfo('name');

    if (is_home() && $paged === 1)
    {
        echo ' &mdash; ';
        bloginfo('description');
    }
}
?>
<title><?php seo_title(); ?></title>