Pagination is one of the vital components to manage limit of record to be view and navigation to the next or previous page. Technically, the pagination in CakePHP is based on the page number with next and previous navigation. However, in some cases, we need to have a go to first page or go to last page button for faster navigation. This tutorial contains few sections.

Add a comment

Usually developer love to use data transformation for example gender input. There is two types of gender and the Male is represented with number 0 (0==Male) and female is represented as number 1 (1==Female) or the status of the record for example 1 is equivalent to active (1==Active) and 0 is equivalent to inactive (0==Inactive). Actually it is just a variables and by using the 0/1 coding scheme is essentially useful when applying regression models among others.

Add a comment

Tags: , ,

PDF is a most common document type for printing digital content. DOMPDF is an open source HTML to PDF converter where it enable developer to convert any HTML page to PDF format. For example if developer need to work on application that required to generate correspondence or invoice in PDF, so DOMPDF is one of the best HTML to PDF converter without using the Command Line Interface (CLI). To use the DOMPDF, you need at least PHP 5.4 and MBString extension and CAKEPHP 2.2.X and above.

Add a comment

Tagging for content is important as it help to group the content in a specific tag or more than one category of tags. Tagging also help to reduce time for user to search for content in the same area of interest. For example, this article is published in CakePHP section where it also has been tagged under Tutorial, CakePHP. If the user interested in CakePHP posting, they can easily reach the content tagged under CakePHP by clicking at the tag. 

Add a comment

Input time is easier using clock picker as time selection mechanism. HTML5 support the input type time using 'type'='time' but the 'time' attribute is not supported in Safari and IE 12. To enhance the user experience in selecting time, i recommended to use clock picker as a medium to select time. The clock picker support all web-kit web browser and mobile view.

Add a comment

Page 6 of 7