yui

What are the arguments against using a JavaScript Framework for a Web site development company?

旧巷老猫 提交于 2019-12-03 08:56:31
Our company builds websites and web applications. We are a small firm and our team of developers are always building the javascript functions from scratch or copying from other websites built by us. Every time I bring to the table the word standardization and using a JS framework like JQuery, Prototype or any other, I am told Frameworks have the three points below as arguments against them: Mainly for people that don't know enough JS Frameworks limit Javascript developers Frameworks bloat the actual development code with a lot of things that are not used. We don't use enough Javascript in our

How can I test my webpage using different browsers?

旧巷老猫 提交于 2019-12-03 08:53:01
I just found out about the Yahoo UI Reset CSS tool/file and I'm using it on my website. On my machine I have Internet Explorer 7 and Firefox 3.01 and my webpage looks the same on these two browsers. A friend is using Internet Explorer 6 and the page is completely a mess. I have two questions: Am I that poor/stupid in writing CSS? How can I test my webpage using different browsers on my machine? If you are not particular about testing in your machine, you could try http://browsershots.org . It's free and provides screenshots of your site in various browsers on Linux/Windows/Mac OS/BSD. cowgod

Order of loading external CSS and JavaScript files

杀马特。学长 韩版系。学妹 提交于 2019-12-03 06:34:35
I have a third party application that loads many css and javascript files, and I now want to optimize this by concatinating all the javascripts into one file, compressed by the yuicompressor, but ... when we have a mix like: <script type="text/javascript" src="script1.js"></script> <script type="text/javascript" src="script2.js"></script> <link rel="stylesheet" href="style1.css" type="text/css" /> <script type="text/javascript" src="script3.js"></script> <script type="text/javascript" src="script4.js"></script> Does it matter that there's a css in the middle here? Should I concatinate and

BDD framework for the frontend?

混江龙づ霸主 提交于 2019-12-03 05:06:09
问题 On the server side we have Rspec/Cucumber for BDD development (ruby) vowsjs (node.js) Is there a BDD frameworks to use on web browsers (not qUnit or YUI test since these are only for TDD)? 回答1: Check out jasmine describe("Jasmine", function() { it("makes testing JavaScript awesome!", function() { expect(yourCode).toBeLotsBetter(); }); }); http://pivotal.github.com/jasmine/ https://github.com/pivotal/jasmine Should_be ( sic ) very familiar to a ruby person 回答2: You could also look at Yadda.

Javascript library for building desktop-like web application: ExtJS, jQuery, YahooUI, Mocha, SproutCore, Cappuccino, others? [closed]

浪尽此生 提交于 2019-12-03 03:14:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am evaluating several Javascript UI toolkits for building web applications that have a desktop-like feel, mainly because of dialogs and window management. I looked at several options - here are my evaluations so far: ExtJS - Great widget library, great docs! Not so great license. jQuery UI - Lack of ready-made

Yahoo YUI的Ajax工具包

匿名 (未验证) 提交于 2019-12-02 23:49:02
原文链接: http://www.cnblogs.com/wj110reg/articles/858195.html YUI简介 雅虎前不久推出了称为YUI的 Ajax工具包 ,同时Yahoo发表了一系列的 Ajax设计模式 . Yahoo的这些工具包是Yahoo在收购了多个Web2.0网站后推出的Ajax工具包,代码的注释也写的很好,文档也很丰富和详尽。 YUI的组件也在不断的增加中,yahoo为YUI设了一个 Yahoo用户组 ,里面的邮件很活跃,问的问题基本都有人回答,而且比较细致和具体。 YUI分为两个大类,一个是Ajax组件,里面包括对底层javascript包装后的几个工具包,分别是connection,event, dom,animation,dnd.还包括一组高级的javascript控件,目前包括AutoComplete,Calendar, Container,Menu,Slider,TreeView. 另一类是几个很有用的几个CSS文件,一个是CSS Page Grids,用它可以很方便的布局你的网页。另外两个是Standard CSS Fonts和Standard CSS Reset,利用这两个CSS可以对字体等在不同浏览器中获得一致的效果. Yahoo的Ajax设计模式是在目前的WEB2.0网站中常用的一些改善用户体验,增强交互效果的文章,格式和Design

js压缩处理

匿名 (未验证) 提交于 2019-12-02 23:36:01
前言: 现在很多web项目中都会用大量的js/css,所以用户在加载页面的时候就需要加载这些js/css,如果文件很多、很大的 话,这对用户来说是一件很痛苦的事,要等很久。所以可以通过压缩处理将js或者css压缩减小网络流量? 工具说明: YUI compressor 是Java编写的压缩工具,由雅虎发布,压缩是 100% 的安全,比大多数其他工具有更高的压缩比, 一般代码的压缩率达到 40% 至 60%,YUI compressor 也能够压缩CSS文件,国内互联网公司,阿里、淘宝、百度等都是采用 YUI compressor 内核压缩后发布代码。 下载YUI compressor 图形化压缩工具 http://download.csdn.net/detail/vtopqx/9801051 压缩操作方式有一下三种: 1、界面图形化压缩操作: 下载解压之后运行run.bat 添加文件进行压缩,压缩完成后会在源文件目录下产生一个*-main结尾的压缩文件, 2、dos命令行方式压缩: 进入dos执行如下压缩脚本(前提: 必须安装jdk,并且配置环境变量 ) java - jar C : \Users\Administrator\Desktop\Y UICompressorUI \lib\yuicompressor - 2.4 . 2.jar -- type js -- charset

JavaScript frameworks and CSS frameworks: JQuery, YUI, neither, or something else? [closed]

依然范特西╮ 提交于 2019-12-02 21:27:25
I haven't done web development for about 6 years. I'm trying to get back into it and there is a lot of new stuff out there. I've chosen to write my next project with Perl and Catalyst. I keep hearing about various JavaScript and CSS frameworks. I know very little about these frameworks so maybe this question is overly broad and open ended. What are the strengths, weaknesses, and popularity of the various frameworks? Should I be using YUI, JQuery, neither, or something else? cletus Firstly, it's probably worth perusing Which Javascript framework (jQuery vs Dojo vs … )? . Secondly, there are two

BDD framework for the frontend?

删除回忆录丶 提交于 2019-12-02 18:20:10
On the server side we have Rspec/Cucumber for BDD development (ruby) vowsjs (node.js) Is there a BDD frameworks to use on web browsers (not qUnit or YUI test since these are only for TDD)? Check out jasmine describe("Jasmine", function() { it("makes testing JavaScript awesome!", function() { expect(yourCode).toBeLotsBetter(); }); }); http://pivotal.github.com/jasmine/ https://github.com/pivotal/jasmine Should_be ( sic ) very familiar to a ruby person You could also look at Yadda . Rather than being a standalone test framework like CucumberJS, it enables to use a Gherkin like syntax from other

Javascript library for building desktop-like web application: ExtJS, jQuery, YahooUI, Mocha, SproutCore, Cappuccino, others? [closed]

北慕城南 提交于 2019-12-02 16:44:21
I am evaluating several Javascript UI toolkits for building web applications that have a desktop-like feel, mainly because of dialogs and window management. I looked at several options - here are my evaluations so far: ExtJS - Great widget library, great docs! Not so great license. jQuery UI - Lack of ready-made window and dialog containers. I love jQuery though. Yahoo! UI - Same problem as above. Really mature (but, unfortunately, is no longer being actively maintained ) and well documented. Mocha (Mootools-based) - Not as mature as the others. Lacks good documentation. SproutCore - Same as