<?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>Philip Marquardt &#187; Web Programming</title>
	<atom:link href="http://philipmarquardt.com/category/web-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://philipmarquardt.com</link>
	<description>Web Programming and Development Blog</description>
	<lastBuildDate>Fri, 31 Jul 2009 16:20:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Synergy on Leopard and Windows XP</title>
		<link>http://philipmarquardt.com/2008/08/04/synergy-on-leopard-and-windows-xp/</link>
		<comments>http://philipmarquardt.com/2008/08/04/synergy-on-leopard-and-windows-xp/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 18:39:42 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://philipmarquardt.com/?p=23</guid>
		<description><![CDATA[I&#8217;m a Mac user, but my development environment at GTRI is all Windows XP. I used to be an XP user, so this was ok, but I really want to be able to use my Mac as well for development. I had previously setup Synergy on my laptop to share my mouse and keyboard with [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a Mac user, but my development environment at GTRI is all Windows XP. I used to be an XP user, so this was ok, but I really want to be able to use my Mac as well for development. I had previously setup Synergy on my laptop to share my mouse and keyboard with a Linux box I had at home, but hadn&#8217;t used it since I upgraded to Leopard. I needed to setup the Windows XP box has the server and the Mac as the client. Leopard seemed to hate Synergy at first, but after a quick Google search, turns out it can&#8217;t be run in the background.. so it needs the -f flag:</p>
<p>synergyc -f [host address]</p>
<p>Once this was setup, it worked great. Thanks Synergy!!</p>
<p><a href="http://philipmarquardt.com/wp-content/uploads/2008/08/dsc00354.jpg"><img class="alignnone size-medium wp-image-24" title="My Desk" src="http://philipmarquardt.com/wp-content/uploads/2008/08/dsc00354-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><strong>Update: </strong>When transferring keystrokes over a network, the client machine&#8217;s packets could easily be sniffed leaving a huge security hole if you&#8217;re doing anything with sensitive data using synergy. The software does not have authentication or encryption, but synergy has addressed this issue with a nice work around. <a href="http://synergy2.sourceforge.net/security.html" target="_blank">http://synergy2.sourceforge.net/security.html</a> gives all the steps needed to encrypt/decrypt the packets on behalf of synergy using ssh.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipmarquardt.com/2008/08/04/synergy-on-leopard-and-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSTL String Tags</title>
		<link>http://philipmarquardt.com/2008/06/24/jstl-string-tags/</link>
		<comments>http://philipmarquardt.com/2008/06/24/jstl-string-tags/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 16:22:09 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://blog.philipmarquardt.com/?p=19</guid>
		<description><![CDATA[I am developing a data entry / search application for GTRI and I ran into a problem when asked to highlight search keywords in the results text. The database is able to ignore case on the query, but I wanted the results to be highlighted while maintaining the original case of the text, i.e. capitalized, [...]]]></description>
			<content:encoded><![CDATA[<p>I am developing a data entry / search application for GTRI and I ran into a problem when asked to highlight search keywords in the results text. The database is able to ignore case on the query, but I wanted the results to be highlighted while maintaining the original case of the text, i.e. capitalized, uppercase, lowercase, etc.</p>
<p>JSTL provides uppercase and lowercase functions, but no capitalize. I finally found the tag library for capitalize after a google search: <a title="Jakarta-Taglibs: String Tag Library" href="http://jakarta.apache.org/taglibs/doc/string-doc/" target="_blank">http://jakarta.apache.org/taglibs/doc/string-doc/</a></p>
<p>I followed the instructions for configuring my application to use these tags:</p>
<hr />
<p>Follow these steps to configure your web application with this tag      library:</p>
<ul>
<li>Copy the tag library descriptor file to the /WEB-INF subdirectory         of your web application.</li>
<li>Copy the tag library JAR file to the /WEB-INF/lib subdirectory          of your web application.</li>
<li>Add a &lt;taglib&gt; element to your web application deployment         descriptor in /WEB-INF/web.xml like this:</li>
</ul>
<pre>&lt;taglib&gt;
  &lt;taglib-uri&gt;http://jakarta.apache.org/taglibs/string-1.1&lt;/taglib-uri&gt;
  &lt;taglib-location&gt;/WEB-INF/string.tld&lt;/taglib-location&gt;
&lt;/taglib&gt;</pre>
<p>To use the tags from this library in your JSP pages, add the following      directive at the top of each page:</p>
<pre>&lt;%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.1" prefix="str" %&gt;</pre>
<p>where &#8220;<em>str</em>&#8221; is the tag      name prefix you wish to use for tags from this library. You can change      this value to any prefix you like.</p>
<hr />
<p>These instructions posed a few questions:</p>
<ol>
<li>Where is the tag library descriptor?</li>
<li>Which tag library jar file?</li>
</ol>
<p>After many errors and an exhaustive google search, I found everything I need.</p>
<p>Step 1: Add <a title="Download taglibs-string.tld" href="http://philipmarquardt.com/downloads/jstl-string/taglibs-string.tld" target="_blank">taglibs-string.tld</a> to your /WEB-INF/ folder<br />
Step 2: Add <a title="Download string-1.1.0.jar" href="http://philipmarquardt.com/downloads/jstl-string/string-1.1.0.jar" target="_blank">string-1.1.0.jar</a> to your /WEB-INF/lib folder<br />
Step 3: Add the following element to your /WEB-INF/web.xml file:</p>
<pre>&lt;jsp-config&gt;
  &lt;taglib&gt;
    &lt;taglib-uri&gt;http://jakarta.apache.org/taglibs/string-1.1&lt;/taglib-uri&gt;
    &lt;taglib-location&gt;/WEB-INF/taglibs-string.tld&lt;/taglib-location&gt;
  &lt;/taglib&gt;
&lt;/jsp-config&gt;</pre>
<p>Step 4: Add the taglib tag to the jsp pages needing the string tags:</p>
<pre>&lt;%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.1" prefix="str" %&gt;</pre>
<p>After this implementation I was able to use the capitalize string tag.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipmarquardt.com/2008/06/24/jstl-string-tags/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I&#8217;m Still Alive</title>
		<link>http://philipmarquardt.com/2008/06/04/im-still-alive/</link>
		<comments>http://philipmarquardt.com/2008/06/04/im-still-alive/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 03:56:39 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Classes]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://blog.philipmarquardt.com/?p=14</guid>
		<description><![CDATA[According to AWStats, a fair amount of people visit my blog, so I think I need to update it more often. Now that I&#8217;m sort of &#8220;in the groove&#8221; with summer classes and work, I&#8217;ll be sure to do that.
Classes
I&#8217;m taking 2 classes this summer, ISYE 3770 &#8211; Statistics and Probability and CS 4235 &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>According to AWStats, a fair amount of people visit my blog, so I think I need to update it more often. Now that I&#8217;m sort of &#8220;in the groove&#8221; with summer classes and work, I&#8217;ll be sure to do that.</p>
<p><strong>Classes</strong></p>
<p>I&#8217;m taking 2 classes this summer, ISYE 3770 &#8211; Statistics and Probability and CS 4235 &#8211; Intro to Info Security. So far statistics is a little tough and info sci is more reading than anything.</p>
<p><strong>Senioritis</strong></p>
<p>Yap! I&#8217;m finally a senior. Four years and $25k in debt later!! But, it&#8217;s not over too soon. I have decided to attend grad school barring I receive a tuition waver from GTRI. I&#8217;m really enjoying working at GTRI. I&#8217;m learning a lot there and I work with a lot of really smart people. Something my past internships did not offer. I hope everything works out and I can go to grad school at Tech while working part time at GTRI.</p>
<p><strong>Web Development</strong></p>
<p>I recently finished another website. I will add it to the portfolio once it&#8217;s completed. Speaking of the portfolio, my site is still under construction. Since I&#8217;m only taking 2 classes this summer I&#8217;m hoping to finish the portfolio site up.</p>
<p>I am creating the website in rails, but my server has an odd way of allowing a site to be setup in rails. I originally had to move the entire public_html directory into a higher directory called rails, but this cause a lot of issues with apache rewrites for non-rails sites. So, I moved the public_html directory back to its original location and left the portfolio site where it was. I will figure out how to make the site show up properly once I get to that point. Need to finish developing it first.</p>
<p>Until next time&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://philipmarquardt.com/2008/06/04/im-still-alive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yahoo! and PHP vs. RoR</title>
		<link>http://philipmarquardt.com/2008/03/04/yahoo-and-php-vs-ror/</link>
		<comments>http://philipmarquardt.com/2008/03/04/yahoo-and-php-vs-ror/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 20:45:15 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://blog.philipmarquardt.com/archives/8</guid>
		<description><![CDATA[Yahoo!
Rasmus Lerdorf has been giving talks all over campus during Yahoo! Hack Week. Luckily he was able to pay my CS1332 class a visit as well. Who is Rasmus Lerdorf? He is the father of PHP. He basically built it completely from the ground up for the first two releases and has since been working [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Yahoo!</strong><br />
Rasmus Lerdorf has been giving talks all over campus during Yahoo! Hack Week. Luckily he was able to pay my CS1332 class a visit as well. Who is Rasmus Lerdorf? He is the father of PHP. He basically built it completely from the ground up for the first two releases and has since been working at Yahoo!. I was really excited to hear him speak mainly because my first language was PHP and I&#8217;ve been developing web applications in PHP around 5 years. He began the talk with a breakdown of how Yahoo! is able to use many servers to accomplish one task. His example was Yahoo! mail. The mail application is comprised of has many servers and each of these servers is responsible for some small aspect of the application. There is a cluster of servers that handle the deletion of mail, a cluster that handles sending, moving, etc. It was really interesting to hear how large scale web applications are able to handle the billions of hits they receive a day.</p>
<p><strong>PHP vs. RoR</strong><br />
Rasmus also spoke about PHP and how it is able to easily parse XML files and integrate AJAX components into web pages. But, when he was taking questions, I asked if he had worked with any PHP frameworks. I asked because I noticed the job market for web developers seemed to be calling for more framework programmers (ie. Ruby on Rails, CakePHP, JSF). Also, I have used most of these frameworks and noticed that everything they accomplish I can do in PHP. So where&#8217;s the advantage if one exists?</p>
<p>Well, frameworks make it easier to develop applications that are redundant. If I need a CRUD application that allows me to post things on my blog, rails accomplishes this in minutes, whereas in PHP it would take some time (for me anyways). So he basically said he hates general purpose frameworks. I&#8217;m being harsher than his actual words were, but I did get a sense that he really didn&#8217;t like them. He said Yahoo! uses frameworks for their mail apps, their searches, and many other applications that they server on the web. But, of course, these are not general purpose frameworks, they are custom designed to suit Yahoo&#8217;s needs. He said frameworks like RoR are good for smaller sites, but it would be very difficult to allow the application to spread its work to multiple servers for parallel processing because of the MVC structure they take on.</p>
<p>In conclusion, the talk was very insightful, he did speak about some of the history of PHP, which was really interesting, and also his own background. Thank you Rasmus!</p>
<p>So now I&#8217;m stuck on some issues. Should I move forward with framework programming: RoR, CakePHP, JSF, or should I develop well rounded PHP / MySQL / Javascript skills to really take control of dynamic AJAX web application programming? The website I&#8217;m building is in Rails because the job market for Rails is HUGE! But, will this die down? Maybe I should just focus on becoming a systems programmer?</p>
]]></content:encoded>
			<wfw:commentRss>http://philipmarquardt.com/2008/03/04/yahoo-and-php-vs-ror/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
