Tuesday, December 26, 2006
Plugins

I'm now revamping Chungles to be mostly plugins. I've split off the UI to plugins now and I'd like to lay out frameworks for other parts of chungles such as networking (have standard mDNS, manual adding of nodes, samba, multicast, so on), searching (for server end, this will allow basic file searches, regex file searches, metadata searches, so on), and security (encryption and authentication layers as well as ACLs). I'm finishing up the preferences for plugins and much tweaking will be needed to ensure proper classpaths are set and project building is fairly simple.

The plugin system right now loads JARs in to the classpath at runtime via XML configuration inside the JAR. It will search some default locations for JARs, and then load them if an existing classname isn't loaded, then load JARs from the main XML, then write to that XML. I'm working up convenience classes, like the FileSystem class, which will treat the Chungles network as one big hierarchy and allow simple methods to traverse and utilize it. I'm considering adding Javascript support since Java6 now supports Javascript parsing, and possibly PERL for those die-hards.

Finally, I'm working on a plugin that will allow what I've been contemplating how to go about from the start. The plugin is an HTTP-server with WebDAV support. This will allow most platforms to mount the new Chungles hierarchy as a virtual filesystem. Since everything's a plugin, this will be an optional system, and later I can implement native filesystem drivers.
posted by Alex at 1:07 AM 0 comments



Archives:
04/06/2005   04/08/2005   04/11/2005   04/12/2005   04/17/2005   05/08/2005   08/04/2005   08/06/2005   08/11/2005   10/08/2005   03/28/2006   04/19/2006   05/02/2006   09/29/2006   10/12/2006   11/01/2006   11/03/2006   11/05/2006   11/16/2006   11/21/2006   12/01/2006   12/03/2006   12/04/2006   12/07/2006   12/09/2006   12/11/2006   12/26/2006   01/28/2007   10/27/2008   08/08/2009