Tutorial Collection

2cakephp upload
Uploading a file in CakePHP is easy with plugin. Developer also can create a PHP upload script but why we need to reinvent the wheel as there is a lot of free plugin available to assist file upload in CakePHP framework. In this tutorial, i used Upload Plugin 2.0 for cakePHP 2.x by josegonzalez which i already fork here: https://github.com/Asyraf-wa/cakephp-upload

bootstrap
Bootstrap is a front-end framework and free collection of tools for creating websites and web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions. It also provides a faster, easier, and less repetitive solution to presentation, which will no doubt appeal to any seasoned web/app developer. The main features offered by bootstrap are:

mac os print screen
Print Screen in Mac OSX (Mavericks) quite different from Windows based machine as Apple does not provide any “PrtScn” button on their keyboard. However, the print screen function is available with several combination of key from the keyboard. There are 3 different methods to capture the screen in Mac OSX.

1word to pdf
Converting a Microsoft Word document to PDF is easy since there is a lot of free online converter available ready to convert your document. However, users need to attach the document and submit to the website system in order to get the PDF format document. If the document is confidential document, it is not advisable to upload the document to any website that provide free online PDF converter. Microsoft already produce plug-in for Microsoft Office to save / save as document as PDF without internet connection.

windows os print screen
Print screen is very important for users to capture something in the screen. Usually, users will used the print screen key a.k.a “PrtScn” to capture the screenshot and copy it into clipboard. However, the print screen button will capture the whole screen and users need to edit the screenshot according to the requirement.

age calculator 2
This tutorial teach how to create a simple calculation system using PHP math function to display the total years, months and days based on the date of birth input. I use standard HTML form to capture the input such as the day, month and year of birth. Based on this input, I created a simple calculation function to calculate the different from current date with the date of birth date.

calculate

CakePHP are able to calculate total days based on date input from users by using the standard PHP diff class. Assume there is a table that stored employee leaves and the input is date start and date end for employees’ leaves. So, we going to create a simple calculation process that will calculate the total days of leaves for the employee based on the date input and store the total into ‘days’ column in database. These operation need developers to modify the controller as the calculation need to be done in the controller before stored into database.

css3 menu
Dropdown menus are an excellent feature in website because it helps to clean up a busy layout. If structured correctly, drop-down menus can be a great navigation tool and user friendly. The dropdown menu structure should be clear especially the root item as it need to represent what are the items it contains.

search2
Providing a search function that searches your database is a strategy that offers users a way to find content. Users can locate content by searching for specific name phrases, without needing to understand or navigate through the structure of the Web application system. In this case, the search function will do searching based on the username. This search function is develop using the plugin developed by CakeDevelopment Corporation (CakeDC) where this plugin is free and available to be download from Github website.

tempate mod post
In Joomla!, template consist module position in order for user to place their module and make it available in front-end. The module position identify one or several positions within the template and tell the Joomla! application where to place output from modules assigned to a particular position.

Page 1 of 3

Muhammad Asyraf bin Wahi Anuar | Copyright 2017 | Informatic Trooper