20080124 Thursday January 24, 2008

How long does it take to build a modern web framework? Dear Java Web Framework Authors,

I hope you're doing well and continue to enjoy working on the web framework you created years ago. I'm curious to know something:

    How long would it take you to build your web framework from scratch?

If all the code from your framework magically disappeared tomorrow and you had to write it from the ground up - how long would it take? What if you had a group of 3-5 developers (of your choosing) to help you do it?

Furthermore, would you write the whole thing line-by-line, or could you borrow code from other open source projects to streamline the process?

Thanks in advance for your response,

Matt Posted in Java at Jan 24 2008, 12:39:55 PM MST 4 Comments

Comments:

I'm living that experiment. I'll keep you posted when I'm done :-)

Posted by Howard M. Lewis Ship on January 24, 2008 at 11:55 PM MST #

Grails has taken 2 years and 8 months so far with 1.0 due outsoon.

About a year of that has been pretty much full time for me. We've had around 8 people contribute other than me and currently have 2 full time (since G2One started).

I would say it would take about a year, maybe a year and a half for 3-5 people to build it from scratch

As for code re-use, it already has a large amount of re-use thanks to Spring, Hibernate, Sitemesh etc.

Posted by Graeme Rocher on January 25, 2008 at 05:17 AM MST #

I figure we're talking just coding time here right? It's taken us a couple of years (elapse time) to get to where we are with Stripes. We've put a lot of time in over that span, but a vast majority of that has been think-time: trying to decide the best way to expose a feature, or if it should even get in. And a bunch has been prototyping time.

If we lost our source code tomorrow (and once I got over the shock of having to start over) I reckon that it wouldn't take me more than a couple of months of full time coding to reconstitute Stripes, and probably less. The code base just isn't that large - it's the knowledge base that went into it :) If we had the whole team working on it, it'd be shorter still. Now, if we had to rebuild our documentation also? Add a few more months!

Posted by Tim Fennell on January 25, 2008 at 06:02 AM MST #

It depends strongly on what goals you want to achieve. But I think nowadays a lot can be done by copying and pasting. Most of the effort will go in finding out which code to reuse and which existing frameworks/components to use. We are at the start of building a framework for data driven webapps making use of MySQL, Hibernate, Spring and Wicket. If you have some spare time left you are welcome to join us. I hope we will have our first running app in a few months time.

Posted by Danny Bols on January 26, 2008 at 02:07 AM MST #

Post a Comment:
  • HTML Syntax: Allowed