[freenet-dev] [GSoC 2011] Idea : Porting to Apache Struts
[Matthew] > Can you show a small easy to understand example? > > > > This way we would make sure that the framework is as big as necessary > > and as small as possible by avoiding all unnecessary features provided > > by existing frameworks. > > Yeah, if this is feasible then it makes sense. > I have written a simple small framework which automatizes the procedure of adding references to Velocity context by utilizing annotations. It is available under: https://github.com/pouyanster/SimpleMVC A sample class is available under: https://github.com/pouyanster/SimpleMVC/blob/master/src/main/java/com/quaintous/simplemvc/SampleView.java As you can see, I just annotated the fields which are to be used in context and the framework took care of all necessary steps to process the template: (available under: https://github.com/pouyanster/SimpleMVC/blob/master/sample.html) You can also dynamically add necessary data to the context which is later processed by velocity engine. This way you have a clear division between your data model and its view. I would appreciate feedbacks, Regards Pouyan -- next part -- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20110420/65c72ec4/attachment.html>
Re: [freenet-dev] Idea for marketing, related to GSoC student decision
On Tuesday 19 April 2011 19:22:09 Matthew Toseland wrote: On Monday 18 Apr 2011 15:49:50 xor wrote: IF we get a decent new web interface done which integrates all of those, we could make a theme which completely looks like Facebook and then do a major press release which claims something like Freenet project implements anonymous Facebook. This would probably hit most of the IT news sites and help usability very much because there are hundreds of millions of Facebook users and Facebook is a major buzzword. And probably result in legal issues e.g. trademark violation. “Freenet takes a hint from Facebook, but with real privacy (even from its developers)” “Don’t put your face in their book. Join the free net.” Just some legally safe PR ideas :) Best wishes, Arne signature.asc Description: This is a digitally signed message part. ___ Devl mailing list Devl@freenetproject.org http://freenetproject.org/cgi-bin/mailman/listinfo/devl
Re: [freenet-dev] [GSoC 2011] Idea : Porting to Apache Struts
[Matthew] Can you show a small easy to understand example? This way we would make sure that the framework is as big as necessary and as small as possible by avoiding all unnecessary features provided by existing frameworks. Yeah, if this is feasible then it makes sense. I have written a simple small framework which automatizes the procedure of adding references to Velocity context by utilizing annotations. It is available under: https://github.com/pouyanster/SimpleMVC A sample class is available under: https://github.com/pouyanster/SimpleMVC/blob/master/src/main/java/com/quaintous/simplemvc/SampleView.java As you can see, I just annotated the fields which are to be used in context and the framework took care of all necessary steps to process the template: (available under: https://github.com/pouyanster/SimpleMVC/blob/master/sample.html) You can also dynamically add necessary data to the context which is later processed by velocity engine. This way you have a clear division between your data model and its view. I would appreciate feedbacks, Regards Pouyan ___ Devl mailing list Devl@freenetproject.org http://freenetproject.org/cgi-bin/mailman/listinfo/devl
[freenet-dev] Freenet 0.7.5 build 1365
Freenet 0.7.5 build 1365 is now available. Please upgrade! The main focus of this build is on backend code used by Freetalk, WebOfTrust and other client software, particularly USK updating. We now use the DBR hints we've been inserting for a while to quickly find the latest edition of a USK, before probing for it by trying editions, and we try to not pass the latest edition through to the client until we're fairly sure it is the latest edition, avoiding a lot of unnecessary fetching (of CHKs linked from the SSKs) and parsing. Lots of related debugging. Also, there are small changes to load management. When there is severe network congestion, Freenet should avoid accepting requests that it can't answer due to its connections being much slower than its bandwidth limit. Various minor client layer fixes, some minor web interface improvements (including an id on the body tag on fproxy pages, as requested to help client-side stylesheets), warn that Freetalk is still in progress on the chat page, support HTML5 better, add Sone and Xor's flog to the bookmarks and remove Evan, improved translation infrastructure for plugins, set the default log rotation back to 1 hour for caution's sake, update the README slightly, new versions of Library (minor), FlogHelper, WebOfTrust and Freetalk, Swedish, Russian and German translation updates, and some minor improvements to the english text. It is likely that there will be significant further changes related to Freetalk/WoT/USK subscriptions in the fairly near future, some of them network-level (finally implementing RecentlyFailed, a mechanism to reduce the load caused by polling and speed up frequent failing requests for the same key). Xor is also working on major optimisations for Freetalk so it doesn't use so much disk I/O and CPU and lose messages. Thanks, and please let us know how it goes! Report any bugs you find on the mailing lists, Freetalk, FMS, IRC or the bug tracker, and let us know how performance works out - it *should* be a bit faster in Freetalk, and certainly should use less CPU. xor artefact2 toad ice_fairy hungrid sweetie TheSeeker etaoin Eleriseth@fms signature.asc Description: This is a digitally signed message part. ___ Devl mailing list Devl@freenetproject.org http://freenetproject.org/cgi-bin/mailman/listinfo/devl