论坛首页 Web前端技术论坛

向大家介绍一个很棒的适合企业级开发的Ajax(yui-ext)

浏览 182371 次
该帖已经被评为良好帖
作者 正文
   发表时间:2007-02-06  
Thinwire 如何?IBM上有介绍
0 请登录后投票
   发表时间:2007-02-06  
这个工具包很好的,我半年以前就开始关注,现在已经在好几个项目中使用了。
0 请登录后投票
   发表时间:2007-02-06  
今晚做的功课,关于树的
http://www.ajaxjs.com/yuicn/article.asp?id=20070206
0 请登录后投票
   发表时间:2007-02-07  
呵呵,用 yui-ext 也半年有余了,记得去年 YUI 出来也不久的时候就发现 Jack Slocum 这个家伙在 ydn-javascript 邮件列表中很活跃,于是便开始关注起 Jack,从最初的封装一点 animation 效果 和简单的 Splitter 分栏组件开始一直到最近的 css selector 之 DomQuery,发现这家伙越来越牛了,写的东西又酷又 amazing,可谓精品不断~

继 yui-ext.0.40-alpha 版之后很快就将出现 ext-1.0-alpha 版了,源码在yui-ext/deploy/中可以下到,我估计近期就将正式推出了,呵呵,大家喜欢的就好好支持一把吧

另外,除了 documentation 外 manual 也正在不断增补中,感觉今年 yui-ext 会有不错的发展
0 请登录后投票
   发表时间:2007-02-08  
我在用datagrid的例子时,为什么XML数据无法显示呢?
0 请登录后投票
   发表时间:2007-02-08  
翻译:创建一个可复用的AJAX对话框--一个工作中的例子
http://www.ajaxjs.com/yuicn/article.asp?id=20070229
让jack为您一步一步分析Image Chooser的原理!
0 请登录后投票
   发表时间:2007-02-08  
    XML数据如果是本地的xml文件,要在web服务器上运行才能显示,在本地硬盘运行无法显示。如果是通过后台传输XML,需要一定格式,可参考
http://www.jackslocum.com/forum2/的论坛例子,我上传一个论坛使用的topics.xml格式,作为参考。
0 请登录后投票
   发表时间:2007-02-08  
我在用这个例子时,plants.xml文件都存在,包括以下几个JS文件,部署在TOMCAT上无法显示XML数据

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Editor Grid Example</title>
<!-- YAHOO UI Utilities Lib, you will need to replace this with the path to your YUI lib file -->
<script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/utilities_2.1.0.js"></script>

<link rel="stylesheet" type="text/css" href="yui-ext/resources/css/reset-min.css" />
<link rel="stylesheet" type="text/css" href="yui-ext/resources/css/grid.css" />

<script type="text/javascript" src="yui-ext/js/yui-ext.js"></script>
<script type="text/javascript" src="yui-ext/js/edit-grid.js"></script>

<!-- Common Styles for the examples -->
<link rel="stylesheet" type="text/css" href="yui-ext/examples.css" />
</head>
<body>
<div class="example-info">
    To view the source of this page, right click (Mac users control+click) in this frame and select "View Source" or "This Frame"-&gt;"View Source".
</div>
<h1>Editor Grid Example</h1>
<p>This example shows how to create a grid with inline editing. For more details on this example, see <a href="http://www.jackslocum.com/yui/2006/09/10/adding-built-in-editing-support-to-the-yahoo-ui-extensions-grid/">the blog post</a>.</p>
<p>Note that the js is not minified so it is readable. See <a href="edit-grid.js">edit-grid.js</a>.</p>

<p>The data in the grid is loaded from <a href="plants.xml">plants.xml</a>.</p>

<!-- you must define the select box here, as the custom editor for the 'Light' column will require it -->
<select name="light" id="light" class="ygrid-editor" style="visibility: hidden;">
<option value="Shade">Shade</option>
<option value="Mostly Shady">Mostly Shady</option>
<option value="Sun or Shade">Sun or Shade</option>

<option value="Mostly Sunny">Mostly Sunny</option>

<option value="Sunny">Sunny</option>
</select>

<!-- a place holder for the grid. requires the unique id to be passed in the javascript function, and width and height ! -->
<div id="editor-grid" style="border: 1px solid #cccccc; overflow: hidden; width: 535px; height: 225px;"></div>

</body>
</html>
0 请登录后投票
   发表时间:2007-02-08  
我在用这个例子时,plants.xml文件都存在,包括以下几个JS文件,部署在TOMCAT上无法显示XML数据

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Editor Grid Example</title>
<!-- YAHOO UI Utilities Lib, you will need to replace this with the path to your YUI lib file -->
<script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/utilities_2.1.0.js"></script>

<link rel="stylesheet" type="text/css" href="yui-ext/resources/css/reset-min.css" />
<link rel="stylesheet" type="text/css" href="yui-ext/resources/css/grid.css" />

<script type="text/javascript" src="yui-ext/js/yui-ext.js"></script>
<script type="text/javascript" src="yui-ext/js/edit-grid.js"></script>

<!-- Common Styles for the examples -->
<link rel="stylesheet" type="text/css" href="yui-ext/examples.css" />
</head>
<body>
<div class="example-info">
    To view the source of this page, right click (Mac users control+click) in this frame and select "View Source" or "This Frame"-&gt;"View Source".
</div>
<h1>Editor Grid Example</h1>
<p>This example shows how to create a grid with inline editing. For more details on this example, see <a href="http://www.jackslocum.com/yui/2006/09/10/adding-built-in-editing-support-to-the-yahoo-ui-extensions-grid/">the blog post</a>.</p>
<p>Note that the js is not minified so it is readable. See <a href="edit-grid.js">edit-grid.js</a>.</p>

<p>The data in the grid is loaded from <a href="plants.xml">plants.xml</a>.</p>

<!-- you must define the select box here, as the custom editor for the 'Light' column will require it -->
<select name="light" id="light" class="ygrid-editor" style="visibility: hidden;">
<option value="Shade">Shade</option>
<option value="Mostly Shady">Mostly Shady</option>
<option value="Sun or Shade">Sun or Shade</option>

<option value="Mostly Sunny">Mostly Sunny</option>

<option value="Sunny">Sunny</option>
</select>

<!-- a place holder for the grid. requires the unique id to be passed in the javascript function, and width and height ! -->
<div id="editor-grid" style="border: 1px solid #cccccc; overflow: hidden; width: 535px; height: 225px;"></div>

</body>
</html>
0 请登录后投票
   发表时间:2007-02-08  
各位大侠是不是需要JSON的一些JS文件呢?
0 请登录后投票
论坛首页 Web前端技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics