<?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>Superdit.com &#187; Javascript</title>
	<atom:link href="http://superdit.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://superdit.com</link>
	<description>blogging, design, tech, and web</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:27:26 +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>10 Jquery Ajax File Uploader Plugins</title>
		<link>http://superdit.com/2010/06/29/10-jquery-ajax-file-uploader-plugins/</link>
		<comments>http://superdit.com/2010/06/29/10-jquery-ajax-file-uploader-plugins/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 08:49:36 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=1086</guid>
		<description><![CDATA[Creating ajax upload from a raw javascript or jquery is not that simple, when baking a simple website, I personally will use available plugin, so it can save me much time and effort, we have to thank that there a lot of developer out there that share their great works. 01. Plupload Allows you to [...]]]></description>
			<content:encoded><![CDATA[<p>Creating ajax upload from a raw javascript or jquery is not that simple, when baking a simple website, I personally will use available plugin, so it can save me much time and effort, we have to thank that there a lot of developer out there that share their great works.</p>
<h6>01. <a title="Pupload" href="http://www.plupload.com" target="_blank">Plupload</a></h6>
<p><a title="Pupload" href="http://www.plupload.com/" target="_blank"><img class="alignnone size-full wp-image-1217" title="plupload_com_example_queuewidget" src="http://superdit.com/wp-content/uploads/2010/06/plupload_com_example_queuewidget.png" alt="pupload example screen" width="484" height="405" /></a><span id="more-1086"></span></p>
<p>Allows you to upload files using HTML5 Gears, Silverlight, Flash, BrowserPlus or normal forms, providing some unique features such as upload progress, image resizing and chunked uploads,  Plupload is currently separated into a Core API  and a jQuery upload queue widget this enables you to either use it out of the box or write your own custom implementation, <a title="Pupload Example" href="http://www.plupload.com/example_queuewidget.php" target="_blank">demo</a>.</p>
<h6>02. <a title="Ajax Upload by Andrew Valums" href="http://valums.com/ajax-upload/" target="_blank">Ajax Upload</a> by <a title="Andrew Valums" href="http://valums.com/" target="_blank">Andrew Valums</a></h6>
<p><a title="Ajax Upload by Andrew Valums" href="http://valums.com/ajax-upload/" target="_blank"><img class="alignnone size-full wp-image-1148" title="Ajax-Upload_Andrew-Valumsscreen" src="http://superdit.com/wp-content/uploads/2010/06/Ajax-Upload_Andrew-Valumsscreen.png" alt="Ajax Upload by Andrew Valums" width="485" height="175" /></a></p>
<p>AJAX Upload allows you to easily upload multiple files without refreshing the page and use any element to show file selection window. It works in all major browsers and doesn’t require any library to run. AJAX Upload doesn’t pollute the global namespace, and is tested with jQuery, Prototypejs. This plugin is one of the most famous jquery uploader that require no flash. <a title="Ajax Upload by Andrew Valums Demo" href="http://valums.com/wp-content/uploads/ajax-upload/demo-jquery.htm" target="_blank">demo</a></p>
<h6>03. <a title="Ajax File Upload" href="http://www.phpletter.com/Our-Projects/AjaxFileUpload/" target="_blank">Ajax File Upload</a></h6>
<p><a title="Ajax File Upload" href="http://www.phpletter.com/Our-Projects/AjaxFileUpload/" target="_blank"><img class="alignnone size-full wp-image-1204" title="AjaxFileUpload-Demo" src="http://superdit.com/wp-content/uploads/2010/06/AjaxFileUpload-Demo.png" alt="AjaxFileUpload-Demo" width="484" height="150" /></a></p>
<p>This AjaxFileUpload Plugin is a hacked version of Ajaxupload plugin created by yvind Saltvik, which is really good enought for normal use. Its idea is to create a iframe and submit the specified form to it for further processing, <a title="Ajax File Upload Demo" href="http://www.phpletter.com/Demo/AjaxFileUpload-Demo/" target="_blank">demo</a>.</p>
<h6>03. <a title="jQuery Multiple=">jQuery Multiple File Upload Plugin</a> by <a href="http://www.fyneworks.com/">Fyneworks.com</a></h6>
<p><a title="jQuery Multiple="><img class="alignnone size-full wp-image-1176" title="jQuery_Multiple_File_Upload_Plugin" src="http://superdit.com/wp-content/uploads/2010/06/jQuery_Multiple_File_Upload_Plugin.png" alt="jQuery Multiple=" /></a></p>
<p>The Multiple File Upload Plugin (jQuery.MultiFile) is a non-obstrusive plugin for the jQuery Javascript library that helps users easily select multiple files for upload quickly and easily whilst also providing some basic validation functionality to help developers idenfity simple errors, without having to submit the form.</p>
<h6>04. <a title="jQuery Form Plugin - File Upload by malsup.com" href="http://malsup.com/jquery/form/file/" target="_blank">jQuery Form Plugin &#8211; File Upload</a> by <a title="http://malsup.com/" href="http://malsup.com/" target="_blank">malsup.com</a></h6>
<p><a title="malsup jquery form file" href="http://malsup.com/jquery/form/file/" target="_blank"><img class="alignnone size-full wp-image-1172" title="malsup_com_jquery_form_file" src="http://superdit.com/wp-content/uploads/2010/06/malsup_com_jquery_form_file.png" alt="malsup jquery form file" width="485" height="235" /></a></p>
<p>This plugin is a part of <a title="Jquery Form Plugin" href="http://malsup.com/jquery/form/" target="_blank">jQuery Form Plugin</a> it make you easier to submitting form using Ajax including the input file, and required no flash, <a title="malsup jquery form file" href="http://malsup.com/jquery/form/file/" target="_blank">demo</a>.</p>
<h6>05 . <a title="Uploadify" href="http://www.uploadify.com/" target="_blank">Uploadify</a></h6>
<p><a title="Uploadify" href="http://www.uploadify.com/" target="_blank"><img class="alignnone size-full wp-image-1153" title="Uploadify" src="http://superdit.com/wp-content/uploads/2010/06/Uploadify.png" alt="Uploadify Screen Demo" width="485" height="221" /></a></p>
<p>Uploadify is a jQuery plugin that allows the easy integration of a multiple (or single) file uploads on your website.  It requires Flash and any backend development language.  An array of options allow for full customization for advanced users, but basic implementation is so easy that even coding novices can do it. Uploadify free to be used in a number of applications and commercial products, <a title="Uploadify Demo" href="http://www.uploadify.com/demo" target="_blank">demo</a>.<a title="Uploadify Demo" href="http://www.uploadify.com/demo" target="_blank"><br />
</a></p>
<h6>06. <a title=" SWFUpload jQuery Plugin" href="http://blogs.bigfish.tv/adam/2009/06/14/swfupload-jquery-plugin/" target="_blank">SWFUpload jQuery Plugin</a> by <a title="Adam Royle" href="http://blogs.bigfish.tv/adam/" target="_blank">Adam Royle</a></h6>
<p><a title="SWFUpload jQuery Plugin" href="http://blogs.bigfish.tv/adam/2009/06/14/swfupload-jquery-plugin/" target="_blank"><img class="alignnone size-full wp-image-1194" title="swfupload-jquery-plugin" src="http://superdit.com/wp-content/uploads/2010/06/swfupload-jquery-plugin.png" alt="swfupload jquery plugin" width="485" height="240" /></a></p>
<p>This plugin created based on <a title="swfupload" href="http://swfupload.org/" target="_blank">SWFUpload</a> and Jquery, it support both single or mutiple file upload, and require flash, <a title="SWFUpload jQuery Plugin Multiple=">demo</a>.</p>
<h6>07. <a title="jqswfupload by Alexandre Magno" href="http://www.alexandremagno.net/blogs/jqswfupload/" target="_blank">jqswfupload</a> by <a title="Alexandre Magno" href="http://blog.alexandremagno.net/" target="_blank">Alexandre Magno</a></h6>
<p><a title="jqswfupload by Alexandre Magno" href="http://www.alexandremagno.net/blogs/jqswfupload/" target="_blank"><img class="alignnone size-full wp-image-1160" title="jqswfupload-screen" src="http://superdit.com/wp-content/uploads/2010/06/jqswfupload-screen.png" alt="jqswfupload-screen by jqswfupload-screen" width="485" height="192" /></a></p>
<p>This plugin is the easier way to make a multiple file upload using swfupload library. You can create a complete interface for multiupload files based on Flickr in just one line of code and them make custom settings to controll how works all the features, <a title="jqswfupload by Alexandre Magno demo" href="http://www.alexandremagno.net/jquery/plugins/upload/" target="_blank">demo</a>.</p>
<h6>08. <a title="jcUpload" href="http://www.jcupload.com/" target="_blank">jcUpload</a></h6>
<p><a title="jcUpload" href="http://www.jcupload.com/" target="_blank"><img class="alignnone size-full wp-image-1163" title="jcupload_demo" src="http://superdit.com/wp-content/uploads/2010/06/jcupload_demo.png" alt="jcupload_demo" width="485" height="164" /></a></p>
<p>It&#8217;s a small free plugin, that enables ajax-like file upload. It requires Adobe Flash player and jQuery JavaScript library. Plugin is freeware, <a title="jcUpload demo" href="http://www.jcupload.com/demo/" target="_blank">demo</a>.</p>
<h6>09. <a title="jqUploader" href="http://pixeline.be/experiments/jqUploader/" target="_blank">jqUploader</a></h6>
<p><a title="jqUploader" href="http://pixeline.be/experiments/jqUploader/" target="_blank"><img class="alignnone size-full wp-image-1173" title="jqUploader_demo" src="http://superdit.com/wp-content/uploads/2010/06/jqUploader_demo.png" alt="jqUploader" width="485" height="165" /></a></p>
<p>jqUploader is a jquery plugin that substitutes html file input fields with a flash-based file upload widget, allowing to display a progressbar and percentage. It is designed to take most of its customization from the html code of your form directly &#8211; so you don&#8217;t have to do things twice . For instance, the maximum file size, if specified via html, will be recognized and used in the rich upload interface generated by jqUploader. This plugin required flash, <a title="jqUploader Demo" href="http://pixeline.be/experiments/jqUploader/test.php" target="_blank">demo</a>.</p>
<h6>10. <a title="jqupload" href="http://jqframework.com/jqupload" target="_blank">jqupload</a> by <a title="jqframework" href="http://jqframework.com" target="_blank">jQframework</a></h6>
<p>From the site it got following feature Easy to integate to your application, easy to define your own logic. lightweight form uploader plugin, source file is just 2k, free and free of charge under the MIT License, <a title="jqupload demo" href="http://jqframework.com/jqupload_demo.html" target="_blank">demo</a>.</p>
<h6>11. <a title="jquery upload progress" href="http://www.nixbox.com/demos/jquery-uploadprogress.php" target="_blank">uploadprogress</a></h6>
<p><a title="jquery upload progress" href="http://www.nixbox.com/demos/jquery-uploadprogress.php" target="_blank"><img class="alignnone size-full wp-image-1168" title="jquery-uploadprogress-demo" src="http://superdit.com/wp-content/uploads/2010/06/jquery-uploadprogress-demo.png" alt="jquery upload progress screen" width="484" height="210" /></a></p>
<p>Plugin to augment a standard file upload form with transparent  background upload and add uploadprogress meter to keep client informed of progress. This is not really the plugin for uploading file, but just to help inform the progress of uploading file, <a title="jquery upload progress demo" href="http://www.nixbox.com/demos/jquery-uploadprogress.php" target="_blank">demo</a>.</p>
<p><strong>Other source that might be useful</strong></p>
<p><a href="http://kisdigital.wordpress.com/2010/03/30/easy-jquery-mutlifile-uploader/" target="_blank">http://kisdigital.wordpress.com/2010/03/30/easy-jquery-mutlifile-uploader/</a></p>
<p><a href="http://docs.jquery.com/Tutorials:Multiple_File_Upload_Magic" target="_blank">http://docs.jquery.com/Tutorials:Multiple_File_Upload_Magic</a></p>
<p><a href="http://www.fullfatcode.com/2009/06/06/jquery-ajax-uploader-plugin/" target="_blank">http://www.fullfatcode.com/2009/06/06/jquery-ajax-uploader-plugin/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2010/06/29/10-jquery-ajax-file-uploader-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unique Field Form Validation Using PHP and EXTJS</title>
		<link>http://superdit.com/2010/05/07/unique-field-form-validation-using-php-and-extjs/</link>
		<comments>http://superdit.com/2010/05/07/unique-field-form-validation-using-php-and-extjs/#comments</comments>
		<pubDate>Fri, 07 May 2010 10:10:41 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[Extjs]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=464</guid>
		<description><![CDATA[In this post I try to share my code about form validation in EXTJS, so why another EXTJS form validation tutorial? well, the EXTJS default form validation is quite great, but most sample that I&#8217;ve found it just using client side validation and the only server side validation is when the user press submit button. [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I try to share my code about form validation in <a title="EXTJS" href="http://www.extjs.com" target="_blank">EXTJS</a>, so why another EXTJS form validation tutorial? well, the EXTJS default form validation is quite great, but most sample that I&#8217;ve found it just using client side validation and the only server side validation is when the user press submit button. So in this post the I modified a bit code about custom form validation in EXTJS, and here I&#8217;m not using database. The expected result should be like this</p>
<p><img title="php-extjs-validation-screen" src="http://superdit.com/wp-content/uploads/2010/05/php-extjs-validation-screen.jpg" alt="" width="537" height="242" /><span id="more-464"></span></p>
<p>Let&#8217;s start :</p>
<p><strong>1. Include EXTJS file in html header</strong></p>
<pre class="brush: php;">
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;extjs/resources/css/ext-all.css&quot;/&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;extjs/adapter/ext/ext-base.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;extjs/ext-all.js&quot;&gt;&lt;/script&gt;
</pre>
<p><strong>2. Create The EXTJS form</strong></p>
<pre class="brush: jscript;">
&lt;script type=&quot;text/javascript&quot;&gt;
Ext.onReady(function(){
	var formRegister = new Ext.FormPanel({
		frame: false, border: false, buttonAlign: 'center',
		url: 'undefined', method: 'POST', id: 'frmRegister',
		bodyStyle: 'padding:10px 10px 15px 15px;background:#dfe8f6;',
		width: 300, labelWidth: 150,
		items: [{
			xtype: 'textfield',
			fieldLabel: 'Username',
			name: 'username',
			id: 'regUsername',
			allowBlank: false,
			vtype: 'uniqueusername'
		}, {
			xtype: 'textfield',
			fieldLabel: 'Password',
			name: 'password',
			allowBlank: false,
			inputType: 'password'
		}, {
			xtype: 'textfield',
			fieldLabel: 'Confirm Password',
			name: 'cpassword',
			allowBlank: false,
			inputType: 'password'
		}, {
			xtype: 'textfield',
			fieldLabel: 'Email',
			name: 'email',
			vtype:'email',
			allowBlank: false
		}
		],
		buttons: [
			{ text: 'Register' },
			{ text: 'Reset', handler: function() {
					formRegister.getForm().reset();
				}
			}
		]
	});

	var winRegister = new Ext.Window({
		title: 'CI_EXTJS &amp;mdash; User Register',
		layout: 'fit',
		width: 350,
		height: 190,
		y: 260,
		resizable: false,
		closable: false,
		items: [formRegister]
	});

	winRegister.show();
});
&lt;/script&gt;
</pre>
<p><strong>3. Code for modified custom validation</strong><br />
The idea is overiding the custom validation everytime it called</p>
<pre class="brush: jscript;">
&lt;script type=&quot;text/javascript&quot;&gt;
Ext.apply(Ext.form.VTypes, {
	uniqueusername : function(val, field) {
		var username = Ext.getCmp('regUsername').getValue();
		Ext.Ajax.request({
			url: 'check_username.php',
			method: 'POST',
			params: 'username=' + username,
			success: function(o) {
				if (o.responseText == 0) {
					setusernamevalidfalse();
				}
			}
		});
		return true;
	},

	uniqueusernameText : 'Username Already In Use'
});

function setusernamevalidfalse() {
	Ext.apply(Ext.form.VTypes, {
		uniqueusername : function(val, field) {
			var username = Ext.getCmp('regUsername').getValue();
			Ext.Ajax.request({
				url: 'check_username.php',
				method: 'POST',
				params: 'username=' + username,
				success: function(o) {
					if (o.responseText == 0) {
						setusernamevalidfalse();
					} else {
						setusernamevalidtrue();
					}
				}
			});
			return false;
		}
	});
}

function setusernamevalidtrue() {
	Ext.apply(Ext.form.VTypes, {
		uniqueusername : function(val, field) {
			var username = Ext.getCmp('regUsername').getValue();
			Ext.Ajax.request({
				url: 'check_username.php',
				method: 'POST',
				params: 'username=' + username,
				success: function(o) {
					if (o.responseText == 0) {
						setusernamevalidfalse();
					} else {
						setusernamevalidtrue();
					}
				}
			});
			return true;
		}
	});
}
&lt;/script&gt;
</pre>
<p><strong>4. The simple php file validation</strong><br />
For more advanced usage you can use some database connection, and I call it <em>check_username.php</em></p>
<pre class="brush: php;">
&lt;?php

$username_list = array('admin', 'administrator', 'superadmin', 'john', 'michael');
if (in_array($_POST['username'], $username_list)) {
	echo 0;
} else {
	echo 1;
}

?&gt;
</pre>
<p>You can download all files following the download link below, but i&#8217;m included EXTJS file you can download from the official site <a href="http://www.extjs.com/products/js/download.php" target="_blank">here</a>.</p>
<p><strong><a href="http://www.box.net/shared/g3u6ulcies" target="_blank"><strong>DOWNLOAD SOURCE</strong></a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2010/05/07/unique-field-form-validation-using-php-and-extjs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Table sorting collection using prototype javascript</title>
		<link>http://superdit.com/2010/01/31/table-sorting-collection-using-prototype-javascript/</link>
		<comments>http://superdit.com/2010/01/31/table-sorting-collection-using-prototype-javascript/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 01:28:30 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=301</guid>
		<description><![CDATA[In this post I want to show some solution to build sorting table using Prototype Javascript Framework, although the library is not really popular right now (maybe because of Jquery), the community is still live. Most of this script using default style, of course you can customize it. 1. Table Orderer Demo &#124; Download 2. Table [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I want to show some solution to build sorting table using <a href="http://www.prototypejs.org/" target="_blank">Prototype Javascript Framework</a>, although the library is not really popular right now (maybe because of <a href="http://jquery.com/" target="_blank">Jquery</a>), the community is still live. Most of this script using default style, of course you can customize it.</p>
<p><a href="http://prototools.negko.com/demo/tableorderer/" target="_blank"><strong>1. Table Orderer</strong></a></p>
<p><img class="alignnone size-full wp-image-307" src="http://superdit.com/wp-content/uploads/2010/01/table-prototype-01_table-orderer.png" alt="" width="334" height="144" /></p>
<p><a href="http://prototools.negko.com/demo/tableorderer/#Example" target="_blank">Demo</a> | <a href="http://prototools.negko.com/demo/tableorderer/tableorderer.zip">Download</a><span id="more-301"></span></p>
<p><a href="http://www.tom-mack.com/tablesort/" target="_blank"><strong>2. Table Sort</strong></a></p>
<p><img class="alignnone size-full wp-image-308" src="http://superdit.com/wp-content/uploads/2010/01/table-prototype-02_table-sorter.png" alt="" width="444" height="216" /></p>
<p><a href="http://www.tom-mack.com/tablesort/" target="_blank">Demo</a> | <a href="http://www.tom-mack.com/tablesort/sorttableOO.js">Download</a></p>
<p><a href="http://www.millstream.com.au/view/code/tablekit/" target="_blank"><strong>3. Tablekit</strong></a></p>
<p><img class="alignnone size-full wp-image-309" src="http://superdit.com/wp-content/uploads/2010/01/table-prototype-03_tablekit.png" alt="" width="408" height="172" /></p>
<p><a href="http://www.millstream.com.au/upload/code/tablekit/index.html" target="_blank">Demo</a> | <a href="http://www.millstream.com.au/upload/code/tablekit/tablekit1.2.2.zip">Download</a></p>
<p><a href="http://tetlaw.id.au/view/blog/table-sorting-with-prototype/" target="_blank"><strong>4. Table Sorting With Prototype</strong></a></p>
<p><img class="alignnone size-full wp-image-310" src="http://superdit.com/wp-content/uploads/2010/01/table-prototype-04_table-sorting-with-prototype.png" alt="" width="408" height="142" /></p>
<p><a href="http://tetlaw.id.au/upload/pages/table-sorting-with-prototype/" target="_blank">Demo</a> | <a href="http://tetlaw.id.au/upload/pages/table-sorting-with-prototype/tablesort.zip">Download</a></p>
<p><a href="http://rubyizednrailified.blogspot.com/2009/01/lightweight-javascript-table-sorter.html" target="_blank"><strong>5. Lighweight Table Sorting</strong></a></p>
<p><img class="alignnone size-full wp-image-311" src="http://superdit.com/wp-content/uploads/2010/01/table-prototype-05_lightweigth-table-sorting.png" alt="" width="288" height="226" /></p>
<p><a href="http://github.com/toamitkumar/dynamic-javascript-sort-with-prototype/tree/master" target="_blank">Download</a></p>
<p><a href="http://pabloaravena.info/mytablegrid/index.html" target="_blank"><strong>6. MyTableGrid</strong></a></p>
<p><img class="alignnone size-full wp-image-312" src="http://superdit.com/wp-content/uploads/2010/01/table-prototype-06_mytablegrid.png" alt="" width="450" height="304" /></p>
<p><a href="http://pabloaravena.info/mytablegrid/samples/sample1.html" target="_blank">Demo</a> | <a href="http://pabloaravena.info/mytablegrid/MyTableGrid1_0_9.zip" target="_blank">Download</a></p>
<p><a href="http://inventivelabs.com.au/weblog/post/sortable-tables-for-prototype/" target="_blank"><strong>7. Sortable for Prototype</strong></a></p>
<p><img class="alignnone size-full wp-image-313" src="http://superdit.com/wp-content/uploads/2010/01/table-prototype-07_sortable-for-prototype.png" alt="" width="295" height="94" /></p>
<p><a href="http://inventivelabs.com.au/weblog/post/sortable-tables-for-prototype/" target="_blank">Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2010/01/31/table-sorting-collection-using-prototype-javascript/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Simple steps to understanding ExtJS</title>
		<link>http://superdit.com/2009/08/21/simple-steps-to-understanding-extjs/</link>
		<comments>http://superdit.com/2009/08/21/simple-steps-to-understanding-extjs/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 02:39:40 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[Extjs]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[framework]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=113</guid>
		<description><![CDATA[ExtJS is one of the most popular javascript user interface framework, it offer a bunch of great user interface component, if you are a Java Programmer it better you use the Ext-GWT, but if you are a web programmer who always using web scripting language such as PHP, it may be painless if you learn [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://extjs.com" target="_blank">ExtJS</a> is one of the most popular javascript user interface framework, it offer a bunch of great user interface component, if you are a Java Programmer it better you use the Ext-GWT, but if you are a web programmer who always using web scripting language such as PHP, it may be painless if you learn the new web interface beside the traditional HTML, but i did it and mix it with <a href="http://codeigniter.com" target="_blank">Codeigniter</a> in purpose to create and maintain better PHP code, and it&#8217;s not really bad and here some advice I have for you :</p>
<p><strong>1. Follow the examples</strong></p>
<p><img class="size-medium wp-image-124 alignleft" title="Ext-Examples" src="http://superdit.com/wp-content/uploads/2009/08/Ext-Examples-300x183.png" alt="Ext-Examples" width="300" height="183" />ExtJS come with a bunch of great sample use of using widget, this provide the basic use of the component, creating plugin, etc. This is the best way to know what you can do with the component and how to implement the component by viewing the source code, if you somehow don&#8217;t understand what the code means, simply you can consult the API documentation first. Just <a href="http://extjs.com/products/extjs/download.php" target="_blank">download</a> it first and run on your local server or you can view it <a href="http://extjs.com/deploy/dev/examples/samples.html" target="_blank">online</a>.<span id="more-113"></span></p>
<p><strong>2. Read the ExtJS tutorial</strong></p>
<p><a href="http://extjs.com/learn/Tutorials" target="_blank"><img class="size-medium wp-image-126 alignright" title="Tutorials - Learn About the Ext JavaScript Library_1250977156212" src="http://superdit.com/wp-content/uploads/2009/08/Tutorials-Learn-About-the-Ext-JavaScript-Library_1250977156212-300x210.png" alt="Tutorials - Learn About the Ext JavaScript Library_1250977156212" width="240" height="168" /></a>So, you are ready to get your hand wet ? but don&#8217;t know what to do to digging depper to understanding ExtJS, I suggest you start with <a href="http://extjs.com/learn/Tutorials" target="_blank">tutorial</a> from the ExtJS official site. It&#8217;s cover about the getting started guide, dom query helper, combobox, form, grids, drag &amp; drop, menus, tree, etc, even the basic of the application design and some of them provide the downloadable example source code. Although the tutorial is useing version 1.x and 2.x, yes it is compatible if you are using version 3.</p>
<p><strong>3. Don&#8217;t fear to read the API</strong></p>
<p><img class="size-medium wp-image-125 alignleft" title="Ext 3.0 - API Documentation_1250974839663" src="http://superdit.com/wp-content/uploads/2009/08/Ext-3.0-API-Documentation_1250974839663-300x197.png" alt="Ext 3.0 - API Documentation_1250974839663" width="210" height="138" /> The ExtJS API documentation come with the bundle when you&#8217;re downloading ExtJS. So how this gonna be useful ? well for me it provide very useful information about the Ext core and default config options, properties, events, method for each component, it&#8217;s a good reference when you are trying to manipulating the component. Some component given the basic example of usage. Just <a href="http://extjs.com/products/extjs/download.php" target="_blank">download the ExtJS</a> bundle and you can find it in examples folder or you can view it <a href="http://extjs.com/deploy/dev/docs/" target="_blank">online</a></p>
<p><strong>4. Consult the spesific question to the forum</strong></p>
<p><img class="alignleft size-medium wp-image-146" title="extjs reconfigure proxy url - Telusuri dengan Google_1251076695170" src="http://superdit.com/wp-content/uploads/2009/08/extjs-reconfigure-proxy-url-Telusuri-dengan-Google_1251076695170-300x160.png" alt="extjs reconfigure proxy url - Telusuri dengan Google_1251076695170" width="300" height="160" />When I get some trouble I always use Google first, type your spesific question on Google and most of the solution found in the ExtJS official forum and i always found the solution is very handy and easy to understand. Even some of the expert member provide advance source about ExtJS like quick search plugin, grid paging row numberer and custom themes and you can download it for free.</p>
<p><strong>5. Use the good IDE</strong></p>
<p><img class="size-medium wp-image-120 alignleft" title="netbeans-extjs" src="http://superdit.com/wp-content/uploads/2009/08/netbeans-extjs-252x300.png" alt="netbeans-extjs" width="162" height="192" /> Since you use ExtJS in javascript language, the you must code all the ExtJS component by hand, and you need the good IDE to help you browse the all avaliable API. I&#8217;m personally using <a href="http://www.netbeans.org/" target="_blank">Netbeans PHP IDE</a> for my project, you can set the project and include the ExtJS style, ExtJS basic and ExtJS all. The IDE will scan all the project including the ExtJS file and when you code the ExtJS component or ExtJS core, you can type <em>shift + space</em> on your keyboard and the IDE will give an autocomplete feature, and it helping me a lot, maybe not all the method shown in the autocomplete feature but you still can browse on the API documentation. If your not the fan of Netbeans, you can use other great IDE like <a href="http://www.eclipse.org/" target="_blank">Eclipse</a> or <a href="http://aptana.com/" target="_blank">Aptana</a>.</p>
<h5>6. You may need to know a bit about Javascript Language</h5>
<p>My experience is when i code the event handler of the component, sometimes need like client side validation, like is defined object, sel length etc. When you found this trouble just googling about spesific javascript question and it&#8217;is not really hard.</p>
<p><strong>more ExtJS Resource and tutorial</strong></p>
<p><a href="http://extjs.tv" target="_blank">Video tutorial from EXTJS.TV</a> bunch of ExtJS Tutorial</p>
<p><a href="http://defafe.com/" target="_blank">http://defafe.com</a> a blog about ExtJS tutorial</p>
<p><a href="http://www.extforge.org/index.php/2009/examples-of-extjs-in-action/" target="_blank">Example ExtJS in Action</a> some of link not working but the <a href="http://extplorer.sourceforge.net/" target="_blank">ExtPlorer</a> is good.</p>
<p><a href="http://tuturtinular.com/category/extjs/" target="_blank">TuturTinular</a> a blog who have some ExtJS tutorial</p>
<p><a href="http://extjswordpress.net" target="_blank">ExtJS and WordPress</a> wordpress themes usign extjs and it&#8217;s free to download</p>
<p><a href="http://blog.andrekolell.de/2009/04/15/using-an-ext-js-datagrid-with-ajax-in-the-wordpress-administration-panel/" target="_blank">Using ExtJS grid in WordPress Admin</a></p>
<p><a href="http://ragrawal.wordpress.com/2008/12/13/integrating-cakephp-and-extjs-a-complete-guide/" target="_blank">Integrating CakePHP and ExtJS</a></p>
<p><a href="http://blog.extjs.eu/" target="_blank">http://blog.extjs.eu/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2009/08/21/simple-steps-to-understanding-extjs/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
