Hi all,
in the last couple of days I've had a look at the new Geoserver infrastructure
Justin is implementing in the ows4 branch.
One thing that strikes me is that there are quite a bit of extra extension points,
which are put to good use to have a generic way to handle services and have
them implemented with plain java objects that do not need to be aware about
servlets api.
Well, with even more extension points, I'm starting to find it difficult to locate
the extension possibilities of the framework. When working in the IDE, it
would be nice if all extension point interfaces/base classes would extend/implement
an ExtensionPoint marker interface (aka interface with no methoeds) so
locating them from an IDE or from javadoc becomes a matter of a minute
(using Eclipse hierarchy tool, or looking at the implementors of the interface in javadoc).
What do you think, is it worth it?
Cheers
Andrea
Andrea I would much rather see documentation produced Think this was in the outline for the developers guide reference section? Imagine an extention point is not "public" until docs are produced?
I bet your idea with the marker interface is to quickly see in javadocs what extension interfaces are available? I don't usually like abusing the type system for a documentation concern, but with out Java 5 for annotations a marker interface may not be too bad an idea.
My hesitation would be:
- introducing a "type" where none is needed
- developer confusion thinking the type is some how significant or needed by the module system
The idea being that if they have a class produced by others that they wish to process, say DataStoreFactorySPI, I would not want to give the wrong impression that a marker interface must be used.
Jody
Hi all,
in the last couple of days I've had a look at the new Geoserver infrastructure
Justin is implementing in the ows4 branch.
One thing that strikes me is that there are quite a bit of extra extension points,
which are put to good use to have a generic way to handle services and have
them implemented with plain java objects that do not need to be aware about
servlets api.
Well, with even more extension points, I'm starting to find it difficult to locate
the extension possibilities of the framework. When working in the IDE, it
would be nice if all extension point interfaces/base classes would extend/implement
an ExtensionPoint marker interface (aka interface with no methoeds) so
locating them from an IDE or from javadoc becomes a matter of a minute
(using Eclipse hierarchy tool, or looking at the implementors of the interface in javadoc).
What do you think, is it worth it?
Cheers
Andrea
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
Jody Garnett ha scritto:
Andrea I would much rather see documentation produced Think this was in the outline for the developers guide reference section? Imagine an extention point is not "public" until docs are produced?
Agreed, but looking for stuff on the wiki is a pain... I'd much better prefer
something that gives me an extension point list in a fraction of a second :-p
Cheers
andrea
I agree, the usefulness of this to me seems to outweigh the 'cleanest' way of doing things. And it'd be nice to have them documented/exposed in multiple places.
Chris
Andrea Aime wrote:
Jody Garnett ha scritto:
Andrea I would much rather see documentation produced Think this was in the outline for the developers guide reference section? Imagine an extention point is not "public" until docs are produced?
Agreed, but looking for stuff on the wiki is a pain... I'd much better prefer
something that gives me an extension point list in a fraction of a second :-p
Cheers
andrea
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
!DSPAM:1003,4537bbb682091365099012!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org