<?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>Straylight Run &#187; Process</title> <atom:link href="http://blog.straylightrun.net/category/process/feed/" rel="self" type="application/rss+xml" /><link>http://blog.straylightrun.net</link> <description>Software, Technology, PHP</description> <lastBuildDate>Mon, 07 Nov 2011 19:26:59 +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>Automate Your Front-End Optimization Using Phing</title><link>http://blog.straylightrun.net/2010/05/10/automate-your-front-end-optimization-using-phing/</link> <comments>http://blog.straylightrun.net/2010/05/10/automate-your-front-end-optimization-using-phing/#comments</comments> <pubDate>Mon, 10 May 2010 23:56:31 +0000</pubDate> <dc:creator>gerard</dc:creator> <category><![CDATA[Process]]></category> <category><![CDATA[build server]]></category> <category><![CDATA[continuous integration]]></category> <category><![CDATA[front-end]]></category> <category><![CDATA[github]]></category> <category><![CDATA[phing]]></category> <category><![CDATA[yahoo]]></category> <category><![CDATA[yslow]]></category> <category><![CDATA[yui]]></category> <guid
isPermaLink="false">http://blog.straylightrun.net/2010/05/10/automate-your-front-end-optimization-using-phing/</guid> <description><![CDATA[Well, it only took me 18 months, but I finally got around to cleaning up and publishing the Phing filters we use to automatically transform a static site into one that implements many of Yahoo’s Exceptional Performance Rules.&#160; These filters, together with the Apache configurations in the README, implement the process outlined in this talk [...]]]></description> <content:encoded><![CDATA[<p>Well, it <a
href="http://blog.straylightrun.net/2008/11/16/slides-from-phpworks-2008-part-2/">only took me 18 months</a>, but I finally got around to cleaning up and publishing the Phing filters we use to <a
href="http://github.com/gsychay/Phing-Things">automatically transform a static site</a> into one that implements many of <a
href="http://developer.yahoo.com/performance/">Yahoo’s Exceptional Performance Rules</a>.&#160; These filters, together with the Apache configurations in the <a
href="http://github.com/gsychay/Phing-Things/blob/master/README.md">README</a>, implement the process outlined in this <a
href="http://www.slideshare.net/gerrys0/front-end-website-optimization-presentation">talk from php|works 2008</a>:</p><p>To see it in action, first create an <code>VirtualHost</code> pointing to the <code>mysite</code> directory in the project as the web root.&#160; Then run:</p><div
class="wp_syntax"><div
class="code"><pre class="sh" style="font-family:monospace;">% phing optimize</pre></div></div><p>which creates a parallel site in a <code>build</code> directory.&#160; Point your <code>VirtualHost</code> to the new <code>build</code> directory to see the same site with the performance transformations.</p><p>You could run this <a
href="http://phing.info">Phing</a> task in a <a
href="http://martinfowler.com/articles/continuousIntegration.html">continuous integration</a> process as part of deployment.&#160; You could run it at production deployment time, but it’s probably a good idea to run it at staging time in case it flubs on some CSS or HTML syntax that it is not expecting.</p><p>Note that there are other miscellaneous Phing tasks in that <a
href="http://github.com/gsychay/Phing-Things">github project</a>.&#160; I threw these in there in case they could be of use to other Phing users.</p> ]]></content:encoded> <wfw:commentRss>http://blog.straylightrun.net/2010/05/10/automate-your-front-end-optimization-using-phing/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Unit Testing And Coverage With Phing</title><link>http://blog.straylightrun.net/2009/05/05/unit-testing-and-coverage-with-phing/</link> <comments>http://blog.straylightrun.net/2009/05/05/unit-testing-and-coverage-with-phing/#comments</comments> <pubDate>Wed, 06 May 2009 04:18:44 +0000</pubDate> <dc:creator>gerard</dc:creator> <category><![CDATA[Process]]></category> <category><![CDATA[build server]]></category> <category><![CDATA[phing]]></category> <category><![CDATA[phpunit]]></category> <category><![CDATA[xdebug]]></category> <guid
isPermaLink="false">http://blog.straylightrun.net/2009/05/05/unit-testing-and-coverage-with-phing/</guid> <description><![CDATA[If we are to do unit testing, then it would be nice to have a simple way to run all the tests at once.&#160; And seeing the results in a command line is fine, but it would be nice to be able to generate some pretty reports I could view in a browser.&#160; And running [...]]]></description> <content:encoded><![CDATA[<p>If we are to do unit testing, then it would be nice to have a simple way to run all the tests at once.&nbsp; And seeing the results in a command line is fine, but it would be nice to be able to generate some pretty reports I could view in a browser.&nbsp; And running coverage tools from the command line to see exactly what we&#8217;re testing is fine, but it would be nice to be able to generate coverage reports I could view in a browser. It would be nice to be able to do all these things with one simple command.<p>The command: <a
href="http://phing.info/trac/">phing</a>.<p>If you&#8217;re familiar with <a
href="http://ant.apache.org/">Ant</a> for Java, phing is functionally identical to ant.&nbsp; With a very simple build script, I can run all the unit tests, and generate test result reports and coverage reports in HTML automatically. Then I can fire up my browser and see if any tests failed, or whether we need new tests.<p>The following are examples of test results reports and coverage reports.<p><a
href="http://blog.straylightrun.net/wp-content/uploads/2009/05/testresults.png"><img
style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="324" alt="Unit test results" src="http://blog.straylightrun.net/wp-content/uploads/2009/05/testresults-thumb.png" width="404" border="0"></a><p><a
href="http://blog.straylightrun.net/wp-content/uploads/2009/05/coverage.png"><img
style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="324" alt="Code coverage report" src="http://blog.straylightrun.net/wp-content/uploads/2009/05/coverage-thumb.png" width="404" border="0"></a><p>Phing currently requires <a
href="http://www.phpunit.de/">PHPUnit</a> for unit testing and <a
href="http://xdebug.org">xdebug</a> for coverage. Someone would have to write a task to use other frameworks such as <a
href="http://www.simpletest.org">SimpleTest</a>.<p>The phing build file is a first step towards automating builds with a build server. A build server can periodically check the project for changes. If new code exists, it will run tests and generate reports for tests, coverage, lint, anything. It can put all this on the web for easy inspection. It can keep versions of the whole project that be can be readily deployed.&nbsp; So if we have a staging and production server, and we stick to deploying ONLY bundles from the build server, it can make deployment and maintenance easier.</p> ]]></content:encoded> <wfw:commentRss>http://blog.straylightrun.net/2009/05/05/unit-testing-and-coverage-with-phing/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Offshoring: The 24-Hour Development Cycle Myth</title><link>http://blog.straylightrun.net/2009/01/20/offshoring-the-24-hour-development-cycle-myth/</link> <comments>http://blog.straylightrun.net/2009/01/20/offshoring-the-24-hour-development-cycle-myth/#comments</comments> <pubDate>Tue, 20 Jan 2009 15:00:28 +0000</pubDate> <dc:creator>gerard</dc:creator> <category><![CDATA[Process]]></category> <category><![CDATA[agile]]></category> <category><![CDATA[fowler]]></category> <category><![CDATA[offshoring]]></category> <guid
isPermaLink="false">http://blog.straylightrun.net/2009/01/20/offshoring-the-24-hour-development-cycle-myth/</guid> <description><![CDATA[I&#8217;ve been around offshoring for quite a while now, and I&#8217;ve heard people tout the benefit of the 24-hour development cycle many times.&#160; The idea is that when your developers in the Western Hemisphere are going to sleep, your developers in the Easter Hemisphere are waking up.&#160; When those developers go to sleep, the cycle [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been around offshoring for quite a while now, and I&#8217;ve heard people tout the benefit of the 24-hour development cycle many times.&#160; The idea is that when your developers in the Western Hemisphere are going to sleep, your developers in the Easter Hemisphere are waking up.&#160; When those developers go to sleep, the cycle begins again.&#160; Voil&#225;!&#160; 24&#215;5 coding effort.</p><p>But it never made sense to me.&#160; It was like there were two people building a house, and claiming that if one person worked on the house during the day, and one person worked at night, it would be faster than if both people worked during the day.&#160; At best, it would be equal effort.&#160; It may even be a little worse because if two people work on it together, they can re-use tools and such, and they each have someone to keep them company.</p><p>Looking for some literature on using agile methods with offshore teams a while ago, I finally found someone had put the same thought in writing.</p><blockquote><p>Another benefit of offshore that&#8217;s coming up is the use of 24 hour development to reduce time to market. The benefit that touted is that by putting hands on the code base at all hours of the day, functionality gets written faster. Frankly I think this is a totally bogus argument, since I don&#8217;t see what adding people does in India that it wouldn&#8217;t do by adding them to the onshore team. If I need to add people, it&#8217;s more efficient to do it while minimizing the communication difficulties.</p><p
align="right"><a
href="http://martinfowler.com/articles/agileOffshore.html">Martin Fowler, &quot;Using an Agile Software Process with Offshore Development&quot;</a></p></blockquote> ]]></content:encoded> <wfw:commentRss>http://blog.straylightrun.net/2009/01/20/offshoring-the-24-hour-development-cycle-myth/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Slides From php&#124;works 2008, Part 2</title><link>http://blog.straylightrun.net/2008/11/16/slides-from-phpworks-2008-part-2/</link> <comments>http://blog.straylightrun.net/2008/11/16/slides-from-phpworks-2008-part-2/#comments</comments> <pubDate>Mon, 17 Nov 2008 00:29:59 +0000</pubDate> <dc:creator>gerard</dc:creator> <category><![CDATA[Performance]]></category> <category><![CDATA[Process]]></category> <category><![CDATA[optimization]]></category> <category><![CDATA[talks]]></category> <guid
isPermaLink="false">http://blog.straylightrun.net/?p=29</guid> <description><![CDATA[Slides from php&#124;works 2008 in Atlanta, GA.  If the Sliderocket version below is problematic, here is the more popular Slideshare version. Front End Website Optimization View SlideShare presentation or Upload your own. (tags: yslow php)]]></description> <content:encoded><![CDATA[<p>Slides from php|works 2008 in Atlanta, GA.  If the Sliderocket version below is problematic, here is the more popular Slideshare version.</p><div
id="__ss_758492" style="width: 425px; text-align: left;"><a
style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" title="Front End Website Optimization" href="http://www.slideshare.net/gerrys0/front-end-website-optimization-presentation?type=powerpoint">Front End Website Optimization</a><object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowScriptAccess" value="always" /><param
name="src" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=front-end-optimization-1226879414455854-8&amp;stripped_title=front-end-website-optimization-presentation" /><embed
type="application/x-shockwave-flash" width="425" height="355" src="http://static.slideshare.net/swf/ssplayer2.swf?doc=front-end-optimization-1226879414455854-8&amp;stripped_title=front-end-website-optimization-presentation" allowscriptaccess="always" allowfullscreen="true"></embed></object></p><div
style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;">View SlideShare <a
style="text-decoration:underline;" title="View Front End Website Optimization on SlideShare" href="http://www.slideshare.net/gerrys0/front-end-website-optimization-presentation?type=powerpoint">presentation</a> or <a
style="text-decoration:underline;" href="http://www.slideshare.net/upload?type=powerpoint">Upload</a> your own. (tags: <a
style="text-decoration:underline;" href="http://slideshare.net/tag/yslow">yslow</a> <a
style="text-decoration:underline;" href="http://slideshare.net/tag/php">php</a>)</div></div> ]]></content:encoded> <wfw:commentRss>http://blog.straylightrun.net/2008/11/16/slides-from-phpworks-2008-part-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Slides From php&#124;works 2008</title><link>http://blog.straylightrun.net/2008/11/08/slides-from-phpworks-2008/</link> <comments>http://blog.straylightrun.net/2008/11/08/slides-from-phpworks-2008/#comments</comments> <pubDate>Sat, 08 Nov 2008 18:54:48 +0000</pubDate> <dc:creator>gerard</dc:creator> <category><![CDATA[Performance]]></category> <category><![CDATA[Process]]></category> <category><![CDATA[optimization]]></category> <category><![CDATA[talks]]></category> <guid
isPermaLink="false">http://blog.straylightrun.net/?p=11</guid> <description><![CDATA[Slides from php&#124;works 2008 in Atlanta, GA.]]></description> <content:encoded><![CDATA[<p>Slides from php|works 2008 in Atlanta, GA.</p><p><object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="flashvars" value="id=36D98289-F9B1-A752-9251-4B928325F639" /><param
name="src" value="http://data.sliderocket.com/SlideRocketPlayer.swf" /><embed
type="application/x-shockwave-flash" width="400" height="300" src="http://data.sliderocket.com/SlideRocketPlayer.swf" flashvars="id=36D98289-F9B1-A752-9251-4B928325F639"></embed></object></p> ]]></content:encoded> <wfw:commentRss>http://blog.straylightrun.net/2008/11/08/slides-from-phpworks-2008/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
