<?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>ae.hugeobject.com &#187; PHP</title>
	<atom:link href="http://ae.hugeobject.com/archive/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://ae.hugeobject.com</link>
	<description>Just another ae weblog</description>
	<lastBuildDate>Wed, 03 Feb 2010 13:59:06 +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>Lyrics of the day</title>
		<link>http://ae.hugeobject.com/archive/lyrics-of-the-day/</link>
		<comments>http://ae.hugeobject.com/archive/lyrics-of-the-day/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 13:59:06 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Kohana]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/?p=63</guid>
		<description><![CDATA[I&#8217;ve been wanting to play with the new version of Kohana (K3) for a while. Its quite different to the 2.x branches and there a few things with it that I&#8217;m not sure I really like, but I&#8217;ll reserve judgment till I&#8217;ve played with it a bit more.
Anyway, to try and do something somewhat interesting [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wanting to play with the new version of <a href="http://www.kohanaphp.com">Kohana</a> <a href="http://github.com/kohana">(K3)</a> for a while. Its quite different to the 2.x branches and there a few things with it that I&#8217;m not sure I really like, but I&#8217;ll reserve judgment till I&#8217;ve played with it a bit more.</p>
<p>Anyway, to try and do something somewhat interesting I&#8217;d thought I&#8217;d hook it up to the <a href="http://apiwiki.twitter.com/">twitter</a> and <a href="http://www.last.fm/api">last.fm</a> api&#8217;s tonight over too many gin and tonics. So I created <a href="http://lyricsoftheday.info">http://lyricsoftheday.info</a> and <a href="http://albumoftheday.info">http://albumoftheday.info</a> (which is parked with lyricsoftheday).</p>
<p>All they do is search for the #lyricsoftheday and #albumoftheday hashtags on twitter and return the results. I&#8217;m trying to get the album of the day to grab the album cover from last.fm but this is proving a bit harder as I need to provide both the album name and artist to the api, which is sometimes hard to determine (check <a href="http://albumoftheday.info">http://albumoftheday.info</a> and you will see what I mean).</p>
<p>The styling is GHASTLY. Yes.</p>
<p>The code is up on github at <a href="http://github.com/ae0000/lyricsoftheday">http://github.com/ae0000/lyricsoftheday</a> if anyone is interested or wants to style it up.</p>
<p>Next step is to try and wean the crappy lyrics out&#8230;. then create a cronjob to submit tom waits lyrics every minute.</p>
<p>Or perhaps even better, fixing peoples ill-informed tweets for them</p>
<p>eg. (using the currently number one tweet)<br />
Someone: I will never know cause you will never show. #lyricsoftheday</p>
<p>&#8220;@Someone: &#8221; +  insert_random_tom_waits_lyric(); +&#8221; #FTFY #lyricsoftheday&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/lyrics-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logging Kohana sites</title>
		<link>http://ae.hugeobject.com/archive/logging-kohana-sites/</link>
		<comments>http://ae.hugeobject.com/archive/logging-kohana-sites/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 00:34:15 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Kohana]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/?p=58</guid>
		<description><![CDATA[Add this to your bash aliases for quickly seeing whats happening in the current log.
alias klogger='tail -f -s 5 /home/ae/workspace/eventarc/www/logs/`date +%Y-%m-%d`.log.php'

]]></description>
			<content:encoded><![CDATA[<p>Add this to your bash aliases for quickly seeing whats happening in the current log.</p>
<p><code>alias klogger='tail -f -s 5 /home/ae/workspace/eventarc/www/logs/`date +%Y-%m-%d`.log.php'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/logging-kohana-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CoolUri plugin for typo3</title>
		<link>http://ae.hugeobject.com/archive/cooluri-plugin-for-typo3/</link>
		<comments>http://ae.hugeobject.com/archive/cooluri-plugin-for-typo3/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 22:56:16 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/cooluri-plugin-for-typo3/</guid>
		<description><![CDATA[This is perhaps more of a convenient place for me to store install instructions than anything&#8230; BUT:
Installing CoolUri in Typo3 on linux / apache2 / php5

Based on: http://docs.google.com/View?docid=dd33gg45_3f8j96p
Steps :
Check if the weberver has the following settings:
PHP5+ with SimpleXML enabled
MySQL 4.1+
Apache&#8217;s mod_rewrite enabled
Go into the extension manager
Choose menu option &#8216;Import extensions&#8217;
Upload extension file: cooluri_1.0.4.t3x
Found here ( [...]]]></description>
			<content:encoded><![CDATA[<p>This is perhaps more of a convenient place for me to store install instructions than anything&#8230; BUT:</p>
<p><strong>Installing <a href="http://typo3.org/extensions/repository/view/cooluri/">CoolUri</a> in <a href="http://typo3.org/">Typo3</a> on linux / apache2 / php5</strong></p>
<p><span id="more-46"></span><br />
Based on: <a href="http://docs.google.com/View?docid=dd33gg45_3f8j96p">http://docs.google.com/View?docid=dd33gg45_3f8j96p</a></p>
<p><strong>Steps :</strong></p>
<p><strong>Check if the weberver has the following settings:</strong><br />
PHP5+ with SimpleXML enabled<br />
MySQL 4.1+<br />
Apache&#8217;s mod_rewrite enabled</p>
<p><strong>Go into the extension manager</strong><br />
Choose menu option &#8216;Import extensions&#8217;<br />
Upload extension file: cooluri_1.0.4.t3x<br />
Found here ( http://typo3.org/extensions/repository/view/cooluri/ )</p>
<p>Once imported, install it and accept its defaults (altering tables etc.)</p>
<p><strong>Add a htaccess:</strong><br />
(check that it covers all folders in the root directory)</p>
<p><code># Enable URL rewriting<br />
RewriteEngine On<br />
RewriteRule ^/(typo3|typo3temp|typo3conf|t3lib|tslib|css|calculator|fileadmin|uploads|showpic\.php)/ - [L]<br />
RewriteRule ^/(typo3|typo3temp|typo3conf|t3lib|tslib|css|calculator|fileadmin|uploads|showpic\.php)/.*$ - [L]<br />
RewriteRule ^typo3$ typo3/index_re.php [L]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteCond %{REQUEST_FILENAME} !-l</p>
<p># Main URL rewriting.<br />
RewriteRule .* index.php [L]</code></p>
<p><strong>Copy across the CoolUriConf xml file:</strong><br />
<code>cp typo3conf/ext/cooluri/cooluri/CoolUriConf.xml_default typo3conf/CoolUriConf.xml</code></p>
<p><strong>Add a domain record</strong><br />
- Go to the homepage, -> NEW -> DOMAIN  (add the domain name in)</p>
<p><strong>Add the following to the main template setup::</strong></p>
<p><code># Cooluri<br />
config.simulateStaticDocuments = 0<br />
config.baseURL = http://mtaa.supernaut/<br />
config.tx_cooluri_enable = 1<br />
config.redirectOldLinksToNew = 1</code></p>
<p><strong>Go to the backend and select the &#8216;CoolUri&#8217; menu item</strong><br />
Click &#8216;Delete/Update all&#8217; -> DELETE EVERYTHING AND START AGAIN<br />
<strong><br />
Clear cache</p>
<p>Try.</strong></p>
<p><strong>For CATMENU see note from <a href="http://www.bednarik.org/">Jan:</a></strong></p>
<blockquote><p>try to remove the part which removes cHash parameter from URLs. Since<br />
tt_news are cached, they either require cHash or you&#8217;d need to make them<br />
COA_INT.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/cooluri-plugin-for-typo3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A reliable text editor</title>
		<link>http://ae.hugeobject.com/archive/a-reliable-text-editor/</link>
		<comments>http://ae.hugeobject.com/archive/a-reliable-text-editor/#comments</comments>
		<pubDate>Tue, 08 May 2007 22:43:37 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/a-reliable-text-editor/</guid>
		<description><![CDATA[
I was complaining to someone the other day about how most text editors fail to deal with large files. I was trying to edit a 8mb sql file and my default editors eclipse and cream (a vim extension) both couldn&#8217;t handle it. I then tried emacs and jEdit neither of which I particularly like. jEdit [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right"><a href='http://scribes.sourceforge.net/' title='scribes'><img src='http://ae.hugeobject.com/wp-content/uploads/2007/05/scribes.png' alt='scribes' /></a></div>
<p>I was complaining to someone the other day about how most text editors fail to deal with large files. I was trying to edit a 8mb sql file and my default editors eclipse and <a href="http://cream.sourceforge.net   ">cream</a> (a vim extension) both couldn&#8217;t handle it. I then tried emacs and <a href="http://www.jedit.org/">jEdit</a> neither of which I particularly like. jEdit at least opened the file. But the interface is clunky and on my system at least, wont go past 800&#215;600 screen real estate&#8230;.<span id="more-40"></span></p>
<p>In the end I made all the text edits to the sql file using <a href="http://www.grymoire.com/Unix/Sed.html#uh-0">sed</a> which is a handy (and quick) command line tool. But I was still disturbed&#8230;.</p>
<p>Anyway, I read a blog post somewhere that said <a href="http://scribes.sourceforge.net/">scribes</a> was the go. So I installed it and gave it a whirl on my latest sql file which was 38mb. </p>
<p>It took a few seconds to open, but it DID open and the first thing you notice is that (for gnome users at least) it looks like a gnome editor (unlike jEdit which screams &#8220;<em>I was made in the 90&#8217;s in java</em>&#8220;).</p>
<p>The template system is also very cool. It reminds me a little of swanky Mac people and their TextMate. Rather than me trying to describe it go <a href="http://scribes.sourceforge.net/demo.htm">here</a> and look at the example video. Which also shows the bookmark feature which is cool. Check out its other features <a href="http://scribes.sourceforge.net/features.html">here</a>. Oh and its open source too&#8230;of course.</p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/a-reliable-text-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP frameworks &#8211; symfony</title>
		<link>http://ae.hugeobject.com/archive/php-frameworks-symfony/</link>
		<comments>http://ae.hugeobject.com/archive/php-frameworks-symfony/#comments</comments>
		<pubDate>Fri, 20 Jan 2006 00:29:24 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/php-frameworks-symfony/</guid>
		<description><![CDATA[I&#8217;ve been playing with a few php frameworks &#8211; check this list , most of which were pretty cool, but I couldn&#8217;t see myself using on an extended basis. However symfony looks really good. After getting past some install errors on ubuntu (blame PEAR), everything worked really smoothly. It reminded me of the first time [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with a few php frameworks &#8211; check <a class="mceVisualAid" title="php frameworks" href="http://www.phpwact.org/php/mvc_frameworks">this list</a> , most of which were pretty cool, but I couldn&#8217;t see myself using on an extended basis. However <a title="symfony" href="http://www.symfony-project.com/">symfony</a> looks really good. After getting past some install errors on ubuntu (blame PEAR), everything worked really smoothly. It reminded me of the first time I played with ruby on rails and was astounded to have a simple website with DB functionality within a couple of minutes.</p>
<p>The features which I think make this framework shine above the rest are its implementation of MVC which is really smooth and its easy template system.</p>
<p>You should check it out. <a title="Askeet" href="http://www.askeet.com/">Askeet</a> was build in 24 days as part of a <a title="advent" href="http://www.symfony-project.com/askeet">symfony advent</a> &#8211; its a good example of how quick it is to get a web app online with symfony.</p>
<p><!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">technorati tags: <a rel="tag" href="http://technorati.com/tag/php">php</a>, <a rel="tag" href="http://technorati.com/tag/symfony">symfony</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/php-frameworks-symfony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
