Sekali lagi Perhatian, ini hanya ditujukan kepada Newbie seperti saya, kalo yang sudah jago ya kayanya ga perlu lagi baca :D . Juga wajib mengikuti tuorial sebelumnya yaitu

Edit data, setelah beberapa waktu lalu selesai dengan memasukkan data dan menampilkan serta menghapus data, kemudian ada seseorang yg menanyakan tentang cara mengedit data.

Secara algoritma MVC nya, Edit data dilakukan dengan Memanggil fungsi edit pada controller, fungsi ini akan memanggil data yang akan di edit (menggunakan parameter id) melalui Model, kemudian data tersebut ditampilkan kedalam view. Setelah data tersebut di edit, kemudian memanggil fungsi submit pada controller untuk menentukan proses update data yg dilakukan pada model. Kemudian di redirect ke halaman index untuk melihat hasil data yg telah di edit tadi. Secara gambarannya seperti berikut :

So, daripada bingung, langsung saja di praktekkan :)

Read more…

Firefox 3.6.6
Firefox 3.6.6 is ready to download.

What’s New in Firefox 3.6.6
Firefox 3.6.6 modifies the crash protection feature to increase the amount of time that plugins are allowed to be non-responsive before being terminated.

Please see the complete list of changes in this version. You may also be interested in the Firefox 3.6.4 release notes for a list of changes in the previous version.

If you using Ubuntu you can Install or Update it via PPA.

  • Open Terminal(Applications – Accessories – Terminal) and copy-paste the following line into Terminal.
    sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
    
  • Done. Now update repositories and upgrade your native Firefox 3.6 to its latest version, Firefox 3.6.6.

    sudo apt-get update && sudo apt-get upgrade
  • Done

Source : http://www.techdrivein.com/2010/06/install-or-upgrade-to-firefox-366-in.html


Well, I am abit ahead of the release date. This tutorial is done on Ubuntu Lucid 10.04 beta and I would not expect there would be major changes in final release that could disrupt any instructions listed here.
Prerequsites

Ubuntu repository contains Ruby 1.9.1 package however this package suffers few bugs that doesn’t run some Gem packages. So I would highly RECOMMEND you to compile for yourself a instance of Ruby 1.9.1 from source. To compile Ruby from source, you need to install compilers and libraries headers.
Read more…


Ruby on Rails
Ruby on Rails is an open source web framework for developing database backed web applications. It is optimized for sustainable productivity of the programmer since it lets the programmer to write code by favouring convention over configuration.
Read more…


It’s both nice and bad when I upgrade to a newer Ubuntu version. The good part is I have lots of posts material for the blog but the bad part is there’s always something on my main computer or netbook which doesn’t work out of the box and needs tweaking.

I really didn’t expect the Fn keys to work out of the box on my Asus EeePC 1005HA (so this method has only been tested for this Asus EeePC model, I don’t know if it works on others) and unfortunately I was right. However, the fix is very quick. Here’s what you have to do.
Read more…