<?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>Webdev Muse</title>
	<atom:link href="http://adamctemple.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://adamctemple.com/blog</link>
	<description>Web development and open source ramblings</description>
	<lastBuildDate>Tue, 18 May 2010 19:26:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress Post Thumbnails</title>
		<link>http://adamctemple.com/blog/wordpress-post-thumbnails/</link>
		<comments>http://adamctemple.com/blog/wordpress-post-thumbnails/#comments</comments>
		<pubDate>Tue, 18 May 2010 17:51:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://adamctemple.com/blog/?p=55</guid>
		<description><![CDATA[There is a lot of excitement right now about the new features in Wordpress 3.0 that give it more CMS features. Today I want to tell you about a nifty CMS type feature that is in Wordpress right now ready for you to use. Post thumbnails are an awesome way to add some imagery to [...]]]></description>
			<content:encoded><![CDATA[<p>There is a lot of excitement right now about the new features in Wordpress 3.0 that give it more CMS features. Today I want to tell you about a nifty CMS type feature that is in Wordpress right now ready for you to use. Post thumbnails are an awesome way to add some imagery to your site that is easily managed by users.</p>
<p>Part of the reason isnt so obvious to users is that it is enabled on the theme level. So you must add the following code to your functions.php to enable it:<br />
<code><br />
	add_theme_support( 'post-thumbnails'  );<br />
</code><br />
After this is added to functions.php login to wp-admin and go the the add new posts screen. You should now see the post thumbnail section on the right hand side like this:</p>
<p><img src="http://adamctemple.com/img/postthumb.jpg" alt="posttumb"></img></p>
<p>This means your post thumbnails are enabled and ready to be placed in your theme with this function:<br />
<code><br />
	the_post_thumbnail();<br />
</code></p>
<p>Place the template tag anywhere inside the loop to activate it for posts. Now you have a way to easily manage small images as part of your blog posts. It&#8217;s great for adding some flavor to your Wordpress site and is easy for your users to manage. <a href="http://codex.wordpress.org/Template_Tags/the_post_thumbnail">Here</a> is the codex section on the_post_thumbnail function. There are tons of options so go nuts!</p>
]]></content:encoded>
			<wfw:commentRss>http://adamctemple.com/blog/wordpress-post-thumbnails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux for Web Development:  Server Side Tools</title>
		<link>http://adamctemple.com/blog/linux-for-web-development-server-side-tools/</link>
		<comments>http://adamctemple.com/blog/linux-for-web-development-server-side-tools/#comments</comments>
		<pubDate>Sun, 16 May 2010 18:51:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://adamctemple.com/blog/?p=29</guid>
		<description><![CDATA[This is part 2 of an ongoing series on using linux for web development. This post will focus on the server side technology used to power everything from simple blogs to powerful web apps.
The LAMP stack is the cores of everything that you build on, so let’s quickly define that for those who don&#8217;t already [...]]]></description>
			<content:encoded><![CDATA[<p>This is part 2 of an ongoing series on using linux for web development. This post will focus on the server side technology used to power everything from simple blogs to powerful web apps.<br />
The LAMP stack is the cores of everything that you build on, so let’s quickly define that for those who don&#8217;t already know.</p>
<p>-Linux<br />
-Apache<br />
-MySQL<br />
-PHP </p>
<p>Obviously Linux is what this series is about so forgive me for glossing over that and getting right into <a href="http://httpd.apache.org">Apache.</a> Apache is the most popular open source web server technology so having it installed locally on your development box is great for a number of reasons. You can install it using your package manager on just about every distro. The tricks come after you have it installed and configured. On Debian and Ubuntu you should see this screen when you browse to http://localhost/ after you have it installed. </p>
<p>One thing I like to do on a development box is create a symbolic link to the htdocs directory onto my desktop.  Functionally what this does is put a folder on your desktop that becomes your web root for your local Apache installation. This obviously makes it much easier to manipulate the files you will be working with on a regular basis. Here is the magic string to accompish this:<br />
<code><br />
ln -s /var/www /home/user/Desktop<br />
</code><br />
This will put a link to your Apache web directory right on your desktop. You can change the paths to place the link where you see fit. </p>
<p>Now that you have a working web server running and a way to easily move your files in and out of your web root you need some toys to play with. This brings us to <a href="http://php.net">PHP</a> and <a href="http://www.mysql.com/" >mySQL.</a> In Ubuntu you actually have to install several additional packages to get a fully featured and useful development environment setup. My list of these include: php-mysql, php-pear and php-curl as a minimum. You also will probably need to setup mod-rewrite at some point, as many popular frameworks and CMS packages require it. <a href="http://www.ghacks.net/2009/12/05/enable-mod_rewrite-in-a-ubuntu-server/ "> Here</a> is an excellent guide on enabling mod-rewrite in Ubuntu.  </p>
<p>The database of choice for small to medium web apps is mySQL and it is available on most every Linux distro through their respective package managers. The client and server packages are typically separate but you might as well install both for a development box. </p>
<p>One tool that I would be horribly amiss if I didn’t mention is <a href="http://www.phpmyadmin.net" >phpmyadmin. </a> This is a great web based development tool for handling mySQL database maintenance and administration. I have heard mixed reviews on using it in production, and I can see it being a potential security issue, but as a development tool it is invaluable! </p>
<p>If you are not a fan of web-based solutions, mySQL offers a few tools for managing your databases and tables. The mySQL query browser and administrator are two separate apps that are cross platform and capable of doing your standard database tasks for web development. </p>
<p>There are many server side frameworks and CMS packages available under Linux that can aid your development. Reviewing all of these would be well beyond the scope of this article but I thought I would mention a few of my favorites. </p>
<p>  &#8211; <a href="http://www.wordpress.org">Wordpress</a> started as a powerful blogging system and has transformed into more of a CMS hybrid. This is a great way to quickly develop powerful websites. </p>
<p>   -<a href="http://modxcms.com/">MODx CMS</a> is a more robust pure CMS system with many great plugins available and has an active development community. </p>
<p>   -<a href="http://codeigniter.com">CodeIgniter</a> is much more low level than the two systems suggested above as it is a PHP framework and not a simple CMS. It offers flexible MVC code separation and a useful class library for common tasks. </p>
<p>   -<a href="http://cakephp.org">CakePHP</a> is another framework that is similar to Rails. It automates a lot of the work for creating database apps and has a powerful command line interface that can build a simple web app for you in minutes! </p>
<p>I have a couple more tips that don&#8217;t quite fit into any of the categories of this series but seem like they belong in the server side category so here they are. First off is a simple bash alias to start and stop my Apache/mySQL environment. Append these two lines to the bottom of your .bashrc file in your home directory:</p>
<p><code><br />
alias stopdev='sudo /etc/init.d/apache2 stop &#038;&#038; sudo /etc/init.d/mysql stop'<br />
alias startdev='sudo /etc/init.d/apache2 start &#038;&#038; sudo /etc/init.d/mysql start'<br />
</code></p>
<p>Now type “startdev” or “stopdev” in a console and it will either stop or start your development environment automatically.  </p>
<p>The final trick is useful for cross browser testing, specifically IE and Safari on Windows. I use a Windows XP virtual machine for testing these browsers. The VM software I use is Virtual Box. It is freely available in the repos for Ubuntu and you don’t have to do any other downloading or configuring to get it up and running with a new VM. Just fire up your Windows XP VM and then point one of its browsers to your Apache web server&#8217;s internal IP address. You can find your’s with the “ifconfig” command. It is usually something like “192.168.1.99”. </p>
<p>Next time I am investigating the various solutions for editing and creating web graphics on Linux. So stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://adamctemple.com/blog/linux-for-web-development-server-side-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux for Web Development</title>
		<link>http://adamctemple.com/blog/linux-for-web-development/</link>
		<comments>http://adamctemple.com/blog/linux-for-web-development/#comments</comments>
		<pubDate>Mon, 03 May 2010 02:34:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://adamctemple.com/blog/?p=20</guid>
		<description><![CDATA[I do my web development using a linux desktop, specifically Ubuntu. I plan on doing a small series of posts about doing web development on a linux system. I am going to start off by listing off the apps i use and a short description of my work flow and then go into more detail [...]]]></description>
			<content:encoded><![CDATA[<p>I do my web development using a linux desktop, specifically Ubuntu. I plan on doing a small series of posts about doing web development on a linux system. I am going to start off by listing off the apps i use and a short description of my work flow and then go into more detail in later sections. Here are the main apps i use on my Ubuntu web development system:<span id="more-20"></span></p>
<p>Apache<br />
PHP<br />
mySQL<br />
Aptana Studio<br />
Komodo Edit<br />
firebug FF plugin<br />
gimp<br />
Virtualbox (for IE testing)<br />
Photoshop CS2 *wine</p>
<p>I use a few other tools and plugins here and there for special situations I accomplish the bulk of my heavy work with these tools. For a lot of web developers unless you are dealing exclusively with back end PHP work the 1st question to address when considering a platform for developing on is Photoshop. It is an industry standard and even though i love the gimp and do use it for quick edits, you are going to end up needing Photoshop as a web developer.</p>
<p>Luckily the wine project has done a great job of getting slightly older (but mostly %100 for web design) versions of Photoshop to run with little fuss. As noted i do use the CS2 versions but i have seen reports of the CS4 version performing decently under wine as well. You can find more info on using PS under wine <a href="http://appdb.winehq.org/appview.php?appId=17">here</a>. As a side note Macromedia Fireworks 8 and several versions of Dreamweaver run flawlessly for me under wine as well.</p>
<p>Even though i just rambled on for a while about using wine extensively there are a ton of apps you can run natively on linux that will accomplish all the tasks needed to build a website from start to finish. The native <a href="http://www.gimp.org">gimp</a> i touched on earlier and the great vector tool <a href="http://www.inkscape.org">inkscape</a> are both at the top of this list as far as graphics tools go. You can even open and manipulate .psd files with the gimp but it does not render photoshop live effects. Sadly most .psd designs ive come across lately all use these live effects.</p>
<p>I&#8217;ve been using Aptana Studio more lately than <a href="/blog/komodo-edit-my-favorite-editor/">my favorite editor</a> Komodo Edit as i have needed the SVN and better FTP management found in Aptana. There are tons and tons of choices besides these two but  besides the above i recommend checking out Gedit and geany for lightweight solutions and netbeans if you do a lot of PHP or just need heavier editing features. </p>
<p>As stated one of my favorite things about using linux for a dev environment is you get all your fun server side toys natively right on your personal box. My next post will go over configuring some of that server side goodness. Mainly Apache and PHP/mySQL. There are a few tricks beyond just a &#8220;simple apt-get install&#8221; that will make you way more productive if you know them going into it <img src='http://adamctemple.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Beyond the next article on server side tools I also am planning to explore the graphics software situation as well as the various web IDEs in more detail and then a final article summarizing some firefox plugins and how to make it work all together.</p>
]]></content:encoded>
			<wfw:commentRss>http://adamctemple.com/blog/linux-for-web-development/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Whats New</title>
		<link>http://adamctemple.com/blog/whats-new/</link>
		<comments>http://adamctemple.com/blog/whats-new/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 21:14:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://adamctemple.com/blog/?p=15</guid>
		<description><![CDATA[Just thought id drop in a short post about what I&#8217;ve been up to development wise lately so here we go&#8230;..
Went to the OCwordcampthis past weekend and had a great time! Picked up a ton of cool tips and specifically quite a bit about developing wordpress plugins. Hopefully I&#8217;ll be doing a lot more of [...]]]></description>
			<content:encoded><![CDATA[<p>Just thought id drop in a short post about what I&#8217;ve been up to development wise lately so here we go&#8230;..</p>
<p>Went to the <a href="http://www.ocwordcamp.com/">OCwordcamp</a>this past weekend and had a great time! Picked up a ton of cool tips and specifically quite a bit about developing wordpress plugins. Hopefully I&#8217;ll be doing a lot more of that moving forward. <span id="more-15"></span>Overall I&#8217;d say it was an awesome event but i wish i could make it up to SF for the SFwordcamp this weekend. Looks like it will be crazy! </p>
<p>I&#8217;ve also been putting some work into updating my music blog <a href="http://techrush.info"</a> and hope to have that HTML5 goodness ready within a couple more weeks.  I experimented with quite a few non flash solutions for audio playback and think i finally have it narrowed down enough to move forward. <a href="http://www.happyworm.com/jquery/jplayer/">This</a> seems cool but I don&#8217;t have it up and running yet. </p>
]]></content:encoded>
			<wfw:commentRss>http://adamctemple.com/blog/whats-new/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jquery-Tools Plugin is awesome!</title>
		<link>http://adamctemple.com/blog/jquery-tools-plugin-is-awesome/</link>
		<comments>http://adamctemple.com/blog/jquery-tools-plugin-is-awesome/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 20:56:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://adamctemple.com/blog/?p=13</guid>
		<description><![CDATA[Recently i&#8217;ve been spending a lot of time working with jQuery. I am sure anyone reading this by now is already familiar with this great javascript framework and all the wonderful plugins available for it. On a project last month I had to implement the now famous &#8220;coda slider effect&#8221;  you can see here.
The [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i&#8217;ve been spending a lot of time working with jQuery. I am sure anyone reading this by now is already familiar with this great javascript framework and all the wonderful plugins available for it. On a project last month I had to implement the now famous &#8220;coda slider effect&#8221; <span id="more-13"></span> you can see <a href="http://www.panic.com/coda/">here.</a></p>
<p>The most common way to achieve this nice effect is by using jQuery and a combination of several plugins. I prefer keeping the number of plugins loaded on a page to a minimum so as to limit HTTP requests to keep page load times low. I&#8217;m sure you could probably combine several of these plugins into one for production sites but i decided to look for another option.</p>
<p>Thats when i found the amazing <a href="http://flowplayer.org/tools/index.html">jQuery Tools.</a></p>
<p>To implement the slider effect with jQuery Tools you just tag what divs you want to be &#8220;slidable&#8221; and then get on with your life. jQuery Tools does much more than this though also enabling customizable tool-tips and tabbed interfaces. So you get 3 very common and useful UI effects all in one plugin.</p>
<p>You can find debates on several sites that question if jQuery-tools handles the implementation of these effects in a clean manner and also if it is redundant considering the existence of jQuery UI. I&#8217;ll leave that up to you to decide but its definitely a quick and easy way to implement some nice user interfaces on your sites!</p>
]]></content:encoded>
			<wfw:commentRss>http://adamctemple.com/blog/jquery-tools-plugin-is-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 CSS 3 Experiments</title>
		<link>http://adamctemple.com/blog/html5-css-3-experiments/</link>
		<comments>http://adamctemple.com/blog/html5-css-3-experiments/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 02:40:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://adamctemple.com/blog/?p=7</guid>
		<description><![CDATA[Lately i&#8217;ve been doing some exploratory reading on the upcoming HTML5 and CSS3 specs. Here are some of the features im most excited about:

-rounded corners without using images
-drop shadow without using images
-animation with canvas element
-audio and video tags
-generally more semantic markup overall
-no more floats for layout
I&#8217;ve been experimenting with each of these features as i&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Lately i&#8217;ve been doing some exploratory reading on the upcoming HTML5 and CSS3 specs. Here are some of the features im most excited about:<br />
<span id="more-7"></span><br />
-rounded corners without using images<br />
-drop shadow without using images<br />
-animation with canvas element<br />
-audio and video tags<br />
-generally more semantic markup overall<br />
-no more floats for layout</p>
<p>I&#8217;ve been experimenting with each of these features as i&#8217;ve discovered them and am in the process of putting a demo together. I&#8217;ll post back when its done for sure. For now lets just say it has been a struggle finding which browsers support which features of the spec. </p>
<p>Is anyone using these features in live sites yet ? Even if its just experimental or<br />
for fun id love to see them. Also whats the best way to test if a browser supports these features and then dumping them to a html4/css2 version of the site if they are using IE or an older webkit/gecko browser ?</p>
]]></content:encoded>
			<wfw:commentRss>http://adamctemple.com/blog/html5-css-3-experiments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Komodo Edit &#8211; My Favorite editor</title>
		<link>http://adamctemple.com/blog/komodo-edit-my-favorite-editor/</link>
		<comments>http://adamctemple.com/blog/komodo-edit-my-favorite-editor/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 22:16:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IDE]]></category>

		<guid isPermaLink="false">http://adamctemple.com/blog/?p=3</guid>
		<description><![CDATA[Komodo Edit  is an amazing open source scripting editor from Activestate. It’s based on their full featured commercial IDE aptly named Komodo IDE. Don’t get the wrong idea though, Komodo edit is full of useful features for scripting and markup as well as being cost free and open source.

Komodo is built using the cross [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.activestate.com/komodo_edit/">Komodo Edit </a></strong> is an amazing open source scripting editor from Activestate. It’s based on their full featured commercial IDE aptly named Komodo IDE. Don’t get the wrong idea though, Komodo edit is full of useful features for scripting and markup as well as being cost free and open source.<br />
<span id="more-3"></span><br />
Komodo is built using the cross platoform XULRunner technology from Mozilla the same toolkit Firefox and Thunderbird are built on. This makes it quite easy to embed a web browser into the editor, a handy feature for web developers. Another benefit of using this toolkit is it&#8217;s relatively lightweight, especially compared to the heavyweight IDEs like Eclipse and Netbeans which both are built on Java. One final feature of using XUL technology for the base of the editor is all the hooks are already there for developers to easily extend Komodo edit. The Cakephp extension in particular has become vital to my workflow when building apps using the Cakephp framework.</p>
<p>All the other features you would expect to be there are present in Komodo edit including syntax highlighting for a plethora of languages including php, perl, python, ruby and more. Komodo also alllows for editing files remotely via ftp or sftp through its server configuration pane in the options menu.</p>
<p>Komodo is full of features you would normally expect to be found in the big boy IDEs and not something that calls itself an “editor”. Perhaps the most interesting of these features is the macro controls. They are very easy to use, working just like a tape recorder. Hit record to create the macro of an often repeated task. Then simply hit play to repeat the macro as needed. This can be a HUGE time saver for tedious editing tasks. In fact between all the built in features and extensions available, the only thing in the IDE version of Komodo I find myself missing is versions control support. It does not exist in any form for Komodo Edit.</p>
<p>If you are a web developer or just find yourself editing html or scripts fairly often I highly recommend taking a look at Komodo edit to improve your productivity.</p>
]]></content:encoded>
			<wfw:commentRss>http://adamctemple.com/blog/komodo-edit-my-favorite-editor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
