[Seaside] Seaside Vs Java Struts Wafer weblog comparison
tblanchard at mac.com
tblanchard at mac.com
Mon Sep 29 09:45:07 CEST 2003
The actual final version is on my iDisk at
http://homepage.mac.com/tblanchard
I expect by now its been copied to the wafer site as well.
The download is quite a bit larger because its a whole image and source
file - given that it may be downloaded by non-smalltalkers I wanted to
ship something ready to run out of the box. This one uses glorp to
pgsql database you have to set up.
I do recall the folks at the users group saying that they typically
spent about 5 to 10 times as long to do wafer in the java based
frameworks (1 day vs 1- 2 weeks).
-Todd Blanchard
On Friday, September 26, 2003, at 11:44 PM, Roger Whitney wrote:
> Last month Todd Blanchard posted his Seaside implementation of the
> Wafer weblog. The Wafer weblog spec was created to compare different
> Java frameworks for Web applications. The idea is to implement the
> Wafer weblog using the different frameworks and compare the results. I
> downloaded Blanchard's Seaside implementation and the Java Struct
> version. I have no idea how the Java Struts version compares to the
> other Java versions. It could be I picked a really bad Java example to
> look at. Here are some simple comparisons.
>
> First the total size of what one downloads for each version. Yes the
> Java Struts download is ~160 times larger.
> Size (uncompressed)
> Java Struts Version 4.1MB (yes MB)
> Seaside version 26,759 B (yes bytes)
>
> # of Files
> Java Struts Version 155
> Seaside version 1
>
> The struts version had a number of jar files that were needed to run
> the example. The jar files are rather large, and most were not actual
> created for the project. They were results of other projects. It also
> had a number of XML files used to compile the example and configure
> struts. So I looked at the source files in each version for an idea of
> how much code one needed to implement each project. In the Java Struts
> version there were Java classes and jsp files. Here is the total size
> of the source files. The java struts version is 8.9 times larger.
>
> Source Size
> Java Struts Version 239,330 B
> Seaside version 26,759 B
>
> Most of the Java struct version files contain a copyright notice. When
> I remove the copyright we get that the Java struts version is 5.9
> times larger.
>
> Source w/o copyright notice
> Java Struts Version 159,554 B
> Seaside version 26,759 B
>
> Finally there is the number of classes.
>
> Classes
> Java Struts Version 36
> Seaside version 12
>
> I have no idea how hard it would be to actually run the Java Struct
> version. I would have to at least download and install Java Struts and
> what ever it needs to run. I did not try to look at the Java code to
> understand it. Nor do I have any idea what Struts are, but have run
> across a number of references to them.
>
> Todd has a smaller version, which could change the comparison a bit.
>
> URLs for downloading the code are below.
>
> Blanchard's Seaside implementation
> (http://lists.squeakfoundation.org/pipermail/seaside/attachments/
> 20030808/c411a24b/Wafer.obj)
>
> Java Struct version
> (http://www.waferproject.org/weblog-prototype/index.jsp)
> ----
> Roger Whitney Department of Computer Science
> whitney at cs.sdsu.edu San Diego State University
> http://www.eli.sdsu.edu/ San Diego, CA 92182-7720
> (619) 583-1978
> (619) 594-3535 (office)
> (619) 594-6746 (fax)
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>
More information about the Seaside
mailing list