Learn jquery (eight) spots from scratch: jquery Implementation plan

Source: Internet
Author: User
Tags min reference resource root directory

I. Summary

This series of articles will take you into the wonderful world of jquery, with many authors ' specific experiences and solutions, even if you can use jquery to find some cheats in your reading.

This article is a temporary interrupt to introduce my jquery implementation program in our company.

Two. Foreword

With the solid basics of the previous chapters, we've been able to use jquery in our projects. Go ahead and learn about jquery before you break into my jquery implementation.

Each company's situation is different. For example, our company's paging files are user controls, physical paths and virtual paths have no absolute relationship, so the relative path cannot be used (otherwise the file will not be found in the production environment). A wide variety of projects, the same virtual directory of different folders for different project engineering and so on.

This program is not universal, but some methods can be used for reference, but also hope to discuss with you to help correct.

Three. class library file management scheme

Store Root path: src\assembly\resource.elong.web.files\resource\jslib\jquery\

Reference Root path: http://resource.elong.com/JSLib/jquery/

Compressed version Reference path: Http://resource.elong.com/JSLib/jquery/jquery-min-lastest.js

Root Path file list:

Create a JS folder under each Web project and place the Jquery-vsdoc-lastest.js file:

Description

First, all versions of the JQuery class library are placed on the static server, and the class library files are stored according to the folder. However, a new version will be selected as a reference and placed in the root directory.

The root directory contains the following files:

Name Content Description
Folder 1.3.2 The jquery class library organized by version number. For each future jquery version of 1.3.2, the class library file is stored according to the folder. However, the latest stable version will be used to cover the lastest name of the JS file.
Folder Plugin folder where plugins are stored Store various plug-ins in the form of a folder under this path
Jquery.extend-lastest.js Elong's own extended jquery approach In the future we will build our own JavaScript class library. Some of these core libraries are in this file. The equivalent of our own tool class library. By extending the jquery implementation.

It is mainly divided into two kinds: tool function and wrapper set function.

Jquery-lastest.js jquery Uncompressed Class Library latest version The latest stable version of the jquery original class library.
Jquery-min-lastest.js jquery Compression Class Library latest version The latest stable version of the jquery compression class library.
Jquery-vsdoc-lastest.js jquery Smart Tip Class Library latest version The latest stable version of the jquery Smart hint class library.

To implement IntelliSense during development, you also need to place the IntelliSense version in the JS folder for each Web project. Because of the large number of Web projects, please create this folder and place it in the file after the first user.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.