Introduction To ExtJS Lesson 01 - Part Two
Introduction To ExtJS Lesson 01 - Part Two
ASP.Net
Lesson 01 – Part two
A simplified guide
By NithyaVidhyaarthi
Purpose & Pre-requisites
• This tutorial is intended to help developers who
would like to take up ExtJS as their major tool for
web application development.
• This tutorial uses Ext 3.1.1 version for visual
clarifications. While most contents are still
appropriate, it is strongly suggested for the
observer to pay attention to the “changes.html”
bundled with every release to cross-verify new
updates/ deprecation(s) if any.
Beginning ExtJS with ASP.NET - Lesson 01 -
04/11/21 2
Part two
Purpose & Pre-requisites
• This tutorial assumes that you have basic
knowledge over java-script, HTML, CSS, DOM,
XML HTTP Requests (XHR), Internet
Information Services (IIS).
• Should you feel that you fell short in any of
above the mentioned, kindly have a good look
at those technologies / concepts, to have
better & improved understanding of Ext.
Add ext-base.js,
followed by ext-all.js
ASP.Net Life
Client browser Web Server
Cycle
1 2 3
On after
Browser
generation,
generates the Parsed contents
Ext.onReady()
page
fires
6 5 4 27
Explaining the sequence…
• 1 to 2: The client browser makes a request to a
web page at the web-server.
• 2 to 3: Web server acknowledges the request,
loads the page & executes it. Execution
includes all server side application logic (making
DB calls / file IO etc) in .net compliant language.
• @ stage 3: This shows the life cycle of any web-
form from “PreInit” event to “Unload” event.
Note: Explaining the ASP.Net life cycle here, is considered as “out of scope”
with this tutorial. While the life cycle has less impact on ExtJS applications, it is
good to have knowledge about the ASP.net life cycle.
Beginning ExtJS with ASP.NET - Lesson 01 -
04/11/21 28
Part two
Explaining the sequence…
• @ stage 4: Once all server-side events are fired
and execution is completed, web server constructs
the output form with all required CSS, js files and
sends the contents to the browser.
• @ stage 5: Browser receives the contents sent by
server, parses & generates the page, and finally
renders to the user.
• Once all the HTML elements are generated, the
DOM is said to be ready. All the js files linked with
the page, are cached in the local machine.
Beginning ExtJS with ASP.NET - Lesson 01 -
04/11/21 29
Part two
Explaining the sequence…
• @ stage 6: Once all the js files are completely
cached locally & the DOM is ready, the
Ext.onReady() event fires.
• It is at this stage, the ExtJS code is loaded from
the js files and the UI is rendered / front end
execution begins.
• ExtJS codes are loaded & executed in the order
in which the js files are linked in the aspx page.