Create components out of some of the groups of components that logically belong together?
On Mon, Dec 6, 2010 at 4:37 PM, Hans Lesmeister <[email protected]> wrote: > Hi, > >> I have some components and I'm wiring them together directly within a >> 300 lines init method in the HomePage class ** >> Now this method is 'a bit' lengthy and unreadable. How would you make it >> more maintainable? > > I always try to identify logical groups and delegate creation of those to > separat private methods. And use Panels for reusability. > > Cheers > Hans > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
