[Registry-dev] Major UI code refactoring and clean up

chanaka jayasena chanaka at wso2.com
Sun Jul 27 20:43:25 PDT 2008


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).
>
>   
I will be able to fix the code duplications in "registry-resources.jsp" 
which Glen has pointed out in the last release.

And also I think we can get rid of the javascript code blocks inside jsp 
pages by using prototypes "Event.observe" method. We are using this code 
blocks inside jsp pages because IE and Firefox handles onload event 
differently.

Thanks,
Chanaka
> 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