[aida] Code stats - Aida vs. Seaside vs. Iliad
frido at q-software-solutions.de
Fri Nov 12 19:05:10 CET 2010
Nicolas Petton <petton.nicolas at gmail.com> writes:
> Le jeudi 11 novembre 2010 à 22:13 +0100, Janko Mivšek a écrit :
>> Dear all,
>> I'm currently working on comparison between three main web frameworks in
>> Smalltalk and here is one interesting result I measured today:
>> Code stats Aida Seaside Iliad
>> Nr of packages 1 74 9
>> Nr of categories 14 123 26
>> Nr of classes 145 943 265
>> Nr of methods 4.465 8.758 2.368
>> Lines of code 33.578 66.337 9.794
>> Avg methods/class 31 9 9
>> Avg lines/method 7,5 7,6 4,1
>> Code is loaded in Pharo with by Metacello configurations, tests are
>> included, all code included except Grease, Sport, Swazoo, Magritte.
>> Note how small number of packages and classes has Aida comparing
>> specially to Seaside, but only twice less methods. Is this a reason why
>> everyone consider Aida as simple from first sight?
> Hi guys,
> Iliad is how it is because 1) Iliad is a vision about how we can build
> web apps 2) I want Iliad to have a small, easy to maintain codebase
Well that is the most nobel goal one can have in Software development,
at least for me.
> In a nutshell, the goal of Iliad is to help developers write web
> applications with reusable, stateful web components, while liveraging
> modern web technologies (like automatic, unobstrusive and degradable
> AJAX), and keep clean, human readable and bookmarkable urls.
> If I could reduce the number of lines of code in Iliad, I would
> certainly do so.
I think this is the thing we all should strive for.
> I'm not saying that Iliad is better than <put whatever framework you
> like here>. It may be _different_, and answer to web development issues
> differently than other web frameworks do.
I was very cautious (at least I hope so) but less code -> less
bugs. So in that regards Iliad seems to have an edge, but of course just
if the functionality can be compared. And this is what I can't do.
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus
More information about the Aida