<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>H3RALD - Tag 'web-development' (RSS Feed)</title>
    <language>en-us</language>
    <lastBuildDate>Sat, 10 Jun 2006 03:26:00 -0600</lastBuildDate>
    <ttl>40</ttl>
    <link>http://www.h3rald.com</link>
    <description/>
    <item>
      <title>Akelos Framework: too good to be true?</title>
      <description>&lt;p&gt;Someone recently added a comment to my article about &lt;a href="http://base--/articles/rails-inspired-php-frameworks/"&gt;Rails-inspired &lt;span class="caps"&gt;PHP&lt;/span&gt; frameworks&lt;/a&gt; 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 &lt;span class="caps"&gt;PHP&lt;/span&gt; and spam or not, I&amp;#8217;d like to thank this guy for letting me know of the existance of &lt;a href="http://base--/bookmarks/view/akelos-framework"&gt;Akelos&lt;/a&gt;, a new &lt;span class="caps"&gt;PHP&lt;/span&gt; framework which seems simply too good to be true.&lt;/p&gt;
&lt;p style="float:left;"&gt;&lt;img src="http://base--/img/pictures/frameworks/akelos_framework.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;Let me just spend a few words more before writing more about it though. First off, it&amp;#8217;s not available yet. OR at least it doesn&amp;#8217;t seem to be: the author is planning to release his work to the Open Source community but&amp;#8230; well, he&amp;#8217;s a bit concerned about the current &amp;#8220;&lt;span class="caps"&gt;PHP&lt;/span&gt; Framework War&amp;#8221;: he wouldn&amp;#8217;t like to end up like &lt;a href="http://subway.python-hosting.com/"&gt;Subway&lt;/a&gt; or just be slagged off by those merciless reviewers who enjoy write round-ups and comparisons about frameworks. &lt;a href="http://www.bermi.org/page/about_me"&gt;Bermi Ferrer&lt;/a&gt; is &amp;#8220;just&amp;#8221; a talented &lt;span class="caps"&gt;PHP&lt;/span&gt; developer who decided to create his own framework and he really enjoyed doing so, nothing more, nothing less.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;#8220;I considered other &lt;span class="caps"&gt;PHP&lt;/span&gt; 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.&amp;#8221;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Where did I hear that? Nothing new: it&amp;#8217;s always the same story of frameworks not being as we want them to be etc., it&amp;#8217;s human. And yes, it&amp;#8217;s &lt;em&gt;&lt;strong&gt;another&lt;/strong&gt;&lt;/em&gt; attempt to port Ruby on Rails to &lt;span class="caps"&gt;PHP&lt;/span&gt;, and a damn good one &amp;#8212; or so it seems.&lt;/p&gt;
&lt;p&gt;&lt;small&gt;Before proceeding any further, I&amp;#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-&lt;span class="caps"&gt;PHP&lt;/span&gt;-clone issue: &lt;strong&gt;If I see a single comment slagging off this framework (or any other) only because it&amp;#8217;s a port of Rails to &lt;span class="caps"&gt;PHP&lt;/span&gt;, it will be deleted, may it be David Heinemeier Hansson himself&lt;/strong&gt;. 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, &lt;span class="caps"&gt;EVERYBODY&lt;/span&gt; &lt;span class="caps"&gt;KNOWS&lt;/span&gt; &lt;span class="caps"&gt;THAT&lt;/span&gt;. Please, please, save us poor &lt;span class="caps"&gt;PHP&lt;/span&gt; developers the usual preaching.&lt;/small&gt;&lt;/p&gt;
&lt;p style="float:right;"&gt;&lt;img src="http://base--/img/pictures/frameworks/bermi_ferrer.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;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&amp;#8230; ooops!&lt;/p&gt;
&lt;p&gt;Let&amp;#8217;s just quote the most juicy ones, shall we?&lt;/p&gt;
&lt;p&gt;Active Record [&amp;#8220;Model&amp;#8221;]&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Associations&lt;/li&gt;
	&lt;li&gt;Callbacks&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;Transactions&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;Finders&lt;/strong&gt; [ &lt;code&gt;$Project-&amp;gt;findFirstBy('language AND start_year:greater', 'PHP', '2004');&lt;/code&gt; ]&lt;/li&gt;
	&lt;li&gt;Versioning&lt;/li&gt;
	&lt;li&gt;&amp;#8230;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Action Controller [&amp;#8220;Controller&amp;#8221;]&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Filters&lt;/li&gt;
	&lt;li&gt;Pagination&lt;/li&gt;
	&lt;li&gt;Mime Type&lt;/li&gt;
	&lt;li&gt;Mime Response&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;Code Generation&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;Response handler&lt;/li&gt;
	&lt;li&gt;&amp;#8230;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Action View [&amp;#8220;View&amp;#8221;]&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Templates (using Sintags)&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;Web 2.0 javascript using prototype and script.aculo.us&lt;/li&gt;
	&lt;li&gt;Helpers&lt;/li&gt;
	&lt;li&gt;Partials&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;Template Compilers&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;&amp;#8230;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And then more Akelos-only goodies:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Multilingual Models and Views&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;Locale alias integrated on &lt;span class="caps"&gt;URLS&lt;/span&gt; (example.com/spanish will load the es_ES locale)&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;Database migrations using DB Designer files&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;Pure &lt;span class="caps"&gt;PHP&lt;/span&gt; support for Unicode (no extensions required)&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;Unit Tested source code&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;Code Generators&lt;/li&gt;
	&lt;li&gt;Built in &lt;span class="caps"&gt;XHTML&lt;/span&gt; validator&lt;/li&gt;
	&lt;li&gt;Automated locale management&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;Clean separation from &lt;span class="caps"&gt;HTML&lt;/span&gt; and Javascript using &lt;span class="caps"&gt;CSS&lt;/span&gt; event selectors.&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;Ajax file uploads&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;&lt;span class="caps"&gt;AFLAX&lt;/span&gt; integration&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;Dojo Rich Text Editor&lt;/li&gt;
	&lt;li&gt;Format converters&lt;/li&gt;
	&lt;li&gt;File handling using &lt;span class="caps"&gt;SFTP&lt;/span&gt; for shared host running Apache as user nobody (as most CPanel server do)&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;Distributed sessions using databases&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Impressed? I was, honest. And I&amp;#8217;m talking as a CakePHP fanatic here, and I must say that if this framework can really offer all this &lt;em&gt;and&lt;/em&gt; &amp;#8212; and this is what really matters &amp;#8212; is also as simple as Cake to learn and well performing&amp;#8230; well, this is definitely going to be quite a promising player in the &amp;#8220;&lt;span class="caps"&gt;PHP&lt;/span&gt; Framework War&amp;#8221; (but is not a real war, is it?), although the author is quite worried about that:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;#8220;I&amp;#8217;m also concerned about the &lt;span class="caps"&gt;PHP&lt;/span&gt; Framework war, I don&amp;#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&amp;#8217;t want to spend my time discussing about if this is better or not than other solutions. That&amp;#8217;s the reason I&amp;#8217;ll first look for great developers interested in the Framework to help me releasing it.&amp;#8221;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;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, &lt;a href="http://www.bermi.org/projects/akelos_framework"&gt;Akelos Framework&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Sat, 10 Jun 2006 03:26:00 -0600</pubDate>
      <guid>http://www.h3rald.com/articles/34/</guid>
      <link>http://www.h3rald.com/articles/34/</link>
      <author>h3rald@h3rald.com</author>
      <comments>http://www.h3rald.com/articles/34/#comments</comments>
      <category>frameworks</category>
      <category>php</category>
      <category>web-development</category>
      <category>review</category>
    </item>
    <item>
      <title>Digg Effect -  the day after</title>
      <description>&lt;p&gt;&amp;#8230;So it turns out that my &lt;a href="http://www.h3rald.com/articles/view/rails-inspired-php-frameworks/"&gt;last article&lt;/a&gt; appeared on &lt;a href="http://www.digg.com"&gt;Digg&lt;/a&gt; homepage. &lt;br /&gt;
This was quite a pleasant surprise: I didn&amp;#8217;t expect that an article submitted to &lt;em&gt;my own site&lt;/em&gt; could make it that far! I thought you&amp;#8217;d need a relatively well-known website, mafia&amp;#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&amp;#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.&lt;/p&gt;
&lt;p&gt;Two days ago I decided to write a roundup of the six Rails-inspired &lt;span class="caps"&gt;PHP&lt;/span&gt; frameworks, CakePHP, Symfony, &lt;span class="caps"&gt;PHP&lt;/span&gt; on Trax, Code Igniter, Biscuit and Pipeline. The reason for this was that I couldn&amp;#8217;t find anything comparing all of them and such comparison could have been useful for some new &lt;em&gt;bakers_. OK, I confess, when I started writing the article I thought I&amp;#8217;d submit it to Digg and see what happens: I saw that another &lt;a href="http://www.phpit.net/article/ten-different-php-frameworks/"&gt;roundup&lt;/a&gt; made it to the first page and people were quoting it everywhere on the net. It&amp;#8217;s a nice article, but &amp;#8211; in my humble opinion &amp;#8211; not too exhaustive. &lt;br /&gt;
Then I read a comment by someone to the &lt;a href="http://digg.com/programming/CakePHP_1.0_has_been_released"&gt;digg&lt;/a&gt;&lt;/em&gt; of the latest Cake release stating:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Yes, they are similar &amp;#8211; both were inspired by Rails, but Cake has gone further to differentiate themselves. Here&amp;#8217;s a decent (but not great) overview of some frameworks: http://www.phpit.net/article/ten-different-php-frameworks/&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;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 &lt;a href="http://www.h3rald.com/blog/view/23/"&gt;blog posts&lt;/a&gt; I tried to compare CakePHP and Symfony, but obviously my emotions got in the way and in the end I noticed I was kinda &lt;em&gt;attacking&lt;/em&gt; Symfony. That was a blog post though, and that&amp;#8217;s half-allowed, but I felt that I should have written a slightly more objective &lt;em&gt;article&lt;/em&gt; mentioning also all the other competitors.&lt;/p&gt;
&lt;p&gt;Anyhow, right when I went to submit my article to Digg, it turns out that another guy wrote &lt;a href="http://digg.com/programming/5_Next_Generation_PHP_Frameworks"&gt;a similar round up&lt;/a&gt;, which made it to Digg&amp;#8217;s homepage. That was an annoying cohincidence, but in the end things didn&amp;#8217;t go too bad: his roundup was more generic, while mine was more specific and detailed.&lt;/p&gt;
&lt;p style="float:left;"&gt;&lt;img src="http://base--/img/pictures/dugg_detail.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;After submitting my article the reaction wasn&amp;#8217;t instantaneous&amp;#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!&lt;br /&gt;
I immediately noticed it when I refreshed my stats page: a minute before my girlfriend was here telling me &amp;#8220;oh look, over 400 visitors&amp;#8230; not too bad&amp;#8221;. Then I refreshed the page and it said &lt;em&gt;539&lt;/em&gt;, I refreshed again and said 600-something&amp;#8230; eeep&amp;#8230; Digg effect!&lt;/p&gt;
&lt;p&gt;A special praise goes to my new hosting company, &lt;a href="http://www.bluehost.com/track/h3rald/CODE5"&gt;BlueHost&lt;/a&gt;: the server didn&amp;#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.&lt;/p&gt;
&lt;p&gt;So here I am&amp;#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 &amp;#8211; except for the usual &lt;em&gt;Rails-is-better-than-anything-else&lt;/em&gt; comments &amp;#8211; they were generally positive. Over 250 people bookmarked on del.icio.us and many blogs mentioned it in many different countries.&lt;/p&gt;
&lt;p&gt;Money? Didn&amp;#8217;t make much with adsense at all: programmers &lt;em&gt;don&amp;#8217;t&lt;/em&gt; click on ads!&lt;br /&gt;
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&lt;/p&gt;</description>
      <pubDate>Thu, 04 May 2006 19:59:00 -0600</pubDate>
      <guid>http://www.h3rald.com/articles/25/</guid>
      <link>http://www.h3rald.com/articles/25/</link>
      <author>h3rald@h3rald.com</author>
      <comments>http://www.h3rald.com/articles/25/#comments</comments>
      <category>web20</category>
      <category>web-development</category>
      <category>internet</category>
    </item>
  </channel>
</rss>

