<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>阿芮的博客 &#187; JavaScript</title>
	<atom:link href="http://chinarui.yo2.cn/tag/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://chinarui.yo2.cn</link>
	<description>关注计算机软件、互联网应用，记录生活点滴，分享情感片段</description>
	<lastBuildDate>Sun, 17 Jul 2011 09:43:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Ext Core 3.0 Beta 发布,未包含可视化开发环境</title>
		<link>http://chinarui.yo2.cn/study/extjs_core_v3_beta.html</link>
		<comments>http://chinarui.yo2.cn/study/extjs_core_v3_beta.html#comments</comments>
		<pubDate>Sun, 26 Apr 2009 10:17:58 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[技术|学习]]></category>
		<category><![CDATA[ExTJS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[开发框架]]></category>

		<guid isPermaLink="false">http://chinarui.yo2.cn/articles/%45%78%74%20%43%6f%72%65%20%33%2e%30%20%42%65%74%61%20%e5%8f%91%e5%b8%83%2c%e6%9c%aa%e5%8c%85%e5%90%ab%e5%8f%af%e8%a7%86%e5%8c%96%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83.html</guid>
		<description><![CDATA[上次说到ExtJs 3.0将在4月14日左右发布，其实早在4月4日，ExtJs在其官方博客上发布了相关的消息，同时对外发布了Ext Core 3.0 Beta 版并提供下载。但是这次的发布并没有包含之前所说的可视化开发环境，只包含了源码、示例、文档及许可信息等内容，这不免令人有点失望。

我注意到原文中有这么一句：

"Ext Core is a subset of the upcoming Ext JS 3.0 release optimized for speed &#38; file size."

即：(这次发布的)Ext Core 3.0 是即将发布的Ext JS 3.0的一个子集，Ext JS 3.0在速度和文件体积上将有所优化。

还是没有提到可视化开发环境，难道这只是传言么？看来只能等待正式版发布才能知晓了……]]></description>
			<content:encoded><![CDATA[<p><a href="http://chinarui.net/article/Study/ExtJS_V3&amp;IDE.html" target="_blank">上次</a>说到ExtJs 3.0将在4月14日左右发布，其实早在4月4日，ExtJs在其<a href="http://extjs.com/blog/2009/04/04/ext-core-30-beta-released/" target="_blank">官方博客</a>上发布了相关的消息，同时对外发布了Ext Core 3.0 Beta 版并提供<a href="http://extjs.com/products/extcore/download.php?dl=extcore3b" target="_blank">下载</a>。但是这次的发布并没有包含之前所说的可视化开发环境，只包含了源码、示例、文档及许可信息等内容，这不免令人有点失望。</p>
<p>我注意到原文中有这么一句：</p>
<p><span style="color: #ff0000;">"Ext Core is a subset of the upcoming Ext JS 3.0 release optimized for speed &amp;amp; file size."</span></p>
<p>即：<span style="&quot;color:">(这次发布的)<span style="color: #ff0000;">Ext Core 3.0 是即将发布的Ext JS 3.0的一个子集，Ext JS 3.0在速度和文件体积上将有所优化。</span></span></p>
<p>还是没有提到可视化开发环境，难道这只是传言么？看来只能等待正式版发布才能知晓了。</p>
<p>在EXT JS官方网站上，包含在线可观看的例子，刚看到<a href="http://extjs.org.cn/node/340">EXT JS 中文资讯站</a>说其中有4个例子是被隐藏起来的，也不知道是出于什么样的原因，这里给出链接地址，有兴趣的可以去看看：</p>
<p>明确给出的例子（没找到Index页面，只能从顶部一个个点进去看）：</p>
<p><a href="http://extjs.com/products/extcore/" target="_blank">http://extjs.com/products/extcore/</a></p>
<p>被隐藏的4个例子：（<span style="&quot;color:">特别提示：请使用FireFox浏览器，IE可能会有些问题</span>）</p>
<p><strong>Ext.Direct</strong>（远程调用和数据流的服务器推模式，这么说不知确切否？）<br>
<a href="http://ux.extjs.org.cn/ext-3.0-rc1/examples/direct/direct.php" target="_blank">http://ux.extjs.org.cn/ext-3.0-rc1/examples/direct/direct.php</a></p>
<p><strong>Charts</strong>（结合Flash展现的图表）<br>
<a href="http://ux.extjs.org.cn/ext-3.0-rc1/examples/chart/charts.html" target="_blank">http://ux.extjs.org.cn/ext-3.0-rc1/examples/chart/charts.html</a></p>
<p><strong>Writer</strong>（编辑器）<br>
<a href="http://ux.extjs.org.cn/ext-3.0-rc1/examples/writer/writer.html" target="_blank">http://ux.extjs.org.cn/ext-3.0-rc1/examples/writer/writer.html</a></p>
<p><strong>Spinner</strong>（没看出来到底是个什么东东）<br>
<a href="http://ux.extjs.org.cn/ext-3.0-rc1/examples/spinner/index.html" target="_blank">http://ux.extjs.org.cn/ext-3.0-rc1/examples/spinner/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chinarui.yo2.cn/study/extjs_core_v3_beta.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>期待：ExtJS 3.0及其可视化编程环境</title>
		<link>http://chinarui.yo2.cn/study/extjs_v3ide.html</link>
		<comments>http://chinarui.yo2.cn/study/extjs_v3ide.html#comments</comments>
		<pubDate>Tue, 31 Mar 2009 02:12:21 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[技术|学习]]></category>
		<category><![CDATA[ExTJS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[开发框架]]></category>

		<guid isPermaLink="false">http://chinarui.yo2.cn/articles/%e6%9c%9f%e5%be%85%ef%bc%9a%45%78%74%4a%53%20%33%2e%30%e5%8f%8a%e5%85%b6%e5%8f%af%e8%a7%86%e5%8c%96%e7%bc%96%e7%a8%8b%e7%8e%af%e5%a2%83.html</guid>
		<description><![CDATA[我目前做过的几个项目，在界面方面基本上都使用了ExtJS框架。从yui-ext，到Ext2.1，再到目前的Ext2.2，称不上精通，也算是比较熟悉了。 昨天在Ext中文资讯站看到消息说，ExtJS3.0及其IDE可视化编程环境将在近期（很可能是4月14日）发布。真是个好消息，这意味着我们将可以直接拖拉控件到界面，从而省去了很多手工写代码的麻烦，而且，用户可以制作自定义的可重用的控件，真的是无比强大！ Ext JS 3.0的一些新特性： Ext JS Road Map Ext JS 3.0 (Early 2009) * All new lightweight, high-speed core base library * Flash Charting API * Ext.Direct - Remoting and data streaming/comet support * Integrated client-server data binding/marshaling of updates * ListView component * Enhanced Button and Toolbar components * ARIA/Section 508 accessibility improvements [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-24217" title="extjs" src="http://chinarui.net/wp-content/uploads/414/41448/2009/03/extjs.gif" alt="extjs" width="120" height="90">我目前做过的几个项目，在界面方面基本上都使用了ExtJS框架。从yui-ext，到Ext2.1，再到目前的Ext2.2，称不上精通，也算是比较熟悉了。</p>
<p>昨天在Ext中文资讯站看到消息说，ExtJS3.0及其IDE可视化编程环境将在近期（很可能是4月14日）发布。真是个好消息，这意味着我们将可以直接拖拉控件到界面，从而省去了很多手工写代码的麻烦，而且，用户可以制作自定义的可重用的控件，真的是无比强大！</p>
<p><strong>Ext JS 3.0的一些新特性：</strong></p>
<p><span style="font-weight: bold;">Ext JS Road Map</span><br>
Ext JS 3.0 (Early 2009)<br>
* All new lightweight, high-speed core base library<br>
* Flash Charting API<br>
* Ext.Direct - Remoting and data streaming/comet support<br>
* Integrated client-server data binding/marshaling of updates<br>
* ListView component<br>
* Enhanced Button and Toolbar components<br>
* ARIA/Section 508 accessibility improvements<br>
* CSS updates for reset style scoping and easier custom theming<br>
* Update the Ext event registration model<br>
* Ext.Ajax enhancements<br>
* Browser history support (released in 2.2)</p>
<p><strong>下面是可视化环境演示视频：</strong></p>
<p><object width="560" height="480" data="http://content.screencast.com/users/JackSlocum/folders/Default/media/f7450651-778b-4bbc-9fc4-4e921a7a2705/Designer_controller.swf" type="application/x-shockwave-flash"><param name="src" value="http://content.screencast.com/users/JackSlocum/folders/Default/media/f7450651-778b-4bbc-9fc4-4e921a7a2705/Designer_controller.swf"></object></p>
<p><strong>或者你可以到这里观看：</strong></p>
<p><a href="http://www.screencast.com/t/c4T3Gbfhn" target="_blank">www.screencast.com/t/c4T3Gbfhn</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chinarui.yo2.cn/study/extjs_v3ide.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>遍历JavaScript对象的属性和值</title>
		<link>http://chinarui.yo2.cn/study/iterate_an_js_object-s_properties_and_values.html</link>
		<comments>http://chinarui.yo2.cn/study/iterate_an_js_object-s_properties_and_values.html#comments</comments>
		<pubDate>Sat, 08 Nov 2008 02:35:10 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[技术|学习]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[值]]></category>
		<category><![CDATA[对象]]></category>
		<category><![CDATA[属性]]></category>
		<category><![CDATA[遍历]]></category>

		<guid isPermaLink="false">http://chinarui.yo2.cn/articles/%e9%81%8d%e5%8e%86%4a%61%76%61%53%63%72%69%70%74%e5%af%b9%e8%b1%a1%e7%9a%84%e5%b1%9e%e6%80%a7%e5%92%8c%e5%80%bc.html</guid>
		<description><![CDATA[JavaScript调试起来很不方便，有时候需要知道某个对象有哪些属性和值，利用下面的代码就可以了： function getAttribute(obj) { // 用来保存所有的属性名称和值 var props = ""; // 开始遍历 for(var p in obj){ // 方法 if(typeof(obj[p])=="function" { obj[p](); }else{ if(typeof(obj[p])=="object" { //递归 getAttribute(obj[p]); }else{ // p 为属性名称，obj[p]为对应属性的值 props+= p + "=" + obj[p] + "t"; } } } // 最后显示所有的属性 document.write(props + " " ; }]]></description>
			<content:encoded><![CDATA[<p>JavaScript调试起来很不方便，有时候需要知道某个对象有哪些属性和值，利用下面的代码就可以了：</p>
<p><pre class="php">
function getAttribute(obj) {
// 用来保存所有的属性名称和值
var props = "";
// 开始遍历
for(var p in obj){
// 方法
if(typeof(obj[p])=="function" <img src='http://chinarui.yo2.cn/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley'> {
obj[p]();
}else{
if(typeof(obj[p])=="object" <img src='http://chinarui.yo2.cn/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley'> {
//递归
getAttribute(obj[p]);
}else{
// p 为属性名称，obj[p]为对应属性的值
props+= p + "=" + obj[p] + "t";
}
}
}
// 最后显示所有的属性
document.write(props + "
" <img src='http://chinarui.yo2.cn/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley'> ;
}
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://chinarui.yo2.cn/study/iterate_an_js_object-s_properties_and_values.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

