[Registry-dev] Major UI code refactoring and clean up
Chathura C. Ekanayake
chathura at wso2.com
Sun Jul 27 21:50:18 PDT 2008
Hi Glen,
This is my plan,
1) Divide each page into multiple JSPs (separate JSP for each section
like comments, tags, etc)
2) Write beans for each JSP
3) Write bean populator classes for each bean
4) Write separate servlets to handle all top level URLs (/web,
/resource, /versions, /app, /system)
5) Divide the logic in ControllerServlet among multiple components
(separate component for each command)
6) Improve the uniformity of UI level error handling
7) There are some places where some Java code is written in JSPs. I am
planning move as much as those Java code in to Java classes.
Steps 1, 2 and 3 will also make it easier to improve the AJAX based
sections.
Thanks,
Chathura
Glen Daniels wrote:
> Chathura C. Ekanayake wrote:
>
>> I am doing a major improvements/refactorings to the UI logic (both Java
>> UI backend and JSPs). This will improve the modularization of UI code
>> and make it easy to enhance the custom UI features, which I am currently
>> working on.
>>
>
> +1, this sounds great. One thing I'd really like to see out of this is
> more of a DRY (Don't Repeat Yourself) approach - there should be only
> one piece of code that implements a given feature (associations /
> property viewing / etc).
>
> Could you give us a quick summary of what you're doing, Chathura?
>
> --Glen
>
> _______________________________________________
> Registry-dev mailing list
> Registry-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>
>
More information about the Registry-dev
mailing list