this series of articles demonstrate how to use spring. net + nhib.pdf + ASP. net MVC + extjs build multi-layer applications Programs . the architecture has loose coupling, interface programming, and strong scalability. it is suitable for product development related to enterprise system development. make full use of spring. net, such as IOC and AOP, and as a container for the entire framework, nhib.pdf makes the entire framework more object-oriented
I. Resources download and related introductionExt Development Kit, we can download it from the official website.Http://www.sencha.com/products/extjs/downloadThe author download location is under the MyEclipse root directoryExt Development Package Directory Structure descriptionBuilds directory is
ExtJS can be used to access container objects. For more information, see.
I. Attributes
OwnerCt: Get the container of the current object.
Items: set list
II. Application Example
The Code is as follows:
Ext. onReady (function (){Var _ window = new Ext. Window ({Title: "test form ",Layout: "form ",Width: 300,Plain: true,Items :{Id: "name ",Xtype: "textfield ",FieldLabel: "name"},Buttons :[{Text: "OK ",Handler: function (){Alert (this. ownerC
. loginFun );This. loadMask = new Ext. LoadMask (this. LoginWin. body, {msg: "loading the page ...... "});}
3. About ext. extend
Definition: function extend (function sb, function sp, Object overrides)
Simple explanation: the first parameter-subclass
The second parameter -- parent class
Third parameter -- override object
In this example, the subclass is XQH. ExtJs. Frame. app.
The parent class Ext. util. Observable (an Abstract base class) provides
You may have seen the drag and drop effects. The implementation method is similar. In the following article, I will introduce how ExtJS is used.
The Code is as follows:
Hello
In ExtJS, the dynamically generated xml file can only be run by IE. To ensure compatibility, Firefox users must be considered.
The Code is as follows:
Function getXml (){// Obtain the input valueVar name = textName. getValue ();Var pwd = textPwd. getValue ();// Initialize the objectVar xmlDoc = document. implementation. createDocument ("", "", null );XmlDoc. async = "false"; // cancel the xml commit action before the complete data is filled in.// W
Now MVC uses Modelbinder, controller can now accept many complex types of parameters, but for Jquery,extjs and other JS frameworks, more of the JSON format and server-side transfer parameters more reasonable. For simple parameters, We can post directly to the server side without the JSON format. For example, the user login, we only pass the username and password into the controller:
Handler:function Checklogin () {if (Form.isvalid ()) {var formvalue
.
Instance:
Ext.js,ext-dev.js,ext-debug.js,ext-debug-w-comments.js: These four are a group that represents the most streamlined ExtJS code. Each file represents a usage scenario: the operating environment, the development environment, the debugging environment, and the Annotated debugging environment.
Ext-theme-access.js,ext-theme-classic.js,ext-theme-classic-sandbox.js,ext-theme-gray.js,ext-theme-neptune.js: These are
of programs.
Before developing an application using the Extjs framework, you must import the Extjs resource package to your project. The latest Extjs development kit version is 3.2.0, which can be downloaded from the official Extjs website, the URL is www.extjs.com/download
independent desktop application or as an Eclipse plug-in. You can download it from its official website http://www.spket.com/. here we will introduce the installation and usage of the plug-in.
Step 1Download the latest plug-in program. The latest plug-in is spket-1.6.12.zip. After decompression, the directory structure of the plug-in is 2-5. Copy the Plugins directory and the features directory to the eclipse installation directory respectively. You
In the past few days, I have made a Web project and used ExtJs. There is an interface like a designer. Select the content on the interface and you can directly edit the attributes of the content, this was originally quite simple for ExtJs. ExtJs itself provides rich space and good interface development, just like WinForm development. However,
help you understand its MVC model and learn the most basic layout. Let's talk a little bit about it. Let's take a look at the final implementation effect of the case:
The webpage layout consists of the top title, left menu, and right topic content. Here we have a preliminary impression on the layout of the case, so that we can learn more in the future.After understanding the final results of the project, let's take a look at the final file structure of the case:
The file structure s
to download, open source. After downloading and decompressing the package, you will get the following directory.
Adapter: maps the third-party underlying libraries (including the underlying libraries provided by ext) to the underlying libraries supported by Ext.Build: All ext source code after compression (classified storage)Docs: API help documentationExamples: some examples of extjs resultsResources: e
Jet Robot (Jet Robot) game released Jet robot is a casual flying game, game screen or more interesting, the robot is very cute, click to fly, let the small robot fly higher the better. Game Introduction Jet bot: In this game, you have to use his jet pack to help as high as possible. But flying is not as simple as it looks. Avoid obstacles on the way, as well as avoiding deadly traps, collecting as much fuel as possible and exceeding everything. Post your score to the online High score table and
The Neon City (Neon) released Neon City is a very classic racing mobile phone game, the game has a new racing, cool special effects and beautiful game lighting screen design. Interested in the small partners to download the Neon City hand tour Try it! This is a good game yo! Game Introduction "Neon City" is a beautiful light-screen racing mobile phone games. In this game, you will be a pilot flying a space fighter. This game uses the famous film Tron'
Spket is currently the most outstanding IDE to support EXT 2.0. It uses. JSB project file files and embeds the contents of the base class and all documents into the script doc that generated the code hints. Note: Code hints for configuration items are not supported.Spket Eclipse plugin and IDESpket provides the eclipse plug-in and a standalone IDE environment to support EXTJS development: http://spket.com/download.html, where shown in the
1. extjs Introduction
extjs is a Aja The x framework is written in JavaScript , create a Web application Program interface on the client. extjs can be used to develop Ria , that is, the Ajax application . extjs is mainly used to create a front-end user interface. It is a front-end Ajax framework unre
The latest project to be developed with EXT, so this time began to learn ext.I use the ext3.0,eclipse3.5 here.Every time to check the API, very annoying, so install an EXT hint plug-in for beginners have a lot of help.Suppose you have downloaded the source code for ext3.0 and Spket.Note that EXT.JSB files are not available in the official ext3.0. You have to download another online, here I put the downloaded EXT.JSB file in the root directory of ext-3
Jdk1.6 official download _ jdk6 official: http://www.java.net/download/jdk6/6u10/promoted/b32/binaries/jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe
Download jdk6 api chm Chinese reference:Jdk6apichinese reference 070114.rar:Http://chinesedocument.com/upimg/soft/jdk6apichinese reference 070114.rarJava SE 6 API Chinese CHM
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.