Skip to main content

PHP Scaffold

Alo lah semua bro an sis...dah klama ga bersua... ane mw ngasih inpo sedikit tentang engine sederhana dari php yang bisa nge-generate kode php komplit dengan aplikasi CRUD (baca:Create, Read, Update, Delete). Yaitu
PHP Scaffold... bisa cek ini disini
cara make gampang, tutor nya banyak di web atau blog sebelah, atau cara gampangna
1. donlod dlu tu file-2nya
2. extract atau copy ke localhost ente smua. nama foldernya si terserah.
3. tinggal buka di browser kesayangan ente ni screensutnya 

4. tinggal masukin deh parameternya...
    a. copy struktur table yang ada di database kamu... kek gini
# CREATE TABLE `users`
   ( `id` int(10) NOT NULL auto_increment, 
     `fn` varchar(30) collate latin1_general_ci NOT NULL, 
     `mn` varchar(30) collate latin1_general_ci NOT NULL,  
    `ln` varchar(30) collate latin1_general_ci NOT NULL, 
    `email` varchar(100) collate latin1_general_ci NOT NULL, 
    `pass` varchar(32) collate latin1_general_ci NOT NULL, 
    `display_name` varchar(30) collate latin1_general_ci NOT NULL, 
    `created_on` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT          CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=5 ;
b. lanjutin ke field selanjutnya yg harus dilengkapi..

eng ing eng kode udah jadi.. bisa langsung di download atau di copy..beres...tinggal di perbaiki tampilan dan tambahkan efek JQuery.

Comments

Popular posts from this blog

Membuat website dengan CodeIgniter Part1

Langsung aja saya jabarkan kebutuhan yg akan di pakai nanti untuk membuat sebuah website d ari framework codeigniter... pertama.. ya tentu saja source dari codeigniter-nya... bisa pake yg terbaru atau 2.0 ++ disini kedua.. database -nya bisa menggunakan MySql yg udah di bundle ke dalam Xampp disini ketiga (optional) Editor teks.... pake notepad oke... pake netbeans oke juga... Langkah selanjutnya adalah install terlebih dahulu xampp-nya jika sudah ada xamppnya, lanjut ke langkah selanjutnya, lalu kemudian extract source Codeigniter di htdocs xampp. berikut susunan direktori Codeigniter root dir....         .../application                   .../cache                   .../config                   .../controllers      ...

A history of Einstein

Around 1886 Albert Einstein began his school career in Munich. As well as his violin lessons, which he had from age six to age thirteen, he also had religious education at home where he was taught Judaism. Two years later he entered the Luitpold Gymnasium and after this his religious education was given at school. He studied mathematics, in particular the calculus, beginning around 1891.  In 1894 Einstein's family moved to Milan but Einstein remained in Munich. In 1895 Einstein failed an examination that would have allowed him to study for a diploma as an electrical engineer at the Eidgenössische Technische Hochschule in Zurich. Einstein renounced German citizenship in 1896 and was to be stateless for a number of years. He did not even apply for Swiss citizenship until 1899, citizenship being granted in 1901.  Following the failing of the entrance exam to the ETH, Einstein attended secondary school at Aarau planning to use this route to enter the ETH in Zurich. While at Aarau he wr...

A history of Michael Jackson

Okay Here i want post with history of King of the POP in world. For remember story of Jackson and his carier in world. Hard to believe - this was Michael Jackson. He was born August 28, 1958 - one of 9 kids. His father reportedly nicknamed him "Big Nose".  Mike was born a cute African-American guy. "Normal", if you will, and very talented. Despite the current, sad stories about his lonely, sad childhood, Mike grew up surrounded by famous people and an adoring public. At age 5, Mike and his brothers were the amazing 'Jackson 5'. They played locally, then in New York and Philly. They were "discovered" by Gladys Knight and pianist Billy Taylor at the famous Apollo Theater in Harlem. By age 11, Mike was a Superstar. At age 13 he went solo and had his first #1 hit at 14 with "Ben" (a touching love song to a rat). Who knew he'd get addicted to plastic surgery, face accusations of child molestation and end up America's Most Famous Sidesh...