手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆

YUI PHP Loader Utility

首页 > PHP >

YUI是一个低调又强大的框架。你不能说它有什么,但它确实就存在着。。。
jQuery是Yii框架自带的一个工具,比如ZII里集成的全是JQuery,但YUI也是有着自己的工具,比如这个YUI PHP Load Ulility

The YUI PHP Loader Utility is a server-side utility that allows you to load specific YUI components and their dependencies into your page via PHP. YUI PHP Loader can operate as a holistic solution by loading all of your necessary YUI components, or it can be used to add one or more components to a page on which some YUI content already exists.

YUI also contains a client-side loader, which provides similar functionality from JavaScript.

YUI PHP Loader adds value in the following ways:

  1. Reliable, sorted loading of dependencies: YUI comprises more than two-dozen components, many of which work together to provide the best possible compromise between compartmentalization and code reuse. Because of this, YUI components often need to load with specific dependencies in a specific order. YUI PHP Loader understands which components depend on one another, and based on this knowledge it ensures that the right resources are loaded in the right order.
  2. Automatic use of rolled-up files. YUI PHP Loader knows about all of the built-in rollup files that ship with YUI — like the yahoo-dom-event.js file that contains the Yahoo Global Object, the Dom Collection, and the Event Utility, three components that are commonly used together. By automatically using rolled-up files when it makes sense to do so, the YUI PHP Loader helps you reduce HTTP requests and thereby keep your page as efficient as possible.

As you think about how you want to load YUI on the page, you may find it useful to refer to this overview of some of the most common loading strategies and their relative merits:

YUI的CSS其实也不错,现在细想想如果不是当年YAHOO那么强势的推PHP,如今的PHP也不会被这么多公司所能够接受吧。google是在强推python,虽然现在有着go语言,但python也正在被越来越多的公司所接受了,比如它的兼容性,它的运行速度。。。我还是比较喜欢的。。。。。。




本站采用创作共享版权协议, 要求署名、非商业和保持一致. 本站欢迎任何非商业应用的转载, 但须注明出自"易栈网-膘叔", 保留原始链接, 此外还必须标注原文标题和链接.

Tags: yui, javascript, framework, jquery, yii

« 上一篇 | 下一篇 »

只显示10条记录相关文章

JQuery -- this 和 $(this) 的区别 (浏览: 86420, 评论: 3)
常用网站的反向代理页[2013-09-28] (浏览: 68924, 评论: 10)
Yii CDbCriteria的常用方法 (浏览: 57341, 评论: 5)
[转载]超强大的jquery formValidator (浏览: 51815, 评论: 3)
jQuery插件---获取URL参数 (浏览: 47113, 评论: 1)
jQuery的html()等方法介绍 (浏览: 46526, 评论: 1)
取得html中的comment的内容 (浏览: 43344, 评论: 2)
jQuery的bind函数 (浏览: 41642, 评论: 1)
将Yiiframework与JQuery easyUI整合使用 (浏览: 39079, 评论: 2)
jQuery一些插件的链接[转] (浏览: 38649, 评论: 2)

1条记录访客评论

每次看膘叔的文章压力都那么大

Post by oophper on 2011, January 17, 9:44 AM 引用此文发表评论 #1


发表评论

评论内容 (必填):