<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Chan Chen Coding...

    DAL

    data access layer (DAL) in computer software, is a layer of a computer program which provides simplified access to data stored in persistent storage of some kind, such as anentity-relational database.

    For example, the DAL might return a reference to an object (in terms of object-oriented programming) complete with its attributes instead of a row of fields from a database table. This allows the client (or user) modules to be created with a higher level of abstraction. This kind of model could be implemented by creating a class of data access methods that directly reference a corresponding set of database stored procedures. Another implementation could potentially retrieve or write records to or from a file system. The DAL hides this complexity of the underlying data store from the external world.

    For example, instead of using commands such as insertdelete, and update to access a specific table in a database, a class and a few stored procedures could be created in the database. The procedures would be called from a method inside the class, which would return an object containing the requested values. Or, the insert, delete and update commands could be executed within simple functions like registeruser or loginuser stored within the data access layer.

    Also, business logic methods from an application can be mapped to the Data Access Layer. So, for example, instead of making a query into a database to fetch all users from several tables the application can call a single method from a DAL which abstracts those database calls.

    Applications using a data access layer can be either database server dependent or independent. If the data access layer supports multiple database types, the application becomes able to use whatever databases the DAL can talk to. In either circumstance, having a data access layer provides a centralized location for all calls into the database, and thus makes it easier to port the application to other database systems (assuming that 100% of the database interaction is done in the DAL for a given application).

    Object-Relational Mapping tools provide data layers in this fashion, following the active record model. The ORM/active-record model is popular with web frameworks.



    -----------------------------------------------------
    Silence, the way to avoid many problems;
    Smile, the way to solve many problems;

    posted on 2012-07-13 06:41 Chan Chen 閱讀(307) 評論(0)  編輯  收藏 所屬分類: Architecture

    主站蜘蛛池模板: 污污污视频在线免费观看| 久久免费区一区二区三波多野| 男男gay做爽爽的视频免费| 18禁免费无码无遮挡不卡网站| 国产精品黄页在线播放免费| 亚洲日本一区二区三区在线| 色偷偷亚洲女人天堂观看欧| 久草视频在线免费| 亚洲中文字幕久久精品无码2021| 国产91成人精品亚洲精品| 国产男女猛烈无遮挡免费网站 | 日本人的色道www免费一区| 国产精品高清视亚洲一区二区 | 免费福利电影在线观看| 亚洲日韩精品无码专区网址| 野花香高清在线观看视频播放免费| 狠狠色婷婷狠狠狠亚洲综合| 亚洲色少妇熟女11p| 国产一级淫片视频免费看| 一级午夜免费视频| 久久亚洲AV午夜福利精品一区| 3d成人免费动漫在线观看| 亚洲色成人中文字幕网站| 久久这里只精品热免费99| 亚洲国产片在线观看| 一区二区三区四区免费视频| 91亚洲性爱在线视频| 国产免费AV片无码永久免费| 福利免费在线观看| 亚洲国产成人爱av在线播放| 亚洲国产精品无码久久久秋霞1| 3d成人免费动漫在线观看| 亚洲日本va一区二区三区| 国产99视频精品免费观看7| 久久亚洲AV成人无码| 四虎免费在线观看| 91免费国产视频| 伊人久久五月丁香综合中文亚洲 | 亚洲熟妇久久精品| 相泽亚洲一区中文字幕| 91久久精品国产免费直播|