gem install mysql2 — ‘–with-mysql-lib=”C:\wamp\bin\mysql\mysql5.5.24\lib” –with-mysql-include=”C:\wamp\bin\mysql\mysql5.5.24\include”‘
Show hide files in external hard disk
StandardAssuming your g drive is your external hard disk .. run a command prompt with administrator privilege
attrib -h -r -s /s /d g:\*.*
Welcome to laravel
StandardWelcoming myself to Laravel framework. Coming from CodeIgniter and CakePHP background makes it easy for someone like me to use Laravel. The MVC concept is the same but the name of the method makes me feel weird sometimes. This post is just for me to make some notes when using Laravel.
- Make sure to add action_ prefix when creating a method in controller
- Or just use public $restful = true; and create a method with prefix get_ , post_
- CakePHP $useTable == public static $table
- CakePHP $primaryKey == public static $key
- In codeigniter this->load->view(‘folder/filename’, $data); == return View::make(‘folder.filename’, $data); Notice the dot (.)
- CakePHP filenameController extends AppController == filename_Controller extends Base_Controller
- In laravel , Fluent is like CodeIgniter Active record and Eloquent is like CakePHP ORM.
- Cakephp cake bake console == Bob the builder bundle using Artisan
- CakePHP hasOne , hasMany , belongsTo == has_one() , has_many() , belongs_to()
- CakePHP containable == Laravel Eager loading
- Laravel 4 cannot use bundle. Since Laravel 4 is using composer , use libraries from Packagist . So use Laravel 3 to use bundles.
Iklan-kerja.com
StandardJust bought iklan-kerja.com last week . Just some experiment I want to do with wordpress + SEO. Most of the time people like to complain there is not enough job out there and I believe there is job for those who try harder.
I still remember when I decide to purse IT as my career .. at that time there is too many “graduan IT” menganggur so I tend to look for IT / Programming jobs. Most the posts I take from lowyat.net and paste it there ( with backlinks off course ) .
Poster UTeMEX 2012
Standard- Event ni berlaku Britain pada awal januari 2012
- Tujuan upload sebab nak buang gambar ni dari komputer ^_^