My favorites | Sign in
Project Logo
                
Search
for
Updated Jun 16, 2008 by bpontarelli
1_1Ideas  
Ideas for the 1.1 release

MVC

Struts/XWork is lacking in many areas and I want to make a list. We'll need to replace it at some point.

Here is some working ideas:

Here is some design thoughts

Leverage the Workflow system of JCatapult. The MVC would have a WorkflowChain that would probably have this type of ordering:

The parameters and validation could be flipped.

Here is some ideas for configuration:

Parameters needs to support generics, and type conversions, which means that OGNL, JUEL and the like might not work at all.

Another thing that needs to be in there is support for CRUD, particularly fetching complex object models from the database, updating them and then saving them. However, there are a number of considerations:

Also, thinking if the validation annotations should be tied back to the tag in order to put the asterisk in the label to denote required fields.

DSL for the database manager

There are a number of pages for this brain storm under the DatabaseManager documentation.

LAF framework

Allows loading of LAF assets from the classpath so they are versioned and also provides the tag libraries for them. URLs would be handled like:

/laf/foo/js/bar.js

This would be handled by the LAF framework and the asset would be resolved from the classpath.

Workflow enhancements

It would be nice to remove the WorkflowResolver and replace it with something better that figures out the workflow order based on dependencies. The Workflow interface would contain a method like this:

List<Class<? extends Workflow>> getDependencies();

The dependencies would list out the other workflows required to have already been executed for the Workflow to run correctly. For example the SecurityWorkflow would depend on the JPA workflow like this:

public class SecurityWorkflow implements Workflow {
  public List<Class<? extends Workflow>> getDependencies() {
    return Arrays.asList(JPAWorkflow.class);
  }
}

FreeMarker IDE plugin

It would be nice to have a plugin for IJ and Eclipse for FreeMarker.

JCatapult IDE plugin

It would be nice to provide support for JCatapult actions, JSPs, FTL in IDEs. This would use the actions in the classpath and in the application and determine the values that are available in the page. It would also provide access to the scaffolder. It would also be nice to have a project setup process that would setup Ant, Tomcat, Hibernate/JPA, Database, etc in just one button.


Sign in to add a comment
Hosted by Google Code