<?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>TechBytes &#187; JavaScript Libraries</title>
	<atom:link href="http://www.asim.pk/tags/javascript-libraries/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asim.pk</link>
	<description>Technology Bytes</description>
	<lastBuildDate>Mon, 06 Sep 2010 21:55:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>CakePHP &#8211; link / include JavaScript files in layouts</title>
		<link>http://www.asim.pk/2008/12/29/cakephp-link-include-javascript-files-in-layouts/</link>
		<comments>http://www.asim.pk/2008/12/29/cakephp-link-include-javascript-files-in-layouts/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 08:37:04 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[JavaScript Libraries]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Include]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Layouts]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[Referencing]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=131</guid>
		<description><![CDATA[Create (or modify the) file app/app_controller.php add this code class AppController extends Controller { var $helpers = array('Html', 'Form', 'Javascript'); } CakePHP 1.2 allows you to define a reference to a Javascript file which is then added to the head section of the generated code. For this purpose the variable $scripts_for_layout has to be added [...]]]></description>
			<content:encoded><![CDATA[<p>Create (or modify the) file</p>
<pre class="brush: plain;">app/app_controller.php</pre>
<p>add this code</p>
<pre class="brush: php;">
class AppController extends Controller {
	var $helpers = array('Html', 'Form', 'Javascript');
}
</pre>
<p><a href="http://cakephp.org/">CakePHP</a> 1.2 allows you to define a reference to a Javascript file which is then added to the head section of the generated code. For this purpose the variable $scripts_for_layout has to be added to the layout:</p>
<pre class="brush: php;">
&lt;head&gt;
	&lt; ?php echo $scripts_for_layout; ?&gt;
&lt;/head&gt;
</pre>
<p>In the view you can now link to the Javascript file with:</p>
<pre class="brush: php;">
$javascript-&gt;link('script.js', false);
// OR you can simply use $javascript-&gt;link('script.js');
</pre>
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<li>January 6, 2010 &#8212; <a href="http://www.asim.pk/2010/01/06/kohana-or-codeigniter-or-cakephp/" title="Kohana or CodeIgniter or CakePHP?">Kohana or CodeIgniter or CakePHP?</a></li>
<li>May 6, 2009 &#8212; <a href="http://www.asim.pk/2009/05/06/getting-started-on-codeigniter-the-lightening-fast-php-framework/" title="Getting Started on CodeIgniter, the lightening fast PHP Framework">Getting Started on CodeIgniter, the lightening fast PHP Framework</a></li>
<li>January 8, 2009 &#8212; <a href="http://www.asim.pk/2009/01/08/ubuntu-810-perfect-linux-distro-for-php-development/" title="Ubuntu 8.10, Perfect Linux distro for PHP development">Ubuntu 8.10, Perfect Linux distro for PHP development</a></li>
<li>January 6, 2009 &#8212; <a href="http://www.asim.pk/2009/01/06/using-cakephp-bake-tool-on-linux/" title="Using CakePHP&#8217;s Bake on Linux">Using CakePHP&#8217;s Bake on Linux</a></li>
<li>June 27, 2008 &#8212; <a href="http://www.asim.pk/2008/06/27/article-reading-and-writing-spreadsheets-with-php/" title="Article: Reading and Writing Spreadsheets with PHP">Article: Reading and Writing Spreadsheets with PHP</a></li>
<li>July 29, 2010 &#8212; <a href="http://www.asim.pk/2010/07/29/using-facebook-graph-api-to-keep-an-eye-on-friends-activity/" title="Using Facebook Graph API to keep an eye on friends activity">Using Facebook Graph API to keep an eye on friends activity</a></li>
<li>July 19, 2010 &#8212; <a href="http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/" title="Installing Lighttpd, PHP and MySQL on Ubuntu">Installing Lighttpd, PHP and MySQL on Ubuntu</a></li>
<li>May 27, 2010 &#8212; <a href="http://www.asim.pk/2010/05/27/installing-phps-ssh2-extension-on-ubuntu/" title="Installing PHP&#8217;s SSH2 extension on Ubuntu">Installing PHP&#8217;s SSH2 extension on Ubuntu</a></li>
<li>May 15, 2010 &#8212; <a href="http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/" title="Good bye CentOS! Hello Ubuntu">Good bye CentOS! Hello Ubuntu</a></li>
<li>January 7, 2010 &#8212; <a href="http://www.asim.pk/2010/01/07/exploring-kohana-as-an-alternative-to-codeigniter/" title="Exploring Kohana as an Alternative to CodeIgniter">Exploring Kohana as an Alternative to CodeIgniter</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2008/12/29/cakephp-link-include-javascript-files-in-layouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Error</title>
		<link>http://www.asim.pk/2008/09/22/jquery-error/</link>
		<comments>http://www.asim.pk/2008/09/22/jquery-error/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 10:00:42 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[JavaScript Libraries]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.techbytes.pk/blog/2008/09/22/jquery-error/</guid>
		<description><![CDATA[jQuery Error, originally uploaded by asim.zeeshan. I tried opening the jQuery documentation website for a reference and it was running into errors. I strongly feel that there should be an offline documentation with every release. Related Posts (auto suggestions based on tags) December 29, 2008 &#8212; CakePHP &#8211; link / include JavaScript files in layouts [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/asimzeeshan/2878003587/" title="flickr photo sharing"><img src="http://farm4.static.flickr.com/3248/2878003587_d88664275b.jpg" style="border: solid 2px #000000;" alt="jQuery Error" border="" /></a><br />
<br />
<a href="http://www.flickr.com/photos/asimzeeshan/2878003587/">jQuery Error</a>, originally uploaded by <a href="http://www.flickr.com/people/asimzeeshan/">asim.zeeshan</a>.</p>
<p>I tried opening the jQuery documentation website for a reference and it was running into errors. I strongly feel that there should be an offline documentation with every release.</p>
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<li>December 29, 2008 &#8212; <a href="http://www.asim.pk/2008/12/29/cakephp-link-include-javascript-files-in-layouts/" title="CakePHP &#8211; link / include JavaScript files in layouts">CakePHP &#8211; link / include JavaScript files in layouts</a></li>
<li>April 8, 2010 &#8212; <a href="http://www.asim.pk/2010/04/08/how-to-solve-%e2%80%98you-do-not-have-sufficient-permissions-to-access-this-page-%e2%80%99-in-wordpress/" title="How to solve ‘You do not have sufficient permissions to access this page.’ in WordPress">How to solve ‘You do not have sufficient permissions to access this page.’ in WordPress</a></li>
<li>January 26, 2009 &#8212; <a href="http://www.asim.pk/2009/01/26/tortoisesvn-15614908-bug-on-windows-vista/" title="TortoiseSVN 1.5.6.14908 bug on Windows Vista">TortoiseSVN 1.5.6.14908 bug on Windows Vista</a></li>
<li>January 13, 2009 &#8212; <a href="http://www.asim.pk/2009/01/13/is-windows-live-really-stable/" title="Is Windows Live really stable?">Is Windows Live really stable?</a></li>
<li>May 31, 2008 &#8212; <a href="http://www.asim.pk/2008/05/31/a-bug-in-wordpress-v-251/" title="A Bug in WordPress v 2.5.1">A Bug in WordPress v 2.5.1</a></li>
<li>May 28, 2008 &#8212; <a href="http://www.asim.pk/2008/05/28/transfering-domain-from-tucows/" title="Transfering Domain from TUCOWS">Transfering Domain from TUCOWS</a></li>
<li>May 28, 2008 &#8212; <a href="http://www.asim.pk/2008/05/28/elance-blunder/" title="Elance Blunder">Elance Blunder</a></li>
<li>April 12, 2008 &#8212; <a href="http://www.asim.pk/2008/04/12/godaddy-bug/" title="GoDaddy.com&#8217;s BUG">GoDaddy.com&#8217;s BUG</a></li>
<li>February 7, 2008 &#8212; <a href="http://www.asim.pk/2008/02/07/resellerclubcom-transecute-gateway-error/" title="ResellerClub.com Transecute Gateway Error">ResellerClub.com Transecute Gateway Error</a></li>
<li>February 4, 2008 &#8212; <a href="http://www.asim.pk/2008/02/04/phpmychat-vulnerability-seeking-help-from-the-officials/" title="phpMyChat Vulnerability &#8211; seeking help from the officials">phpMyChat Vulnerability &#8211; seeking help from the officials</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2008/09/22/jquery-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning the Yahoo User Interface Library</title>
		<link>http://www.asim.pk/2008/04/14/learning-the-yahoo-user-interface-library/</link>
		<comments>http://www.asim.pk/2008/04/14/learning-the-yahoo-user-interface-library/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 19:38:57 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Flickr]]></category>
		<category><![CDATA[JavaScript Libraries]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://www.techbytes.pk/blog/2008/04/14/learning-the-yahoo-user-interface-library/</guid>
		<description><![CDATA[The cool book that i just bought today. I was previously working with Prototype and Scriptaculous (and im very good at it) and then jQuery. Most recently i have also worked with mootools because i had to create a component for Joomla 1.5. This week, i had to do something with sliders and had to [...]]]></description>
			<content:encoded><![CDATA[<div class="flickr-frame"><a title="photo sharing" href="http://www.flickr.com/photos/asimzeeshan/2410280300/"><img class="alignright flickr-photo" style="float: right;" src="http://farm3.static.flickr.com/2226/2410280300_5b392f5584_m.jpg" alt="Yahoo User Interface Library" width="195" height="240" /></a></div>
<p>The cool book that i just bought today.</p>
<p>I was previously working with Prototype and Scriptaculous (and im very good at it) and then jQuery. Most recently i have also worked with mootools because i had to create a component for Joomla 1.5.</p>
<p>This week, i had to do something with sliders and had to look into each one of these in more detail. Found out that <a title="YUI" href="http://developer.yahoo.com/yui/" target="_blank">YUI</a> is far better (and advanced).</p>
<p>If you want to sneak peak before purchasing the book, then visit the official <a title="YUI Blog" href="http://yuiblog.com/" target="_blank">YUI blog</a> and read <a title="Permanent Link to Sample Chapter from Dan Wellmanâ€™s â€œLearning the Yahoo! User Interface Libraryâ€" href="http://yuiblog.com/blog/2008/04/10/wellman-yui-book/" target="_blank">Sample Chapter from Dan Wellmanâ€™s â€œLearning the Yahoo! User Interface Libraryâ€</a>.</p>
<p>Note: Post comments and your criticism below.<br />
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<li>July 22, 2008 &#8212; <a href="http://www.asim.pk/2008/07/22/facebooks-new-interface/" title="FaceBook&#8217;s New Interface">FaceBook&#8217;s New Interface</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2008/04/14/learning-the-yahoo-user-interface-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
