Folks,

I drafted some Java code for the JSPWiki API. You can check it out from SVN (or browse) at http://svn.apache.org/repos/asf/incubator/ jspwiki/api/

Feel free to comment and bang at it - it's supposed to be "the stable API".

I essentially just took some of the most core extension classes that we have, and created a new api package. I know there's a lot missing, and there's also some extra crud that shouldn't be there. We'll also have to think about the integration to JCR and Stripes - but if possible, I think those dependencies should be kept to a minimum. Currently there are no extra libraries referenced in the API classes, which I think is great - but obviously it would be really nice for a developer to gain access to those classes as well.

I also started of with only the most common usecases, and forgot about authentication and URL construction and rendering for a while.

This is in NO way final. The design goals are to give an easy, recognizable, easily portable API (hopefully with just a package change when compared to old versions) to JSPWiki with as few external (=non-JDK) dependencies as possible. Especially I would like to hear from guys like Murray who've been poking at the plugin interface far more extensively, what they would like to see, and whether this proposal is going to the right direction.

/Janne

Reply via email to