<?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>Sat, 31 Mar 2012 20:40:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>8 Javascript Mobile Web Image Gallery Library</title>
		<link>http://superdit.com/2011/08/07/8-javascript-mobile-web-image-gallery-library/</link>
		<comments>http://superdit.com/2011/08/07/8-javascript-mobile-web-image-gallery-library/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 04:31:06 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=4102</guid>
		<description><![CDATA[This post I compiled some examples I found for creating image gallery in mobile web, cause compared to web desktop, creating image gallery in mobile devices must be different, we have to thinking about limited screen resolution, supported event, etc. And these library &#38; tutorial might help you to get started creating your own mobile<a href="http://superdit.com/2011/08/07/8-javascript-mobile-web-image-gallery-library/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p>This post I compiled some examples I found for creating image gallery in mobile web, cause compared to web desktop, creating image gallery in mobile devices must be different, we have to thinking about limited screen resolution, supported event, etc. And these library &amp; tutorial might help you to get started creating your own mobile web gallery, and some of them a have tried it on my local computer, using iPhone simulator.</p>
<h5>Photo Swipe</h5>
<p>PhotoSwipe is a free HTML/CSS/JavaScript based image gallery targeting mobile devices, <a href="http://www.photoswipe.com/latest/examples/jquery-mobile.html" target="_blank">demo</a>.</p>
<p><a href="http://www.photoswipe.com/ " target="_blank"><img title="" src="http://superdit.com/wp-content/uploads/2011/08/04.png" alt="" width="488" height="332" /></a></p>
<h5><span id="more-4102"></span>Awesome Mobile Image Gallery Web App</h5>
<p>This is a tutorial blog post written by tympanus.net, really good example to showing step by step creating mobile web image gallery using jQTouch, <a href="http://tympanus.net/Tutorials/WonderwallMobileGallery/" target="_blank">demo</a>.</p>
<p><a title="Awesome Mobile Image Gallery Web App" href="http://tympanus.net/codrops/2010/05/27/awesome-mobile-image-gallery-web-app/" target="_blank"><img class="alignnone size-full wp-image-7939" title="" src="http://superdit.com/wp-content/uploads/2011/08/01.png" alt="" width="489" height="331" /></a></p>
<h5>Tiny Circleslider</h5>
<p>Tiny Circleslider is a circular slider or carousel build based on jquery library, this one have a unique interface as a gallery to be used, the radius size can be customized so it will fit in any mobile devices.</p>
<p><a title="Tiny Circleslider" href="http://baijs.nl/tinycircleslider/" target="_blank"><img class="alignnone size-full wp-image-7940" title="" src="http://superdit.com/wp-content/uploads/2011/08/02.png" alt="" width="490" height="331" /></a></p>
<h5>Touch Gallery</h5>
<p>A fullscreen photo gallery for touch-devices.</p>
<p><a title="Touch Gallery" href="http://neteye.github.com/touch-gallery.html" target="_blank"><img class="alignnone size-full wp-image-7941" title="" src="http://superdit.com/wp-content/uploads/2011/08/03.png" alt="" width="498" height="330" /></a></p>
<h5>jQTouch Extensions</h5>
<p>jQExtensions is a collection of extensions for the jQTouch mobile web app framework based on jQuery. This one already discontinued but have a good example used to creating simple photo gallery, <a href="http://samshull.com/jqtouch-r148/demos/main/#home" target="_blank">demo</a>.</p>
<p><a title="jQTouch Extensions" href="http://code.google.com/p/jqextensions/" target="_blank"><img class="alignnone size-full wp-image-7943" title="" src="http://superdit.com/wp-content/uploads/2011/08/05.png" alt="" width="489" height="331" /></a></p>
<h5>Jaipho</h5>
<p>Jaipho is a mobile web gallery inspired by original iPhone photo application, <a href="http://www.jaiphodemo.info/" target="_blank">demo</a>.</p>
<p><a title="Jaipho" href="http://www.jaipho.com/   " target="_blank"><img class="alignnone size-full wp-image-7945" title="" src="http://superdit.com/wp-content/uploads/2011/08/06.png" alt="" width="489" height="331" /></a></p>
<h5>Galleria</h5>
<p>I&#8217;m not really testing this one but from the documentation you can see swipe features, which mean you can use it on mobile devices.</p>
<p><a title="Galleria Aino" href="http://galleria.aino.se/ " target="_blank"><img class="alignnone size-full wp-image-7946" title="" src="http://superdit.com/wp-content/uploads/2011/08/07.png" alt="" width="489" height="331" /></a></p>
<h5>TN3 Gallery</h5>
<p>Like galleria I&#8217;m not really testing this one but from the sites says it supported mobile devices.</p>
<p><a title="TN3 Gallery" href="http://www.tn3gallery.com " target="_blank"><img class="alignnone size-full wp-image-7947" title="" src="http://superdit.com/wp-content/uploads/2011/08/08.png" alt="" width="489" height="331" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2011/08/07/8-javascript-mobile-web-image-gallery-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Javascript Framework With Rich UI Component</title>
		<link>http://superdit.com/2011/06/08/10-javascript-framework-with-rich-ui-component/</link>
		<comments>http://superdit.com/2011/06/08/10-javascript-framework-with-rich-ui-component/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 05:00:28 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[resource]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=1371</guid>
		<description><![CDATA[There are many javascript framework that available to use on the internet, most of them offering a simple solution to build modern web application, but not all offering a full rich UI component. Some framework like jquery, mootools, prototype only cover the core feature like animating, effect, DOM manipulation. This rich feature whether you called<a href="http://superdit.com/2011/06/08/10-javascript-framework-with-rich-ui-component/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p>There are many javascript framework that available to use on the internet, most of them offering a simple solution to build modern web application, but not all offering a full rich UI component. Some framework like jquery, mootools, prototype only cover the core feature like animating, effect, DOM manipulation.</p>
<p><a title="10 Javascript Framework With Rich UI Component" href="http://superdit.com/2011/06/08/10-javascript-framework-with-rich-ui-component"><img class="alignnone size-full wp-image-7062" title="rich ui javascript framework" src="http://superdit.com/wp-content/uploads/2011/06/rich_ui_javascript_framework.jpg" alt="rich ui javascript framework" width="590" height="230" /></a></p>
<p>This rich feature whether you called it component, widget or any other, can help you to make user interface faster, without have to write your own style. These might be help if you build an enterprise web application. I list some of javascript framework with rich that maybe can be one of your choice. <span id="more-1371"></span></p>
<h5>ExtJS</h5>
<p>ExtJS is one of the most popular javascript framework that offer very rich and complete UI widget to build web application, created by <a title="sencha inc" href="http://www.sencha.com/" target="_blank">sencha inc</a>, extjs is very popular since the early release in version 2, even in latest version extjs added an architectural pattern like MVC to make the code more readable.</p>
<p><a href="http://www.sencha.com/products/extjs/" target="_blank"><img class="alignnone size-full wp-image-7042" title="extjs" src="http://superdit.com/wp-content/uploads/2011/06/extjs.png" alt="extjs sample widget" width="590" height="340" /></a></p>
<p><a title="extjs" href="http://www.sencha.com/products/extjs/" target="_blank">visit extjs</a></p>
<h5>Dojo Toolkit</h5>
<p>Since the first it born dojo is one of the extjs competitor, one of the advantages of dojo is the license. you can use it for free even for the commercial project, it is created by <a title="sitepen" href="http://www.sitepen.com/" target="_blank">sitepen</a>, unlike extjs who separated the mobile feature in different framework, dojo include the mobile feature.</p>
<p><a href="http://dojotoolkit.org/" target="_blank"><img class="alignnone size-full wp-image-7035" title="dojotoolkit sample screen" src="http://superdit.com/wp-content/uploads/2011/06/dojotoolkit.png" alt="dojotoolkit sample screen" width="590" height="340" /></a></p>
<p><a href="http://dojotoolkit.org" target="_blank">visit dojotoolkit</a></p>
<h5>Qooxdoo</h5>
<p>It is open source and enterprise ready javascript framework maintained by <a href="http://1and1.com/xml/order/AboutUs" target="_blank">1&amp;1</a> hosting company, you can see the <a title="qooxdoo real life example" href="http://qooxdoo.org/community/real_life_examples" target="_blank">real life example</a> on the it official page, to see how this framework are implemented.</p>
<p><a href="http://qooxdoo.org/" target="_blank"><img class="alignnone size-full wp-image-7037" title="qooxdoo " src="http://superdit.com/wp-content/uploads/2011/06/qooxdoo.png" alt="qooxdoo sample widget" width="590" height="340" /></a></p>
<p><a title="qooxdoo" href="http://qooxdoo.org" target="_blank">visit qooxdoo</a></p>
<h5>Smartclient</h5>
<p>Created by Isomorphic Software, smartclient require JDK to work on you machine, smartclient offer variety off license you can get the free version with very limited features, you can see the <a title="smartclient product comparison" href="http://www.smartclient.com/product/competition.jsp" target="_blank">smartclient version comparison</a>.</p>
<p><a href="http://www.smartclient.com/" target="_blank"><img class="alignnone size-full wp-image-7040" title="smartclient" src="http://superdit.com/wp-content/uploads/2011/06/smartclient.png" alt="smartclient sample widget" width="590" height="340" /></a></p>
<p><a title="smartclient" href="http://www.smartclient.com/" target="_blank">visit smartclient</a></p>
<h5>ZK Framework</h5>
<p>ZK framework developed and maintained by Potix Corporation, not only offering framework that ready to use by developer but there also a ready to use application like pivot table and spreadsheet, also there is plugin to integrate to eclipse IDE.</p>
<p><a href="http://www.zkoss.org/" target="_blank"><img class="alignnone size-full wp-image-7044" title="zk" src="http://superdit.com/wp-content/uploads/2011/06/zk.png" alt="zk sample application" width="590" height="340" /></a></p>
<p><a title="zk framework" href="http://www.zkoss.org/" target="_blank">visit zk</a></p>
<h5>DHTMLX</h5>
<p>Like smartclient, DHTMLX not completely free, it charge by what the features you want to use, see this <a title="dhtmlx licenses comparison" href="http://dhtmlx.com/docs/products/licenses.shtml" target="_blank">licenses comparison</a>.</p>
<p><a href="http://dhtmlx.com/" target="_blank"><img class="alignnone size-full wp-image-7046" title="dhtmlx" src="http://superdit.com/wp-content/uploads/2011/06/dhtmlx.png" alt="dhtmlx sample application" width="590" height="340" /></a></p>
<p><a title="dhtmlx" href="http://dhtmlx.com" target="_blank">visit dHTMLX</a></p>
<h5>Wijmo</h5>
<p>Wijmo is a kit of web UI based on JQuery UI, is offer many ready to use widget, and it can be themed based on JQuery UI theme, but unlike it core JQuery UI license, wijmo only free for the trial edition.</p>
<p><a href="http://wijmo.com/" target="_blank"><img class="alignnone size-full wp-image-7053" title="wijmo" src="http://superdit.com/wp-content/uploads/2011/06/wijmo.png" alt="wijmo sample grid" width="590" height="340" /></a></p>
<p><a title="Wijmo" href="http://wijmo.com/" target="_blank">visit wijmo</a></p>
<h5>Vaadin</h5>
<p>Vaadin is java web application framework, which mostly used by Java developer, it created by Vaadin Ltd previously named IT Mill.</p>
<p><a href="http://vaadin.com/" target="_blank"><img class="alignnone size-full wp-image-7056" title="vaadin" src="http://superdit.com/wp-content/uploads/2011/06/vaadin.png" alt="vaadin sample " width="590" height="340" /></a></p>
<p><a title="Vaadin" href="http://vaadin.com" target="_blank">visit vaadin</a></p>
<h5>Echo Web Framework</h5>
<p><a href="http://echo.nextapp.com/site/" target="_blank"><img class="alignnone size-full wp-image-7050" title="echo" src="http://superdit.com/wp-content/uploads/2011/06/echo.png" alt="echo web framework" width="590" height="340" /></a></p>
<p><a title="echo web framework" href="http://echo.nextapp.com/site/" target="_blank">visit echo</a></p>
<h5>Rialto</h5>
<p>Not really know about this one, it seems it already long time not being updated, but the web still active and you can still download it.</p>
<p><a href="http://rialto.improve-technologies.com/wiki/rialto" target="_blank"><img class="alignnone size-full wp-image-7051" title="rialto" src="http://superdit.com/wp-content/uploads/2011/06/rialto.png" alt="rialot sample widget" width="590" height="340" /></a></p>
<p><a title="rialto" href="http://rialto.improve-technologies.com/wiki/rialto" target="_blank">visit rialto</a></p>
<h5>Some Others Web UI Widget</h5>
<p>- <a title="uize" href="http://www.uize.com/" target="_blank">Uize</a> by Chris van Rensburg</p>
<p>- <a title="Alloy UI" href="http://alloy.liferay.com/" target="_blank">Alloy UI</a> by Liferay</p>
<p>- <a title="YUI (Yahoo User Interface)" href="http://developer.yahoo.com/yui/" target="_blank">YUI Library</a> by Yahoo!</p>
<p>- Based on Mootols: <a title="JxLib" href="http://jxlib.org/" target="_blank">JxLib</a>, <a title="MochaUI" href="http://mochaui.org/" target="_blank">MochaUI</a>, <a title="Moolego UI" href="http://ui.moolego.org/" target="_blank">MoolegoUI</a></p>
<p>- Based on JQuery: <a title="intelligent Expert" href="http://www.intelligentexpert.net/" target="_blank">Intelligent Expert</a>, <a title="jQuery Tools" href="http://flowplayer.org/tools/index.html" target="_blank">jQuery Tools</a>, <a href="http://www.kendoui.com/" target="_blank">KendoUI</a></p>
<p>- <a title="UkiJS" href="http://ukijs.org/" target="_blank">Uki</a> Simple UI Kit for complex web apps</p>
<p>- <a title="cappuccino" href="http://cappuccino.org/" target="_blank">Cappuccino</a> an Objective-J javascript framework</p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2011/06/08/10-javascript-framework-with-rich-ui-component/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>JQuery Keypress And Detect Character Code</title>
		<link>http://superdit.com/2011/03/02/jquery-keypress-and-detect-character-code/</link>
		<comments>http://superdit.com/2011/03/02/jquery-keypress-and-detect-character-code/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 00:36:46 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=5464</guid>
		<description><![CDATA[In this sort post I want to share how to detect keyboard input character using jquery, basically this is very simple cause JQuery have already built in keypress() event, we just need to get the callback parameter properties, let get through the code The code above used to get the character code from the input<a href="http://superdit.com/2011/03/02/jquery-keypress-and-detect-character-code/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p>In this sort post I want to share how to detect keyboard input character using jquery, basically this is very simple cause JQuery have already built in <a title="JQuery Keypress" href="http://api.jquery.com/keypress/" target="_blank"><em>keypress()</em></a> event, we just need to get the callback parameter properties, let get through the code</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function() {
    $(&quot;#field&quot;).keypress(function(event) {
        alert(event.charCode);
    });
});
</pre>
<p>The code above used to get the character code from the input keyboard, you can browse more the &#8220;event&#8221; callback parameter using <em>console.log() </em>function and browse the entire parameter properties using firebug in firefox or inspect element console in webkit browser,</p>
<pre class="brush: jscript; title: ; notranslate">
console.log(event);
</pre>
<p>and to convert back to character, simply using this javascript code.</p>
<pre class="brush: jscript; title: ; notranslate">
String.fromCharCode(charCode);
</pre>
<p><span id="more-5464"></span></p>
<p style="text-align: center;"><a href="http://demo.superdit.com/jquery/keypress_detect_char/" target="_blank">View Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2011/03/02/jquery-keypress-and-detect-character-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Moving Element To Random Position Inside A Container</title>
		<link>http://superdit.com/2010/12/25/moving-element-to-random-position-inside-a-container/</link>
		<comments>http://superdit.com/2010/12/25/moving-element-to-random-position-inside-a-container/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 05:24:32 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=3603</guid>
		<description><![CDATA[This is just my simple post, I want to moving a box to random position inside it container, I post this to help me remembering this for my little project. If I sketch it, basically this sample is like this: Then convert this to html, just simple div inside div and the difference are id<a href="http://superdit.com/2010/12/25/moving-element-to-random-position-inside-a-container/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p>This is just my simple post, I want to moving a box to random position inside it container, I post this to help me remembering this for my little project. If I sketch it, basically this sample is like this:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3610" title="sketch jquery random position" src="http://superdit.com/wp-content/uploads/2010/12/sketch-resize.jpg" alt="" width="479" height="307" /></p>
<p style="text-align: left;">Then convert this to html, just simple div inside div and the difference are id and the css style, and there is one button to triggering the movement of the box inside the container<span id="more-3603"></span></p>
<pre class="brush: xml; title: ; notranslate">
&lt;body&gt;
	&lt;div id=&quot;top&quot;&gt;
		&lt;button id=&quot;btmove&quot; onclick=&quot;moveRandom('box')&quot;&gt;
			Move Random
		&lt;/button&gt;
	&lt;/div&gt;
	&lt;div id=&quot;container&quot;&gt;
		&lt;div id=&quot;box&quot;&gt;&lt;/div&gt;
	&lt;/div&gt;
&lt;/body&gt;
</pre>
<p>The button event triggering to call <em>moveRandom</em> function that I showed next, wait I forgot this is the css</p>
<pre class="brush: css; title: ; notranslate">
#top {
    margin: 0 auto;
    background: #d3d3d3;
    text-align: center;
    padding: 10px;
    width: 500px;
    margin-bottom: 10px;
}
#container {
    margin: 0 auto;
    width: 500px;
    height: 500px;
    background: #0099cc;
    padding: 10px;
}

#box {
    position: absolute;
    width: 100px;
    height: 100px;
    background: #f3f3f3;
}
</pre>
<p>The <em>#box</em> position must be absolute so it can be moved to anywhere inside windows, and now the javascript. This is the function to get random value between to number thanks to <a title="JavaScript Tip: get a Random Number between two Integers" href="http://www.admixweb.com/2010/08/24/javascript-tip-get-a-random-number-between-two-integers/" target="_blank">admixweb</a> for this function, work really nice</p>
<pre class="brush: jscript; title: ; notranslate">
function randomFromTo(from, to){
	return Math.floor(Math.random() * (to - from + 1) + from);
}
</pre>
<p>For the function above, range (that will become the parameters) for vertical position must between container top position and container top position plus container height, and range for horizontal position must between container left position and container left position plus container width. Here is how I implement in the code</p>
<pre class="brush: jscript; title: ; notranslate">
function moveRandom(id) {
    /* get container position and size
     * -- access method : cPos.top and cPos.left */
    var cPos = $('#container').offset();
    var cHeight = $('#container').height();
    var cWidth = $('#container').width();

    // get box padding (assume all padding have same value)
    var pad = parseInt($('#container').css('padding-top').replace('px', ''));

    // get movable box size
    var bHeight = $('#'+id).height();
    var bWidth = $('#'+id).width();

    // set maximum position
    maxY = cPos.top + cHeight - bHeight - pad;
    maxX = cPos.left + cWidth - bWidth - pad;

    // set minimum position
    minY = cPos.top + pad;
    minX = cPos.left + pad;

    // set new position
    newY = randomFromTo(minY, maxY);
    newX = randomFromTo(minX, maxX);

    $('#box').animate({
        top: newY,
        left: newX
        }, 500, function() {
    });
}
</pre>
<p>Jquery really have great function to getting the element properties like css style value or position, here the capture that I&#8217;ve been created</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3636" title="Box Random Position" src="http://superdit.com/wp-content/uploads/2010/12/Box_Random_Position.png" alt="" width="500" height="551" /></p>
<p style="text-align: center;"><a title="Random Position Inside Container Demo" href="http://demo.superdit.com/random_position_inside_container/" target="_blank">View Demo</a> | <a title="Random Position Inside Container Download Source" href="http://www.box.net/shared/pyzl0pmu7y" target="_blank">Download Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2010/12/25/moving-element-to-random-position-inside-a-container/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>10 Framework To Help Build Mobile Web Application</title>
		<link>http://superdit.com/2010/12/20/10-framework-to-help-build-mobile-web-application/</link>
		<comments>http://superdit.com/2010/12/20/10-framework-to-help-build-mobile-web-application/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 00:21:56 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=1607</guid>
		<description><![CDATA[Day by day, web application framework make our development easier and faster, with the growing of mobile devices such as smartphone and tablet pc for browsing the web, the web framework need to meet the difference screen for each devices, different user experience. These are the list of framework (well not all actually a framework)<a href="http://superdit.com/2010/12/20/10-framework-to-help-build-mobile-web-application/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-3562" title="Mobile Web Framework" src="http://superdit.com/wp-content/uploads/2010/12/SCREEN_CAPTURE1.jpg" alt="" width="500" height="197" /></p>
<p>Day by day, web application framework make our development easier and faster, with the growing of mobile devices such as smartphone and tablet pc for browsing the web, the web framework need to meet the difference screen for each devices, different user experience. These are the list of framework (well not all actually a framework) that can be choosen by you for developing mobile web application, some provide full user interface and some only provide a basic framework.<span id="more-1607"></span></p>
<h5>1. <a title="Sencha Touch" href="http://www.sencha.com/products/touch/" target="_blank">Sencha Touch </a></h5>
<p>Sencha<em> </em>Touch is one of the product of <a href="http://www.sencha.com/company/" target="_blank">SenchaInc</a>, the first HTML5 mobile JavaScript framework that allows developer to  develop mobile web apps that look and feel native on iPhone and  Android  touchscreen devices. Sencha Touch built like the ExtJS component, if have some experience with ExtJS I believe it will bring the advantage for easier learning.</p>
<p style="text-align: center;"><img class="size-full wp-image-3486 aligncenter" title="Sencha-Touch Example" src="http://superdit.com/wp-content/uploads/2010/12/SEncha-Touch.png" alt="" width="328" height="488" /></p>
<p style="text-align: center;"><a title="Sencha Touch Download" href="http://www.sencha.com/products/touch/download.php" target="_blank">Download Page</a> | <a title="Sencha Touch Demo" href="http://www.sencha.com/products/touch/demos.php" target="_blank">View Demo</a></p>
<h5>2. <a title="jQuery Mobile Framework" href="http://jquerymobile.com/" target="_blank">jQuery Mobile</a></h5>
<p>I think this is the most awaited in mobile web application framework, because the popularity of jQuery, this framework is not the first but getting a lot of attention, jQuery Mobile: Touch-Optimized Web Framework for Smartphones &amp; Tablets. A unified user interface system across all popular mobile device  platforms, built on the rock-solid jQuery and jQuery UI foundation. Its  lightweight code is built with progressive enhancement, and has a  flexible, easily themeable design.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3494" title="jquerymobile example screen capture" src="http://superdit.com/wp-content/uploads/2010/12/jquerymobile.png" alt="" width="328" height="488" /></p>
<p style="text-align: center;"><a title="jQuery Mobile Download" href="http://jquerymobile.com/download/" target="_blank">Download Page</a> | <a title="jQuery Mobile Demo" href="http://jquerymobile.com/demos/1.0a2/" target="_blank">View Demo</a></p>
<h5>3. <a title="WebApp.Net" href="http://webapp-net.com/" target="_blank">WebApp.Net</a></h5>
<p>WebApp.Net is a light weight, powerful javascript framework taking  advantage of AJAX technology. It provides a full set of ready to use  components to help you develop, quickly and easily, advanced mobile web  applications.</p>
<p style="text-align: center;"><img class="size-full wp-image-3498 alignnone" title="WebApp.Net Example Screen" src="http://superdit.com/wp-content/uploads/2010/12/WebApp.Net_.png" alt="" width="328" height="488" /></p>
<p style="text-align: center;"><a title="WebApp.Net Download" href="http://webapp-net.com/Download/get.php?d=19" target="_blank">Download Page</a> | <a title="WebApp.Net Demo" href="http://demo.webapp-net.com/" target="_blank">View Demo</a></p>
<h5>4. <a title="DHTMLX Touch" href="http://www.dhtmlx.com/touch/" target="_blank">DTHMLX Touch</a></h5>
<p>DHTMLX Touch is an HTML5-based JavaScript library for building mobile web applications.  			It’s not just a set of UI widgets, but a complete framework that allows you to create  			eye-catching, cross-platform web applications for mobile and touch-screen devices.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3501" title="DHTMLX Touch Form Example" src="http://superdit.com/wp-content/uploads/2010/12/DHTMLXTouch.png" alt="" width="328" height="488" /></p>
<p style="text-align: center;"><a title="DHTMLX Touch Download" href="http://www.dhtmlx.com/touch/" target="_blank">Download Page</a> | <a title="DHTMLX Touch Demo" href="http://www.dhtmlx.com/touch/samples/" target="_blank">View Demo</a></p>
<h5>5. <a title="jQTouch" href="http://jqtouch.com" target="_blank">jQTouch </a></h5>
<p>This is not a framework but just a jQuery plugin for mobile web development on the iPhone, iPod Touch, and other forward-thinking devices. Now this project a part of Sencha Labs, the company who developing Sencha Touch. I love the default theme that have black, dark look and feel.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3506" title="jqtouch example" src="http://superdit.com/wp-content/uploads/2010/12/jqtouch.png" alt="" width="328" height="488" /></p>
<p style="text-align: center;"><a title="jQTouch Download" href="http://jqtouch.googlecode.com/files/jqtouch-1.0-beta-2-r109.zip" target="_blank">Download Page</a> | <a title="jQTouch Demo" href="http://jqtouch.com/preview/demos/main/" target="_blank">View Demo</a></p>
<h5>6. <a title="iWebKit" href="http://iwebkit.net/" target="_blank">iWebKit</a></h5>
<p>iWebKit is a file package designed to help you create your own iPhone,  iPod Touch and iPad compatible website or webapp. The kit is accessible  to anyone even people without any html knowledge and is simple to  understand thanks to the included tutorials.</p>
<p style="text-align: center;"><img class="size-full wp-image-3512  aligncenter" title="iWebKit Example Screen Capture" src="http://superdit.com/wp-content/uploads/2010/12/iWebKit.png" alt="" width="328" height="488" /></p>
<p style="text-align: center;"><a title="iWebKit Download" href="http://www.iwebkit.net/downloads" target="_blank">Download Page</a> | <a title="iWebKit Demo" href="http://www.iwebkit.net/demo" target="_blank">View Demo</a></p>
<h5>7. <a title="Jo HTML5 Mobile App Framework" href="http://joapp.com/" target="_blank">Jo HTML5 Mobile App Framework</a></h5>
<p>Joapp is a UI Widget Framework With a side of DOM, event and data stuff , Open Source Under a friendly OpenBSD License , Cross Platform webOS, iOS, Android, Symbian, Safari, Chrome, Dashboard Widgets<em>.</em> Light and Efficient Minified JavaScript is just over 8K with no dependancies, and compatible with PhoneGap Plus most other JavaScript frameworks</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3513" title="joapp Example Capture" src="http://superdit.com/wp-content/uploads/2010/12/joapp.png" alt="" width="327" height="488" /></p>
<p style="text-align: center;"><a title="Joapp Download" href="https://github.com/davebalmer/jo/downloads" target="_blank">Download Page</a></p>
<h5>8. <a title="iUI: iPhone User Interface Framework" href="http://code.google.com/p/iui/" target="_blank">iUI: iPhone User Interface Framework</a></h5>
<p>iUI is a framework consisting of a JavaScript library, CSS, and  images for developing advanced mobile webapps for iPhone and  comparable/compatible devices. iUI has the following features: Create Navigational Menus and iPhone-style interfaces from standard HTML, use or knowledge of JavaScript is not required to create modern mobile web pages, ability to handle phone orientation changes, provide a more &#8220;iPhone-like&#8221; experience in your Web apps.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3533" title="iui example capture" src="http://superdit.com/wp-content/uploads/2010/12/iui.png" alt="" width="328" height="488" /></p>
<p style="text-align: center;"><a title="iUI: iPhone User Interface Framework Download" href="http://code.google.com/p/iui/downloads/list" target="_blank">Download Page</a></p>
<h5>9. <a title="SproutCore" href="http://www.sproutcore.com" target="_blank">Sproutcore</a></h5>
<p>SproutCore is an HTML5 application framework for building responsive,  desktop-caliber apps in any modern web browser, without plugins.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3542" title="SproutCore" src="http://superdit.com/wp-content/uploads/2010/12/SproutCore.png" alt="" width="328" height="125" /></p>
<p style="text-align: center;"><a title="SproutCore get started" href="http://www.sproutcore.com/get-started/" target="_blank">Download Page</a></p>
<h5>10. <a title="Zepto.js" href="http://zeptojs.com/" target="_blank">Zepto.js</a></h5>
<p>Zepto.js is a minimalist JavaScript framework for mobile WebKit browsers, with a jQuery-compatible syntax. The goal: a 2-5k library that handles most basic drudge work with a nice API so you can concentrate on getting stuff done. Zepto.js is created by <a title="Thomas Fuchs" href="http://mir.aculo.us/" target="_blank">Thomas Fuchs</a> the author of <a href="http://script.aculo.us" target="_blank">script.aculo.us</a>, the javascript user interface framework.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3541" title="zeptojs" src="http://superdit.com/wp-content/uploads/2010/12/zeptojs.png" alt="" width="328" height="122" /></p>
<p style="text-align: center;"><a title="Zepto.js Download" href="http://zeptojs.com/" target="_blank">Download Page</a></p>
<p>With all the choice that we have, sometimes we confuse what should we choose, but I&#8217;m sure the most promising framework to use in the future are the first two, they are Sencha Touch, backed by strong company and jQueryMobile, that have very large community.</p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2010/12/20/10-framework-to-help-build-mobile-web-application/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<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<a href="http://superdit.com/2010/06/29/10-jquery-ajax-file-uploader-plugins/" class="read-more">Continue Reading</a>]]></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>8</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.<a href="http://superdit.com/2010/05/07/unique-field-form-validation-using-php-and-extjs/" class="read-more">Continue Reading</a>]]></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; title: ; notranslate">
&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; title: ; notranslate">
&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; title: ; notranslate">
&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; title: ; notranslate">
&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>16</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<a href="http://superdit.com/2010/01/31/table-sorting-collection-using-prototype-javascript/" class="read-more">Continue Reading</a>]]></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>2</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<a href="http://superdit.com/2009/08/21/simple-steps-to-understanding-extjs/" class="read-more">Continue Reading</a>]]></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>6</slash:comments>
		</item>
	</channel>
</rss>

