<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dudu.WEB.ID &#187; Internet</title>
	<atom:link href="http://dudu.web.id/category/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://dudu.web.id</link>
	<description>...still try and try...</description>
	<lastBuildDate>Wed, 07 Jul 2010 05:19:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Codeigniter Dasar – Membuat Edit Data</title>
		<link>http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/</link>
		<comments>http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 05:19:07 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[CRUD]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://dudu.web.id/?p=305</guid>
		<description><![CDATA[Sekali lagi Perhatian, ini hanya ditujukan kepada Newbie seperti saya, kalo yang sudah jago ya kayanya ga perlu lagi baca . Juga wajib mengikuti tuorial sebelumnya yaitu Codeigniter Dasar – Membuat Insert Data Codeigniter dasar – Menampilkan dan Menghapus Data Codeigniter Dasar – Belajar AJAX dengan JQuery Codeigniter Dasar – Menghapus data dengan Jquery Edit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dudu.web.id/wp-content/uploads/2010/07/edit.png"><img class="alignnone size-full wp-image-306" title="edit" src="http://dudu.web.id/wp-content/uploads/2010/07/edit.png" alt="" width="516" height="401" /></a></p>
<p>Sekali lagi Perhatian, ini hanya ditujukan kepada Newbie seperti saya, kalo yang sudah jago ya kayanya ga perlu lagi baca <img src='http://dudu.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Juga wajib mengikuti tuorial sebelumnya yaitu</p>
<ul>
<li><a href="http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/" target="_blank">Codeigniter Dasar – Membuat Insert Data</a></li>
<li><a href="http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/" target="_blank">Codeigniter dasar – Menampilkan dan Menghapus Data</a></li>
<li><a href="hhttp://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/" target="_blank">Codeigniter Dasar – Belajar AJAX dengan JQuery</a></li>
<li><a href="http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/" target="_blank">Codeigniter Dasar – Menghapus data dengan Jquery</a></li>
</ul>
<p>Edit data, setelah beberapa waktu lalu selesai dengan memasukkan data dan menampilkan serta menghapus data, kemudian ada seseorang yg menanyakan tentang cara mengedit data.</p>
<p>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 :</p>
<p><a href="http://dudu.web.id/wp-content/uploads/2010/07/mvc.png"><img class="alignnone size-full wp-image-307" title="mvc" src="http://dudu.web.id/wp-content/uploads/2010/07/mvc.png" alt="" width="489" height="489" /></a></p>
<p>So, daripada bingung, langsung saja di praktekkan <img src='http://dudu.web.id/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-305"></span></p>
<p>Pada file view.show.php ubah menjadi seperti di bawah ini</p>
<pre class="brush: php;">

&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
 $(&quot;.delbutton&quot;).click(function(){
 var element = $(this);
 var del_id = element.attr(&quot;id&quot;);
 var info = 'id=' + del_id;
 if(confirm(&quot;Anda yakin akan menghapus?&quot;)){
 $.ajax({
 type: &quot;POST&quot;,
 url : &quot;&lt;?php echo site_url('daily/delete')?&gt;&quot;,
 data: info,
 success: function(){
 }
 });

 $(this).parents(&quot;.record&quot;).animate({ opacity: &quot;hide&quot; }, &quot;slow&quot;);
 }

 return false;
 });

})
&lt;/script&gt;
&lt;b&gt;Daily Notes&lt;/b&gt;
&lt;table style=&quot;width:600px; border:1px solid;&quot;&gt;
 &lt;tr&gt;
 &lt;th style=&quot;border:1px solid;&quot;&gt;No&lt;/th&gt;
 &lt;th style=&quot;border:1px solid;&quot;&gt;Date&lt;/th&gt;
 &lt;th style=&quot;border:1px solid;&quot;&gt;Name&lt;/th&gt;
 &lt;th style=&quot;border:1px solid;&quot;&gt;Amount&lt;/th&gt;
 &lt;th style=&quot;border:1px solid;&quot;&gt;Edit&lt;/th&gt;
 &lt;th style=&quot;border:1px solid;&quot;&gt;Delete&lt;/th&gt;
 &lt;/tr&gt;
 &lt;?
 $i=0;
 foreach ($query as $row){
 $i++;
 echo &quot;&lt;tr class=\&quot;record\&quot;&gt;&quot;;
 echo    &quot;&lt;td style=\&quot;border:1px solid;\&quot;&gt;$i&lt;/td&gt;&quot;;
 echo    &quot;&lt;td style=\&quot;border:1px solid;\&quot;&gt;$row-&gt;date&lt;/td&gt;&quot;;
 echo    &quot;&lt;td style=\&quot;border:1px solid;\&quot;&gt;$row-&gt;name&lt;/td&gt;&quot;;
 echo    &quot;&lt;td style=\&quot;border:1px solid;\&quot;&gt;$row-&gt;amount&lt;/td&gt;&quot;;
 echo    &quot;&lt;td style=\&quot;border:1px solid;\&quot;&gt;&quot;.anchor(&quot;daily/edit/$row-&gt;id&quot;,'Edit').&quot;&lt;/td&gt;&quot;;
 echo    &quot;&lt;td style=\&quot;border:1px solid;\&quot;&gt;&lt;a class=\&quot;delbutton\&quot; id=\&quot;$row-&gt;id\&quot; href=\&quot;#\&quot; &gt;Delete&lt;/a&gt;&lt;/td&gt;&quot;;
 echo  &quot;&lt;/tr&gt;&quot;;
 }
 ?&gt;
&lt;/table&gt;
</pre>
<p>Buat controller fungsi edit pada controller daily</p>
<pre class="brush: php;">

function edit($id){
 $query          = $this-&gt;MDaily-&gt;get($id);
 $data['fid']    = $query['id'];
 $data['fdate']  = $query['date'];
 $data['fname']  = $query['name'];
 $data['famount']= $query['amount'];
 $this-&gt;load-&gt;view('daily/edit',$data);
 }
</pre>
<p>Kemudian pada Model buat fungsi get untuk mengambil data/ record yang akan di edit</p>
<pre class="brush: php;">

function get($id){
 $query = $this-&gt;db-&gt;getwhere('daily',array('id'=&gt;$id));
 return $query-&gt;row_array();
 }
</pre>
<p>Lanjutnya buat file edit.php pada direktory views/daily/edit.php</p>
<pre class="brush: php;">

&lt;!DOCTYPE HTML&gt;
&lt;html lang=&quot;en-US&quot;&gt;
 &lt;head&gt;
 &lt;title&gt;Daily Notes&lt;/title&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&quot;&gt;&lt;/script&gt;
 &lt;meta charset=&quot;UTF-8&quot;&gt;
 &lt;/head&gt;
 &lt;body&gt;
 &lt;h2 &gt;Daily Notes&lt;/h2&gt;
 &lt;div id=&quot;form_input&quot;&gt;
 &lt;table&gt;
 &lt;?php echo form_open('daily/submit'); ?&gt;
 &lt;?php echo form_hidden('id',$fid); ?&gt;
 &lt;tr&gt;
 &lt;td&gt; &lt;?php echo form_label('Date : '); ?&gt;&lt;/td&gt;
 &lt;td&gt; &lt;?php echo form_input('date',$fdate,'id=&quot;date&quot;'); ?&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt; &lt;?php echo form_label('Name : ');?&gt; &lt;/td&gt;
 &lt;td&gt; &lt;?php echo form_input('name',$fname,'id=&quot;name&quot;'); ?&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt; &lt;?php echo form_label('Amount : ');?&gt; &lt;/td&gt;
 &lt;td&gt; &lt;?php echo form_input('amount',$famount,'id=&quot;amount&quot;'); ?&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt; &lt;?php    echo form_submit('submit','Submit','id=&quot;submit&quot;'); echo form_close(); ?&gt; &lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;
 &lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Ubah pada fungsi submit pada controller daily sehingga menjai seperti berikut :</p>
