<?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>php&#124;architect - The site for PHP professionals &#187; javascript</title>
	<atom:link href="http://www.phparch.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phparch.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 10 Feb 2012 15:11:29 +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>Ext4Yii, bridging PHP and JavaScript frameworks together</title>
		<link>http://www.phparch.com/2010/07/ext4yii-bridging-php-and-javascript-frameworks-together/</link>
		<comments>http://www.phparch.com/2010/07/ext4yii-bridging-php-and-javascript-frameworks-together/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 12:00:40 +0000</pubDate>
		<dc:creator>Marco Tabini</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[ext]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[yii]]></category>

		<guid isPermaLink="false">http://www.phparch.com/?p=5674</guid>
		<description><![CDATA[Ext4Yii is one of the numerous solution to bring a JavaScript framework into a PHP one with ease.]]></description>
			<content:encoded><![CDATA[<h2>Ext JS</h2>
<p><a title="Ext JS homepage" href="http://www.sencha.com/products/js/"><img class="alignleft size-thumbnail wp-image-5680" title="extjs_splash" src="http://www.phparch.com/files/2010/07/extjs_splash1-150x150.jpg" alt="" width="150" height="150" />Ext JS</a> is a (client-side) JavaScript library created for coding Rich Internet Applications. Nowadays no one uses bare JavaScript, without an abstraction layer over the browser JavaScript implementation. Along with JQuery, Dojo, MooTools and many others, Ext JS provides JavaScript developers with a reusable toolset for modifying the DOM, building form controls, or widgets like grids, tab panels and trees.</p>
<p>There has been some hype lately on Ext JS being renamed to Sencha, but it was a rebranding of the company behind this product, which proposes other libraries like Raphael (SVG-related). Ext JS is still available as a standalone product on Sencha&#8217;s website. Ext JS is released for free with its open source license adapt to other open source applications, but also as a commercial product, for commercial use.</p>
<h2>Yii framework</h2>
<p><a title="Yii homepage" href="http://www.yiiframework.com/"><a href="http://beta.phparch.com/wp-content/uploads/2010/07/yii_logo.png"><img class="alignleft size-full wp-image-5678" title="yii_logo" src="http://beta.phparch.com/wp-content/uploads/2010/07/yii_logo.png" alt="" width="80" height="80" /></a>Yii Web Programming Framework</a> is a PHP 5 framework, mainly inspired by Prado. The goals of Yii are striving for high performance, achieved by simplicity of the design, and very loose coupling between the various components. Some of the features of Yii include the classic MVC implementation, database access infrastructure, and support for theming, caching and localization.</p>
<p>Yii is released under the BSD license, like <a href="http://framework.zend.com">Zend Framework</a>, so there are no limitations to its use in open source or commercial projects.</p>
<h2>Ext4Yii</h2>
<p><a title="Ext4Yii homepage" href="http://www.ext4yii.com/"><a href="http://beta.phparch.com/wp-content/uploads/2010/07/logobig.png"><img class="alignleft size-full wp-image-5677" title="logobig" src="http://beta.phparch.com/wp-content/uploads/2010/07/logobig.png" alt="" width="101" height="101" /></a>Ext4Yii</a> is essentially a bridge between these two projects, which aims to integrate Ext JS as an extension for Yii.</p>
<p>Ext4Yii is implemented as a templating system, which consumes XML models where you define widget elements like buttons or handlers (in embedded JavaScript code which can take advantage of Ext-powered methods and objects).</p>
<p>When using the provided ExtController as the superclass of the Yii application&#8217;s SiteController, the XML models are readily integrated and instantiated as Ext JS objects, without the need to include lots of .js files and event hooks.</p>
<p>In the Ext4Yii documentation, there are various examples of bootstrapping Ext JS widgets using these higher-level models, which deal with layout elements and forms. There are more advanced features included like AjaxMethods, which allows to call a registered PHP function via AJAX from the client side.</p>
<p>Learning a new modeling language can be complex, especially with verbose XML. Fortunately, there is a bundled plug-in for the NetBeans IDE which provides code completion for Ext4Yii. Even if you&#8217;re not a fan of IDEs, they sometimes are very handy in providing a rapid solution to bootstrap new tools like Ext4Yii.</p>
<h2>Conclusion</h2>
<p>PHP frameworks have been one of the most powerful innovations in the PHP landscape in the last years, and bridging them together with a JavaScript solution is important for being able to provide RIA behavior out of the box. There are similar successful solutions available on the web, like sfJqueryPlugin or Zend_Dojo, which prove that the concept of leveraging a JavaScript library into a PHP framework is an integration worth considering.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phparch.com/2010/07/ext4yii-bridging-php-and-javascript-frameworks-together/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Meet Ed Finkler</title>
		<link>http://www.phparch.com/2010/04/meet-ed-finkler/</link>
		<comments>http://www.phparch.com/2010/04/meet-ed-finkler/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 14:01:01 +0000</pubDate>
		<dc:creator>Cal Evans</dc:creator>
				<category><![CDATA[podcast]]></category>
		<category><![CDATA[Conference]]></category>
		<category><![CDATA[ed finkler]]></category>
		<category><![CDATA[funkatron]]></category>
		<category><![CDATA[inspekt]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[spaz]]></category>

		<guid isPermaLink="false">http://www.phparch.com/?p=4997</guid>
		<description><![CDATA[This one is a bit longer than the other interviews in this series but if you know Ed, that doesn&#8217;t surprise you. Ed has been a player in the PHP community for as long as I&#8217;ve known him. First with Inspect and then with the award winning twitter client Spaz. (Which isn&#8217;t really PHP but [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://beta.phparch.com/wp-content/uploads/2010/04/ed_finkler.png"><img src="http://beta.phparch.com/wp-content/uploads/2010/04/ed_finkler.png" alt="" title="ed_finkler" width="196" height="196" class="alignleft size-full wp-image-5003" /></a>This one is a bit longer than the other interviews in this series but if you know Ed, that doesn&#8217;t surprise you. Ed has been a player in the PHP community for as long as I&#8217;ve known him. First with Inspect and then with the award winning twitter client <a href="http://getspaz.com/">Spaz</a>. (Which isn&#8217;t really PHP but a lot of PHP people use it because it is a good program) Ed is a wicked smart programmer and works with Eli White and Jeff Jones over at <a href="http://hiidef.com/">HiiDef</a>.</p>
<p>Listen as Ed talks about his tutorial, &#8220;<a href="http://tek.phparch.com/talks#TEKXT05">JavaScript for PHP Developers</a>&#8221; and his session, &#8220;<a href="http://tek.phparch.com/talks#TEKXS34">Put down the Superglobals! Secure PHP Development with Inspekt</a>&#8220;.</p>
<p>To hear Ed Finkler live in Chicago, <a href="http://tek.phparch.com/signup">Register for TEK·X today</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phparch.com/2010/04/meet-ed-finkler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://mtadata.s3.amazonaws.com/podcasts/20100423_ed_finkler.mp3" length="30839680" type="audio/mpeg" />
		</item>
		<item>
		<title>Impel, the Javascript ORM</title>
		<link>http://www.phparch.com/2010/03/impel-the-javascript-orm/</link>
		<comments>http://www.phparch.com/2010/03/impel-the-javascript-orm/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 11:30:18 +0000</pubDate>
		<dc:creator>Marco Tabini</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.phparch.com/?p=4457</guid>
		<description><![CDATA[Impel is an object-relational mapper for JavaScript. If the association of these two terms seems strange, bear with me (and with HTML5) for a moment.]]></description>
			<content:encoded><![CDATA[<p><a href="http://beta.phparch.com/wp-content/uploads/2010/03/impel.png"><img class="alignleft size-full wp-image-4458" title="impel" src="http://beta.phparch.com/wp-content/uploads/2010/03/impel.png" alt="" width="150" height="90" /></a><a title="Impel official site" href="http://impel.simulacre.org/">Impel</a> is an object-relational mapper for Javascript, which takes advantage of the future native support of browsers for relational client-side databases.</p>
<h2>Background</h2>
<p>The in-development <a title="HTML% specification" href="http://dev.w3.org/html5/spec/Overview.html">HTML5 specification</a> is becoming more and more supported by browsers such as Firefox, Safari and even Internet Explorer. Together with other standardizations, the <a title="HTML5 Web SQL Database specification" href="http://dev.w3.org/html5/webdatabase">specification</a> defines a per-host relational database for data storage on the client side, to be accessed via JavaScript without any additional requirement than <a title="Structured Query Language" href="http://en.wikipedia.org/wiki/SQL">SQL</a> knowledge.<br />
Currently <a title="SQLite official site" href="http://en.wikipedia.org/wiki/SQLite">SQLite</a> is used by all the browsers&#8217; implementations, as it is the most popular lightweight relational database.</p>
<p>However, the available data model is not really limited to the relational one.</p>
<h2>The solution</h2>
<p>As often is the case, where there is a relational database, there is also an <a title="Object-relational mapping definition" href="http://en.wikipedia.org/wiki/Object-relational_mapping">object-relational mapper</a>. In JavaScript every variable is an object, so it makes sense to build an object-oriented application model, and transparently persist the data.</p>
<p>Thus the need for a DataMapper, like Impel, to store these objects automatically in the native database via metadata provided in the source code. Of course Impel comes with an automatical synchronization package for updating the rapidly changing schemas distributed all over the client machines. And it runs on the iPhone, as the authors <a title="Impel FAQ" href="http://impel.simulacre.org/crm/faq">like to point out</a>.</p>
<h2>Technology overview</h2>
<p>Impel is built over <a title="MooTools official site" href="http://mootools.net/">MooTools</a>, which is a required dependency. The API is modeled on <a title="Propel official site" href="http://propel.phpdb.org/trac/">Propel</a>. Propel was one of the first object-relational mappers for PHP 5.</p>
<p>The original API is modified to accommodate an asynchronous model, which the JavaScript interpreters require. Blocking calls in JavaScript do not work very well, since with the usage of simple method calls the browser would effectively freeze while expecting that the database computes and returns its query result. <em>Asynchronous model</em> means that handlers (anonymous or named functions) are registered on querying, and are called when the result is available, fitting in the event-driven paradigm of JavaScript programming.</p>
<p>Impel is indeed a bleeding edge technology, but a standout in the new HTML5 environment. It fills the gap between JavaScript objects and the native local storage of HTML5, a significant feature especially for early adopters.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phparch.com/2010/03/impel-the-javascript-orm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery disables UI  Downloader and Theme Builder</title>
		<link>http://www.phparch.com/2010/02/jquery-disables-ui-downloader-and-theme-builder/</link>
		<comments>http://www.phparch.com/2010/02/jquery-disables-ui-downloader-and-theme-builder/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 16:58:17 +0000</pubDate>
		<dc:creator>Cal Evans</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://phparch.com/?p=3648</guid>
		<description><![CDATA[jQuery recently disabled two of it's popular features, UI Downloader and Theme Builder while it works through issues that users are having.]]></description>
			<content:encoded><![CDATA[<p><a href="http://beta.phparch.com/wp-content/uploads/2010/02/JQuery_UI_logo_color_onwhite-300x72.png"><img class="alignleft size-thumbnail wp-image-3650" title="JQuery_UI_logo_color_onwhite-300x72" src="http://phparch.com/files/2010/02/JQuery_UI_logo_color_onwhite-300x72-e1265989484652-150x36.png" alt="" width="150" height="36" /></a>As of February 10th, 2010,<a href="http://blog.jqueryui.com/2010/02/jquery-ui-download-builderthemeroller-status/"> jQuery has disabled two popular features, the UI downloader and the Theme Builder</a>. Users visiting those pages on the web site are redirected to a page explaining the decision.</p>
<blockquote><p>We are aware of the problems with the Download Builder and ThemeRoller and we apologize for any inconvenience this has caused.  We have disabled those components on our web site until the problems with these components can be resolved.</p></blockquote>
<p>While the problems are being worked out, users are being offered two jQuery UI zip files:</p>
<ul>
<li> Development bundle, which contains all of the jQuery UI plugins as well as the base theme</li>
<li> Themes package, which includes all 21 pre-built themes.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.phparch.com/2010/02/jquery-disables-ui-downloader-and-theme-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

