<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://www.h3rald.com/</id>
  <title>H3RALD - Tag 'web-development' (Atom Feed)</title>
  <updated>2006-06-10T09:26:00Z</updated>
  <link rel="alternate" href="http://www.h3rald.com"/>
  <link rel="self" href="http://www.h3rald.com/tags/web-development/atom/"/>
  <author>
    <name>Fabio Cevasco</name>
    <uri>http://www.h3rald.com</uri>
  </author>
  <entry>
    <id>tag:www.h3rald.com,2006-06-10:/articles/34/</id>
    <title>Akelos Framework: too good to be true?</title>
    <published>2006-06-10T09:26:00Z</published>
    <updated>2009-09-06T18:10:55Z</updated>
    <link rel="alternate" href="http://www.h3rald.com/articles/34/"/>
    <category term="frameworks" scheme="http://www.h3rald.com/tags/frameworks/"/>
    <category term="php" scheme="http://www.h3rald.com/tags/php/"/>
    <category term="web-development" scheme="http://www.h3rald.com/tags/web-development/"/>
    <category term="review" scheme="http://www.h3rald.com/tags/review/"/>
    <content type="html">
<![CDATA[
<p>Someone recently added a comment to my article about <a href="http://base--/articles/rails-inspired-php-frameworks/">Rails-inspired <span class="caps">PHP</span> frameworks</a> pointing out that I forgot another Rails-like framework, in my round-up. He obviously posted a link to this rather mysterious Rails port in <span class="caps">PHP</span> and spam or not, I&#8217;d like to thank this guy for letting me know of the existance of <a href="http://base--/bookmarks/view/akelos-framework">Akelos</a>, a new <span class="caps">PHP</span> framework which seems simply too good to be true.</p>
<p style="float:left;"><img src="http://base--/img/pictures/frameworks/akelos_framework.png" alt="" /></p>
<p>Let me just spend a few words more before writing more about it though. First off, it&#8217;s not available yet. OR at least it doesn&#8217;t seem to be: the author is planning to release his work to the Open Source community but&#8230; well, he&#8217;s a bit concerned about the current &#8220;<span class="caps">PHP</span> Framework War&#8221;: he wouldn&#8217;t like to end up like <a href="http://subway.python-hosting.com/">Subway</a> or just be slagged off by those merciless reviewers who enjoy write round-ups and comparisons about frameworks. <a href="http://www.bermi.org/page/about_me">Bermi Ferrer</a> is &#8220;just&#8221; a talented <span class="caps">PHP</span> developer who decided to create his own framework and he really enjoyed doing so, nothing more, nothing less.</p>
<p><em>&#8220;I considered other <span class="caps">PHP</span> ports of Ruby on Rails, but we could not find all we needed on them. One feature that I needed on the core was internationalization and Unicode support, so I decided to roll my own framework trying to keep most of the original rails interface so most of its documentation could work for it.&#8221;</em></p>
<p>Where did I hear that? Nothing new: it&#8217;s always the same story of frameworks not being as we want them to be etc., it&#8217;s human. And yes, it&#8217;s <em><strong>another</strong></em> attempt to port Ruby on Rails to <span class="caps">PHP</span>, and a damn good one &#8212; or so it seems.</p>
<p><small>Before proceeding any further, I&#8217;d like to write a short warning for a few people who may or may not want to pop in and start commenting about the Rails-is-better-than-any-<span class="caps">PHP</span>-clone issue: <strong>If I see a single comment slagging off this framework (or any other) only because it&#8217;s a port of Rails to <span class="caps">PHP</span>, it will be deleted, may it be David Heinemeier Hansson himself</strong>. Stop it, no seriously, I think it will be counter productive for Rails in the end: I really like RoR and I love the way it works, and yes, I think Ruby is definitely the best language to do that sort of things, <span class="caps">EVERYBODY</span> <span class="caps">KNOWS</span> <span class="caps">THAT</span>. Please, please, save us poor <span class="caps">PHP</span> developers the usual preaching.</small></p>
<p style="float:right;"><img src="http://base--/img/pictures/frameworks/bermi_ferrer.png" alt="" /></p>
<p>Right, back to Akelos now. Curious as I am I immediately checked out the official page and all i found was a pretty long list of features which made me dribble, literally&#8230; ooops!</p>
<p>Let&#8217;s just quote the most juicy ones, shall we?</p>
<p>Active Record [&#8220;Model&#8221;]</p>
<ul>
	<li>Associations</li>
	<li>Callbacks</li>
	<li><strong>Transactions</strong></li>
	<li><strong>Finders</strong> [ <code>$Project-&gt;findFirstBy('language AND start_year:greater', 'PHP', '2004');</code> ]</li>
	<li>Versioning</li>
	<li>&#8230;</li>
</ul>
<p>Action Controller [&#8220;Controller&#8221;]</p>
<ul>
	<li>Filters</li>
	<li>Pagination</li>
	<li>Mime Type</li>
	<li>Mime Response</li>
	<li><strong>Code Generation</strong></li>
	<li>Response handler</li>
	<li>&#8230;</li>
</ul>
<p>Action View [&#8220;View&#8221;]</p>
<ul>
	<li><strong>Templates (using Sintags)</strong></li>
	<li>Web 2.0 javascript using prototype and script.aculo.us</li>
	<li>Helpers</li>
	<li>Partials</li>
	<li><strong>Template Compilers</strong></li>
	<li>&#8230;</li>
</ul>
<p>And then more Akelos-only goodies:</p>
<ul>
	<li><strong>Multilingual Models and Views</strong></li>
	<li><strong>Locale alias integrated on <span class="caps">URLS</span> (example.com/spanish will load the es_ES locale)</strong></li>
	<li>Database migrations using DB Designer files</li>
	<li><strong>Pure <span class="caps">PHP</span> support for Unicode (no extensions required)</strong></li>
	<li><strong>Unit Tested source code</strong></li>
	<li>Code Generators</li>
	<li>Built in <span class="caps">XHTML</span> validator</li>
	<li>Automated locale management</li>
	<li><strong>Clean separation from <span class="caps">HTML</span> and Javascript using <span class="caps">CSS</span> event selectors.</strong></li>
	<li>Ajax file uploads</li>
	<li><strong><span class="caps">AFLAX</span> integration</strong></li>
	<li>Dojo Rich Text Editor</li>
	<li>Format converters</li>
	<li>File handling using <span class="caps">SFTP</span> for shared host running Apache as user nobody (as most CPanel server do)</li>
	<li><strong>Distributed sessions using databases</strong></li>
</ul>
<p>Impressed? I was, honest. And I&#8217;m talking as a CakePHP fanatic here, and I must say that if this framework can really offer all this <em>and</em> &#8212; and this is what really matters &#8212; is also as simple as Cake to learn and well performing&#8230; well, this is definitely going to be quite a promising player in the &#8220;<span class="caps">PHP</span> Framework War&#8221; (but is not a real war, is it?), although the author is quite worried about that:</p>
<p><em>&#8220;I&#8217;m also concerned about the <span class="caps">PHP</span> Framework war, I don&#8217;t want to play that game. Building this Framework was a great experience, it works great for me and it has helped me to become a better programmer so I don&#8217;t want to spend my time discussing about if this is better or not than other solutions. That&#8217;s the reason I&#8217;ll first look for great developers interested in the Framework to help me releasing it.&#8221;</em></p>
<p>Really, this will be an interesting project to check out, once it goes open source, and yes, I really wish Bermi all the best. Good luck, <a href="http://www.bermi.org/projects/akelos_framework">Akelos Framework</a>.</p>]]>
    </content>
  </entry>
  <entry>
    <id>tag:www.h3rald.com,2006-05-04:/articles/25/</id>
    <title>Digg Effect -  the day after</title>
    <published>2006-05-05T01:59:00Z</published>
    <updated>2009-09-06T18:10:54Z</updated>
    <link rel="alternate" href="http://www.h3rald.com/articles/25/"/>
    <category term="web20" scheme="http://www.h3rald.com/tags/web20/"/>
    <category term="web-development" scheme="http://www.h3rald.com/tags/web-development/"/>
    <category term="internet" scheme="http://www.h3rald.com/tags/internet/"/>
    <content type="html">
<![CDATA[
<p>&#8230;So it turns out that my <a href="http://www.h3rald.com/articles/view/rails-inspired-php-frameworks/">last article</a> appeared on <a href="http://www.digg.com">Digg</a> homepage. <br />
This was quite a pleasant surprise: I didn&#8217;t expect that an article submitted to <em>my own site</em> could make it that far! I thought you&#8217;d need a relatively well-known website, mafia&#8217;s support, some divine intervention and a terrific amount of luck, but it seems that sometimes an interesting article about an interesting subject can be enough. I&#8217;ll probably write a more detailed report of what happened soon, in another article rather than a blog post, but for now I just wanted to post a short summary here.</p>
<p>Two days ago I decided to write a roundup of the six Rails-inspired <span class="caps">PHP</span> frameworks, CakePHP, Symfony, <span class="caps">PHP</span> on Trax, Code Igniter, Biscuit and Pipeline. The reason for this was that I couldn&#8217;t find anything comparing all of them and such comparison could have been useful for some new <em>bakers_. OK, I confess, when I started writing the article I thought I&#8217;d submit it to Digg and see what happens: I saw that another <a href="http://www.phpit.net/article/ten-different-php-frameworks/">roundup</a> made it to the first page and people were quoting it everywhere on the net. It&#8217;s a nice article, but &#8211; in my humble opinion &#8211; not too exhaustive. <br />
Then I read a comment by someone to the <a href="http://digg.com/programming/CakePHP_1.0_has_been_released">digg</a></em> of the latest Cake release stating:</p>
<blockquote>
<p>Yes, they are similar &#8211; both were inspired by Rails, but Cake has gone further to differentiate themselves. Here&#8217;s a decent (but not great) overview of some frameworks: http://www.phpit.net/article/ten-different-php-frameworks/</p>
</blockquote>
<p>At that point, I thought that another round up, perhaps more Cake-centric, was in order. The other reason was that in one of my recent <a href="http://www.h3rald.com/blog/view/23/">blog posts</a> I tried to compare CakePHP and Symfony, but obviously my emotions got in the way and in the end I noticed I was kinda <em>attacking</em> Symfony. That was a blog post though, and that&#8217;s half-allowed, but I felt that I should have written a slightly more objective <em>article</em> mentioning also all the other competitors.</p>
<p>Anyhow, right when I went to submit my article to Digg, it turns out that another guy wrote <a href="http://digg.com/programming/5_Next_Generation_PHP_Frameworks">a similar round up</a>, which made it to Digg&#8217;s homepage. That was an annoying cohincidence, but in the end things didn&#8217;t go too bad: his roundup was more generic, while mine was more specific and detailed.</p>
<p style="float:left;"><img src="http://base--/img/pictures/dugg_detail.png" alt="" /></p>
<p>After submitting my article the reaction wasn&#8217;t instantaneous&#8230; 5, 7, 10, 13 diggs in the first two hours. Then shortly I made it to 30 and when the 40th visitor dugg it my article was moved to the first page!<br />
I immediately noticed it when I refreshed my stats page: a minute before my girlfriend was here telling me &#8220;oh look, over 400 visitors&#8230; not too bad&#8221;. Then I refreshed the page and it said <em>539</em>, I refreshed again and said 600-something&#8230; eeep&#8230; Digg effect!</p>
<p>A special praise goes to my new hosting company, <a href="http://www.bluehost.com/track/h3rald/CODE5">BlueHost</a>: the server didn&#8217;t go down and it managed the extra traffic fine! A good test for CakePHP as well, since I built this site with it.</p>
<p>So here I am&#8230; over 5000 visitors read my article, about 600 people dugg it, nearly 40 people commented it on digg.com and 20 directly on my site. And &#8211; except for the usual <em>Rails-is-better-than-anything-else</em> comments &#8211; they were generally positive. Over 250 people bookmarked on del.icio.us and many blogs mentioned it in many different countries.</p>
<p>Money? Didn&#8217;t make much with adsense at all: programmers <em>don&#8217;t</em> click on ads!<br />
Bandwidth? About 1GB was gone in the first five hours, now is obviously slowing down: oh well, I still have another 398GB available till the end of the month :P</p>]]>
    </content>
  </entry>
</feed>

