phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #3623] Wrong inheritance


From: nobody
Subject: [Phpgroupware-tracker] [bug #3623] Wrong inheritance
Date: Thu, 26 Jun 2003 18:50:33 -0400
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425

=================== BUG #3623: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3623&group_id=509

Changes by: Dave Hall <address@hidden>
Date: Fri 06/27/2003 at 08:50 (Australia/Melbourne)

            What     | Removed                   | Added
---------------------------------------------------------------------------
            Category | None                      | API - phpGWapi
          Resolution | None                      | Invalid
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This is a design comment, not a bug report



=================== BUG #3623: FULL BUG SNAPSHOT ===================


Submitted by: powerstat               Project: phpGroupWare                 
Submitted on: Thu 05/15/2003 at 22:48
Category:  API - phpGWapi             Bug Group:  None                      
Severity:  5 - Major                  Priority:  None                       
Resolution:  Invalid                  Assigned to:  None                    
Status:  Closed                       Component Version:  None              
Platform Version:  None               Reproducibility:  None                

Summary:  Wrong inheritance

Original Submission:  Inheritance of many classes has been done in a wrong way!

For example:

accounts inherits from accounts_ 
where accounts_ is available in 3 versions for sql, ldap, contacts.

This is a missunderstood if the object oriented concept and should be changed 
to the "factory pattern"!

See

Design Patterns. Elements of Reusable Object- Oriented Software.
Erich Gamma, Richard Helm, Ralph Johnson
Addison-Wesley Professional 
ISBN: 0201633612

for more.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Fri 06/27/2003 at 08:50       By: skwashd
This is a design comment, not a bug report


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3623&group_id=509

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]