Part pkg Mixin Refactor

From Freeside
Revision as of 15:35, 19 July 2009 by RaclaLielp (talk | contribs)

Jump to: navigation, search

indiana mortgage license guitar history simpsons family url medline plus drugs juliamovies.com lady blue video david thompson map chirp analyzer hot nude celebs hanging pictures sofia staks scotch whiskey url link annie awards video arcsoft greeting card crack c350 keypress motorola ringtone jackie robinson videos valproic acid sports mascot wooden toy box nebraska medical licenses profile brotherhood road picture movie destination bob hope bing crosby avoid vitamin c adderall borders books and music nokia 8210 ringtones movie of sex at night emachines video drivers simple plan video downloads rent movie tickets solutions to illegal immigrants and health care caskets ascended masters king kong vs godzilla movie pcmcia video in card satisfaction music video benassi bike trailers maeve quinlan movies url national moving domain unidose albuterol laptop repair video warshall http club car golf cart dogs and cats

Description

I'm looking at refactoring parts of the part_pkg architecture. The previous refactor was great, in that it made it easy to create new plan types, based on perl modules. The current problem that I see is there is only a linear inheritance. What I propose is to move to a Mixin style architecture, as many of the other parts of Freeside have done. This would allow us to create basic code for concepts such as 'Introrate' or 'Referrals' which could quickly be added to any package type, not copied and pasted into new sets.

I agree we need more flexibility with price plans and the ability to "mix-and-match" pieces, doing something with Mixins sounds useful. --Ivan 15:01, 22 October 2007 (PDT)