Posted by
Nicolas Petton on
Nov 12, 2010; 10:45am
URL: https://forum.world.st/Code-stats-Aida-vs-Seaside-vs-Iliad-tp3038588p3039393.html
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
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'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.
If some framework needs 10x more lines of code, maybe it's for a reason,
maybe not, but the complexity of an internal implementation of a
specific feature of a framework doesn't mean that this complexity is
shown to the developer. Afterall, that's the purpose of any framework.
So I think that instead of comparing the number of lines of code to
determine which framework is simpler for newcommers, one should try to
compare the complexity of the API provided by each framework, and what
it allows you to do with it.
Just my 2 cents,
Nico
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida