<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

    主站蜘蛛池模板: 亚洲人成无码www久久久| 久久久久国产精品免费免费搜索| 亚洲国产精品无码久久九九| 亚洲精品亚洲人成在线| 在线免费一区二区| 亚洲日韩精品A∨片无码加勒比| 日韩欧毛片免费视频| 2020天堂在线亚洲精品专区| 无码国产精品久久一区免费| 久久亚洲精品高潮综合色a片| 色视频色露露永久免费观看| 在线亚洲精品视频| 亚洲综合精品网站在线观看| 99在线免费视频| 亚洲第一视频网站| 成人人观看的免费毛片| 亚洲av无码一区二区三区四区| 亚洲av无码乱码在线观看野外| 成人免费ā片在线观看| 亚洲成人中文字幕| 在线观看人成网站深夜免费| 男女交性无遮挡免费视频| 亚洲男同帅GAY片在线观看| 18观看免费永久视频| 亚洲国产午夜精品理论片在线播放| 免费一级做a爰片性色毛片| 国产一区二区免费| 狠狠色香婷婷久久亚洲精品| 国产高清免费的视频| 91视频免费观看| 国产99在线|亚洲| 亚洲五月午夜免费在线视频| 91免费国产自产地址入| 最新亚洲人成无码网站| 亚洲AV中文无码字幕色三| 成人免费大片免费观看网站| 特级毛片全部免费播放| 色婷婷六月亚洲婷婷丁香| 国产免费观看网站| 亚欧免费一级毛片| 免费人成动漫在线播放r18|