The plug-in based mobile shopping system is mainly involved in the JQuery plug-in design technology field. Its content includes, in the network shopping system based on JQuery plug-ins, mainly using open source or independently developed JQuery plug-ins, such as open source date plug-ins, digital grid plug-ins, independent developed form plug-ins, couplet. Move the pull down frame plug-in and so on. By using these JQuery plug-ins, the UI business code is separated from the presentation code, and the general configuration enables the plug-ins to present different data and styles in different scenarios, greatly improving the reusability and maintainability of the code.
【技术实现步骤摘要】
基于插件式的移动购物系统
本专利技术涉及网络购物
,尤其涉及基于插件式的移动购物系统。
技术介绍
jQuery是免费、开源的,使用MIT许可协议。jQuery的语法设计可以使开发者更加便捷,例如操作文档对象、选择DOM元素、制作动画效果、事件处理、使用Ajax以及其他功能。除此以外,jQuery提供API让开发者编写插件,其模块化的使用方式使开发者可以很轻松的开发出功能强大的静态或动态网页;jQuery是一种新的JavaScript库。jQuery是一个快速而且简洁的JavaScript库,它使得以下几方面的工作更加简单:(1)遍历的操作HTML文档;(2)事件处理;(3)动画;(4)快速Web开发中的Ajax互操作。
技术实现思路
基于插件式的移动购物系统,系统jQuery的插件设计主要分为封装对象方法的插件、封装全局函数的插件和选择器插件三种类型。封装对象方法的插件:这种插件是将对象方法封装起来,用于对通过选择器获取的jQuery对象进行操作,是最常用的一种插件,95%以上的jQuery插件都是封装对象方法的插件,此类插件可以发挥出jQuery选择器的强大优势;封装全局函数的插件:可以将独立的函数加到jQuery命名空间下之下,例如解决冲突用的jQuery.noConflict()方法,常用的jQuery.ajax()方法以及去除首位空格的jQuery.trim()方法等,都是jQuery内部作为全局函数的插件附加到内核上去的;选择器插件、;个别情况下,会需要用到选择器插件,虽然jQuery的选择器十分强大,但还是会需要扩充一些自己喜欢的选择器。基于 ...
【技术保护点】
1.基于插件式的移动购物系统,其特征在于:系统jQuery创建提供jQuery.fn.extend()jQuery.extend()两种方法,分别用于拓展封装对象方法的插件和拓展封装全局函数的插件、选择器插件。
【技术特征摘要】
1.基于插件式的移动购物系统,其特征在于:系统jQuery创建提供jQuery.fn.extend()jQuery.extend()两种方法,分别用于拓展封装对象方法的插件...
【专利技术属性】
技术研发人员:不公告发明人,
申请(专利权)人:长沙湘佩网络技术有限公司,
类型:发明
国别省市:湖南,43
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。