concept Ext in category ext js

appears as: Ext, The Ext, Ext, n Ext
Ext JS in Action, Second Edition

This is an excerpt from Manning's book Ext JS in Action, Second Edition.

Figure 1.15. The Ext JS 4.0 data package

When working on applications, you may think metaphorically to help you develop parallels for concepts in your mind. For instance, we like to think of the timing of an application’s launch as similar to that of the space shuttle’s launch, where timing can mean the difference between success and frustration. Knowing when to initialize your JavaScript is critical when dealing with anything that manipulates the DOM. In this chapter you’ll learn how to launch your JavaScript using Ext JS to ensure your application code initializes at the right time on each browser. Then we’ll discuss using Ext.Element to manipulate the DOM.

2.2.2. Using Ext.Element for the first time

Using Ext.Element is easy and makes some of the hardest tasks simple. To take advantage of Ext.Element, you need to set up a base page. Set up a page where you include the Ext JS and CSS, as we discussed in chapter 1. Next, include the following CSS and HTML:

var msg   = 'Please enter your email address.';
var title = 'Input Required'
Ext.MessageBox.prompt(title, msg, myCallback);