<pre class="brush: php;">

function submit(){
 if ($this-&gt;input-&gt;post('ajax')){
 $this-&gt;MDaily-&gt;save();
 $data['query'] = $this-&gt;MDaily-&gt;getAll();
 $this-&gt;load-&gt;view('daily/show',$data);
 }else{
 if ($this-&gt;input-&gt;post('submit')){
 if ($this-&gt;input-&gt;post('id')){
 $this-&gt;MDaily-&gt;update();
 redirect('daily/index');
 }else{
 $this-&gt;MDaily-&gt;save();
 redirect('daily/index');
 }
 }
 }
 }
</pre>
<p>OK sekarang kita coba edit datanya..</p>
<p>Jika mau script lengkapnya silahkan ambil di <a href="http://dudu.web.id/downloads/ci_ku.zip">sini</a></p>
<p>Bagi yang belum paham bisa kirim komentar ya <img src='http://dudu.web.id/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  piss saya juga masih belajar..</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/&amp;title=Codeigniter+Dasar+%E2%80%93+Membuat+Edit+Data" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/&amp;title=Codeigniter+Dasar+%E2%80%93+Membuat+Edit+Data" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/&amp;t=Codeigniter+Dasar+%E2%80%93+Membuat+Edit+Data" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Codeigniter+Dasar+%E2%80%93+Membuat+Edit+Data+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Codeigniter+Dasar+%E2%80%93+Membuat+Edit+Data&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/&amp;n=Codeigniter+Dasar+%E2%80%93+Membuat+Edit+Data&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/&amp;title=Codeigniter+Dasar+%E2%80%93+Membuat+Edit+Data&amp;srcUrl=http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/&amp;srcTitle=Codeigniter+Dasar+%E2%80%93+Membuat+Edit+Data&amp;snippet=%0D%0A%0D%0ASekali%20lagi%20Perhatian%2C%20ini%20hanya%20ditujukan%20kepada%20Newbie%20seperti%20saya%2C%20kalo%20yang%20sudah%20jago%20ya%20kayanya%20ga%20perlu%20lagi%20baca%20%3AD.%20Juga%20wajib%20mengikuti%20tuorial%20sebelumnya%20yaitu%0D%0A%0D%0A%09Codeigniter%20Dasar%20%E2%80%93%20Membuat%20Insert%20Data%0D%0A%09Codeigniter%20dasar%20%E2%80%93%20Menampilkan%20dan%20Menghapus%20Data%0D%0A%09Codeigniter%20Dasar%20%E2%80%93" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/07/codeigniter-dasar-%e2%80%93-membuat-edit-data/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install or Upgrade to Firefox 3.6.6 in Ubuntu Using PPA</title>
		<link>http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/</link>
		<comments>http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 20:32:02 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://www.dudu.web.id/?p=230</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://i47.tinypic.com/2d0jaxt.jpg" alt="Firefox 3.6.6" /><br />
