Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Java? Developer Diary
By mikepence , Section Dev Notes []
Posted on Tue Jun 11, 2002 at 08:17:16 PM PST
Has anyone given serious consideration to re-writing Scoop in Java?

< A few bugs in the new editing queue | In considerion of hotlists and viewed_stories >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· mikepence's Diary

Story Views
  29 Scoop users have viewed this story.

Display: Sort:
Java? | 4 comments (4 topical, 0 hidden)
Actually... (none / 0) (#1)
by sdem on Tue Jun 11, 2002 at 03:57:02 PM PST

The ideal solution, if you were to rewrite Scoop in a faster language, would be writing it as a web server module in C.

Conventional wisdom would dictate writing it for Apache (that's what everyone runs, after all), but I've been working with AOLServer lately, writing a C module for it, and I'd have to say that it provides facilities for developing web applications like Scoop that Apache couldn't hope to touch. Things like a pool of shared database connections and a persistent, global cache are just a few of the really cool features. And it's really fast.

Of course, porting Scoop to either C or Java will take a lot of work that no one is really willing to put in for such a gain right now, as far as I can tell.



discussed on k5 (none / 0) (#2)
by hurstdog on Wed Jun 12, 2002 at 11:07:06 AM PST

Pretty well too, I thought. But, I will add my thoughts. Scoop is around 20,000 lines of code right now. Probably closer to 23,000 or 24,000. It would be a waste of time to do exactly what scoop did but in java. Scoop has been written by perl hackers for perl hackers, essentially. There are some things (boxes for one, compiled and cached everytime you change them) that I don't know how you would do it in Java.

Someone on k5 said it best when they said if you wanted Scoop in java, you should just write something similar to Scoop, but using Java's strengths to do things Java does well. Don't try to emulate the perlisms. So a Java content management system would be neat. I might even hack on it, I like java. But to copy scoop into java, is a waste of time.

Either way, I think this is just trying to ellicit a reaction, and in regards to that, its been done before and better.



-hurstdog


Java? | 4 comments (4 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search