RE: Metadata-driven data retrieval

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Cowboy (Gregory A. Beamer) - MVP (NoSpamMgbworld_at_comcast.netNoSpamM)
Date: 01/17/05


Date: Mon, 17 Jan 2005 08:57:05 -0800

Even with homegrown data solutions, you are best to have some form of
centralized configuration. This could be as simple as a config file for
storing database connection strings, but may require using something like
MSDE for configuration data (and an installer that installs both).

Hitting a variety of data sources is quite easy when you can bring it down
to some form of commonality. in the case of the MS world, this means having
either an OLEDB provider or being able to use ODBC.

Since you are mapping more than just database strings, you will likely
require a custom solution. Mapping fields to metadata is not a problem,
overall, but finding commonalities across client base will save you time in
the long run. Finding, for example, particular packages that you will work
with.

The other way to solve this issue is your application has some form of
custom interface to translate needs from their system to yours. In essence, a
smart driver for their data. You can do this with mapping, of course, but a
more efficient manner would be some form of compiled query on their system
(stored procedure, Access query, etc.) that returns the result set in the
proper form. You may end up writing much of this, but it will save having to
make a tool that is "one size fits all".

---
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"Craig Wagner" wrote:
> We need to develop a component that will live at our client sites and
> interrogate their database. Problem is, the clients use a variety of canned and
> home-grown packages to develop their application.
> 
> Our thinking is that we could develop a metadata-driven data retrieval
> component. We would, with the client's help, analyze their data storage and
> configure the component to pull the correct values from the correct row(s) and
> column(s). In some cases we may need to combine values (e.g. full name is made
> up of Employee.FirstName, a space, and Employee.LastName).
> 
> Has anyone developed such a component? Or know of one available for
> download/purchase?
> 
> TIA
> ---
> Craig Wagner, craig.wagner(at)comcast.net
> Portland, OR
> 
> "Don't ban high-performance vehicles, ban low-performance drivers!"
> 


Relevant Pages

  • Re: jdbc mysql: encoding utf-8 to latin1?
    ... "When specifying character encodings on the client side, ... your database is still "latin1". ... Have I to set any ON or OFF in any configuration? ...
    (comp.lang.java.databases)
  • Re: MBR vs. MBV
    ... You mentioned there might be some configuration error.....what ... > client tries to connect to the DB. ... shipping your server assembly with the client is not good as well. ... >> the database from the client instead of from the server. ...
    (microsoft.public.dotnet.framework.remoting)
  • Idiomatic Expressions to Operating System Architecture: Transforming Rigids
    ... <Subject: Re: Idiomatic Expressions to Operating ... <endpoint during a single session * DATABASE + by ... <statements is a new feature of SQL Server 2005. ...
    (sci.math)
  • Config for OLTP system
    ... extrenal disks fo the 60GByte database server. ... IBM Informix Dynamic Server Configuration Parameters ... # BUFFSIZE - OnLine no longer supports this configuration parameter. ...
    (comp.databases.informix)
  • Re: Web.Config AppSettings & Caching
    ... Terry Burns ... often does the application have to check the "DataSet configuration ... The only difference here between your database solution and your ... unless its an app that already uses a database. ...
    (microsoft.public.dotnet.framework.aspnet)