What should be improved / changed
Issues connected with the new version
Build of the latest version
- Use Git instead Svn
- Use Git flow to manage the repo and development process
- Switch to Java 1.6
- Update "internal" injection to use current Guice version
- Consider usage of http://onami.apache.org/
- Refactorings for further extensibility based on questions on the list, on CodeRanch, and Stack Overflow
- JR plugin refactoring. Allow compiled reports as classpath resources.
- Refactor conversion of primitives (and wrappers) in XWork
- Switch to OGNL 4.0.
- Consider renaming packages to org.apache.struts3
- Remove deprecated Plugins
- Codebehind
- Dojo
- Struts1 ?
- Normalize property name camel-casing (foo.bar.BazPlugh to foo.bar.bazPlugh)
- Check possible usage of Tiles Auto Tag (http://tiles.apache.org/tiles-autotag/) instead of Struts Annotations
Development plan of Struts 3
M1 - (aka Struts 2.5)
- Request Git repo from INFRA
- Import project
- Remove deprecated plugins
- we need place for deprecated stuff (to move the source code to) - new project "struts-archive"
- drop support for Struts 1 (remove plugin)
- dojo plugin
- codebehind plugin
- jsf plugin
- Remove deprecated APIs
- if it cannot be removed, mark to be removed during work on 3.0
- Switch to Java 1.6
- Merge XWork code into Struts Core (without renaming packages)
- Switch to strict DMI by default - allow only defined methods to be accessible via DMI - user can always change that list
- Prepare the first release
- Cleanup website
- new user guide totally developed out of Confluence - people will be able to contribute to it via GitHub
- Confluence (wiki) used only to explain more detailed given aspect of the framework (ie.: how to implement your own converter in details)
- keep just one version of the doc (no more release/2.3.x, release/2.2.x and so on - Google indexes everything and people are confused)
M2 (alpha Struts 3)
- Finish merging XWork code base (rename packages)
- Rename Struts 2 packages to org.apache.struts3
- Use loggin layer https://code.google.com/p/anodyzed/ (Chris Pratt is willing to donate that project to Struts)
- Switch to OGNL 4
- we must release it first
- also we need better API interfaces to allow integrate Struts with other EL engines, ie.: MVEL - right now the whole conversion layer is hardly tied with OGNL
- Divide core into api and spi
- prepare ALPHA release
Cleanup website
There should be just one project website - Apache Struts. Right now there is the main website - Apache Struts project, subsite Apache Struts 1 and another subsite Apache Struts 2. After announcing EOL of Struts 1, we basically supporting just one version or rather branch - Apache Struts 2 which should be at some point converted just into Apache Struts (version 2.5, version 3.0, version 3.1, etc.).
With that in mind we should have just one website to manage the project.
Undiscussed ideas
- Better support for modern webframeworks like AngularJS (@grobmeier)
- Make use of slf4j and probably log4j2 (@grobmeier) - support for slf4j is already there, thanks to Johannes, check Logging
- Provide alternatives to java property file translations (@grobmeier)
- Replace css and xhtml theme with an new html5 theme. (@jogep)
- Extract XML configuration to dedicated plugin - XWork will provide only configuration via code, then user can decide which configuration to use - code, XML, convention, DB?