In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
441 [In-Portal CMS] Optimization feature request always 2009-12-07 10:35 2010-08-31 14:21
alex  
 
normal  
active 5.1.0  
open  
 
none  
Google Groups http://groups.google.com/group/in-portal-dev/browse_thread/thread/7619c9df55557d86
0
0000441: Converting "Unit Config" files from Arrays to Classes
Goal is to convert all unit configs from array to classes form.
 
This will give us such immediate benefits:
 
   - all common unit config settings, that are copied from one unit config
    to another will be located in parent class (saves space);
    - all unit config setting names will be automatically suggested by Zend,
    and this will eliminate most of setting name typing errors;
    - we will have a list of all possible unit config settings with their
    description, purpose and usage examples.
 

We should create base class for unit configs where all mentioned above. I
 think, that all unit configs (system and user-made) should be named the same
 way and need to use some prefix (along with suffix as usual), that will
 prevent them from appearing in class-name auto-complete dialogs at least
 user really wants them to be there.
 

Unit config class name could be formed by coding standards using
 prefix-name, declared in this config. For example "ucUserConfig" (for prefix
 "user"), "ucAgentConfig" (for prefix "agent"), "ucCustomSection" (for prefix
 "custom-section") and so on.
We need to do TESTs before converting all Unit Configs:

1. Performance

2. Memory Usage

3. Code Usability
Issue History
2010-08-31 14:21 alex version => 5.1.0
2009-12-11 00:13 Dmitry Reporter Dmitry => alex
2009-12-11 00:13 Dmitry Assigned To alex =>
2009-12-11 00:13 Dmitry Status needs work => active
2009-12-11 00:13 Dmitry Target Version 5.1.0 => Icebox
2009-12-07 10:35 Dmitry New Issue
2009-12-07 10:35 Dmitry Status active => needs work
2009-12-07 10:35 Dmitry Assigned To => alex
2009-12-07 10:35 Dmitry Reference => Google Groups http://groups.google.com/group/in-portal-dev/browse_thread/thread/7619c9df55557d86

There are no notes attached to this issue.