Bookcafe

Thursday, October 11, 2012

Upgrading or Migrating From CakePHP 1 to CakePHP 2

It has been long time after my last posts on CakePHP and a lot of latest improvements have been carried out at the latest CakePHP 2. You could find the details regarding the migration especially involving the naming convention and you can read it here http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html.To my findings, when doing the basic application using this latest version, do not move or alter the following files or otherwise you will get errors messages:

1. /app/model/AppModel.php
2. /app/controller/PagesController.php

Once you have successfully setting the new version, you will get the screen below:

If you had followed my previous posts on CakePHP version 1.3, in the latest version CakePHP, you must change the following:


1. syarikats_controller.php   to  syarikatscontroller.php

2. var $scaffold;   to   public $scaffold;



Tuesday, October 9, 2012

Takwim Sekolah 2013 by MOE (Ministry Of Education Malaysia)

Takwim Sekolah for 2013 is already published by the Ministry Of Education Malaysia at their official site. It might help you in planning your holidays in 2013. It is applicable for:

KUMPULAN A : Sekolah-sekolah di Negeri Kedah, Kelantan dan Terengganu

and

KUMPULAN B : Sekolah-sekolah di Negeri Perlis, Pulau Pinang, Perak, Selangor, Negeri Sembilan, Melaka, Johor, Pahang, Sabah, Sarawak, Wilayah Persekutuan Kuala Lumpur, Labuan and Putrajaya

It can be downloaded at this link Takwim Sekolah 2013 by MOE