Jquery, Ajax, and other front-end technologies

Source: Internet
Author: User

The premise of being confused is that you have understood it.

Technology is the same as life. We need to know what we are doing at every step. Otherwise, you have no right to pretend to be confused.



About the Jquery plug-in referenced in the project

I:Jquery core library file(This file does not contain unnecessary white spaces, no comments, and the length of all local variable names is one character. In B/S mode, it is usually possible to send a thin file to the client to reduce the number of data bytes downloaded, thus speeding up loading and running)

<Script src = "http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.0.0.min.js" type = "text/javascript"> </script>


II:Auxiliary application migration plug-in(Because of the differences between Jquery versions, changes in Jquery versions will make some functional usage of websites or applications incompatible, and we have to modify the code of websites or applications, with this plug-in, you can upgrade Jquery on the original code without modifying the code)

For more information, see http://blog.jquery.com/2013/01/31/jquery-migrate-1-1-0-released)

<Script src = "http://ajax.aspnetcdn.com/ajax/jquery.migrate/jquery-migrate-1.1.1.min.js" type = "text/javascript"> </script>


III:JQuery client authentication File(Extended the validation capability of Jquery's core library)

<Script src = "http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js" type = "text/javascript"> </script>

Iv. JQuery UI plug-in (extends Jquery's core library presentation capabilities)

<Script src = "http://ajax.aspnetcdn.com/ajax/jquery.ui/1.10.2/jquery-ui.min.js" type = "text/javascript"> </script>

V:Library files used for Jquery to support Unobtrusive JavaScript (non-intrusive)(For details, see http://en.wikipedia.org/wiki/unobtrusive_javascriptto explain unobtrusive JavaScript .)

Jquery. validate. unobtrusive. min. js is used to obtain the metadata issued by the ASP. net mvc Framework and convert the metadata into data that can be understood by Jquery verification.

<Script src = "http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.validate.unobtrusive.min.js" type = "text/javascript"> </script>

<Script src = "http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.unobtrusive-ajax.min.js" type = "text/javascript"> </script>


Microsoft uses jQuery to implement Ajax in MVC 3, and the above two javascript libraries are equivalent to two adapters)

Therefore, the three files used to implement MVC Ajax and client verification, MicrosoftAjax, MicrosoftMvcAjax. js, and MicrosoftMvcValidation. js, do not need to be referenced any more.

We can see in the web. config file of MVC3 that two configuration items are implemented by default.


I do not like long term. This article ends here.

I learned about the usage of common plug-ins. The next few articles will focus on Jquery technical points.






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.