<?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>Alex Peters &#187; Source code</title>
	<atom:link href="http://alexpeters.net/tag/source-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexpeters.net</link>
	<description>Another faceless entity, another collection of musings</description>
	<lastBuildDate>Tue, 31 Jan 2012 12:15:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Blast from the past: JobSurge assignment</title>
		<link>http://alexpeters.net/2009/07/blast-from-the-past-jobsurge-assignment/</link>
		<comments>http://alexpeters.net/2009/07/blast-from-the-past-jobsurge-assignment/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 13:15:21 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Creativity]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Assignments]]></category>
		<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[Cease and desist]]></category>
		<category><![CDATA[DBIx::Class]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Introduction to Internet Technology]]></category>
		<category><![CDATA[JobSurge]]></category>
		<category><![CDATA[Online demo]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[realestate.com.au]]></category>
		<category><![CDATA[RMIT]]></category>
		<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[Source code]]></category>
		<category><![CDATA[Template Toolkit]]></category>
		<category><![CDATA[Uni]]></category>

		<guid isPermaLink="false">http://alexpeters.net/?p=406</guid>
		<description><![CDATA[In the second half of 2005 (the first year of my uni degree), I took a subject called Introduction to Internet Technology.  Out of all the subjects I&#8217;ve taken so far for my degree, this one easily affected my career path the most profoundly.  It made me realise precisely where I wanted to channel my [...]]]></description>
			<content:encoded><![CDATA[<p>In the second half of 2005 (the first year of <a title="RMIT: Bachelor of Software Engineering" href="http://www.rmit.edu.au/browse;ID=aekmjoapj62m1">my uni degree</a>), I took a subject called <a title="http://www.rmit.edu.au/courses/004084" href="http://www.rmit.edu.au/courses/004084">Introduction to Internet Technology</a>.  Out of all the subjects I&#8217;ve taken so far for my degree, this one easily affected my career path the most profoundly.  It made me realise precisely where I wanted to channel my professional efforts: web programming.</p>
<p><span id="more-406"></span>Our first assignment for this subject required us to use <a title="http://www.perl.org/about.html" href="http://www.perl.org/about.html">Perl</a> to build an online job agency (<a title="http://alexpeters.net/wp-content/uploads/2009/07/isys1059_assign_1_spec.doc" href="http://alexpeters.net/wp-content/uploads/2009/07/isys1059_assign_1_spec.doc">the original specification in Word format</a> is available).  I had an absolute ball working on this, and the appreciation that I developed for Perl is why I sought employment at <a title="http://realestate.com.au/" href="http://realestate.com.au/">realestate.com.au</a> for my internship&#8212;which was ultimately life-changing.</p>
<p>After this assignment was finished I left it online, and eventually it got spidered by <a title="http://google.com/" href="http://google.com/">Google</a>.  Some time later I received a cease-and-desist order from the owner of the (now defunct) JobSurge.com service.  Evidently he was concerned about me being a professional contender or something.  I didn&#8217;t know whether to be extraordinarily flattered or question the guy&#8217;s sanity.</p>
<h2>Online demo</h2>
<p><a title="http://alexpeters.net/jobsurge/" href="http://alexpeters.net/jobsurge/">Bash the demo around</a> as much as you like.  You are more than welcome to create accounts, but some username/password pairs already exist if you&#8217;re lazy:</p>
<ul>
<li><a title="http://alexpeters.net/jobsurge/company_login.cgi?user=centrelink" href="http://alexpeters.net/jobsurge/company_login.cgi?user=centrelink">centrelink</a>/alexpeters (company)</li>
<li><a title="http://alexpeters.net/jobsurge/company_login.cgi?user=zikaiq" href="http://alexpeters.net/jobsurge/company_login.cgi?user=zikaiq">zikaiq</a>/123456 (company)</li>
<li><a title="http://alexpeters.net/jobsurge/seeker_login.cgi?user=apeters" href="http://alexpeters.net/jobsurge/seeker_login.cgi?user=apeters">apeters</a>/alexpeters (job seeker)</li>
<li><a title="http://alexpeters.net/jobsurge/seeker_login.cgi?user=sipsas" href="http://alexpeters.net/jobsurge/seeker_login.cgi?user=sipsas">sipsas</a>/123456 (job seeker)</li>
</ul>
<h2>Source code</h2>
<p>Download <a title="http://alexpeters.net/jobsurge/jobsurge.zip" href="http://alexpeters.net/jobsurge/jobsurge.zip">a ZIP of the source code</a> if you&#8217;re interested, but heed the following warnings:</p>
<ul>
<li><strong>This is not how I would do it now.</strong> I wrote this code in 2005 as a first-year uni student.  I&#8217;ve been a full-time Perl programmer since the end of 2006.  I post the code here for nostalgia and not as a demonstration of my professional abilities.</li>
<li><strong>This is not how <em>you</em> should do it now.</strong> Most Perl web applications born before 2006 probably look like this (which might be why Perl got dumped for <a title="http://php.net/" href="http://php.net/">PHP</a> in future incarnations of this subject).  These days frameworks like <a title="http://www.catalystframework.org/" href="http://www.catalystframework.org/">Catalyst</a>, <a title="http://template-toolkit.org/" href="http://template-toolkit.org/">Template Toolkit</a> and <a title="http://search.cpan.org/perldoc?DBIx::Class" href="http://search.cpan.org/perldoc?DBIx::Class">DBIx::Class</a> exist to make things a lot more manageable.  My code will teach you Perl syntax, but that&#8217;s about it.  Good Perl programmers don&#8217;t mix HTML and application logic, write data to flat files or directly manipulate cookies!</li>
</ul>
<p>I&#8217;m actually half-tempted to re-write this as a Catalyst application just to observe the difference.  I&#8217;d be much less averse to that being used as a learning example.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpeters.net/2009/07/blast-from-the-past-jobsurge-assignment/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

