tailieunhanh - Lecture Visual programming: Chapter 29 - Muhammad Bilal Zafar
The following will be discussed in this chapter: DT's for L-attributed definitions, intermediate-code generation, variants of syntax trees, directed acyclic graphs for expressions, the value-number method for constructing DAG's, three-address code, addresses and instructions, quadruples, triples. | LESSON 29 Overview of Previous Lesson(s) Over View SDI programs The Application Wizard can generate single-document interface (SDI) applications that work with a single document and a single view. MDI programs Multiple - document interface (MDI) programs that can handle multiple documents with multiple views simultaneously. 3 Over View The application object A program can have only one application object. This is defined automatically by the Application Wizard at global scope. Document objects A document class object stores application - specific data, and a view class object displays the contents of a document object. 4 Over View The View Object Each view object can provide a different presentation of the document data or a subset of the same data Windows Frame Object Each frame window object stores a pointer to the currently active view object. 5 Over View. Document templates A document template class object is used to tie together a document, a view, and a window. For an SDI application, a CSingleDocTemplate class does this. For an MDI application, the CMultiDocTemplate class is used. 6 Over View Message Handlers MFC provides functions to handle just the individual messages that we are interested in and to ignore the rest. Message Map A message map for a class is a table of member functions that handle Windows messages bounded by a couple of macros. 7 Over View SDI Example TextEditor MDI Example Sketcher 8 TODAY’S LESSON Contents Classic ASP - Active Server Pages Component Model Environmental Setup Life Cycle Page Stages Page Life Cycle Events Page Page Directive Code Section Page Layout 10 Active Server Pages Active Server Pages (ASP), also known as Classic ASP, was introduced in 1998 as Microsoft's first server side scripting engine. ASP is a technology that enables scripts in web pages to be executed by an Internet server. ASP pages have the file extension .asp, and are normally written in VBScript. 11 . | LESSON 29 Overview of Previous Lesson(s) Over View SDI programs The Application Wizard can generate single-document interface (SDI) applications that work with a single document and a single view. MDI programs Multiple - document interface (MDI) programs that can handle multiple documents with multiple views simultaneously. 3 Over View The application object A program can have only one application object. This is defined automatically by the Application Wizard at global scope. Document objects A document class object stores application - specific data, and a view class object displays the contents of a document object. 4 Over View The View Object Each view object can provide a different presentation of the document data or a subset of the same data Windows Frame Object Each frame window object stores a pointer to the currently active view object. 5 Over View. Document templates A document template class object is used to tie together a document, a view, and a window. For an SDI
đang nạp các trang xem trước