From: Matthew B. <mat...@ou...> - 2006-07-11 13:04:49
|
Alistair Young wrote: > I like the bs_spring approach for core stuff and I've started on a > plugin architecture using spring.e.g. I have to do a chat plugin > where you can see who's online and initiate chat with them. Plugin in what sense? > Well that > sounds like something you'd want to do in something else too, not > just bod. Yep. > So it would be nice to have it as a parallel "app", http:// > bod.org/plugins/chat or whatever. Not a tool in the bodingtno sense that can be deployed at multiple URLs? > As it's in the bod webapp space it > has access to the global soup, in the sam way the gx idp has. IOC > would be used to load in a bod connector when running as a bod plugin. Don't you want to inject the need classes into your plugin as then you don't have to use BuildingContext.getContext()... > Plugin spring controller acts as a facade/router to get to the > plugins. Much the same way as a struts relay action. Yeah I didn't switch to using spring for any of the backend layers although I would be keen on doing this. > One thing you could do that would be really helpful is list the files > I need to extract to put into our head. I've found most I think but > I've prolly missed some too. Not got a good list I'm afraid and the branch that has the spring stuff on has lots of other changes on it as well. It will be easier once I have tied up stuff here. > The FC has a the grooviest of groovy tools he wants to do as a spring > app rather than a native bod tool so we want to run the spring stuff > here on dev.clan. Spring App? -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |