tailieunhanh - Lecture Visual programming: Chapter 30 - Muhammad Bilal Zafar

The following will be discussed in this chapter: Compilers, compilers vs interpreters, structure of compiler, compilation phases, compiler construction tools, a simple syntax directed translation, syntax directed translator, attributes, lexical analyzer, parsing, intermediate code, symbol table. | LESSON 30 Overview of Previous Lesson(s) Over View ASP is a technology that enables scripts in web pages to be executed by an Internet server. is a web development platform, which provides a programming model. To build a comprehensive software infrastructure and various services required to build up robust web application for PC, as well as mobile devices 3 Over View has better language support, a large set of user controls, XML-based components, and integrated user authentication. applications could be written in C# Visual Basic .Net Jscript J# 4 Over View The component model provides various building blocks of pages. It is an object model, which describes Server side counterparts of almost all HTML elements or tags, like and . Server controls, which help in developing complex user-interface for example the Calendar control or the Gridview control. 5 Over View Life Cycle processes pages to produce dynamic output The application and its pages are instantiated and processed compiles the pages dynamically 6 Over View Pages Modular in nature and divided into the following core sections Page directives Code Section Page Layout 7 TODAY’S LESSON Contents Event Handling Application Events Session Events Page & Control Events Default Events Server Object Request Object Response Object 9 Event Handling Event is an action or occurrence Mouse click, Key press, Mouse movements, Any system generated notification. The processes communicate through events. 10 Event Handling In an event is raised on the client, and handled in the server. A user clicks a button displayed in the browser. A Click event is raised. The browser handles this client-side event by posting it to the server. The server has a subroutine describing what to do when the event is raised, called the event-handler. 11 Event Handling When an event message is transmitted to the server, it checks whether the Click . | LESSON 30 Overview of Previous Lesson(s) Over View ASP is a technology that enables scripts in web pages to be executed by an Internet server. is a web development platform, which provides a programming model. To build a comprehensive software infrastructure and various services required to build up robust web application for PC, as well as mobile devices 3 Over View has better language support, a large set of user controls, XML-based components, and integrated user authentication. applications could be written in C# Visual Basic .Net Jscript J# 4 Over View The component model provides various building blocks of pages. It is an object model, which describes Server side counterparts of almost all HTML elements or tags, like and . Server controls, which help in developing complex user-interface for example the Calendar control or the Gridview control. 5 Over View Life Cycle processes pages to produce dynamic .