We need to setup our workspace to write all the examples of this book. Let's create a folder named
learning-ext-4. For now we don't need a web server to host our examples, but in the following chapters we are going to use Ajax; therefore, it's a good idea to use our favorite web server to host our code from these first examples.
In our new folder we are going to create folders that contain the examples for each chapter in this book. At this point we have a folder called
thatcorresponds to this chapter and other called
extjs-4.1.1 that contains the Ext JS framework. Both folders are located at the same level.
01-basics folder we're going to create a file called
, where we need to import the ...