I have been doin this a little in the WMS module. I found that if I was doing something multiple times in uDig with regards to WMS, I would add it to the WMS interface in GeoTools.

Actually, there is still a lot of code I want to move into WMS from uDig.

I like the humane interface idea, but I could see it getting in the way if done poorly.

Richard

Jody Garnett wrote:
We have tried to keep the API in GeoTools minimal, taking advantage of specifications etc...

The following article highlights another approach:
-<http://martinfowler.com/bliki/HumaneInterface.html>

That is kick out the stops and be a bit more human friendly, and well usable.
I would not mind going half way on this, using a more limited API for data
structures that communicate between subsystems (like Filter and Feature),
while making available implementations that are more human friendly.

Phrased another way, a lot of our utility methods should be looked at,
if they are being used to plug an API hole we should just apply the fix.
(A guide for this is if we need the utility method for internal use).

If they are being used to make a complex data structure approachable
perhaps we can add them to an abstract class for a more seamless
experience.

So here is the question - what is your favorite utility method?

I personally like:
- CRS.decode( code )

A close second is DataUtilities.createType( typeName, typeSpec )

Jody



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to