<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 閱讀(309) 評論(0)  編輯  收藏 所屬分類: Architecture

    主站蜘蛛池模板: 亚洲爆乳无码专区| 亚洲熟女少妇一区二区| 亚洲婷婷第一狠人综合精品| 人妻无码一区二区三区免费| 亚洲电影一区二区| 57pao一国产成视频永久免费| 亚洲成a人片在线观看无码| 免费在线中文日本| 亚洲最大的成网4438| www视频在线观看免费| 亚洲中文无码线在线观看| 亚洲免费综合色在线视频| 亚洲综合成人婷婷五月网址| 黑人粗长大战亚洲女2021国产精品成人免费视频 | 亚洲中文字幕久在线| 最新中文字幕电影免费观看| 亚洲欧美日韩国产精品一区| 免费一级特黄特色大片在线| 人妖系列免费网站观看| 亚洲av无码专区在线播放| 最近中文字幕完整免费视频ww | 久久国产高潮流白浆免费观看| 777亚洲精品乱码久久久久久 | 亚洲精品线在线观看| 国产精彩免费视频| 亚洲AV无码AV吞精久久| 自拍偷自拍亚洲精品第1页| 久久青草免费91线频观看不卡| 亚洲国产日韩女人aaaaaa毛片在线| 成人免费a级毛片| 九九久久国产精品免费热6| 亚洲av永久无码精品古装片| 成年人视频免费在线观看| 国产成人人综合亚洲欧美丁香花 | 无码久久精品国产亚洲Av影片| 免费看成人AA片无码视频羞羞网| 久久精品国产亚洲av天美18| 亚洲av永久无码精品国产精品| 免费黄色毛片视频| a级成人毛片免费视频高清| 亚洲国产美女精品久久久|