<?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>Ajax Bestiary &#187; extjs</title>
	<atom:link href="http://www.ajaxbestiary.com/category/extjs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxbestiary.com</link>
	<description>AJAX Development, News, Techniques &#38; More</description>
	<lastBuildDate>Wed, 01 Feb 2012 12:46:54 +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>Learning Ext JS</title>
		<link>http://www.ajaxbestiary.com/2012/01/12/learning-ext-js/</link>
		<comments>http://www.ajaxbestiary.com/2012/01/12/learning-ext-js/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 12:00:55 +0000</pubDate>
		<dc:creator>Dave Mahon</dc:creator>
				<category><![CDATA[extjs]]></category>

		<guid isPermaLink="false">http://www.ajaxbestiary.com/?p=611</guid>
		<description><![CDATA[I&#8217;m teaching myself Ext JS, but it&#8217;s not always the easiest framework to wrap your head around. That said, there is a wonderful site full of examples of specific techniques, not just API&#8217;s. Saki&apos;s Ext Examples Page divides the examples into categories like Application Design &#62; Complex Data Binding or Drag &#38; Drop &#62; Free [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>I&#8217;m teaching myself Ext JS, but it&#8217;s not always the easiest framework to wrap your head around. That said, there is a wonderful site full of examples of specific techniques, not just API&#8217;s.</p>
<p><a href="http://examples.extjs.eu/">Saki&apos;s Ext Examples Page</a> divides the examples into categories like Application Design &gt; Complex Data Binding or Drag &amp; Drop &gt; Free Drag with State.</p>
<p>However, you don&#8217;t just get a monolithic example. You can run the example <em>and</em> see the source code divided by language. Be sure to check out the Details and Further Reading links in the lower-left pane.</p>
<p>Remember that Ext JS has been folded into the <a href="http://www.sencha.com/">Sencha project</a> and the examples are written to Ext JS 1/2, not 4, the current release. Sencha provides a set of <a href="http://www.sencha.com/products/extjs/examples/">current examples</a>, albeit not as elegantly broken down for easy consumption. Those caveats aside, these examples can help you understand the structure and design of Ext JS, so it&apos;s still a worthy read for those of us coming from other libraries.</p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2012/01/12/learning-ext-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ExtJS 2.0 Released</title>
		<link>http://www.ajaxbestiary.com/2007/12/04/extjs-20-released/</link>
		<comments>http://www.ajaxbestiary.com/2007/12/04/extjs-20-released/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 15:01:47 +0000</pubDate>
		<dc:creator>Don Albrecht</dc:creator>
				<category><![CDATA[extjs]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/12/04/extjs-20-released/</guid>
		<description><![CDATA[It&#8217;s official, ExtJS 2.0 has landed.  ExtJS is one of the best toolkits out there for achieving ajax applications that rival desktop applications in interface richness.  Some of the new features in 2.0.  Grouping &#38; Group Summary fields: Allows you to group related grid items and create summary rows.  Data sorts within each group set [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>It&#8217;s official, ExtJS 2.0 has landed.  ExtJS is one of the best toolkits out there for achieving ajax applications that rival desktop applications in interface richness.  Some of the new features in 2.0.
<ul>
<li> Grouping &amp; Group Summary fields: Allows you to group related grid items and create summary rows.  Data sorts within each group set instead of across the grid.</li>
<li>Scrolling tabs: You can now optimize screen Real Estate by allowing tabs to scroll off the tab par (Ala firefox)</li>
<li>Anchor Layouts: Tack the dimensions of form elements to their parent container.</li>
<li>Column Tree: The best of both worlds, integrate the powerful extjs grid &amp; tree widgets</li>
</ul>
<p>I should also point out that ExtJS continues its tradition of excellent documentation with a new API documentation center and rich set of demo applications to work from.   Check out ExtJS 2.0 here:<a href="http://extjs.com/blog/2007/12/04/ext-20-final-released/">http://extjs.com/blog/2007/12/04/ext-20-final-released/</a></p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2007/12/04/extjs-20-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A look ahead at ExtJS Grid 2.0</title>
		<link>http://www.ajaxbestiary.com/2007/10/30/a-look-ahead-at-extjs-grid-20/</link>
		<comments>http://www.ajaxbestiary.com/2007/10/30/a-look-ahead-at-extjs-grid-20/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 18:24:25 +0000</pubDate>
		<dc:creator>Don Albrecht</dc:creator>
				<category><![CDATA[extjs]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[upcoming]]></category>

		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/10/30/a-look-ahead-at-extjs-grid-20/</guid>
		<description><![CDATA[Perhaps the strongest widget in the Ext toolbox is the powerful grid tool.&#160; In 2.0 it gets even stronger. Some of the new features: Ability to collapse entire grid pane Ability to hide and display columns from within the interface Support for totals, averages and other summary columns Group rows by sort. ExtJS 2.0 is [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="289" alt="extgrid2" src="http://www.ajaxbestiary.com/wp-content/uploads/2007/10/extgrid2-thumb.jpg" width="520" border="0"> Perhaps the strongest widget in the Ext toolbox is the powerful grid tool.&nbsp; In 2.0 it gets even stronger.</p>
<p>Some of the new features:</p>
<ul>
<li><font color="#333333">Ability to collapse entire grid pane</font></li>
<li><font color="#333333">Ability to hide and display columns from within the interface</font></li>
<li><font color="#333333">Support for totals, averages and other summary columns</font></li>
<li><font color="#333333">Group rows by sort.</font></li>
</ul>
<p>ExtJS 2.0 is already in beta &amp; ready for preliminary development today and the production release is just around the corner.&nbsp; Check it out here: </p>
<p><a title="http://extjs.com/" href="http://extjs.com/">http://extjs.com/</a></p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2007/10/30/a-look-ahead-at-extjs-grid-20/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ExtJS in Action: The ExtJS WordPress Theme</title>
		<link>http://www.ajaxbestiary.com/2007/10/24/extjs-in-action-the-extjs-wordpress-theme/</link>
		<comments>http://www.ajaxbestiary.com/2007/10/24/extjs-in-action-the-extjs-wordpress-theme/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 19:30:27 +0000</pubDate>
		<dc:creator>Don Albrecht</dc:creator>
				<category><![CDATA[extjs]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/10/24/extjs-in-action-the-extjs-wordpress-theme/</guid>
		<description><![CDATA[Here&#8217;s a great example of an ExtJS interface to a real application.  While Ext is much better suited to RIA&#8217;s and admin screens than a full blown website frontend.  This is an admirable and polished attempt to build an interface to a well known tool using a powerful Javascript framework.  It&#8217;s also a great thing [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p><img src="http://www.ajaxbestiary.com/wp-content/uploads/2007/10/wordpressext.png" alt="Wordpress Ext" /></p>
<p>Here&#8217;s a great example of an ExtJS interface to a real application.  While Ext is much better suited to RIA&#8217;s and admin screens than a full blown website frontend.  This is an admirable and polished attempt to build an interface to a well known tool using a powerful Javascript framework.  It&#8217;s also a great thing to disect and understand.</p>
<p>Find the Theme Here: <a href="http://extjswordpress.net/">http://extjswordpress.net/ </a></p>
<p>Via   <a href="http://weblogtoolscollection.com/archives/2007/10/17/extjs-wordpress-theme/">Weblog Tools Collection</a></p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2007/10/24/extjs-in-action-the-extjs-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ext 2.0 Beta 1 Released</title>
		<link>http://www.ajaxbestiary.com/2007/10/11/ext-20-beta-1-released/</link>
		<comments>http://www.ajaxbestiary.com/2007/10/11/ext-20-beta-1-released/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 17:57:59 +0000</pubDate>
		<dc:creator>Don Albrecht</dc:creator>
				<category><![CDATA[extjs]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/10/11/ext-20-beta-1-released/</guid>
		<description><![CDATA[The Ext team is proud to announce that Ext v2.0 Beta 1 is available for download. This release of the Ext framework features updated portal and desktop examples, documentation updates, and bug fixes. New Sample Application Updates In our last release, we introduced two new sample applications which were truly a hit with the development [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>The Ext team is proud to announce that Ext v2.0 Beta 1 is available<br />
for download. This release of the Ext framework features updated portal<br />
and desktop examples, documentation updates, and bug fixes.</p>
<h3>New Sample Application Updates</h3>
<p>In our last release, we introduced two new sample applications which<br />
were truly a hit with the development community. The two applications,<br />
Web Desktop and Customizing: Portals were excellent examples of the<br />
capabilities of the new Ext 2.0 framework. For the beta release, we<br />
have dramatically improved the features and functionality of both. The<br />
Web Desktop has been drastically enhanced to include a start menu as<br />
well as functional icons on the desktop. It truly looks like you’re<br />
working within an operating system like Windows.</p>
<p><a href="http://extjs.com/blog/2007/10/11/ext-20-beta-1/">Available from EXTjs.com</a></p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2007/10/11/ext-20-beta-1-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ext 2.0 Alpha Has Landed</title>
		<link>http://www.ajaxbestiary.com/2007/10/03/ext-20-alpha-has-landed/</link>
		<comments>http://www.ajaxbestiary.com/2007/10/03/ext-20-alpha-has-landed/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 16:09:11 +0000</pubDate>
		<dc:creator>Don Albrecht</dc:creator>
				<category><![CDATA[extjs]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/10/03/ext-20-alpha-has-landed/</guid>
		<description><![CDATA[The first Alpha of EXT 2.0 has landed&#160; Some of the new features are: Scrolling Tabs Highly configurable single-level column grouping capabilities as well as summary rollups at the group level. Anchor layout in forms to ensure a consistent size and position for form fields regardless of browser size. Treeviews that support additional columns for [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>The first Alpha of EXT 2.0 has landed&nbsp; Some of the new features are:
<ul>
<li><a href="http://extjs.com/deploy/ext-2.0-alpha1/examples/tabs/tabs-adv.html">Scrolling Tabs</a></li>
<li><a href="http://extjs.com/deploy/ext-2.0-alpha1/examples/grid/grouping.html">Highly configurable single-level column grouping capabilities as well as summary rollups at the group level.</a></li>
<li><a href="http://extjs.com/deploy/ext-2.0-alpha1/examples/form/anchoring.html">Anchor layout in forms to ensure a consistent size and position for form fields regardless of browser size.</a></li>
<li><a href="http://extjs.com/deploy/ext-2.0-alpha1/examples/tree/column-tree.html">Treeviews that support additional columns for each leaf node.</a></li>
</ul>
<p>Along with launch of 2.0 alpha, there&#8217;s a revised API documentation system with a streamlined ability for bookmarking &amp; new samples.</p>
<p>Find More information here:<br /><a href="http://extjs.com/blog/2007/09/28/ext-20-alpha-release/">http://extjs.com/blog/2007/09/28/ext-20-alpha-release/</a></p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2007/10/03/ext-20-alpha-has-landed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handling Multiple File Uploads with ExtJS File Uploader &amp; PHP</title>
		<link>http://www.ajaxbestiary.com/2007/09/28/handling-multiple-file-uploads-with-extjs-file-uploader-php/</link>
		<comments>http://www.ajaxbestiary.com/2007/09/28/handling-multiple-file-uploads-with-extjs-file-uploader-php/#comments</comments>
		<pubDate>Fri, 28 Sep 2007 19:40:07 +0000</pubDate>
		<dc:creator>Don Albrecht</dc:creator>
				<category><![CDATA[extjs]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/09/28/handling-multiple-file-uploads-with-extjs-file-uploader-php/</guid>
		<description><![CDATA[Earlier this month I posted on a powerful ExtJS extension for handling multiple file uploads. Today we will delve deeper into this widget and explore handling the uploads on the server end. To get started we will need a copy of ExtJS 1.1.1 and a copy of Saki&#8217;s Upload Form widget. You&#8217;ll also probably want [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Earlier this month I posted on a <a href="httphttp://www.ajaxbestiary.com/2007/09/04/amazing-file-upload-system-built-with-extjs/">powerful ExtJS extension for handling multiple file uploads</a>.  Today we will delve deeper into this widget and explore handling the uploads on the server end.</p>
<p><span id="more-86"></span></p>
<p>To get started we will need a copy of <a href="http://extjs.com/download">ExtJS 1.1.1</a> and a copy of <a href="http://aariadne.com/uploadform/Ext.ux.UploadForm.js">Saki&#8217;s Upload Form widget</a>.  You&#8217;ll also probably want a copy of the <a href="http://aariadne.com/uploadform/uploadform.css">widget stylesheet </a>&amp; the <a href="http://www.famfamfam.com/lab/icons/silk/">Icon collection</a> used. Place the upload form widget in a &#8220;extensions&#8221; directory inside of the extJS directory and we&#8217;re ready to begin.  The stylesheet goes in the CSS directory &amp; icons go in images/icons.</p>
<ul>
<li>CSS
<ul>
<li>uploadform.css</li>
</ul>
</li>
<li>JS
<ul>
<li>ext
<ul>
<li>extensions</li>
</ul>
</li>
</ul>
</li>
<li>uploads</li>
<li>upload.php</li>
<li>icons</li>
</ul>
<p><strong>Step 1, the deploying the widget:</strong></p>
<p>We need to embed the widget inside of web page.  This is done by creating an empty div that will act as the widgets container when it is instantiated through javascript.  We then need to instantiate the widget in the onReady method.</p>
<p>The Code:<br />
<code>&lt;html&gt;&lt;head&gt;<br />
&lt;link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css"&gt;<br />
&lt;link id="theme" rel="stylesheet" type="text/css" href="ext/resources/css/xtheme-default.css"&gt;<br />
&lt;script type="text/javascript" src="ext/adapter/ext/ext-base.js"&gt;&lt;/script&gt;<br />
&lt;script type="text/javascript" src="ext/ext-all.js"&gt;&lt;/script&gt;<br />
&lt;script type="text/javascript" src="ext/extensions/Ext.ux.UploadForm.js"&gt; &lt;/script&gt;<br />
&lt;link rel="stylesheet" type="text/css" href="css/uploadform.css"&gt;<br />
&lt;style type="text/css"&gt;<br />
#upform {<br />
position: relative;<br />
left: 14px;<br />
width: 180px;<br />
padding: 10px;<br />
border: 1px solid silver;<br />
background-color: #D3E6EA;<br />
margin-bottom: 24px;<br />
}&lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div id="upform"&gt;<br />
&lt;/div&gt;<br />
&lt;script type="text/javascript"&gt;<br />
// set blank image to local file<br />
Ext.BLANK_IMAGE_URL = 'ext/resources/images/default/s.gif';<br />
// run this function when document becomes ready<br />
Ext.onReady(function() {<br />
var iconPath = 'icons/';<br />
Ext.QuickTips.init();<br />
var upform = new Ext.ux.UploadForm('upform', {<br />
autoCreate: true<br />
, url: 'upload.php'<br />
, method: 'post'<br />
, maxFileSize: 1048570<br />
, baseParams: {<br />
cmd:'upload'<br />
, path: 'root'<br />
}<br />
});<br />
}) // end of onReady<br />
// end of file<br />
&lt;/script&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></p>
<p>Most important in the code is the following:</p>
<ul>
<li>The div &lt;div id=&#8221;upform&#8221;&gt;&lt;/div&gt; is the div to be replaced by the widget.</li>
<li>url:upload.php sets the url of the server script to handle file uploads.</li>
<li>maxFileSize sets an upward limit on file size.</li>
</ul>
<p>Next we have the server code:<br />
<code><br />
&lt;?php // Where the file is going to be placed<br />
$target_path = "uploads/";<br />
$output = "{\"success\" : falseThe COde }";<br />
foreach( $_FILES as $Fileid){<br />
$target_path = $target_path . basename( $Fileid['name']);<br />
if( move_uploaded_file($Fileid['tmp_name'], $target_path) ) {<br />
$output = "{\"success\" : true }";<br />
}<br />
}<br />
echo $output; ?&gt;</code></p>
<p>This simply iterates through the uploaded files, moves them into the uploads directory and returns a json object representing success or failure.</p>
<p>We&#8217;ll explore this in more depth in the future.  I need to stress that this is not code for deployment.  It lacks even the most rudimentary security checks and is a hackers dream.  Next time we&#8217;ll discuss implementing the upload progress bar.</p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2007/09/28/handling-multiple-file-uploads-with-extjs-file-uploader-php/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Widget Profile: ExtJS table</title>
		<link>http://www.ajaxbestiary.com/2007/09/27/widget-profile-extjs-table/</link>
		<comments>http://www.ajaxbestiary.com/2007/09/27/widget-profile-extjs-table/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 11:57:20 +0000</pubDate>
		<dc:creator>Don Albrecht</dc:creator>
				<category><![CDATA[extjs]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/09/27/widget-profile-extjs-table/</guid>
		<description><![CDATA[Rich, powerful AJAX tables provide a greater impact in usability to web applications than just about any other widget.&#xA0; One of the best of these is the extJS table. Some highlights: Inline editing based on data type (calendar for date, spinner for numeric etc) Validation of inline edits Custom sorts Able to utilize existing tables, [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p><a href="http://www.ajaxbestiary.com/wp-content/uploads/2007/09/ext-documentation-center-1190425125463.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="271" alt="Ext Documentation Center_1190425125463" src="http://www.ajaxbestiary.com/wp-content/uploads/2007/09/ext-documentation-center-1190425125463-thumb.png" width="476" border="0" /></a>
<p>Rich, powerful AJAX tables provide a greater impact in usability to web applications than just about any other widget.&#xA0; One of the best of these is the extJS table. Some highlights:</p>
<ul>
<li><font color="#333333">Inline editing based on data type (calendar for date, spinner for numeric etc)</font></li>
<li><font color="#333333">Validation of inline edits</font></li>
<li><font color="#333333">Custom sorts</font></li>
<li><font color="#333333">Able to utilize existing tables, XML data files &amp; JSON data</font></li>
<li><font color="#333333">Paging &amp; Remote data support</font></li>
</ul>
<p>More information on ExtJS table will be coming in part 3 of the extJS POG tutorial</p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2007/09/27/widget-profile-extjs-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building an application with extjs and POG part 2: The Data Model</title>
		<link>http://www.ajaxbestiary.com/2007/09/19/building-an-application-with-extjs-and-pog-part-2-the-data-model/</link>
		<comments>http://www.ajaxbestiary.com/2007/09/19/building-an-application-with-extjs-and-pog-part-2-the-data-model/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 11:39:39 +0000</pubDate>
		<dc:creator>Don Albrecht</dc:creator>
				<category><![CDATA[extjs]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Php Object Generator]]></category>

		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/09/19/building-an-application-with-extjs-and-pog-part-2-the-data-model/</guid>
		<description><![CDATA[In part one we discussed the general layout and design of the application. In this chapter we will build the server side in the storage for the application using the powerful PHP object generator (POG). To get started with POG point your web browser to www.phpobjectgenerator.com and fill out the form to create each of [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>In <a href="http://www.ajaxbestiary.com/2007/09/04/building-an-ajax-application-with-pog-and-extjs-part-1-the-setup/">part one</a> we discussed the general layout and design of the application.  In this chapter we will build the server side in the storage for the application using the powerful PHP object generator (POG).</p>
<p><span id="more-41"></span></p>
<p>To get started with POG point your web browser to <a href="http://phpobjectgenerator.com">www.phpobjectgenerator.com</a> and fill out the form to create each of your objects. Download the zip file provided for each object you create. <em> Note: The zip files may not open properly in Mac OS X</em></p>
<p>To get things started here are the objects for the current project.</p>
<p><a href="http://www.phpobjectgenerator.com/?language=php5&amp;wrapper=pog&amp;objectName=Feature&amp;attributeList=array+%28%0A++0+%3D%3E+%27Task%27%2C%0A++1+%3D%3E+%27label%27%2C%0A%29&amp;typeList=array+%28%0A++0+%3D%3E+%27HASMANY%27%2C%0A++1+%3D%3E+%27VARCHAR%28255%29%27%2C%0A%29" target="_blank"><img src="http://www.ajaxbestiary.com/wp-content/uploads/2007/09/feature.jpg" style="border: 0px none ; margin: 18px 35px 18px 30px" alt="Feature" border="0" height="634" width="414" /></a></p>
<p><img src="http://www.ajaxbestiary.com/wp-content/uploads/2007/09/role.jpg" style="border: 0px none ; margin: 18px 35px 18px 30px" alt="Role" border="0" height="292" width="419" /><a href="http://www.phpobjectgenerator.com/?language=php5&amp;wrapper=pog&amp;objectName=Task&amp;attributeList=array+%28%0A++0+%3D%3E+%27label%27%2C%0A++1+%3D%3E+%27User%27%2C%0A++2+%3D%3E+%27originalEst%27%2C%0A++3+%3D%3E+%27currentEst%27%2C%0A++4+%3D%3E+%27completed%27%2C%0A++5+%3D%3E+%27Feature%27%2C%0A%29&amp;typeList=array+%28%0A++0+%3D%3E+%27VARCHAR%28255%29%27%2C%0A++1+%3D%3E+%27BELONGSTO%27%2C%0A++2+%3D%3E+%27INT%27%2C%0A++3+%3D%3E+%27INT%27%2C%0A++4+%3D%3E+%27INT%27%2C%0A++5+%3D%3E+%27BELONGSTO%27%2C%0A%29"><img src="http://www.ajaxbestiary.com/wp-content/uploads/2007/09/task.jpg" style="border: 0px none ; margin: 18px 30px" alt="Task" border="0" height="425" width="417" /></a> <img src="http://www.ajaxbestiary.com/wp-content/uploads/2007/09/user.jpg" style="border: 0px none ; margin: 18px 30px 18px 0px" alt="User" border="0" height="455" width="419" /><br />Now, unzip all of the POG zip files into the same directory in your development server.  It will gripe about overwriting some files each time, that&#8217;s ok.  The /objects folder should now contain the following files.</p>
<ul>
<li><font color="#333333">class.database.php</font></li>
<li><font color="#333333">class.feature.php</font></li>
<li><font color="#333333">class.pog_base.php</font></li>
<li><font color="#333333">class.role.php</font></li>
<li><font color="#333333">class.task.php</font></li>
<li><font color="#333333">class.user.php</font></li>
<li><font color="#333333">ignore_objects.txt</font></li>
</ul>
<p>Now we need to get the Database in on the action.  Go to your local MySQL installation and create a new database, user &amp; password with full schema permissions.  Edit the configuration.php file located in the POG root and change the following lines to match your database settings.</p>
<p>$configuration['db']    = &#8216;pogext&#8217;;         //    database name<br />
$configuration['host']    = &#8216;localhost&#8217;;    //    database host<br />
$configuration['user']    = &#8216;username&#8217;;        //    database user<br />
$configuration['pass']    = &#8216;password&#8217;;        //    database password<br />
$configuration['port']     = &#8217;3306&#8242;;        //    database port</p>
<p>You also need to change the very last line of the file to point to the POG plugins directory.  On my dev machine it was:</p>
<p>$configuration['plugins_path'] = &#8216;C:\xampp\htdocs\extjs\plugins&#8217;;</p>
<p>At this point, pog is ready tor run and create our database.  Point a webbrowser to the /setup directory and hit the big POG ME UP button.  This will create all of our database tables and provide us with a temporary scaffold interface for entering data.</p>
<p>Next Time We&#8217;ll start using POG to build the login and authentication systems.</p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2007/09/19/building-an-application-with-extjs-and-pog-part-2-the-data-model/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Amazing File Upload System Built with ExtJS</title>
		<link>http://www.ajaxbestiary.com/2007/09/04/amazing-file-upload-system-built-with-extjs/</link>
		<comments>http://www.ajaxbestiary.com/2007/09/04/amazing-file-upload-system-built-with-extjs/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 15:04:30 +0000</pubDate>
		<dc:creator>Don Albrecht</dc:creator>
				<category><![CDATA[extjs]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://www.dademsolutions.com/ajaxbeast/2007/09/04/amazing-file-upload-system-built-with-extjs/</guid>
		<description><![CDATA[File Uploads with Progress Bars &#38; Batch File uploads are two incredibly useful tools for the AJAX toolbox. This widget from Ariadne.com packs a powerful punch for adding these features to your projects. AJAX Upload Widget]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p><img src="http://www.dademsolutions.com/ajaxbeast/wp-content/uploads/2007/09/uploadwidget.png" title="Upload Widget" alt="Upload Widget" align="left" />File Uploads with Progress Bars &amp; Batch File uploads are two incredibly useful tools for the AJAX toolbox.  This widget from Ariadne.com packs a powerful punch for adding these features to your projects.</p>
<p><a href="http://aariadne.com/uploadform/">AJAX Upload Widget</a></p>
<p><img src="http://www.ajaxbestiary.com/?voyeur=1"></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxbestiary.com/2007/09/04/amazing-file-upload-system-built-with-extjs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