Firefox 3.6.6 is ready to download.</p>
<p><strong>What’s New in Firefox 3.6.6</strong><br />
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.</p>
<p>Please see the <a href="https://bugzilla.mozilla.org/buglist.cgi?quicksearch=ALL%20status1.9.2%3A.6-fixed">complete list of changes</a> in this version. You may also be interested in the <a href="http://www.mozilla.com/en-US/firefox/3.6.4/releasenotes/">Firefox 3.6.4 release notes</a> for a list of changes in the previous version.</p>
<p>If you using Ubuntu you can Install or Update it via PPA.</p>
<ul>
<li>Open Terminal(Applications &#8211; Accessories &#8211; Terminal) and copy-paste the following line into Terminal.
<pre class="brush: bash;">
sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
</pre>
</li>
<li>
Done. Now update repositories and upgrade your native Firefox 3.6 to its latest version, Firefox 3.6.6.</p>
<pre class="brush: bash;">sudo apt-get update &#038;&#038; sudo apt-get upgrade</pre>
</li>
<li>Done</li>
</ul>
<p>Source : <a href="http://www.techdrivein.com/2010/06/install-or-upgrade-to-firefox-366-in.html">http://www.techdrivein.com/2010/06/install-or-upgrade-to-firefox-366-in.html</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/&amp;title=Install+or+Upgrade+to+Firefox+3.6.6+in+Ubuntu+Using+PPA" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/&amp;title=Install+or+Upgrade+to+Firefox+3.6.6+in+Ubuntu+Using+PPA" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/&amp;t=Install+or+Upgrade+to+Firefox+3.6.6+in+Ubuntu+Using+PPA" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Install+or+Upgrade+to+Firefox+3.6.6+in+Ubuntu+Using+PPA+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Install+or+Upgrade+to+Firefox+3.6.6+in+Ubuntu+Using+PPA&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/&amp;n=Install+or+Upgrade+to+Firefox+3.6.6+in+Ubuntu+Using+PPA&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/&amp;title=Install+or+Upgrade+to+Firefox+3.6.6+in+Ubuntu+Using+PPA&amp;srcUrl=http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/&amp;srcTitle=Install+or+Upgrade+to+Firefox+3.6.6+in+Ubuntu+Using+PPA&amp;snippet=%0D%0AFirefox%203.6.6%20is%20ready%20to%20download.%0D%0A%0D%0AWhat%E2%80%99s%20New%20in%20Firefox%203.6.6%0D%0AFirefox%203.6.6%20modifies%20the%20crash%20protection%20feature%20to%20increase%20the%20amount%20of%20time%20that%20plugins%20are%20allowed%20to%20be%20non-responsive%20before%20being%20terminated.%0D%0A%0D%0APlease%20see%20the%20complete%20list%20of%20changes%20in%20this%20version.%20You%20may%20also%20b" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/06/install-or-upgrade-to-firefox-3-6-6-in-ubuntu-using-ppa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto install Rails 2.3, Ruby 1.9.1, MySQL 5.1 on Ubuntu Lucid 10.04</title>
		<link>http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/</link>
		<comments>http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/#comments</comments>
		<pubDate>Wed, 12 May 2010 18:54:31 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.dudu.web.id/?p=224</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.dudu.web.id/wp-content/uploads/2010/05/rails-ubuntu.png" alt="" /><br />
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.<br />
Prerequsites</p>
<p>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.<br />
<span id="more-224"></span></p>
<pre class="brush: bash;">
$ sudo apt-get -y install libc6-dev libssl-dev libmysql++-dev libsqlite3-dev make build-essential libssl-dev libreadline5-dev zlib1g-dev
</pre>
<p><strong>Install Ruby 1.9.1 from source<br />
</strong></p>
<pre class="brush: bash;">
$ cd /tmp
$ mkdir src
$ cd src
$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p378.tar.bz2
$ tar xjvf ruby-1.9.1-p378.tar.bz2
$ cd ruby-19.1-p378
$ ./configure --prefix=/usr/local
$ sudo make &amp;&amp; sudo make install</pre>
<p>You can check if Ruby has been installed successfully by</p>
<pre class="brush: bash;">
$ ruby -v</pre>
<p>and it should output</p>
<pre class="brush: bash;">
ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]
</pre>
<p>Should you see the “Happy new Ruby” returned, then your installation is ready to go</p>
<pre class="brush: bash;">
ruby -ropenssl -rzlib -rreadline -e "puts 'Happy new Ruby'"
</pre>
<p>Ruby 1.9 bundles RubyGem so you don’t have to install it<br />
<strong>Install SQLite3 and MySQL 5.1</strong></p>
<pre class="brush: bash;">
$ sudo apt-get install mysql-server-5.1 sqlite3
</pre>
<p>Please make sure you set a password for MySQL server.<br />
<strong>Install Rails and essential gems</strong></p>
<pre class="brush: bash;">
$ sudo gem update --system
$ sudo gem install mysql rails rack rake mysql sqlite3-ruby
$ sudo gem install ruby-debug19 -- --with-ruby-include=./ruby-1.9.1-p378/
</pre>
<p>We can check if all gems are installed successfully</p>
<pre class="brush: bash;">
$ gem list
</pre>
<p>and it should list</p>
<pre class="brush: bash;">
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
mysql (2.8.1)
rubygems-update (1.3.5)
sqlite3-ruby (1.2.5)
</pre>
<p>Now you can generate your own Rails app.</p>
<p>source : <a href="http://joneslee85.wordpress.com/2010/02/09/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/">http://joneslee85.wordpress.com/2010/02/09/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/&amp;title=Howto+install+Rails+2.3%2C+Ruby+1.9.1%2C+MySQL+5.1+on+Ubuntu+Lucid+10.04" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/&amp;title=Howto+install+Rails+2.3%2C+Ruby+1.9.1%2C+MySQL+5.1+on+Ubuntu+Lucid+10.04" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/&amp;t=Howto+install+Rails+2.3%2C+Ruby+1.9.1%2C+MySQL+5.1+on+Ubuntu+Lucid+10.04" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Howto+install+Rails+2.3%2C+Ruby+1.9.1%2C+MySQL+5.1+on+Ubuntu+Lucid+10.04+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Howto+install+Rails+2.3%2C+Ruby+1.9.1%2C+MySQL+5.1+on+Ubuntu+Lucid+10.04&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/&amp;n=Howto+install+Rails+2.3%2C+Ruby+1.9.1%2C+MySQL+5.1+on+Ubuntu+Lucid+10.04&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/&amp;title=Howto+install+Rails+2.3%2C+Ruby+1.9.1%2C+MySQL+5.1+on+Ubuntu+Lucid+10.04&amp;srcUrl=http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/&amp;srcTitle=Howto+install+Rails+2.3%2C+Ruby+1.9.1%2C+MySQL+5.1+on+Ubuntu+Lucid+10.04&amp;snippet=%0D%0AWell%2C%20I%20am%20abit%20ahead%20of%20the%20release%20date.%20This%20tutorial%20is%20done%20on%20Ubuntu%20Lucid%2010.04%20beta%20and%20I%20would%20not%20expect%20there%20would%20be%20major%20changes%20in%20final%20release%20that%20could%20disrupt%20any%20instructions%20listed%20here.%0D%0APrerequsites%0D%0A%0D%0AUbuntu%20repository%20contains%20Ruby%201.9.1%20package%20however%20this%20package%20suff" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/05/howto-install-rails-2-3-ruby-1-9-1-mysql-5-1-on-ubuntu-lucid-10-04/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing Ruby on Rails on Debian/Ubuntu</title>
		<link>http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/</link>
		<comments>http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/#comments</comments>
		<pubDate>Thu, 06 May 2010 19:25:09 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.dudu.web.id/?p=218</guid>
		<description><![CDATA[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. Installation Make sure Apache 2 and MySQL already installed Install build-essential, paste code below in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dudu.web.id/wp-content/uploads/2010/05/rails-ubuntu.png"><img src="http://www.dudu.web.id/wp-content/uploads/2010/05/rails-ubuntu.png" alt="" title="rails-ubuntu" width="400" height="246" class="aligncenter size-full wp-image-220" /></a><br />
<strong>Ruby on Rails</strong><br />
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.<br />
<span id="more-218"></span><br />
<strong>Installation</strong></p>
<ol>
<li>Make sure Apache 2 and MySQL already installed</li>
<li>Install build-essential, paste code below in your console
<pre class="brush: bash;">
sudo apt-get install build-essential
</pre>
</li>
<li>Install Ruby and others components
<pre class="brush: bash;">sudo apt-get install ruby ri rdoc irb ruby-dev libruby libmysql-ruby libopenssl-ruby libmysqlclient-dev sqlite3 libsqlite3-ruby libsqlite3-dev</pre>
</li>
<li>Install RubyGems
<pre class="brush: bash;">
sudo apt-get install rubygems
</pre>
</li>
<li>Install Rails
<pre class="brush: bash;">
sudo gem install rails
</pre>
</li>
<li>Install Mongrel-Cluster
<pre class="brush: bash;">
sudo gem install mongrel_cluster
</pre>
</li>
<li>Install mysql and sqlite3 gem
<pre class="brush: bash;">
sudo gem install mysql sqlite3-ruby
</pre>
</li>
<li>For optional I add this command to create symbolik link
<pre class="brush: bash;">
sudo ln -s /var/lib/gems/1.8/bin/rails /usr/bin/rails
sudo ln -s /var/lib/gems/1.8/bin/rake /usr/bin/rake
</pre>
</li>
</ol>
<p>Now test your installation, create rails applications with this command</p>
<pre class="brush: bash;">
rails testapp
cd testapp/
script/server
</pre>
<p>Then open http://localhost:3000, if successful will be the default screen out Ruby on Rails.</p>
<p>Note :</p>
<ul>
<li>Command above will create rails application using SQlite3 database</li>
<li>if you will create rails application using mysql database, change your command with
<pre class="brush: bash;">rails -d mysql &lt;nameapplication&gt;</pre>
</li>
</ul>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/&amp;title=Installing+Ruby+on+Rails+on+Debian%2FUbuntu" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/&amp;title=Installing+Ruby+on+Rails+on+Debian%2FUbuntu" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/&amp;t=Installing+Ruby+on+Rails+on+Debian%2FUbuntu" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Installing+Ruby+on+Rails+on+Debian%2FUbuntu+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Installing+Ruby+on+Rails+on+Debian%2FUbuntu&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/&amp;n=Installing+Ruby+on+Rails+on+Debian%2FUbuntu&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/&amp;title=Installing+Ruby+on+Rails+on+Debian%2FUbuntu&amp;srcUrl=http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/&amp;srcTitle=Installing+Ruby+on+Rails+on+Debian%2FUbuntu&amp;snippet=%0D%0ARuby%20on%20Rails%0D%0ARuby%20on%20Rails%20is%20an%20open%20source%20web%20framework%20for%20developing%20database%20backed%20web%20applications.%20It%20is%20optimized%20for%20sustainable%20productivity%20of%20the%20programmer%20since%20it%20lets%20the%20programmer%20to%20write%20code%20by%20favouring%20convention%20over%20configuration.%0D%0A%0D%0AInstallation%0D%0A%0D%0A%09Make%20sure%20Apache%202" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/05/installing-ruby-on-rails-on-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Fn Keys On Your Asus EeePC and Ubuntu 10.04 Lucid Lynx</title>
		<link>http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Wed, 05 May 2010 20:44:19 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[EEEPC]]></category>
		<category><![CDATA[Lucid]]></category>

		<guid isPermaLink="false">http://www.dudu.web.id/?p=213</guid>
		<description><![CDATA[It&#8217;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&#8217;s always something on my main computer or netbook which doesn&#8217;t work out of the box and needs tweaking. I really didn&#8217;t expect the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dudu.web.id/wp-content/uploads/2010/05/lucid.jpg"><img class="aligncenter size-full wp-image-214" title="lucid" src="http://www.dudu.web.id/wp-content/uploads/2010/05/lucid.jpg" alt="" width="500" height="372" /></a><br />
It&#8217;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&#8217;s always something on my main computer or netbook which doesn&#8217;t work out of the box and needs tweaking.</p>
<p>I really didn&#8217;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&#8217;t know if it works on others) and unfortunately I was right. However, the fix is very quick. Here&#8217;s what you have to do.<br />
<span id="more-213"></span><br />
Notice: editing the Grub can be dangerous so be very careful not to change anything else!</p>
<p><strong>To enable the Fn keys on an Asus EeePC 1005HA (possibly other models too) with Ubuntu 10.04 Lucid Lynx, open a terminal and type:</strong></p>
<pre class="brush: bash;">
sudo gedit /etc/default/grub
</pre>
<p>and search for the line that says:</p>
<pre class="brush: bash;">
GRUB_CMDLINE_LINUX_DEFAULT
</pre>
<p>This line should originally look like this:</p>
<pre class="brush: bash;">GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot;</pre>
<p>Add <strong>acpi_osi=Linux</strong> to the end of the line, before the closing quote. Basically after you edit it, the line should look like this:</p>
<pre class="brush: bash;">
GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash acpi_osi=Linux&quot;
</pre>
<p>Once you&#8217;re done, save the file and run the following command:</p>
<pre class="brush: bash;">
sudo update-grub
</pre>
<p>Now reboot!</p>
<p>source : <a href="http://www.webupd8.org/2010/05/enable-fn-keys-on-your-asus-eeepc-and.html">http://www.webupd8.org/2010/05/enable-fn-keys-on-your-asus-eeepc-and.html</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/&amp;title=Enable+Fn+Keys+On+Your+Asus+EeePC+and+Ubuntu+10.04+Lucid+Lynx" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/&amp;title=Enable+Fn+Keys+On+Your+Asus+EeePC+and+Ubuntu+10.04+Lucid+Lynx" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/&amp;t=Enable+Fn+Keys+On+Your+Asus+EeePC+and+Ubuntu+10.04+Lucid+Lynx" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Enable+Fn+Keys+On+Your+Asus+EeePC+and+Ubuntu+10.04+Lucid+Lynx+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Enable+Fn+Keys+On+Your+Asus+EeePC+and+Ubuntu+10.04+Lucid+Lynx&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/&amp;n=Enable+Fn+Keys+On+Your+Asus+EeePC+and+Ubuntu+10.04+Lucid+Lynx&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/&amp;title=Enable+Fn+Keys+On+Your+Asus+EeePC+and+Ubuntu+10.04+Lucid+Lynx&amp;srcUrl=http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/&amp;srcTitle=Enable+Fn+Keys+On+Your+Asus+EeePC+and+Ubuntu+10.04+Lucid+Lynx&amp;snippet=%0D%0AIt%27s%20both%20nice%20and%20bad%20when%20I%20upgrade%20to%20a%20newer%20Ubuntu%20version.%20The%20good%20part%20is%20I%20have%20lots%20of%20posts%20material%20for%20the%20blog%20but%20the%20bad%20part%20is%20there%27s%20always%20something%20on%20my%20main%20computer%20or%20netbook%20which%20doesn%27t%20work%20out%20of%20the%20box%20and%20needs%20tweaking.%0D%0A%0D%0AI%20really%20didn%27t%20expect%20the%20Fn%20keys%20to%20wo" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/05/enable-fn-keys-on-your-asus-eeepc-and-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Codeigniter Dasar – Menghapus data dengan Jquery</title>
		<link>http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/</link>
		<comments>http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 09:55:19 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[CRUD]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Delete]]></category>
		<category><![CDATA[Edit]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.dudu.web.id/?p=209</guid>
		<description><![CDATA[Untuk menghapus data menggunakan Ajax dengan Jquery, sebenarnya tidk terlalu sulit. Dengan menggunakan data yang terdahulu pernah kita buat. Kita mempunyai 2 view yaitu show.php dan input.php. Ubah show.php untuk meletakkan fungsi Jquery yang digunakan untuk mengirim data secara Ajax dan memanggil Controller untuk menghapus data. Kemudian Jquery akan menghilangkan baris dengan triger class pada [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dudu.web.id/wp-content/uploads/2010/04/jquery.png"><img class="aligncenter size-full wp-image-210" title="jquery" src="http://www.dudu.web.id/wp-content/uploads/2010/04/jquery.png" alt="" width="450" height="300" /></a><br />
Untuk menghapus data menggunakan Ajax dengan Jquery, sebenarnya tidk terlalu sulit. Dengan menggunakan data yang terdahulu pernah kita buat. Kita mempunyai 2 view yaitu show.php dan input.php. Ubah show.php untuk meletakkan fungsi Jquery yang digunakan untuk mengirim data secara Ajax dan memanggil Controller untuk menghapus data. Kemudian Jquery akan menghilangkan baris dengan triger class pada barisnya dengan fungsi animate. Ah terlalu bertele-tele hahahaha bikin ribet, padahal dalam codingnya tidak terlalu banyak perubahan.<br />
<span id="more-209"></span><br />
Tambahkan script berikut pada view show.php pada aplikasi ci_ku yang kita buat sebelumnya <img src='http://dudu.web.id/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , sehingga show.php akan menjadi seperti berikut :</p>
<pre class="brush: php;">
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {

 $(&quot;.delbutton&quot;).click(function(){

 //Save the link in a variable called element
 var element = $(this);

 //Find the id of the link that was clicked
 var del_id = element.attr(&quot;id&quot;);

 //Built a url to send
 var info = 'id=' + del_id;
 if(confirm(&quot;Anda yakin akan menghapus?&quot;))
 {
 $.ajax({
 type: &quot;POST&quot;,
 url : &quot;&lt;?php echo site_url('daily/delete')?&gt;&quot;,
 data: info,
 success: function(){
 }
 });

 $(this).parents(&quot;.record&quot;).animate({ opacity: &quot;hide&quot; }, &quot;slow&quot;);

 }

 return false;

 });

})
&lt;/script&gt;
&lt;b&gt;Daily Notes&lt;/b&gt;
&lt;table border=&quot;1&quot;&gt;
 &lt;tr&gt;
 &lt;th&gt;No&lt;/th&gt;
 &lt;th&gt;Date&lt;/th&gt;
 &lt;th&gt;Name&lt;/th&gt;
 &lt;th&gt;Amount&lt;/th&gt;
 &lt;th&gt;Delete&lt;/th&gt;
 &lt;/tr&gt;
 &lt;?
 $i=0;
 foreach ($query as $row){
 $i++;
 echo &quot;&lt;tr class=\&quot;record\&quot;&gt;&quot;;
 echo    &quot;&lt;td&gt;$i&lt;/td&gt;&quot;;
 echo    &quot;&lt;td&gt;$row-&gt;date&lt;/td&gt;&quot;;
 echo    &quot;&lt;td&gt;$row-&gt;name&lt;/td&gt;&quot;;
 echo    &quot;&lt;td&gt;$row-&gt;amount&lt;/td&gt;&quot;;
 echo      &quot;&lt;td&gt;&lt;a class=\&quot;delbutton\&quot; id=\&quot;$row-&gt;id\&quot; href=\&quot;#\&quot; &gt;Delete&lt;/a&gt;&lt;/td&gt;&quot;;
 echo  &quot;&lt;/tr&gt;&quot;;
 }
 ?&gt;
&lt;/table&gt;
</pre>
<p>Perhatikan pada baris ke 53 yaitu pada bagian menampilkan link delete, tampak seperti di atas</p>
<pre class="brush: php;">
echo &quot;&lt;td&gt;&lt;a class=\&quot;delbutton\&quot; id=\&quot;$row-&gt;id\&quot;  href=\&quot;#\&quot; &gt;Delete&lt;/a&gt;&lt;/td&gt;&quot;;</pre>
<p>Script javascript di ataslah (baris 133) yang digunakan Jquery untuk mengirimkan data ke controller daily dan menjalankan fungsi delete. Kemudian ubah link delete (baris 53), tambahkan id sebagai data yang akan dihapus dan class delbutton sebagai triger pada Jquery untuk menjalankan fungsi hapus ini.<br />
Jangan lupa ubah controller daily pada fungsi delete menjadi seperti dibawah ini :</p>
<pre class="brush: php;">
function delete()
 {
 $id = $this-&gt;input-&gt;post('id');
 $this-&gt;db-&gt;delete('daily', array('id' =&gt; $id));
 }
</pre>
<p>Selesai.. Saya ingin membuat halaman demonya, tetapi belum sempat. Kalo mau download source lengkapnya silahkan ambil di <a href="http://www.dudu.web.id/downloads/ci_ku.zip">sini</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/&amp;title=Codeigniter+Dasar+%E2%80%93+Menghapus+data+dengan+Jquery" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/&amp;title=Codeigniter+Dasar+%E2%80%93+Menghapus+data+dengan+Jquery" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/&amp;t=Codeigniter+Dasar+%E2%80%93+Menghapus+data+dengan+Jquery" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Codeigniter+Dasar+%E2%80%93+Menghapus+data+dengan+Jquery+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Codeigniter+Dasar+%E2%80%93+Menghapus+data+dengan+Jquery&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/&amp;n=Codeigniter+Dasar+%E2%80%93+Menghapus+data+dengan+Jquery&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/&amp;title=Codeigniter+Dasar+%E2%80%93+Menghapus+data+dengan+Jquery&amp;srcUrl=http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/&amp;srcTitle=Codeigniter+Dasar+%E2%80%93+Menghapus+data+dengan+Jquery&amp;snippet=%0D%0AUntuk%20menghapus%20data%20menggunakan%20Ajax%20dengan%20Jquery%2C%20sebenarnya%20tidk%20terlalu%20sulit.%20Dengan%20menggunakan%20data%20yang%20terdahulu%20pernah%20kita%20buat.%20Kita%20mempunyai%202%20view%20yaitu%20show.php%20dan%20input.php.%20Ubah%20show.php%20untuk%20meletakkan%20fungsi%20Jquery%20yang%20digunakan%20untuk%20mengirim%20data%20secara%20Ajax%20dan%20memanggil" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/04/codeigniter-dasar-menghapus-data-dengan-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Codeigniter Dasar – Belajar AJAX dengan JQuery</title>
		<link>http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/</link>
		<comments>http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 09:35:37 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[CRUD]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.dudu.web.id/?p=207</guid>
		<description><![CDATA[jQuery adalah pustaka JavaScript kecil bersumber terbuka yang menekankan pada interaksi antara JavaScript dan HTML. Pustaka ini dirilis pada Januari 2006 di BarCamp NYC oleh John Resig dan berlisensi ganda di bawah Lisensi MIT dan GPL. (sumber : wikipedia). Sudah ya artiinnya.. Ya seperti itulah, cari aja definisi yang tepat. Saya pengen belajar untuk mengaplikasikan [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jquery.com/" target="_blank">jQuery</a> adalah pustaka JavaScript kecil bersumber terbuka yang menekankan pada interaksi antara JavaScript  dan HTML. Pustaka ini dirilis pada Januari 2006 di BarCamp NYC oleh John Resig dan berlisensi ganda di bawah Lisensi MIT  dan GPL. (sumber : <a href="http://id.wikipedia.org/wiki/JQuery" target="_blank">wikipedia</a>). Sudah ya artiinnya.. Ya seperti itulah, cari aja definisi yang tepat.</p>
<p>Saya pengen belajar untuk mengaplikasikan AJAX dengan menggunakan JQuery. Pada aplikasi sebelumnya, yang saya buat adalah insert data menggunakan PHP biasa, sekarang akan saya tambahkan AJAX dengan menggunakan JQuery untuk insert data. (Selanjutnya nanti akan di buat fungsi delete, pasa saya ada mood hehehe)<br />
<span id="more-207"></span><br />
Pada input.php tambahkan script javascript yang berisi fungsi AJax menggunakan JQuery, jangan lupa pada head juga ditambahkan fungsi untuk memanggil JQuerynya. Sehingga input.php akan tampak seperti berikut :</p>
<pre class="brush: php;">

&lt;!DOCTYPE HTML&gt;
&lt;html lang=&quot;en-US&quot;&gt;
&lt;head&gt;
&lt;title&gt;Daily Notes&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h2 &gt;Daily Notes&lt;/h2&gt;
&lt;div id=&quot;form_input&quot;&gt;
... //kode sebelumnya
&lt;/div&gt;
&lt;div id=&quot;show&quot;&gt;
&lt;?php $this-&gt;load-&gt;view('daily/show') ?&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$('#submit').click(function(){
var form_data = {
date: $('#date').val(),
name: $('#name').val(),
amount: $('#amount').val(),
ajax:1
};

$.ajax({
url : &quot;&lt;?php echo site_url('daily/submit')?&gt;&quot;,
type : 'POST',
data : form_data,
success: function(msg){
$('#show').html(msg),
$('#date').val('&lt;?php echo date('Y-m-d'); ?&gt;'),
$('#name').val(''),
$('#amount').val('')
}

});

return false;
});
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Sedangkan pada controller daily.php pada fungsi submit di ubah menjadi seperti berikut :</p>
<pre class="brush: php;">

function submit()
{
if ($this-&gt;input-&gt;post('ajax'))
{
$this-&gt;MDaily-&gt;save();
$data['query'] = $this-&gt;MDaily-&gt;getAll();
$this-&gt;load-&gt;view('daily/show',$data);
}else{
if ($this-&gt;input-&gt;post('submit'))
{
$this-&gt;MDaily-&gt;save();
}
redirect('daily/index');
}

}
</pre>
<p>Sekarang coba untuk input data, semoga berhasil&#8230;&#8230;&#8230;.</p>
<p>Catatan, saya memanggil jquery langsung dari webnya, sehingga agar bisa di jalankan selcara offline, donload dahulu jquerynya, kemudian arahkan ke jquery tersebut, sebagai contoh file jquery saya letakkan di direktori /javascript/jquery-1.3.2.js, maka baris ke lima di ubah menjadi</p>
<pre class="brush: php;">
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo base_url(); ?&gt;javascript/jquery-1.3.2.js&quot;&gt;&lt;/script&gt;
</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/&amp;title=Codeigniter+Dasar+%E2%80%93+Belajar+AJAX+dengan+JQuery" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/&amp;title=Codeigniter+Dasar+%E2%80%93+Belajar+AJAX+dengan+JQuery" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/&amp;t=Codeigniter+Dasar+%E2%80%93+Belajar+AJAX+dengan+JQuery" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Codeigniter+Dasar+%E2%80%93+Belajar+AJAX+dengan+JQuery+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Codeigniter+Dasar+%E2%80%93+Belajar+AJAX+dengan+JQuery&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/&amp;n=Codeigniter+Dasar+%E2%80%93+Belajar+AJAX+dengan+JQuery&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/&amp;title=Codeigniter+Dasar+%E2%80%93+Belajar+AJAX+dengan+JQuery&amp;srcUrl=http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/&amp;srcTitle=Codeigniter+Dasar+%E2%80%93+Belajar+AJAX+dengan+JQuery&amp;snippet=jQuery%20adalah%20pustaka%20JavaScript%20kecil%20bersumber%20terbuka%20yang%20menekankan%20pada%20interaksi%20antara%20JavaScript%20%20dan%20HTML.%20Pustaka%20ini%20dirilis%20pada%20Januari%202006%20di%20BarCamp%20NYC%20oleh%20John%20Resig%20dan%20berlisensi%20ganda%20di%20bawah%20Lisensi%20MIT%20%20dan%20GPL.%20%28sumber%20%3A%20wikipedia%29.%20Sudah%20ya%20artiinnya..%20Ya%20seperti%20itulah%2C%20" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/04/codeigniter-dasar-belajar-ajax-dengan-jquery/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Codeigniter dasar – Menampilkan dan Menghapus Data</title>
		<link>http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/</link>
		<comments>http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 08:50:47 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[CRUD]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Delete]]></category>
		<category><![CDATA[Edit]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.dudu.web.id/?p=200</guid>
		<description><![CDATA[Setelah berhasil memasukkan data ke table, sekarang cara untuk menampilkan data tersebut. Agar lebih simple, saya akan membuat tampilan 1 tampilan saja. Jadi di bawah form input data, akan terdapat table untuk menampilkan data yang telah dimasukkan tadi. Seperti gambar berikut ini : Lets go igniting the code &#8230;. Kalo dilihat dari algoritmanya, ketika kita [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Setelah berhasil <a href="http://www.dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/">memasukkan data ke table</a>, sekarang cara untuk menampilkan data tersebut. Agar lebih simple, saya akan membuat tampilan 1 tampilan saja. Jadi di bawah form input data, akan terdapat table untuk menampilkan data yang telah dimasukkan tadi. Seperti gambar berikut ini  :</p>
<p style="text-align: center;"><a href="http://www.dudu.web.id/wp-content/uploads/2010/04/show.png"><img class="aligncenter size-full wp-image-201" title="show" src="http://www.dudu.web.id/wp-content/uploads/2010/04/show.png" alt="" width="398" height="344" /></a></p>
<p>Lets go igniting the code <img src='http://dudu.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> &#8230;.</p>
<p><span id="more-200"></span></p>
<p>Kalo dilihat dari algoritmanya, ketika kita mengakses daily/index, maka yang dilakukan adalah mengambil data dan menampilkannya (secara sederhananya seperti itu.) Sehingga controller daily pada bagian function kita tambahkan menjadi seperti berikut :</p>
<pre class="brush: php;">
&lt;?php
class Daily extends Controller
{
… //kode sebelumnya

function index()
{
$data['query'] = $this-&gt;MDaily-&gt;getAll();
$this-&gt;load-&gt;view('daily/input',$data);
}

...//kode sebelumnya
}
</pre>
<p>1 baris untuk mengakses Model, kemudian baris selanjutnya menampilkan hasilnya ke dalam view.</p>
<p>Jangan lupa, pada model kita buat fungsi getAll untuk mengambil data dari table. Sehingga model Mdaily isinya sebagai berikut :</p>
<pre class="brush: php;">
&lt;?php
class MDaily extends Model
{
… //kode sebelumnya

function getAll()
{
$this-&gt;db-&gt;order_by('id','ASC');
$query = $this-&gt;db-&gt;get('daily');

return $query-&gt;result();
}

}
</pre>
<p>Dengan menggunakan Active Record pada codeigniter, perintah SQL digantikan dengan seperti di atas. Bisa juga dengan $this-&gt;db-&gt;query(“SELECT * FROM daily ORDER BY &#8216;id&#8217; ASC ”); sama saja, untuk Active Record Codeigniter dapat dibaca pada <a href="http://codeigniter.com/user_guide" target="_blank">user_guide Codeiginter</a>. Sangat lengkap di situ.</p>
<p>OK, selanjutnya setelah membuat Controller dan Model, sekarang menuju View. Kita buat view untuk menampilkan datanya. Saya beri nama show.php dan disimpan di views/daily/show.php Isinya sebagai berikut :</p>
<pre class="brush: php;">
&lt;b&gt;Daily Notes&lt;/b&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tr&gt;
&lt;tr&gt;
&lt;th&gt;No&lt;/th&gt;
&lt;th&gt;Date&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Amount&lt;/th&gt;
&lt;th&gt;Delete&lt;/th&gt;
&lt;/tr&gt;
&lt;/tr&gt;
&lt;?
$i=0;
foreach ($query as $row){
$i++;
echo &quot;&lt;tr class=\&quot;record\&quot;&gt;&quot;;
echo    &quot;&lt;td&gt;$i&lt;/td&gt;&quot;;
echo    &quot;&lt;td&gt;$row-&gt;date&lt;/td&gt;&quot;;
echo    &quot;&lt;td&gt;$row-&gt;name&lt;/td&gt;&quot;;
echo    &quot;&lt;td&gt;$row-&gt;amount&lt;/td&gt;&quot;;
echo  	&quot;&lt;td&gt;&lt;a href=\&quot;daily/delete/$row-&gt;id\&quot; &gt;Delete&lt;/a&gt;&lt;/td&gt;&quot;;
echo  &quot;&lt;/tr&gt;&quot;;
}
?&gt;
&lt;/table&gt;
</pre>
<p>Kenapa tidak full halaman html? Karena halaman ini cukup disisipkan pada input.php, kalo pada php biasa kita pakai include(show.php). Sehingga pada input.php ditambahkan baris berikut :</p>
<pre class="brush: php;">
&lt;!DOCTYPE HTML&gt;
&lt;html lang=&quot;en-US&quot;&gt;
&lt;head&gt;
&lt;title&gt;Daily Notes&lt;/title&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
...//kode sebelumnya

&lt;div id=&quot;list&quot;&gt;
&lt;?php $this-&gt;load-&gt;view('daily/show') ?&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Oh iya, pada show.php terdapat link untuk menghapus data, karena sudah terlanjur ya buat aja function untuk menghapus data, tambahkan funcion delete pada controller, sehingga controller menjadi seperti berikut :</p>
<pre class="brush: php;">
&lt;?php
class Daily extends Controller
{
...//kode sebelumnya

function delete($id){
$this-&gt;db-&gt;delete('daily', array('id' =&gt; $id));
redirect('daily/index');
}
}
</pre>
<p>Mudah bukan? Silahkan dicoba untuk memasukkan data dan menghapus data. Semoga berhasil..</p>
<p>Tutorial selanjutnya, kita coba memasukkan data dengan ajax menggunakan jquery ya?? OK!! Mudah ko, menurut saya lho&#8230;<br />
Happy Igniting..</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/&amp;title=Codeigniter+dasar+%E2%80%93+Menampilkan+dan+Menghapus+Data" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/&amp;title=Codeigniter+dasar+%E2%80%93+Menampilkan+dan+Menghapus+Data" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/&amp;t=Codeigniter+dasar+%E2%80%93+Menampilkan+dan+Menghapus+Data" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Codeigniter+dasar+%E2%80%93+Menampilkan+dan+Menghapus+Data+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Codeigniter+dasar+%E2%80%93+Menampilkan+dan+Menghapus+Data&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/&amp;n=Codeigniter+dasar+%E2%80%93+Menampilkan+dan+Menghapus+Data&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/&amp;title=Codeigniter+dasar+%E2%80%93+Menampilkan+dan+Menghapus+Data&amp;srcUrl=http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/&amp;srcTitle=Codeigniter+dasar+%E2%80%93+Menampilkan+dan+Menghapus+Data&amp;snippet=Setelah%20berhasil%20memasukkan%20data%20ke%20table%2C%20sekarang%20cara%20untuk%20menampilkan%20data%20tersebut.%20Agar%20lebih%20simple%2C%20saya%20akan%20membuat%20tampilan%201%20tampilan%20saja.%20Jadi%20di%20bawah%20form%20input%20data%2C%20akan%20terdapat%20table%20untuk%20menampilkan%20data%20yang%20telah%20dimasukkan%20tadi.%20Seperti%20gambar%20berikut%20ini%20%20%3A%0D%0A%0D%0ALets%20go%20igni" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/04/codeigniter-dasar-menampilkan-dan-menghapus-data/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Codeigniter Dasar – Membuat Insert Data</title>
		<link>http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/</link>
		<comments>http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 08:29:24 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[CRUD]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Insert]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.dudu.web.id/?p=193</guid>
		<description><![CDATA[Dalam tiap aplikasi, yang paling dasar adalah CRUD (Create Update Delete ) data. Sekarang saya ingin belajar bagaimana step by step membuat CRUD dengan Codeigniter. Tutorial ini sangat dasar, sehingga cocok bagi para pemula seperti saya . Pertama adalah membuat Insert data. Ceritanya saya mau membuat aplikasi pencatat pengeluaran keuangan harian saya (namanya juga ceritanya, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dudu.web.id/wp-content/uploads/2010/04/daily.png"><img class="aligncenter size-full wp-image-196" title="daily" src="http://www.dudu.web.id/wp-content/uploads/2010/04/daily.png" alt="" width="491" height="357" /></a></p>
<p>Dalam tiap aplikasi, yang paling dasar adalah CRUD (Create Update Delete ) data. Sekarang saya ingin belajar bagaimana step by step membuat CRUD dengan Codeigniter. Tutorial ini sangat dasar, sehingga cocok bagi para pemula seperti saya <img src='http://dudu.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Pertama adalah membuat Insert data.</p>
<p>Ceritanya saya mau membuat aplikasi pencatat pengeluaran keuangan harian saya (namanya juga ceritanya, jadi terserah saya ya&#8230;). Folder codeigniternya saya kasih nama <strong>ci_ku</strong>. Terus isi config.php yang diubah cuma bagian base_url aja (sesuaikan dengan folder aplikasi kamu).</p>
<p><strong>config.php</strong></p>
<pre class="brush: php;">
...
$config['base_url']	= &quot;http://localhost/ci_ku/&quot;;
…
</pre>
<p><span id="more-193"></span></p>
<p>File autoload.php dan database.php saya sebagai berikut (diringkas lho, ini cuma yang saya ubah, ga semua):</p>
<p><strong>autoload.php</strong></p>
<pre class="brush: php;">
...
$autoload['libraries'] = array('database');
....
$autoload['helper'] = array('url','form');
....
</pre>
<p><strong>database.php</strong></p>
<pre class="brush: php;">
...
$db['default']['hostname'] = &quot;localhost&quot;;
$db['default']['username'] = &quot;root&quot;;
$db['default']['password'] = &quot;&quot;;
$db['default']['database'] = &quot;ci_ku&quot;;
...
</pre>
<p>Pertama, kita buat dahulu table &#8216;daily&#8217; pada database untuk menyimpan data tersebut. Table daily bisa dibuat menggunakan perintah SQL sebagai berikut :</p>
<pre class="brush: php;">
CREATE TABLE `ci_ku`.`daily` (
`id` INT( 5 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`date` DATE NOT NULL ,
`name` VARCHAR( 64 ) NOT NULL ,
`amount` DOUBLE NOT NULL
) ENGINE = MYISAM ;
</pre>
<p>Lets go, mari membuat kodenya. Saya membuat view dengan nama input.php dan disimpan dalam direktori &#8216;views/daily/input.php&#8217;  isi input.php adalah sebagai berikut</p>
<pre class="brush: php;">
&lt;!DOCTYPE HTML&gt;
&lt;html lang=&quot;en-US&quot;&gt;
&lt;head&gt;
&lt;title&gt;Daily Notes&lt;/title&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h2 &gt;Daily Notes&lt;/h2&gt;
&lt;div id=&quot;form_input&quot;&gt;
&lt;table&gt;
&lt;?php echo form_open('daily/submit'); ?&gt;
&lt;tr&gt;
&lt;td&gt; &lt;?php echo form_label('Date : '); ?&gt;&lt;/td&gt;
&lt;td&gt; &lt;?php echo form_input('date',date('Y-m-d'),'id=&quot;date&quot;'); ?&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;?php echo form_label('Name : ');?&gt; &lt;/td&gt;
&lt;td&gt; &lt;?php echo form_input('name','','id=&quot;name&quot;'); ?&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;?php echo form_label('Amount : ');?&gt; &lt;/td&gt;
&lt;td&gt; &lt;?php echo form_input('amount','','id=&quot;amount&quot;'); ?&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;?php	echo form_submit('submit','Submit','id=&quot;submit&quot;'); echo form_close(); ?&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>View yg sangat sederhana, sangat dasar <img src='http://dudu.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  pasti mudah dipahami (setidaknya bagi saya hehehe). Selanjutnya untuk memproses view tersebut, kita buat controller dengan nama daily.php. Isi dari controller daily.php adalah sebagai berikut :</p>
<pre class="brush: php;">
&lt;?php
class Daily extends Controller{
function __construct (){
parent::Controller();
$this-&gt;load-&gt;model('MDaily');
}

function index(){
$this-&gt;load-&gt;view('daily/input');
}

}
</pre>
<p>Sangat sederhana, karena baru memanggil fungsi index untuk memproses view yg tadi kita buat (pada baris ke 9). Terus untuk memproses ketika menyimpan data bagaimana? Oh ya hampir lupa ya <img src='http://dudu.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Pada input.php form yang kita buat, memiliki action ke &#8216;daily/submit&#8217;  itu berarti kita harus membuat fungsi submit pada controller untuk memproses data yang di masukkan. Fungsinya sederhana sebagai berikut :</p>
<pre class="brush: php;">
&lt;?php
class Daily extends Controller{
//...kode sebelumnya...

function submit(){
if ($this-&gt;input-&gt;post('submit'))
{
$this-&gt;MDaily-&gt;save();
}
redirect('daily/index');
}
}
</pre>
<p>Intinya sih memanggil Model Mdaily dan menjalankan fungsi save pada model Mdaily. Setelah itu di redirect/diarahkan ke view (&#8216;daily/index&#8217;)</p>
<p>Selanjutnya membuat model Mdaily dan fungsi save untuk menyimpan data tadi. Isinya sebagi berikut:</p>
<pre class="brush: php;">
&lt;?php
class MDaily extends Model{
function __construct ()
{
parent::Model();
}

function save()
{
$date = $this-&gt;input-&gt;post('date');
$name = $this-&gt;input-&gt;post('name');
$amount=$this-&gt;input-&gt;post('amount');
$data = array(
'date'=&gt;$date,
'name'=&gt;$name,
'amount'=&gt;$amount
);
$this-&gt;db-&gt;insert('daily',$data);
}

}
</pre>
<p>Kayanya udah jelas ya?? Sekarang udah bisa dicoba masukin data trus check deh tabelnya pake mysql atau phpmyadmin, udah masuk belum?</p>
<p>Oh ya, hampir lupa, kalo ngakses aplikasi ini di</p>
<pre class="brush: php;">http://localhost/ci_ku/index.php/daily </pre>
<p>Terus nampilin datanya gmn donk?? Sabar, biar ga kepanjangan kita teruskan pada cerita berikutnya ya.. Happy Igniting..</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/&amp;title=Codeigniter+Dasar+%E2%80%93+Membuat+Insert+Data" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/&amp;title=Codeigniter+Dasar+%E2%80%93+Membuat+Insert+Data" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/&amp;t=Codeigniter+Dasar+%E2%80%93+Membuat+Insert+Data" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Codeigniter+Dasar+%E2%80%93+Membuat+Insert+Data+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Codeigniter+Dasar+%E2%80%93+Membuat+Insert+Data&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/&amp;n=Codeigniter+Dasar+%E2%80%93+Membuat+Insert+Data&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/&amp;title=Codeigniter+Dasar+%E2%80%93+Membuat+Insert+Data&amp;srcUrl=http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/&amp;srcTitle=Codeigniter+Dasar+%E2%80%93+Membuat+Insert+Data&amp;snippet=%0D%0A%0D%0ADalam%20tiap%20aplikasi%2C%20yang%20paling%20dasar%20adalah%20CRUD%20%28Create%20Update%20Delete%20%29%20data.%20Sekarang%20saya%20ingin%20belajar%20bagaimana%20step%20by%20step%20membuat%20CRUD%20dengan%20Codeigniter.%20Tutorial%20ini%20sangat%20dasar%2C%20sehingga%20cocok%20bagi%20para%20pemula%20seperti%20saya%20%3AD.%20Pertama%20adalah%20membuat%20Insert%20data.%0D%0A%0D%0ACeritanya%20saya%20m" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/04/codeigniter-dasar-membuat-insert-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Convert CHM Files To PDF In Linux?</title>
		<link>http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/</link>
		<comments>http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 10:06:24 +0000</pubDate>
		<dc:creator>dudu</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Chm]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://www.dudu.web.id/?p=190</guid>
		<description><![CDATA[file CHM umumnya ditemukan pada sistem operasi Windows (MS Windows Help File Format). Format ini memudahkan pengarsipan file html ke dalam satu file tunggal, termasuk gambar dan lainnya. Sekarang, Linux dan mac tidak memiliki dukungan built-in untuk menangani file CHM. Dalam artikel ini akan dijelaskan bagaimana mengkonversi file CHM ke file PDF di Linux. Langkah [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="CHM 2 PDF" src="http://digitizor.com/wp-content/uploads/2010/03/lin-chm-pdf.png" alt="" width="323" height="156" /></p>
<p>file CHM umumnya ditemukan pada sistem operasi Windows (MS Windows Help File Format). Format ini memudahkan pengarsipan file html ke dalam satu file tunggal, termasuk gambar dan lainnya. Sekarang, Linux dan mac tidak memiliki dukungan built-in untuk menangani file CHM.  Dalam artikel ini akan dijelaskan bagaimana mengkonversi file CHM ke file PDF di Linux.</p>
<p><span id="more-190"></span></p>
<p>Langkah 1 : install paket <a href="http://code.google.com/p/chm2pdf/" target="_blank">chm2pdf</a></p>
<ul>
<li>debian/ubuntu:</li>
<pre class="brush: bash;">sudo apt-get install libchm-bin</pre>
<li>fedora/redhat/suse:</li>
<pre class="brush: bash;">sudo yum -y install chmlib</pre>
</ul>
<p>Langkah 2: Untuk mengkonversi file CHM agar setara PDF, yang perlu Anda lakukan adalah melakukan perintah seperti berikut :</p>
<pre class="brush: bash;">    chm2pdf  –book &lt;yourCHM.chm&gt;   &lt;outputname.pdf&gt;</pre>
<p>Setelah pelaksanaan perintah ini, Anda akan melihat sebuah file pdf dalam direktori yang sama File CHM Anda yang baru saja dikonversi. Jika Anda memiliki masalah tentang, maka Anda dapat menggunakan <a href="http://code.google.com/p/chm2pdf/wiki/HowToUse" target="_blank">FAQs</a>.</p>
<p>sumber : <a href="http://digitizor.com/2010/03/11/how-to-convert-chm-files-to-pdf-in-linux/" target="_blank">http://digitizor.com/2010/03/11/how-to-convert-chm-files-to-pdf-in-linux/</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/&amp;title=How+To+Convert+CHM+Files+To+PDF+In+Linux%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/&amp;title=How+To+Convert+CHM+Files+To+PDF+In+Linux%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/&amp;t=How+To+Convert+CHM+Files+To+PDF+In+Linux%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+To+Convert+CHM+Files+To+PDF+In+Linux%3F+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;How+To+Convert+CHM+Files+To+PDF+In+Linux%3F&quot;+-+from+" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/&amp;n=How+To+Convert+CHM+Files+To+PDF+In+Linux%3F&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/&amp;title=How+To+Convert+CHM+Files+To+PDF+In+Linux%3F&amp;srcUrl=http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/&amp;srcTitle=How+To+Convert+CHM+Files+To+PDF+In+Linux%3F&amp;snippet=%0D%0A%0D%0Afile%20CHM%20umumnya%20ditemukan%20pada%20sistem%20operasi%20Windows%20%28MS%20Windows%20Help%20File%20Format%29.%20Format%20ini%20memudahkan%20pengarsipan%20file%20html%20ke%20dalam%20satu%20file%20tunggal%2C%20termasuk%20gambar%20dan%20lainnya.%20Sekarang%2C%20Linux%20dan%20mac%20tidak%20memiliki%20dukungan%20built-in%20untuk%20menangani%20file%20CHM.%20%20Dalam%20artikel%20ini%20akan%20di" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://dudu.web.id/2010/04/how-to-convert-chm-files-to-pdf-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
