phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [ 101065 ] Data Abstraction


From: nobody
Subject: [Phpgroupware-tracker] [ 101065 ] Data Abstraction
Date: Mon, 08 Jul 2002 16:48:30 -0400

Support Request #101065, was updated on 2002-Jul-08 16:48
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=101065&group_id=509

Category: Feature Request
Status: Open
Priority: 5
Summary: Data Abstraction

By: brijones
Date: 2002-Jul-08 16:48

Message:
Logged In: NO 
Browser: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) 
Gecko/20020530

Has anyone considered abstracting the data model from
the applications and framework?  I know this type of
thing can quickly become a heated issue, but it seems
to me that by abstracting the data model from the
applications phpgw could very quickly be ported to
other databases and even other data models.

Porting to other databases has the benefit that more
people will be able to use phpgw.  Being able to use a
different data model will allow people and companies
with different data needs to use your applications with
their own existing (or to-be-written) applications. 
Abstracting the data model is a powerful tool and is a
simple thing to do.  I think the easiest aproach to
absracting the data model would be to use only
functions for data retrieval in the applications' UIs.
 These functions would contain the SQL code to get the
data and return the data as an array (or whatever
format is convienient.  To port to a new database or
data model you simply replace the data access functions
with new data access functions specific to the new
database.

Just something to consider.

Brian

----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=101065&group_id=509



reply via email to

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