Week10_Chap12&13 User Interface and Persistence&Database

上传人:小*** 文档编号:243074179 上传时间:2024-09-15 格式:PPTX 页数:22 大小:1.08MB
返回 下载 相关 举报
Week10_Chap12&13 User Interface and Persistence&Database_第1页
第1页 / 共22页
Week10_Chap12&13 User Interface and Persistence&Database_第2页
第2页 / 共22页
Week10_Chap12&13 User Interface and Persistence&Database_第3页
第3页 / 共22页
点击查看更多>>
资源描述
Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,10/30/2013,#,Chapter 12,Application Design II:The User Interface,12-,2,12-,3,The User Interface,User interface is the area of interaction between an application and its,human,users.,User interface is where the problem domain and the solution domain meet and interact.,12-,4,The Responsibilities of the User Interface,The user interface is responsible for:,accepting and editing user input.,producing human-intelligible output.,guiding users to accomplish tasks.,12-,5,12-,6,12-,7,12-,8,Navigation,Navigation specifies the sequence of user actions across multiple containers to achieve a goal.,12-,9,Chapter 13,Application Design III:Database & Persistence,13-,11,13-,12,The Database,A database is an organized collection of data.,A data management system must be able to carry out the following operations:,Create,: accept new data and create entries in the database.,Retrieve,: find and read the data that the information system and its users require.,Update,: allow existing data to be changed.,Delete,:,permit unneeded data to be removed,.,These four operations are often referred to as,CRUD,:,C,reate,R,etrieve,U,pdate and,D,elete.,13-,13,The Database Management System (DBMS),Database management systems are products that encapsulate and carry out the responsibilities of data management.,13-,14,The Relational Database Management System (RDBMS),The relational model,presents a logical view of the database organization and provides the basis for using a high-level language for database management.,13-,15,The Relational Model,A table is the basic organizational unit of a relational database.,A table is a rectangular arrangement of data, composed of columns and rows. A column is also referred to as an,attribute, a row as a,tuple, and their intersection as a,cell,.,13-,16,13-,17,A view is a virtual table that represents a selected set of attributes from one or more tables,13-,18,A stored procedure is a named set of SQL statements that provides the capability of performing database-related tasks from within the database itself.,13-,19,Data Normalization,Normalization is the process of establishing an optimal table structure based on the internal data dependencies.,13-,20,Denormalization,Denormalization might become necessary due to logical considerations, technological constraints and performance degradation.,13-,21,Mapping to Relational Databases,Mapping to a relational database is the application of relational and normalization rules to classes and their relationships.,13-,22,Designing Persistence,Classes.,Entity classes form the overwhelming majority of tables.,Attributes,Class attributes become table attributes (or columns.),The Primary Key,A table must have a primary key.,Repeating Attributes,Repeating attributes must be separated into tables.,Associations,Associations are mapped by a primary-foreign key pairs.,Multiplicity,Multiplicity is mapped through foreign keys.,Aggregation,To map to a relational database, aggregation must be flattened into association.,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 图纸专区 > 小学资料


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!