<?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"
	>

<channel>
	<title>Query7</title>
	<atom:link href="http://query7.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://query7.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Tue, 06 Jan 2009 08:47:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Increase Development Speed With jQuery</title>
		<link>http://query7.com/increase-development-speed-with-jquery/</link>
		<comments>http://query7.com/increase-development-speed-with-jquery/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 14:23:40 +0000</pubDate>
		<dc:creator>sourcebits staff</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://query7.com/?p=299</guid>
		<description><![CDATA[<p>As we all know jQuery is a very small language. Not only is the file size of the jQuery library small, but the amount of code you need to write to achieve something is also very small. Because of this it is sometimes more efficient to write and test jQuery code in the browser than in a local file. To do this we need a couple of things.</p>
<ol>
<li>The Firebug Extension for Firefox</li>
<li>Greasemonkey</li>
</ol>
<p>If the page that we are going to manipulate doesn&#8217;t already include jQuery on it, then we can include it with this small Greasemonkey script. If jQuery is already included on the page, there is no use for this script.</p>
<pre><code>// Add jQuery
    var GM_JQ = document.createElement('script');
    GM_JQ.src = 'http://jquery.com/src/jquery-latest.js';
    GM_JQ.type = 'text/javascript';
    document.getElementsByTagName('head')[0].appendChild(GM_JQ);

// Check if jQuery's loaded
    function GM_wait() {
        if(typeof unsafeWindow.jQuery == 'undefined') { window.setTimeout(GM_wait,100); }
    else { $ = unsafeWindow.jQuery; letsJQuery(); }
    }
    GM_wait();

// All your GM code must be inside this function
    function letsJQuery() {
        alert($); // check if the dollar (jquery) function works

    }
</code></pre>
<p><a href="http://joanpiedra.com/jquery/greasemonkey/">Source</a><br />
With the jQuery library on the page we can now go ahead and start entering commands. For this example we&#8217;ll take jQuery.com, we can enter a basic jQuery Selector&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>As we all know jQuery is a very small language. Not only is the file size of the jQuery library small, but the amount of code you need to write to achieve something is also very small. Because of this it is sometimes more efficient to write and test jQuery code in the browser than in a local file. To do this we need a couple of things.</p>
<ol>
<li>The Firebug Extension for Firefox</li>
<li>Greasemonkey</li>
</ol>
<p>If the page that we are going to manipulate doesn&#8217;t already include jQuery on it, then we can include it with this small Greasemonkey script. If jQuery is already included on the page, there is no use for this script.</p>
<pre><code>// Add jQuery
    var GM_JQ = document.createElement('script');
    GM_JQ.src = 'http://jquery.com/src/jquery-latest.js';
    GM_JQ.type = 'text/javascript';
    document.getElementsByTagName('head')[0].appendChild(GM_JQ);

// Check if jQuery's loaded
    function GM_wait() {
        if(typeof unsafeWindow.jQuery == 'undefined') { window.setTimeout(GM_wait,100); }
    else { $ = unsafeWindow.jQuery; letsJQuery(); }
    }
    GM_wait();

// All your GM code must be inside this function
    function letsJQuery() {
        alert($); // check if the dollar (jquery) function works

    }
</code></pre>
<p><a href="http://joanpiedra.com/jquery/greasemonkey/">Source</a><br />
With the jQuery library on the page we can now go ahead and start entering commands. For this example we&#8217;ll take jQuery.com, we can enter a basic jQuery Selector and see what happens.</p>
<p>before.png (http://img228.imageshack.us/img228/1918/beforeus0.png) Download, rehost, embed this image here.</p>
<p>after.png (http://img218.imageshack.us/img218/5812/aftercd6.png) Download, rehost, embed this image here.</p>
<p>As you can see it&#8217;s very easy to manipulate pages. You can use this to manipulate scripts that your working on. For example, if you were trying to nail down a certain selector, or find a 4th parent of something, its going to be alot easier and faster to do it in the Firebug terminal than editing, saving and refreshing the page while your trying to perfect it. With jQuery&#8217;s CSS capabilities, you can also test your CSS out live, without needing to switch back and forth between your editor and firefox.</p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/increase-development-speed-with-jquery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP/jQuery Todo List Part 2</title>
		<link>http://query7.com/php-jquery-todo-list-part-2/</link>
		<comments>http://query7.com/php-jquery-todo-list-part-2/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 12:24:00 +0000</pubDate>
		<dc:creator>sourcebits staff</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://query7.com/?p=280</guid>
		<description><![CDATA[<p>This is part 2 of a 2 part series on making a Todo List with PHP and enhancing it with jQuery&#8217;s AJAX</p>
<p>In part 1 of the tutorial, we covered the PHP and MySQL side of things. In this part we will be enhancing it with jQuery&#8217;s AJAX and manipulation functionality. The to-do list will degrade fine - if the user has Javascript disabled, the application will still work. All changes occur in the <strong>index.php</strong> file.</p>
<p>There are two parts to the script. One handles the posting of new posts, while the other handles posts being deleted. We&#8217;ll start with adding new posts.</p>
<pre>//When the button with an id of submit is clicked (the submit button)
$("#submit").click(function(){

//Retrieve the contents of the textarea (the content)
var formvalue = $("#content").val();

//Build the URL that we will send
var url = 'submit=1&#38;content=' + formvalue;

//Use jQuery's ajax function to send it
 $.ajax({
   type: "POST",
   url: "process.php",
   data: url,
   success: function(){

//If successful , notify the user that it was added
   $("ul").before("&#60;p class='new'&#62;You just added: &#60;i&#62;" + formvalue + "&#60;/i&#62;&#60;/p&#62;");

   }
 });

//We return false so when the button is clicked, it doesn't follow the action
return false;

});</pre>
<p>The <em>url</em> part confuses some people. What we are doing&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>This is part 2 of a 2 part series on making a Todo List with PHP and enhancing it with jQuery&#8217;s AJAX</p>
<p>In part 1 of the tutorial, we covered the PHP and MySQL side of things. In this part we will be enhancing it with jQuery&#8217;s AJAX and manipulation functionality. The to-do list will degrade fine - if the user has Javascript disabled, the application will still work. All changes occur in the <strong>index.php</strong> file.</p>
<p>There are two parts to the script. One handles the posting of new posts, while the other handles posts being deleted. We&#8217;ll start with adding new posts.</p>
<pre>//When the button with an id of submit is clicked (the submit button)
$("#submit").click(function(){

//Retrieve the contents of the textarea (the content)
var formvalue = $("#content").val();

//Build the URL that we will send
var url = 'submit=1&amp;content=' + formvalue;

//Use jQuery's ajax function to send it
 $.ajax({
   type: "POST",
   url: "process.php",
   data: url,
   success: function(){

//If successful , notify the user that it was added
   $("ul").before("&lt;p class='new'&gt;You just added: &lt;i&gt;" + formvalue + "&lt;/i&gt;&lt;/p&gt;");

   }
 });

//We return false so when the button is clicked, it doesn't follow the action
return false;

});</pre>
<p>The <em>url</em> part confuses some people. What we are doing is sending a request to the process page, we need to include some data with that request. In process.php there was the line</p>
<pre>if($_POST['submit']){</pre>
<p>It checks to see if $_POST['submit'] isn&#8217;t null (has a value). If it is null (has no value), then it means that the form hadn&#8217;t been submitted, by sending any value, in our case <em>submit=1</em>, we are telling process.php that the button had been clicked so it should run the rest of the PHP script. The rest of the PHP script calls for the content, which we also send in the url (<em>content= &#8216; + formvalue</em>). Instead of sending anything, we only want to send the value of the form (The stuff inside the textarea - that the user wants to submit). By returning false at the end, it prevents the submit button from carrying through with its <em>action=&#8221;process.php&#8221;</em>. If it did, it means the page would refresh when the information was sent which is exactly what we don&#8217;t want.</p>
<p>The code that handles the deletion of posts is similar.</p>
<pre>//Check to see if an anchor link was clicked (The delete link)
$("a").click(function(){

//Save the link in a variable called element
var element = $(this);

//Find the id of the link that was clicked
var noteid = element.attr("id");

//Built a url to send
var info = 'id=' + noteid;

 $.ajax({
   type: "GET",
   url: "delete.php",
   data: info,
   success: function(){
   element.parent().eq(0).fadeOut("slow");
   }
 });

//We return false so the browser doesn't actually follow the link
return false;

});</pre>
<p>When we were displaying the posts in <strong>process.php</strong> we echo&#8217;d the id of the post in the anchor tag. We are then getting this id <em>element.attr(&#8221;id&#8221;)</em> and building the URL. So when the AJAX call is sent, it will be something like <em>delete.php?id=POSTID. </em>If the AJAX call is successful, then we need to hide the list item.</p>
<pre>element.parent().eq(0).fadeOut("slow");</pre>
<p>In that bit of code, we select the element (anchor tag) that was clicked. We then find it&#8217;s parents and take the first one using <em>eq(0)</em>. It&#8217;s &#8216;first&#8217; parent is the list item its in (&lt;li&gt;&lt;a href&gt;&lt;/a&gt;&lt;/li&gt;) and we fade that out slowly.</p>
<p>Demo: http://lastkarrde.com/__q7todo/</p>
<p>Download: lastkarrde.com/__q7todo.zip</p>
<p>You can read the first part of the series at <a href="http://query7.com/php-jquery-todo-list-part-1/">PHP + jQuery Todo List Part 1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/php-jquery-todo-list-part-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP + jQuery Todo List Part 1</title>
		<link>http://query7.com/php-jquery-todo-list-part-1/</link>
		<comments>http://query7.com/php-jquery-todo-list-part-1/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 23:54:33 +0000</pubDate>
		<dc:creator>sourcebits staff</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[tutorials]]></category>

		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://query7.com/?p=270</guid>
		<description><![CDATA[<p>This is part 1 of a 2 part series on making a Todo List with PHP and enhancing it with jQuery&#8217;s AJAX</p>
<p>In this two part series I&#8217;m going to show you how to make a simple to-do list in PHP, and then enhance it using jQuery&#8217;s AJAX and manipulation capabilities. This won&#8217;t follow any proper coding principles, but will give you the skills to adapt the code to fit your own situations. A todo list isn&#8217;t that far away from a simple threaded forum.</p>
<p>It will consist of a few files.</p>
<ul>
<li>delete.php - delete the note.</li>
<li>process.php - create the note, display the notes.</li>
<li>index.html - form, javascript</li>
</ul>
<p>We will be storing the list items in a MySQL database. The query:</p>
<pre>CREATE TABLE `notes`
(
`id` INT PRIMARY KEY AUTO INCREMENT NOT NULL,
`content` VARCHAR(500) NOT NULL
)</pre>
<p><strong>index.php</strong> will only contain the form (for now). It&#8217;s a fairly basic form, it contains a textarea (where the user enters their note) and a button they hit to submit it. The information is sent to a file called process.php through the post method.</p>
<pre>&#60;form id="form" action="process.php" method="post"&#62;
&#60;textarea name="content" id="content" cols="50" rows="3"&#62;&#60;/textarea&#62;
&#60;input type="submit" id="submit" name="submit" value="Post it" /&#62;
&#60;/form&#62;</pre>
<p><strong>process.php</strong> then handles the information that was sent from the form. We&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>This is part 1 of a 2 part series on making a Todo List with PHP and enhancing it with jQuery&#8217;s AJAX</p>
<p>In this two part series I&#8217;m going to show you how to make a simple to-do list in PHP, and then enhance it using jQuery&#8217;s AJAX and manipulation capabilities. This won&#8217;t follow any proper coding principles, but will give you the skills to adapt the code to fit your own situations. A todo list isn&#8217;t that far away from a simple threaded forum.</p>
<p>It will consist of a few files.</p>
<ul>
<li>delete.php - delete the note.</li>
<li>process.php - create the note, display the notes.</li>
<li>index.html - form, javascript</li>
</ul>
<p>We will be storing the list items in a MySQL database. The query:</p>
<pre>CREATE TABLE `notes`
(
`id` INT PRIMARY KEY AUTO INCREMENT NOT NULL,
`content` VARCHAR(500) NOT NULL
)</pre>
<p><strong>index.php</strong> will only contain the form (for now). It&#8217;s a fairly basic form, it contains a textarea (where the user enters their note) and a button they hit to submit it. The information is sent to a file called process.php through the post method.</p>
<pre>&lt;form id="form" action="process.php" method="post"&gt;
&lt;textarea name="content" id="content" cols="50" rows="3"&gt;&lt;/textarea&gt;
&lt;input type="submit" id="submit" name="submit" value="Post it" /&gt;
&lt;/form&gt;</pre>
<p><strong>process.php</strong> then handles the information that was sent from the form. We only need to insert the content into the database because the <em>id</em> field auto_increments itself. We display the to-do list in a nice and tidy list. We also provide a link after the post to delete it.</p>
<pre>&lt;?php
//Connect to the database
$connection = mysql_connect('host (usually localhost)', 'mysql_username' , 'mysql_password');
$selection = mysql_select_db('mysql_database', $connection);

//Was the form submitted?
if($_POST['submit']){

//Map the content that was sent by the form a variable. Not necessary but it keeps things tidy.
$content = $_POST['content'];

//Insert the content into database
$ins = mysql_query("INSERT INTO `notes` (content) VALUES ('$content')");

//Redirect the user back to the index page
header("Location:index.php");
}

/*Doesn't matter if the form has been posted or not, show the latest posts*/

//Find all the notes in the database and order them in a descending order (latest post first).
$find = mysql_query("SELECT * FROM `notes` ORDER BY id DESC");

//Setup the un-ordered list
echo '&lt;ul&gt;';

//Continue looping through all of them
while($row = mysql_fetch_array($find)){

//For each one, echo a list item giving a link to the delete page with it's id.
echo '&lt;li&gt;' . $row['content'] . ' &lt;a id="' . $row['id'] . '" href="delete.php?id=' . $row['id'] . '"&gt;&lt;img src="cancel.png" alt="Delete?" /&gt;&lt;/a&gt;&lt;/li&gt;';

}

//End the un-ordered list
echo '&lt;/ul&gt;';

?&gt;</pre>
<p><strong>delete.php</strong> does nothing more than delete the post. It uses the id parameter its provided to find the post entry in the database. Once it&#8217;s found, it&#8217;s deleted.</p>
<pre>&lt;?php

//Connect to the database
$connection = mysql_connect('host (usually localhost)', 'mysql_username' , 'mysql_password');
$selection = mysql_select_db('mysql_database', $connection);

//delete.php?id=IdOfPost
if($_GET['id']){

$id = $_GET['id'];

//Delete the record of the post
$delete = mysql_query("DELETE FROM `notes` WHERE `id` = '$id'");

//Redirect the user
header("Location:index.php");

}

?&gt;</pre>
<p>All of this produces a tidy to-do system. The source, stylesheet and images will be provided in a .zip file at the end of Part 2 of this tutorial.</p>
<p>You can read the second part of the series at <a href="http://query7.com/php-jquery-todo-list-part-2/">PHP/jQuery Todo List Part 2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/php-jquery-todo-list-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Top 5 PHP Resource Websites</title>
		<link>http://query7.com/top-5-php-resource-websites/</link>
		<comments>http://query7.com/top-5-php-resource-websites/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 08:46:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[php-gtk]]></category>

		<category><![CDATA[Top PHP]]></category>

		<guid isPermaLink="false">http://query7.com/?p=255</guid>
		<description><![CDATA[<p></p>
<p class="MsoNormal">PHP is a very vast language. It’s hard to say that you’ve mastered it. For example, do you know how to crop an image using GD and process web requests with XML-RPC off the top of your head? You may know one of them, but probably not both. That being said, there are a lot of resources out there that help you learn the basics of PHP – Processing forms, security, database interactions and array manipulation. I’ve compiled a list of 5 websites that I think will help you learn the ‘basics’ of PHP as well as taking them a step further.</p>
<p><strong><span style="text-decoration: none;"><a href="http://www.killerphp.com/videos/">KillerPHP.com’s Video Tutorials</a></span></strong><br />
I used these when I was initially learning PHP and are still a great resource today. These screencasts are typically 10 minutes long and cover the absolute basics – getting your development enviroment up and running to variables and includes.</p>
<ul type="disc">
<li class="MsoNormal">Local      server setup</li>
<li class="MsoNormal">Variables</li>
<li class="MsoNormal">Arrays</li>
<li class="MsoNormal">Includes</li>
<li class="MsoNormal">Loops</li>
<li class="MsoNormal">Form      Processing</li>
<li class="MsoNormal">Functions</li>
<li class="MsoNormal">Sessions</li>
<li class="MsoNormal">OOP</li>
</ul>
<p><strong><span style="text-decoration: none;"><a href="http://www.pixel2life.com/tutorials/php_coding/">Pixel2Life’s Tutorial Index</a></span></strong><br />
Pixel2Life is a tutorial index where bloggers can submit their tutorials and articles. The result of hundreds of people doing this is a very large library of ‘specialised’ links. For example, at the time of writing this, the frontpage contains tutorials about Twitter, Code Igniter, Gravatars and Converting Excel to CSV with PHP.&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><!--StartFragment--></p>
<p class="MsoNormal">PHP is a very vast language. It’s hard to say that you’ve mastered it. For example, do you know how to crop an image using GD and process web requests with XML-RPC off the top of your head? You may know one of them, but probably not both. That being said, there are a lot of resources out there that help you learn the basics of PHP – Processing forms, security, database interactions and array manipulation. I’ve compiled a list of 5 websites that I think will help you learn the ‘basics’ of PHP as well as taking them a step further.</p>
<p><strong><span style="text-decoration: none;"><a href="http://www.killerphp.com/videos/">KillerPHP.com’s Video Tutorials</a></span></strong><br />
I used these when I was initially learning PHP and are still a great resource today. These screencasts are typically 10 minutes long and cover the absolute basics – getting your development enviroment up and running to variables and includes.</p>
<ul type="disc">
<li class="MsoNormal">Local      server setup</li>
<li class="MsoNormal">Variables</li>
<li class="MsoNormal">Arrays</li>
<li class="MsoNormal">Includes</li>
<li class="MsoNormal">Loops</li>
<li class="MsoNormal">Form      Processing</li>
<li class="MsoNormal">Functions</li>
<li class="MsoNormal">Sessions</li>
<li class="MsoNormal">OOP</li>
</ul>
<p><strong><span style="text-decoration: none;"><a href="http://www.pixel2life.com/tutorials/php_coding/">Pixel2Life’s Tutorial Index</a></span></strong><br />
Pixel2Life is a tutorial index where bloggers can submit their tutorials and articles. The result of hundreds of people doing this is a very large library of ‘specialised’ links. For example, at the time of writing this, the frontpage contains tutorials about Twitter, Code Igniter, Gravatars and Converting Excel to CSV with PHP. There are also numerous tutorials and articles on PHP frameworks (Code Igniter, CakePHP etc) that aren’t on the framework’s website. Be aware that there are excellent tutorials back 6 or 7 pages, so have a dig around for them.</p>
<p><strong><span style="text-decoration: none;"><a href="http://nettuts.com/category/tutorials/php/">NetTut’s PHP Tutorials</span></a></span></strong><br />
Nettuts is well known for it’s high quality tutorials. They have recently done a 3 part series on making your own PHP framework – something you don’t see on an everyday blog. Although there aren’t many PHP tutorials now, new authors are writing more tutorials on them. Often the tutorials are not only PHP, a recent one showed how to make a twitter clone in PHP which used mootools for the AJAX and effects. Lately the editor, Jeff Way, has been doing some screencasts.</p>
<p><strong><span style="text-decoration: none;"><a href="http://www.php.net/quickref.php">PHP.net Quickref</span></a></span></strong><br />
Sorry, I had to put it in. If you don’t know what a certain function does, do a quick search on the quickref page and find it in seconds. The documentation provided by PHP isn’t the only good part, read peoples comments on real application usage of function. For example the sleep function (<a href="http://www.php.net/manual/en/function.sleep.php">http://www.php.net/manual/en/function.sleep.php</a>) , it not only shows usage of it, but mini hacks people have used to get it working better, or an alternative way to do it.</p>
<p><strong><span style="text-decoration: none;"><a href="http://www.phpbuilder.com/">PHP Builder</span></a></span></strong><br />
PHP Builder is a portal for everything PHP. It has PHP job lisitings, original articles, a snippet library, forum and a mailing list. Some of the articles on there are really interesting, using PHP as a shell language (<a href="http://www.phpbuilder.com/columns/darrell20000319.php3?page=1">http://www.phpbuilder.com/columns/darrell20000319.php3?page=1</a>) not only covers the basic ‘hello world’ tutorial, but using arguments and reading input from the console. The forum (<a href="http://phpbuilder.com/board/">http://phpbuilder.com/board/</a>) is incredibly useful. There are fully certified Zend Engineers that help you think up<span>  </span></p>
<p class="MsoNormal"> </p>
<p><!--EndFragment--></p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/top-5-php-resource-websites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery In Action</title>
		<link>http://query7.com/jquery-in-action/</link>
		<comments>http://query7.com/jquery-in-action/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 18:30:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.query7.com/?p=129</guid>
		<description><![CDATA[<p>In an attempt to sharpen up my jQuery, i purchased the book <a href="http://www.amazon.com/gp/product/1933988355?ie=UTF8&#38;tag=query7com-20&#38;linkCode=as2&#38;camp=1789&#38;creative=9325&#38;creativeASIN=1933988355">jQuery in Action</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=query7com-20&#38;l=as2&#38;o=1&#38;a=1933988355" border="0" alt="" width="1" height="1" /> by Bear Bibeault and Yehuda Katz. Reading through the book, i could see that the first few chapters were obviously aimed at beginners. They covered selectors (If you know CSS already your fine) and events. You can easily get this information off the jQuery doc site, nothing spectacular there. Chapter 5 covers the effects, slides and fades but goes into depth abit more on the animate function. Something (in my opinion) which is under documented on the jQuery doc site. It shows off a few different examples.</p>
<p>Chapter 7 is another excellent chapter - showing you how to write your own plugins. It goes into alot of detail, from extending the wrapper to proper naming conventions to looping through each element effected. This chapter is a must read for anyone considering writing their own jQuery plugins. Again, the authors have written 3 example plugins providing alot of reference material.</p>
]]></description>
			<content:encoded><![CDATA[<p>In an attempt to sharpen up my jQuery, i purchased the book <a href="http://www.amazon.com/gp/product/1933988355?ie=UTF8&amp;tag=query7com-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1933988355">jQuery in Action</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=query7com-20&amp;l=as2&amp;o=1&amp;a=1933988355" border="0" alt="" width="1" height="1" /> by Bear Bibeault and Yehuda Katz. Reading through the book, i could see that the first few chapters were obviously aimed at beginners. They covered selectors (If you know CSS already your fine) and events. You can easily get this information off the jQuery doc site, nothing spectacular there. Chapter 5 covers the effects, slides and fades but goes into depth abit more on the animate function. Something (in my opinion) which is under documented on the jQuery doc site. It shows off a few different examples.</p>
<p>Chapter 7 is another excellent chapter - showing you how to write your own plugins. It goes into alot of detail, from extending the wrapper to proper naming conventions to looping through each element effected. This chapter is a must read for anyone considering writing their own jQuery plugins. Again, the authors have written 3 example plugins providing alot of reference material.</p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/jquery-in-action/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fedora 9 Package Management</title>
		<link>http://query7.com/fedora-9-package-management/</link>
		<comments>http://query7.com/fedora-9-package-management/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 18:28:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[fedora]]></category>

		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.query7.com/?p=62</guid>
		<description><![CDATA[<p>Fedora 9 includes the new package manager called Package Kit. It aims to be the package manager for your system, as it can install apts, slackware packages,rpms and many other file formats. I booted into it and noticed 2 things.</p>
<ul>
<li> The first, its incredibly slow - It took along time to download the updates i needed (Slower than downloading a normal file that size from the server) and it took along time to generate the meta data of plugins list.</li>
<li>The second is that (in my opnion) the User Interface is horrible. Its hard to navigate to select the packages you want, When you select a package it takes a few more clicks to even see the dependencies it requires, whereas adept and synaptic show you right away.</li>
</ul>
<p>I tried it, i can honestly say i gave it a good go, but its not for me. Since im new to the rpm system, i searched around for alternatives, i found one called Yum Extender (Yumex).  Its easy to install, just <em>yum install yumex</em> or download it from the websit.</p>
]]></description>
			<content:encoded><![CDATA[<p>Fedora 9 includes the new package manager called Package Kit. It aims to be the package manager for your system, as it can install apts, slackware packages,rpms and many other file formats. I booted into it and noticed 2 things.</p>
<ul>
<li> The first, its incredibly slow - It took along time to download the updates i needed (Slower than downloading a normal file that size from the server) and it took along time to generate the meta data of plugins list.</li>
<li>The second is that (in my opnion) the User Interface is horrible. Its hard to navigate to select the packages you want, When you select a package it takes a few more clicks to even see the dependencies it requires, whereas adept and synaptic show you right away.</li>
</ul>
<p>I tried it, i can honestly say i gave it a good go, but its not for me. Since im new to the rpm system, i searched around for alternatives, i found one called Yum Extender (Yumex).  Its easy to install, just <em>yum install yumex</em> or download it from the websit.</p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/fedora-9-package-management/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Layout and UI Designer</title>
		<link>http://query7.com/layout-and-ui-designer/</link>
		<comments>http://query7.com/layout-and-ui-designer/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 18:28:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.query7.com/?p=73</guid>
		<description><![CDATA[<p>A stumbled across an amazing online app, meant to be like a CAD im guessing but then i realised the different things it could be used for. <a onclick="pageTracker._trackPageview('/outgoing/draw.labs.autodesk.com/ADDraw/draw.html?referer=http://www.query7.com/wp-admin/edit.php?post_status=draft');pageTracker._trackPageview('/outgoing/draw.labs.autodesk.com/ADDraw/draw.html?referer=http://www.query7.com/wp-admin/post-new.php');" href="http://draw.labs.autodesk.com/ADDraw/draw.html">Project Draw</a> gives you a grid to start off with, you can then place various shapes onto the grid and resize them. Further more you can add colours, text, gradients, alignments and borders which makes it a really good tool to design layouts.</p>
]]></description>
			<content:encoded><![CDATA[<p>A stumbled across an amazing online app, meant to be like a CAD im guessing but then i realised the different things it could be used for. <a onclick="pageTracker._trackPageview('/outgoing/draw.labs.autodesk.com/ADDraw/draw.html?referer=http://www.query7.com/wp-admin/edit.php?post_status=draft');pageTracker._trackPageview('/outgoing/draw.labs.autodesk.com/ADDraw/draw.html?referer=http://www.query7.com/wp-admin/post-new.php');" href="http://draw.labs.autodesk.com/ADDraw/draw.html">Project Draw</a> gives you a grid to start off with, you can then place various shapes onto the grid and resize them. Further more you can add colours, text, gradients, alignments and borders which makes it a really good tool to design layouts.</p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/layout-and-ui-designer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More jQuery Effects</title>
		<link>http://query7.com/more-jquery-effects/</link>
		<comments>http://query7.com/more-jquery-effects/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 18:27:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.query7.com/?p=58</guid>
		<description><![CDATA[<p>With the arrival of jQuery UI 1.5 i was browsing its&#8217; wiki pages and learning all of the API. I came across the jQuery UI wiki page, its essentially more jQuery effects except these ones are alot more dynamic! You can explode, puff, slide, highlight and alot more. I was a amazed that i hadn&#8217;t seen this page or been linked to it before, its something the jQuery UI team should be proud of.</p>
<p><a href="http://docs.jquery.com/UI/Effects">Check it out</a></p>
]]></description>
			<content:encoded><![CDATA[<p>With the arrival of jQuery UI 1.5 i was browsing its&#8217; wiki pages and learning all of the API. I came across the jQuery UI wiki page, its essentially more jQuery effects except these ones are alot more dynamic! You can explode, puff, slide, highlight and alot more. I was a amazed that i hadn&#8217;t seen this page or been linked to it before, its something the jQuery UI team should be proud of.</p>
<p><a href="http://docs.jquery.com/UI/Effects">Check it out</a></p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/more-jquery-effects/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery UI</title>
		<link>http://query7.com/jquery-ui/</link>
		<comments>http://query7.com/jquery-ui/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 18:26:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[jquery]]></category>

		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://www.query7.com/?p=55</guid>
		<description><![CDATA[<p>For those of you with no jQuery background what-so-ever, jQuery UI is a series of user interface (UI) enhancements made in Javascript. These range from tabs (which also support ajax loading), to dialog boxes which you can drag, drop and resize. All cross browser! Although its currently still under development the finish line is in sight for the 1.5 release. I encourage everyone to check it out, it can add some really professional effects to your website for minimal lines of code.</p>
]]></description>
			<content:encoded><![CDATA[<p>For those of you with no jQuery background what-so-ever, jQuery UI is a series of user interface (UI) enhancements made in Javascript. These range from tabs (which also support ajax loading), to dialog boxes which you can drag, drop and resize. All cross browser! Although its currently still under development the finish line is in sight for the 1.5 release. I encourage everyone to check it out, it can add some really professional effects to your website for minimal lines of code.</p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/jquery-ui/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery Menu Roundup</title>
		<link>http://query7.com/jquery-menu-roundup/</link>
		<comments>http://query7.com/jquery-menu-roundup/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 07:27:07 +0000</pubDate>
		<dc:creator>sourcebits</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://query7.com/?p=225</guid>
		<description><![CDATA[<p><span>“Whats a good jQuery menu?” is a question I hear quite frequently on blogs and forums. As jQuery is such a simple language to learn, most people code their own for their own sites. I’ve compiled a list of 3 menu plugins, and and 5 ‘custom’ solutions that people have setup.</span></p>
<p><span style="font-size: 11pt;"><a href="http://p.sohei.org/jquery-plugins/menu/">http://p.sohei.org/jquery-plugins/menu/</a></span><br />
<span>Latest release: Jan 07</span></p>
<p><a href="http://query7.com/wp-content/uploads/2008/11/psoheiorg.jpg"><img class="size-medium wp-image-226 alignright" title="menu1" src="http://query7.com/wp-content/uploads/2008/11/psoheiorg-300x138.jpg" alt="" width="300" height="138" /></a></p>
<p><span>This plugin was constructed to emulate a desk top apps menu. They don’t close until clicked off and are activated by clicking them (rather than hovering). It requires the jQuery dimensions plugin to perform ‘smart calculations’.</span></p>
<p><span>Example Usage: <a href="http://p.sohei.org/stuff/jquery/menu/demo/demo.html">http://p.sohei.org/stuff/jquery/menu/demo/demo.html</a></span><br />
<span>Download: <strong><a href="http://p.sohei.org/jquery-plugins/menu/">http://p.sohei.org/jquery-plugins/menu/</a></strong></span></p>
<p><span style="font-size: 11pt;"><a href="http://jdsharp.us/jQuery/plugins/jdMenu/">http://jdsharp.us/jQuery/plugins/jdMenu/</a></span><br />
<span>Latest release: April 08</span></p>
<p></p>
<p><a href="http://query7.com/wp-content/uploads/2008/11/jdmenu.jpg"><img class="size-medium wp-image-227 alignright" title="jdmenu" src="http://query7.com/wp-content/uploads/2008/11/jdmenu-300x89.jpg" alt="" width="300" height="89" /></a><span lang="EN-US">Although the jdMenu plugin is only 3kb itself, it depends on or looks a hell of a lot better with the plugins dimension, positionBy and bgiframe. jdMenu boasts keyboard access and can be easily made into a verticle menu by changing an option.</span><br />
<span>Example Usage &#38; Download: <a href="http://jdsharp.us/jQuery/plugins/jdMenu/">http://jdsharp.us/jQuery/plugins/jdMenu/</a></span><br />
<span style="font-size: 11pt;"><a href="http://users.tpg.com.au/j_birch/plugins/superfish/"></a></span></p>
<p><span style="font-size: 11pt;"><a href="http://users.tpg.com.au/j_birch/plugins/superfish/">http://users.tpg.com.au/j_birch/plugins/superfish/</a></span><br />
<span>Latest release: Sometime in 08</span></p>
<p></p>
<p><a href="http://query7.com/wp-content/uploads/2008/11/superfish.jpg"><img class="size-medium wp-image-228 alignright" title="superfish" src="http://query7.com/wp-content/uploads/2008/11/superfish-300x240.jpg" alt="" width="300" height="240" /></a><span lang="EN-US">Superfish takes a CSS based dropdown then enhances it with jQuery so if the user has Javascript disabled, it degrades perfectly well. Since the menu is mainly CSS based, I’d imagine it’s a fair bit faster than the other options.</span></p>
<p><span>Example Usage: <a href="http://users.tpg.com.au/j_birch/plugins/superfish/#examples">http://users.tpg.com.au/j_birch/plugins/superfish/#examples</a></span><br />
<span>Download: <a href="http://users.tpg.com.au/j_birch/plugins/superfish/#download">http://users.tpg.com.au/j_birch/plugins/superfish/#download</a></span></p>
<p><span>More menus</span></p>
<ul style="type=">
<li><span><a href="http://www.detacheddesigns.com/blog/blogSpecific.aspx?BlogId=58">http://www.detacheddesigns.com/blog/blogSpecific.aspx?BlogId=58</a></span></li>
<li><span><a href="http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery">http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery</a></span></li>
<li><span><a href="http://javascript-array.com/scripts/jquery_simple_drop_down_menu/">http://javascript-array.com/scripts/jquery_simple_drop_down_menu/</a> </span></li>
<li><span><a href="http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/">http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/</a></span></li>
<li><span><a href="http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/">http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/</a></span></li>
</ul>
<p style="margin-left: 11pt;"><span>Plugins are useful, but a lot of the time you don’t need their&#8230;</span></p>]]></description>
			<content:encoded><![CDATA[<p><span>“Whats a good jQuery menu?” is a question I hear quite frequently on blogs and forums. As jQuery is such a simple language to learn, most people code their own for their own sites. I’ve compiled a list of 3 menu plugins, and and 5 ‘custom’ solutions that people have setup.</span></p>
<p><span style="font-size: 11pt;"><a href="http://p.sohei.org/jquery-plugins/menu/">http://p.sohei.org/jquery-plugins/menu/</a></span><br />
<span>Latest release: Jan 07</span></p>
<p><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600"  o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"  stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t75" style='position:absolute;  margin-left:171pt;margin-top:5.1pt;width:255.75pt;height:118.5pt;z-index:251656704'> <v:imagedata src="file:///C:\Users\Raghu\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg" mce_src="file:///C:\Users\Raghu\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg"   o:title="p" /> <w:wrap type="square" /> </v:shape><![endif]--><!--[if !vml]--><a href="http://query7.com/wp-content/uploads/2008/11/psoheiorg.jpg"><img class="size-medium wp-image-226 alignright" title="menu1" src="http://query7.com/wp-content/uploads/2008/11/psoheiorg-300x138.jpg" alt="" width="300" height="138" /></a><!--[endif]--></p>
<p><span>This plugin was constructed to emulate a desk top apps menu. They don’t close until clicked off and are activated by clicking them (rather than hovering). It requires the jQuery dimensions plugin to perform ‘smart calculations’.</span></p>
<p><span>Example Usage: <a href="http://p.sohei.org/stuff/jquery/menu/demo/demo.html">http://p.sohei.org/stuff/jquery/menu/demo/demo.html</a></span><br />
<span>Download: <strong><a href="http://p.sohei.org/jquery-plugins/menu/">http://p.sohei.org/jquery-plugins/menu/</a></strong></span></p>
<p><span style="font-size: 11pt;"><a href="http://jdsharp.us/jQuery/plugins/jdMenu/">http://jdsharp.us/jQuery/plugins/jdMenu/</a></span><br />
<span>Latest release: April 08</span></p>
<p><!--[if gte vml 1]><v:shape id="_x0000_s1027" type="#_x0000_t75"  style='position:absolute;margin-left:207pt;margin-top:8.95pt;width:3in;  height:64.5pt;z-index:251657728'> <v:imagedata src="file:///C:\Users\Raghu\AppData\Local\Temp\msohtmlclip1\01\clip_image003.jpg" mce_src="file:///C:\Users\Raghu\AppData\Local\Temp\msohtmlclip1\01\clip_image003.jpg"   o:title="jdmenu" /> <w:wrap type="square" /> </v:shape><![endif]--><!--[if !vml]--><!--[endif]--></p>
<p><a href="http://query7.com/wp-content/uploads/2008/11/jdmenu.jpg"><img class="size-medium wp-image-227 alignright" title="jdmenu" src="http://query7.com/wp-content/uploads/2008/11/jdmenu-300x89.jpg" alt="" width="300" height="89" /></a><span lang="EN-US">Although the jdMenu plugin is only 3kb itself, it depends on or looks a hell of a lot better with the plugins dimension, positionBy and bgiframe. jdMenu boasts keyboard access and can be easily made into a verticle menu by changing an option.</span><br />
<span>Example Usage &amp; Download: <a href="http://jdsharp.us/jQuery/plugins/jdMenu/">http://jdsharp.us/jQuery/plugins/jdMenu/</a></span><br />
<span style="font-size: 11pt;"><a href="http://users.tpg.com.au/j_birch/plugins/superfish/"></a></span></p>
<p><span style="font-size: 11pt;"><a href="http://users.tpg.com.au/j_birch/plugins/superfish/">http://users.tpg.com.au/j_birch/plugins/superfish/</a></span><br />
<span>Latest release: Sometime in 08</span></p>
<p><!--[if gte vml 1]><v:shape id="_x0000_s1028" type="#_x0000_t75"  style='position:absolute;margin-left:261pt;margin-top:12.8pt;width:168.75pt;  height:135.6pt;z-index:251658752'> <v:imagedata src="file:///C:\Users\Raghu\AppData\Local\Temp\msohtmlclip1\01\clip_image005.jpg" mce_src="file:///C:\Users\Raghu\AppData\Local\Temp\msohtmlclip1\01\clip_image005.jpg"   o:title="superfish" /> <w:wrap type="square" /> </v:shape><![endif]--><!--[if !vml]--><!--[endif]--></p>
<p><a href="http://query7.com/wp-content/uploads/2008/11/superfish.jpg"><img class="size-medium wp-image-228 alignright" title="superfish" src="http://query7.com/wp-content/uploads/2008/11/superfish-300x240.jpg" alt="" width="300" height="240" /></a><span lang="EN-US">Superfish takes a CSS based dropdown then enhances it with jQuery so if the user has Javascript disabled, it degrades perfectly well. Since the menu is mainly CSS based, I’d imagine it’s a fair bit faster than the other options.</span></p>
<p><span>Example Usage: <a href="http://users.tpg.com.au/j_birch/plugins/superfish/#examples">http://users.tpg.com.au/j_birch/plugins/superfish/#examples</a></span><br />
<span>Download: <a href="http://users.tpg.com.au/j_birch/plugins/superfish/#download">http://users.tpg.com.au/j_birch/plugins/superfish/#download</a></span></p>
<p><span>More menus</span></p>
<ul style="type=">
<li><span><a href="http://www.detacheddesigns.com/blog/blogSpecific.aspx?BlogId=58">http://www.detacheddesigns.com/blog/blogSpecific.aspx?BlogId=58</a></span></li>
<li><span><a href="http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery">http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery</a></span></li>
<li><span><a href="http://javascript-array.com/scripts/jquery_simple_drop_down_menu/">http://javascript-array.com/scripts/jquery_simple_drop_down_menu/</a> </span></li>
<li><span><a href="http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/">http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/</a></span></li>
<li><span><a href="http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/">http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/</a></span></li>
</ul>
<p style="margin-left: 11pt;"><span>Plugins are useful, but a lot of the time you don’t need their full functionality. If your confident of modifying a few scripts, then taking something like <a href="http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery">http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery</a> and changing it to meet your needs would be the best way to go. That being said, the plugins have dropshadows and funky multi level code that some of the ‘smaller menus’ do not.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/jquery-menu-roundup/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
