Let's supose I want to write a widget web application in perl. Noone has ever written a widget web application before so there is no existing code to study,
That
also is not true. You need to look around a bit. OpenInteract has widgets.
One could argue that the building blocks of Splash in Template toolkit allowed me
to craft the new
http://www.stonehenge.com design in far less time than I could
have from scratch. Both SlashCode and Everything2 have many widgets from
which to build bigger pages. And there's the whole HTML::Mason content engine
schemes.
The problem is not that there's not enough models to steal from, but that there
are perhaps too many! Please don't start from scratch! See if you can reuse
all or parts of these!
-- Randal L. Schwartz, Perl hacker