I'm glad to see that the subject of complexity has come up, and if I
can speak to in a more general way...
Complexity is insidious - you start with a simple idea, the creativity
flows and over time, you are wedded to a highly coupled, inflexible
and obscure beast that is hard to distance yourself
I took *freenet-official* and ran it through Maven, findbugs and Sonar. I
offlined a couple of screenshots (
https://github.com/SebastianWeetabix/fred-maven/blob/master/freenetsonar1.png,
https://github.com/SebastianWeetabix/fred-maven/blob/master/freenetsonar2.png),
and the top five layers of the
Hey Y'all,
I have fred-staging building with Maven for your review. I've pushed it to:
https://github.com/SebastianWeetabix/fred-maven
To build you need Maven (http://maven.apache.org/), and for the real value
add, Sonar (http://www.sonarsource.org/).
Kick off Sonar and make sure it's
Poyan you're on the right track - adding more girth and complexity to
Freenet in the form of an MVC framework, and a programmatic approach to
producing output will bog things down more when you are only after an MVC
paradigm and a simplified way to manage and produce your content.
Using a simple
Java 6 ships with a web server:
com.sun.net.httpserver
As Pouyan, you just want to be able to take some basic HTML/JavaScript
and server them up from.
This can be done from a single servlet utilizing a templating engine
aproach. Velocity is great
for this, but, again, it's still a lot to take
Struts is a large, complex and largely superseded framework (by JBoss, Spring
etc) - the .jar is several megs in size, requiring considerable configuration.
Given the amount of HTML in Freenet, then one would think a lightweight
templating engine might be more in order: Apache Velocity for
Maven does verify the hash of the libraries being used when it downloads them,
and you can specify library versions. The main maven repo managers require
asset providers to get an account and tickets to upload assets into the
distributed repo.
You can also specify which repo you want to
Hi y'all
I've been working to get Freenet working on my Sheevaplug - I figure a 5watt
1GHz appliance with hardware crypto for $100 is something I can keep running
24x7.
Now, I have it running, but it sucks all the CPU out of the little fella and it
times-out like crazy, so I've been thinking