Menu

#9 Simplify and genericize _mgr.createSection()

open
nobody
None
5
2008-10-17
2008-10-17
Rich K
No

Move as much code from _mgr.createSections into the section code themselves.

Would be great if you didn't have to pass type in as a string (to _mgr.createSections()), but perhaps as the class object or something. That way, we could subclass the existing section types and be able to create them as well.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB