<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Render Robot</title>
	
	<link>http://www.renderrobot.com</link>
	<description>Portfolio, blog and playground of Alex Fish</description>
	<pubDate>Tue, 18 Aug 2009 07:45:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/renderrobot" type="application/rss+xml" /><feedburner:emailServiceId>renderrobot</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Snowsuit: Looking Back</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/9ND47A-66ao/</link>
		<comments>http://www.renderrobot.com/blog/snowsuit-looking-back/#comments</comments>
		<pubDate>Thu, 07 May 2009 21:14:44 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Snowsuit]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=882</guid>
		<description><![CDATA[Today I presented Snowsuit at my university as the final stage of my Extended Major Project. I created a short video with Premier Pro so that I could show my&#8230;]]></description>
			<content:encoded><![CDATA[<p>Today I presented Snowsuit at my university as the final stage of my Extended Major Project. I created a short video with Premier Pro so that I could show my fellow university students and tutors the main features of Snowsuit, without having to demo the application, as presentation time was limited. The presentation went extremely well with very positive feedback from my tutors and students alike. It appears that the huge amount of time I have invested in Snowsuit is beginning to pay off! Here is the video I showed at my presentation today:</p>
<p><object width="635" height="460" data="http://vimeo.com/moogaloop.swf?clip_id=4533988&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1;&#038;loop=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4533988&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1;&#038;loop=1" /></object></p>
<p>I tried to sum up all the work I have done in the past few months in as little time as possible, which was incredibly hard to do due to the complexity of Snowsuit. I found it hard not to under sell myself but had to bite the bullet and not cover the technical side of Snowsuit due to it being well documented in my blog. Looking back I am extremely happy with how the application has turned out, it all worked out very nicely in the end and I believe I achieved what i was looking to do from the beginning. Here&#8217;s some great feedback I got from a fellow twitterer:</p>
<p style="text-align: center;"><a href="http://twitter.com/iwishiwaschuck/status/1730661383"><br />
<img class="aligncenter" src="http://renderrobot.com/files/feedback.png" alt="Feedback" /></a></p>
<p style="font-size: 12px; text-align: center;"><a href="http://twitter.com/iwishiwaschuck/status/1730661383"><em>Great Twitter Feedback</em></a></p>
<p>But do not fear, I am not going to simply give up on the application because my deadline is over. I will continue to work on Snowsuit to improve it and take it further, there is still some room for improvement. The code needs some re factoring so that it is all classed based and more efficient. I could also do with re factoring my JavaScript so that I can get better performance from my scripts as it can get a bit slow if you have a large amount of content in the gallery area. I would also like to add the ability to add different media types to projects such as audio files and pdfs as the content types are slightly limited at present. Another nice feature to add would be to paginate content in the upload page when you have over a certain amount of content so that loading times are smaller, this could also be done in the gallery area which would allow for huge amounts of content to be added to projects.</p>
<p>The next step for me is to test the application further by releasing some private beta login details, and then i can begin getting everything ready for public release. I will keep anyone interested updated via this blog but do not worry, i will now go back to normal posting and stop spamming my own blog with Snowsuit content. Here&#8217;s some useful links to catch up with Snowsuit:<br />
<a href="http://vimeo.com/channels/38361">
<p style="text-align: center;"><img class="aligncenter" src="http://www.basicfunction.com/html/bblog/images/vimeo_logo_header.jpg" alt="Vimeo Logo" /></p>
<p></a></p>
<p style="font-size: 12px; text-align: center;"><a href="http://vimeo.com/channels/38361"><em>Vimeo Channel</em></a></p>
<p style="text-align: center;"><a href="http://twitter.com/snowsuit"><img class="aligncenter" src="http://law.wayne.edu/images/twitter-logo.jpg" alt="Twitter Logo" /></a></p>
<p style="font-size: 12px; text-align: center;"><a href="http://twitter.com/snowsuit"><em>Twitter Feed</em></a></p>
<p>If you have any comments on Snowsuit or any improvements you want to suggest, you can use the <a href="http://renderrobot.com/contact">contact form on this site</a> or simply head over to the <a href="http://snowsu.it">Snowsuit site</a> and use the contact form over there! </p>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/9ND47A-66ao" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/snowsuit-looking-back/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/snowsuit-looking-back/</feedburner:origLink></item>
		<item>
		<title>Snowsuit: Final Screencast</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/-EM6fadFzCI/</link>
		<comments>http://www.renderrobot.com/blog/snowsuit-final-screencast/#comments</comments>
		<pubDate>Wed, 06 May 2009 21:12:50 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Snowsuit]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=878</guid>
		<description><![CDATA[I have recorded my final screencast to document how i am getting along with my EMP, Snowsuit. In this screencast i take you through the average user pattern when using&#8230;]]></description>
			<content:encoded><![CDATA[<p>I have recorded my final screencast to document how i am getting along with my EMP, Snowsuit. In this screencast i take you through the average user pattern when using the application so that you can see all of it&#8217;s features in use. I also manage to do some quick bug fixing, testing the application in the browser environment instead of a local server highlighted some loading issues which i have manage to quickly fix. Here is the final screencast taking you through the application: </p>
<p><object width="635" height="476"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4513590&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4513590&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="635" height="476"></embed></object></p>
<p>Here&#8217;s a summary of final amendments:</p>
<blockquote><p>
Fixed issues with loading times not allowing scripts to run in a live environment<br />
Fixed bugs when adding notes<br />
Fixed bugs when adding shapes<br />
Fixed bugs when navigating back to content without saving<br />
Added contact form<br />
Removed drag handles and other elements from share page
</p></blockquote>
<p>I will now record a quick promotional video for the application to highlight it&#8217;s features and post it here in my blog, i will also be writing a conclusion to summarize the process and let you know my thought&#8217;s on building the application! </p>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/-EM6fadFzCI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/snowsuit-final-screencast/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/snowsuit-final-screencast/</feedburner:origLink></item>
		<item>
		<title>Snowsuit Progress: Thirteen</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/nLB4Nss1BWo/</link>
		<comments>http://www.renderrobot.com/blog/snowsuit-progress-thirteen/#comments</comments>
		<pubDate>Fri, 01 May 2009 00:34:55 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Snowsuit]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=875</guid>
		<description><![CDATA[I have just recorded screencast number thirteen in which i display the changes i have made after conducting user testing. I found this user testing to be extremely useful in&#8230;]]></description>
			<content:encoded><![CDATA[<p>I have just recorded screencast number thirteen in which i display the changes i have made after conducting user testing. I found this user testing to be extremely useful in finding improvements to features i could make to the application. In this screencast not only have i implemented feature changes but i have also been able to create the share function. This functionality allows users to share a public version of there gallery page in which anyone can access without having to log into the application. The page is shared by dynamically creating a public link and then allowing the user to email a friend with the link automatically inserted into the email. Here is the latest screencast: </p>
<p><object width="635" height="476"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4402949&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4402949&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="635" height="476"></embed></object></p>
<p>And here is a summary of new updates:</p>
<blockquote><p>
Users can now add as many shapes as they wish<br />
Drag handles are now above content instead of below<br />
Gallery page automatically saves when you navigate to add content page or add a note<br />
Users can share gallery pages via email
</p></blockquote>
<p>I am very close to getting to a completed stage of the application with a few loose ends to tye up, i hope to reach a stage in which it is ready to hand in as my extended major project before the weekend is over. </p>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/nLB4Nss1BWo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/snowsuit-progress-thirteen/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/snowsuit-progress-thirteen/</feedburner:origLink></item>
		<item>
		<title>Snowsuit User Testing</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/j-dEaWtd-t8/</link>
		<comments>http://www.renderrobot.com/blog/snowsuit-user-testing/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 17:13:36 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Snowsuit]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=868</guid>
		<description><![CDATA[Now that i am nearing a stage in Snowsuit development where it may be suitable to realease a private beta, i have begun doing some super secret in-person user testing&#8230;]]></description>
			<content:encoded><![CDATA[<p>Now that i am nearing a stage in Snowsuit development where it may be suitable to realease a private beta, i have begun doing some super secret in-person user testing using some very nifty software called <a href="http://silverbackapp.com/">Silverback</a>. This software allows me to easily manage and record usability testing with web cam and mic support. It also very handily shows me every time a user clicks so that i can evaluate everything the user does.</p>
<p style="text-align: center;"><a href="http://silverbackapp.com/"><img class="aligncenter" src="http://renderrobot.com/files/gorilla.png" alt="SIlverback Web App" /></a></p>
<p>The purpose for my user testing is to find bugs i may have missed in the development process, and to evaluate how to interface can be improved upon and features improved. I feel this is a very important stage of any web applications development as good user interaction can make or break an application. </p>
<p>My first stage of user testing proved to be very helpful in finding a lot of bugs and features i have missed while developing the application, i have uploaded an example of my user testing to Vimeo so you can see the process i went through. I basically recorded users using Snowsuit and encouraged them to find bugs and suggest improvements they could think of, here is Carl Tierney testing the application: </p>
<p><object width="635" height="476" data="http://vimeo.com/moogaloop.swf?clip_id=4315217&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4315217&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" /></object></p>
<p>So far my user testing has highlighted the following problems and suggestions for fixing and improving the application, fix&#8217;s made or marked with <em>(done)</em>:</p>
<blockquote><p>
Make text resizable<br />
Drag handles at top not bottom <em>(done)</em><br />
Shapes not limited <em>(done)</em><br />
Resize stage<br />
Save when you go back to add content <em>(done)</em><br />
Save when you add note <em>(done)</em><br />
Fix bug which sometimes saves wrong content to wrong project <em>(done)</em>
</p></blockquote>
<p>As you can see I have already implemented a lot of these requests and will soon commence in testing the new and improved features to see if users can think of anything else they would like to see in the application. After i am happy with the next stage of testing i will be giving out a limited number of passwords for users to begin alpha testing the application. This basically allows users to put the application through it paces on a larger scale, it will also be conducted online and not on my local server, this allows me to test load times and the overall performance of the application. </p>
<p>I will record a new screencast this evening explaining the fix&#8217;s i have implemented and showcasing new features i have been able to complete. </p>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/j-dEaWtd-t8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/snowsuit-user-testing/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/snowsuit-user-testing/</feedburner:origLink></item>
		<item>
		<title>Snowsuit Progress: Twelve</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/NPc_H1VRITk/</link>
		<comments>http://www.renderrobot.com/blog/snowsuit-progress-twelve/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 11:52:25 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Snowsuit]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=866</guid>
		<description><![CDATA[Over the past few days i have been working hard on the Gallery area of Snowsuit, trying to find the best layout and design to ensure for an easy user&#8230;]]></description>
			<content:encoded><![CDATA[<p>Over the past few days i have been working hard on the Gallery area of Snowsuit, trying to find the best layout and design to ensure for an easy user experience. After some reshuffling and implementing some new features i have been able to record a new screencast to show you what i have been up to: </p>
<p><object width="635" height="357"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4301695&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4301695&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="635" height="357"></embed></object></p>
<p>As you can see Snowsuit is getting really close to a point where i can release a private beta and get some real user testing and bug reporting down so that it can reach a state suitable for public release. I have conducted some small user testing, allowing some university students to use the application while i recorded the screen. Although the screen capture software i used managed to let me down with a very poor framerate, i will be doing some more testing with diffrent software to ensure i can analyze it and report on this properly. </p>
<p>Here&#8217;s a summary of new features:</p>
<blockquote><p>
Gallery area layout redesigned<br />
Users can add quick notes to projects from the gallery page<br />
Users can add shapes to projects to create diagrams<br />
Reset now reset&#8217;s all content positions without page refresh<br />
When user creates project shapes are automatically added to the project
</p></blockquote>
<p>The deadline for university is May 8th, although i plan to continue working on Snowsuit after this date, so do not fear i will continue to add updates and improve Snowsuit after this date, although recording these screencasts will stop as i am using them to document progress for my report. </p>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/NPc_H1VRITk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/snowsuit-progress-twelve/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/snowsuit-progress-twelve/</feedburner:origLink></item>
		<item>
		<title>The Power of Functions</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/OROSGocTWOM/</link>
		<comments>http://www.renderrobot.com/blog/the-power-of-functions/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 21:12:16 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=854</guid>
		<description><![CDATA[While browsing through the PHP behind Snowsuit yesterday I realized I had a large portion of code to carry out certain tasks was being repeated over and over again. I&#8230;]]></description>
			<content:encoded><![CDATA[<p>While browsing through the PHP behind Snowsuit yesterday I realized I had a large portion of code to carry out certain tasks was being repeated over and over again. I knew for a fact when i was writing the code that due to the amount of repetition i was doing that there must be a much more efficient way for my application to run. This is when i remembered what functions where invented for, and set about brushing up my PHP knowledge so that i could begin optimizing Snowsuit and implementing custom functions throughout. </p>
<p>First thing&#8217;s first I headed over to <a href="http://www.w3schools.com/PHP/php_functions.asp">w3schools</a> and their article on PHP Functions which has some great examples on how to use custom Functions within PHP. Once my brain was up to scratch I could begin creating my function! As i explain in the screencast below my function takes six parameters which it uses to add content to the database in its respective table, here&#8217;s the full function:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> addContent<span style="color: #009900;">&#40;</span><span style="color: #000088;">$table</span><span style="color: #339933;">,</span><span style="color: #000088;">$row1</span><span style="color: #339933;">,</span><span style="color: #000088;">$row2</span><span style="color: #339933;">,</span><span style="color: #000088;">$value1</span><span style="color: #339933;">,</span><span style="color: #000088;">$value2</span><span style="color: #339933;">,</span><span style="color: #000088;">$rid</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;INSERT INTO <span style="color: #006699; font-weight: bold;">$table</span> (rprojectid,<span style="color: #006699; font-weight: bold;">$row1</span>,<span style="color: #006699; font-weight: bold;">$row2</span>) VALUES ('<span style="color: #006699; font-weight: bold;">$rid</span>','<span style="color: #006699; font-weight: bold;">$value1</span>','<span style="color: #006699; font-weight: bold;">$value2</span>')&quot;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>This function then allowed me to significantly reduce the amount of files needed on my server to add content to projects, i could now simply call the function every time content was being added. Heres an example of my function in use as displayed in my screencast:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tN&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;text&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
		<span style="color: #000088;">$textname</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_real_escape_string</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tN&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$textname</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$textname</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_real_escape_string</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;text&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		addContent<span style="color: #009900;">&#40;</span>text<span style="color: #339933;">,</span>name<span style="color: #339933;">,</span>text<span style="color: #339933;">,</span><span style="color: #000088;">$textname</span><span style="color: #339933;">,</span><span style="color: #000088;">$text</span><span style="color: #339933;">,</span><span style="color: #000088;">$rid</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #990000;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Added Text!'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>I have recorded a fifteen minute screencast explaining my function further and take you through me using it step by step, so check out the screencast below for a full explanation of the above code:</p>
<p><object width="635" height="476"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4232193&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4232193&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="635" height="476"></embed></object></p>
<p>Functions are awesome and i wish i brushed up my knowledge of them before i begun coding Snowsuit, but that is the purpose of this project, to learn! So i guess my Â£3000 tuituon fee for university this year is starting to finally pay for itself a little bit as it is giving me the opportunity to have fun with some code and continue advancing my programming knowledge. Snowsuit&#8217;s deadline is nearing the two week mark so i shall be continue to work very hard on the project to get it polished streamlined and finished, keep your eyes peeled on my blog for more Snowsuit based screencasts. </p>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/OROSGocTWOM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/the-power-of-functions/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/the-power-of-functions/</feedburner:origLink></item>
		<item>
		<title>Snowsuit Progress: Eleven</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/_ujB9gdEp1Q/</link>
		<comments>http://www.renderrobot.com/blog/snowsuit-progress-eleven/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 15:42:27 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Snowsuit]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=849</guid>
		<description><![CDATA[I am really starting to begin nearing a point in my project where it would be suitable to allow users to come in and test it out for me. I&#8230;]]></description>
			<content:encoded><![CDATA[<p>I am really starting to begin nearing a point in my project where it would be suitable to allow users to come in and test it out for me. I have been working hard on the Gallery section of the site and as you will see in my 11th screencast users can now save the position of content they have dragged and resized. As i believe user testing is a key stage in developing anything which users will inevitably use. I will begin conducting some simple testing by allowing users to use Snowsuit, while i record the screen with screencast software to monitor and evaluate their behavior. Here is the eleventh installment in my series of screencasts: </p>
<p><object width="635" height="357"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4214108&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4214108&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="635" height="357"></embed></object></p>
<p>Here&#8217;s a summary of progress:</p>
<blockquote><p>
Users can now save the position and size of dragged and re sized content<br />
Save button has fade in and out prompting user they have saved successfully<br />
Reset button resets the position and size of all dragged content allowing users to start again
</p></blockquote>
<p>And that pretty much sums up everything for screencast number eleven. Next stage is to add more security to the application and continue working on the Gallery area! </p>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/_ujB9gdEp1Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/snowsuit-progress-eleven/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/snowsuit-progress-eleven/</feedburner:origLink></item>
		<item>
		<title>jQuery Acorrdion With Fade Plugin</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/LpvT2nEXHtE/</link>
		<comments>http://www.renderrobot.com/blog/fademenu/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 20:14:44 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=818</guid>
		<description><![CDATA[<blockquote>Version 0.1.2 is now out with IE6 support!</blockquote>
If you remember my post from a while ago which was a tutorial on how to create an accordion menu with fade in&#8230;]]></description>
			<content:encoded><![CDATA[<blockquote><p>Version 0.1.2 is now out with IE6 support!</p></blockquote>
<p>If you remember my post from a while ago which was a tutorial on how to create an accordion menu with fade in and out effects then you&#8217;ll immediately recognize where this plugin has come from. I have decided to take the tutorial a step further and turn the functionality into a fully fledged jQuery Plugin:</p>
<h2>jQuery Fade Menu Plugin:</h2>
<p>The Fade Menu plugin allows users to easily turn a definition list with nested unordered lists into an accordion menu which uses fades between transitions. </p>
<h2><a href="http://www.renderrobot.com/plugins/fademenu/demo.html">Demo</a></h2>
<h2>Installation</h2>
<p>To install the plugin simply drag the jQuery.fademenu.js file as well as the latest release of jQuery into your desired location, as an example we will presume the user has a /js folder to contain all javascript files. Then include the required files in the head of your html page:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-1.3.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jQuery.fademenu.js&quot;&gt;&lt;/script&gt;</pre></td></tr></table></div>

<h2>Markup:</h2>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">    &lt;dl&gt;
        &lt;dt&gt;&lt;a href=&quot;#&quot;&gt;Parent&lt;/a&gt;&lt;/dt&gt;
        &lt;dd id=&quot;open&quot;&gt;
            &lt;ul&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/dd&gt;
        &lt;dt&gt;&lt;a href=&quot;#&quot;&gt;Parent&lt;/a&gt;&lt;/dt&gt;
        &lt;dd&gt;
            &lt;ul&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/dd&gt;
        &lt;dt&gt;&lt;a href=&quot;#&quot;&gt;Parent&lt;/a&gt;&lt;/dt&gt;
        &lt;dd&gt;
        &lt;ul&gt;
            &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Child&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/dd&gt;
    &lt;/dl&gt;</pre></td></tr></table></div>

<p>The dd with the id of open will be open on load, so if you wish the second menu tree to be open on load simply move id=&#8221;open&#8221; to the second dd. </p>
<h2>jQuery Markup</h2>
<p>To use the plugin the following jQuery is required:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'dl'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fademenu</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<h2>Options</h2>
<p>It is possible to pass the following options to control the speeds of the transitions:</p>
<h3>slideup</h3>
<p>This setting controls the speed menu trees slide up when the user selects a new menu title. You can pass it speeds built into jQuery such as &#8220;slow&#8221; &#8220;fast&#8221; or &#8220;def&#8221;. Or if you prefer an integer for more control, for example, for a slideup of one second:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'dl'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fademenu</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
&nbsp;
		slideup<span style="color: #339933;">:</span> <span style="color: #CC0000;">1000</span>
&nbsp;
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<h3>slidedown</h3>
<p>This setting controls the speed menu trees slide down when the user selects a new menu title. You can pass it speeds built into jQuery such as &#8220;slow&#8221; &#8220;fast&#8221; or &#8220;def&#8221;. Or if you prefer an integer for more control, for example, for a slidedown with the speed of &#8220;fast&#8221;:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'dl'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fademenu</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
&nbsp;
		slidedown<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;fast&quot;</span>
&nbsp;
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<h3>fadein</h3>
<p>This option controls the speed in which new menu trees fade in. You can pass it speeds built into jQuery such as &#8220;slow&#8221; &#8220;fast&#8221; or &#8220;def&#8221;, Or if you prefer an integer for more control.</p>
<h3>fadeout</h3>
<p>This option controls the speed in which new menu trees fade out. You can pass it speeds built into jQuery such as &#8220;slow&#8221; &#8220;fast&#8221; or &#8220;def&#8221;, Or if you prefer an integer for more control.</p>
<h2>Download</h2>
<h3><a href="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">jQuery 3.1.2</a></h3>
<h3><a href="http://plugins.jquery.com/project/fademenu">Fade Menu Plugin</a></h3>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/LpvT2nEXHtE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/fademenu/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/fademenu/</feedburner:origLink></item>
		<item>
		<title>Snowsuit Progress: Ten</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/g3SSttceHZk/</link>
		<comments>http://www.renderrobot.com/blog/snowsuit-progress-ten/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 13:20:59 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Snowsuit]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=813</guid>
		<description><![CDATA[Wow, a milestone has been reached! I have now recorded screen cast number ten. If you go back and watch over my very first screencast after viewing this one you&#8230;]]></description>
			<content:encoded><![CDATA[<p>Wow, a milestone has been reached! I have now recorded screen cast number ten. If you go back and watch over my very first screencast after viewing this one you can see just how much progress i have made over the last month or so. It&#8217;s definitively a moral booster to be able to watch my project evolve slowly into a working web app. </p>
<p>In the tenth screencast of my series i am showcasing a number of new features, this week i have been concentrating on usability and getting the site up to scratch with web standards. I have also begun building the gallery page which allows users to resize and arrange there content, check out the screencast for a full explanation of all new features:</p>
<p><object width="635" height="365"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4174164&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4174164&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=e39a4b&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="635" height="365"></embed></object></p>
<p>Here&#8217;s a summary of new features and progress:</p>
<blockquote><p>
Text now formatted as the user inputs it when viewing in dialog<br />
Users can now delete text from projects<br />
Users are prompted with dialogs which explain what happens if they delete content/project<br />
UI components are themed better to match site<br />
Gallery page build begun<br />
Can drag content into gallery area to resize and arrange<br />
If content is dragged outside of gallery area it reverts back to original position
</p></blockquote>
<p>And that sums everything up for this screencast, i will now begin concetrating fully on the gallery page. The main feature i want to get working is being able to save your gallery area so that you can arrange content, save it and then come back later to play with or inspect it further, be on the look out for another screencast soon! </p>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/g3SSttceHZk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/snowsuit-progress-ten/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/snowsuit-progress-ten/</feedburner:origLink></item>
		<item>
		<title>Why Use Web Standards?</title>
		<link>http://feedproxy.google.com/~r/renderrobot/~3/CbEHyeLy0dk/</link>
		<comments>http://www.renderrobot.com/blog/why-use-web-standards/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 22:55:04 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.renderrobot.com/?p=787</guid>
		<description><![CDATA[When i first started out in web design, hacking together pages with bits and bobs from CSS tutorials with HTML i learned at school. I had never heard of or&#8230;]]></description>
			<content:encoded><![CDATA[<p>When i first started out in web design, hacking together pages with bits and bobs from CSS tutorials with HTML i learned at school. I had never heard of or even thought about web standards. They where a completely alien concept to me, i thought, why bother with all that effort when my site looks fine in my up to date version of Firefox. But little did i know web standards are an important consideration when designing and implementing a new site.</p>
<h2>So what are web standards?</h2>
<p>Web standards are a set of guidelines and recommendations by <a href="http://www.w3.org/QA/2002/04/Web-Quality">W3C (the World Wide Web Consortium)</a> to ensure websites are as accessible, efficient and maintainable as possible. It is important to note that although these standards are only &#8220;recommendations&#8221;, these recommendations come from a very reputable source, in the words of W3C:</p>
<blockquote><p>A W3C Recommendation is a specification or set of guidelines that, after extensive consensus-building, has received the endorsement of W3C Members and the Director. W3C recommends the wide deployment of its Recommendations.</p></blockquote>
<p>Another organization worth a note is <a href="http://www.webstandards.org/">WaSP (The Web Standards Project)</a>, who are working alongside browser companies, authoring tool creators and a large proportion of the active web community to teach and spread the word of web standards.</p>
<h2>What do i do to follow web standards?</h2>
<p>In a nutshell, i follow the following rules to ensure i am meeting web standards to the best of my ability:</p>
<blockquote><p>Valid XHTML and CSS<br />
Semantically sound and accessible code<br />
Separation of HTML, CSS and JavaScript</p></blockquote>
<h2>Why bother?</h2>
<p>Valid XHTML and CSS ensures your page renders how you want it too across all browsers and platforms, because the page is valid you are not relying on browsers to do the guess work for you with there own error handling. Validating code also irons out any problems you may be experiencing with your layout, which are more than likely caused by using an incorrect markup and doc type. Valid code is much more likely to display correctly across a wider range of browsers and platforms.</p>
<p>Good semantic markup can save you a world of pain when it comes to maintaining your site, the faster you can get to and find what you want the better. With good semantic markup not only can you read and find parts of your site faster, so can search engines. Good semantics mean search engines can read and index code to ensure better search engine results. <a href="http://www.peachpit.com/articles/article.aspx?p=369225">Here is a great article</a> to find out more about good and bad semantics.</p>
<p>Separating your your HTML, CSS and JavaScript can have a number of advantages, the main being the performance gains this can have for your users. External files such as .css and .js are stored in a users browsers cache the first time they visit a page, because of this every time they come back to the page the browser doesn&#8217;t have to load these files again, greatly increasing performance. Another great advantage of separating these files is maintenance, locating and including extra files becomes alot easier when they are well separated and placed with folders such as, css/mycssfile.css and js/myscript.js.</p>
<h2>In Conclusion</h2>
<p>I will be taking all of these points into account when building <a href="http://www.renderrobot.com/category/emp/snowsuit-emp/">Snowsuit</a> and have to the best of my ability when building this very site. Web standards can seem pointless and a waste of time and effort at first glance. But when you add up all the advantages and growth in potential viewers or customers to your site, the extra bit of effort definitively pays off! If all this talk of standards tickles your fancy i highly recommend checking out the following books which have helped me to write better and more accessible code:</p>
<p style="text-align: center;"><a href="http://www.amazon.com/CSS-Mastery-Advanced-Standards-Solutions/dp/1590596145/ref=pd_sim_b_2"><img class="aligncenter" src="http://www.ebooknetworking.com/books/159/059/big1590596145.jpg" alt="CSS Mastery" /></a></p>
<p style="text-align: center;"><a href="http://www.amazon.com/DOM-Scripting-Design-JavaScript-Document/dp/1590595335/ref=pd_sim_b_3"><img class="aligncenter" src="http://www.ecs.syr.edu/faculty/fawcett/handouts/webpages/Pictures/DOMScripting.jpg" alt="DOM Scripting" /></a></p>
<p style="text-align: center;"><a href="http://www.amazon.com/Designing-Web-Standards-Jeffrey-Zeldman/dp/0321385551/ref=pd_sim_b_3"><img class="aligncenter" src="http://ecx.images-amazon.com/images/I/41wTqIaTEyL._SL500_.jpg" alt="Designing with Web Standards" /></a></p>
<p>If you don&#8217;t feel like shelling out money on some books you can always head over the <a href="http://www.webstandards.org/">WaSP site</a> and read some great information about web standards and how to follow them! </p>
<img src="http://feeds.feedburner.com/~r/renderrobot/~4/CbEHyeLy0dk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.renderrobot.com/blog/why-use-web-standards/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.renderrobot.com/blog/why-use-web-standards/</feedburner:origLink></item>
	</channel>
</rss>
