<?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>Fomly</title>
	<atom:link href="http://www.fomly.cn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fomly.cn</link>
	<description>Blueye Team Blog  ;)</description>
	<lastBuildDate>Sat, 05 Dec 2009 02:18:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>follow me</title>
		<link>http://www.fomly.cn/20091204/follow-me/</link>
		<comments>http://www.fomly.cn/20091204/follow-me/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 04:59:29 +0000</pubDate>
		<dc:creator>smilebug</dc:creator>
				<category><![CDATA[other]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=288</guid>
		<description><![CDATA[最近换工作时间不多，Blog更新黑慢，一些小的资讯信息直接通过twitter更新。
感兴趣的同学可以，可以Follow @smile_bug。也可以通过Blog的twitter模块也能查看。
由于国内的一些特殊性不能使用twitter的同学可以使用http://twitalker.appspot.com/再结合gtalk；当然有条件的同学也可以自己在国外空间上通过API使用。


No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20091204/follow-me/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Drag Grid Data in From a Spreadsheet</title>
		<link>http://www.fomly.cn/20091030/drag-grid-data-in-from-a-spreadsheet/</link>
		<comments>http://www.fomly.cn/20091030/drag-grid-data-in-from-a-spreadsheet/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 01:42:58 +0000</pubDate>
		<dc:creator>smilebug</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[datadrop]]></category>
		<category><![CDATA[drag]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[extjs]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=283</guid>
		<description><![CDATA[这是一个ExtJS的插件，很酷的功能，支持从Excel等其它程序里面把一些简单格式的数据，直接拖拽到浏览器里的ExtJS组件上。
使用时也很简单，引入这个JS之后，在ExtJS组件上增加这个插件就可以了

1
2
3
4
5
6
    &#123;
        xtype: 'grid',
        ...,
        plugins: &#91;Ext.ux.grid.DataDrop&#93;,
        ...
   &#125;

接下来你就可以在其它程序上把数据选中，拖拽到这个组件上，神奇的事情就发生了。
Blog：DataDrop – Drag Grid Data in From a Spreadsheet
Demo：DataDrop Demo
API： datadrop api
Download：Ext.ux.DataDrop.js


No related posts.
Related [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20091030/drag-grid-data-in-from-a-spreadsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NeweggCN DIY Tool</title>
		<link>http://www.fomly.cn/20091024/neweggcn-diy-tool/</link>
		<comments>http://www.fomly.cn/20091024/neweggcn-diy-tool/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 09:51:55 +0000</pubDate>
		<dc:creator>smilebug</dc:creator>
				<category><![CDATA[other]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[newegg]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=280</guid>
		<description><![CDATA[前言：最近打算换个电脑，准备从网上网购，对于大件在淘宝上还是不放心，所以准备在B2C的网站上购买。发现新蛋中国里面竟然没有DIY的模块，其对手京东都有这个模块，实在有点说不过去啊。
同时牢记毛主席的教诲“自己动手，丰衣足食”，所以有了这个DIY Tool。功能比较弱，UI暂时没有，就凑合着用吧。

数据是从官方网站上的一个功能模块是找到的，从数据格式来看，这个简单的DIY 工具以后可以有的功能包括：

按价格等排序
按过滤条件过滤
简单的搜索功能

当然上面的功能只是可以有，但俺不能保证一定会去实现它。
同时由于数据来源问题，如果官网对数据格式进行了调整，那这工具也就挂掉了。
Link： NeweggCN DIY


No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20091024/neweggcn-diy-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS SQL Inter-database access</title>
		<link>http://www.fomly.cn/20091022/ms-sql-inter-database-access/</link>
		<comments>http://www.fomly.cn/20091022/ms-sql-inter-database-access/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 06:47:29 +0000</pubDate>
		<dc:creator>smilebug</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[db]]></category>
		<category><![CDATA[mssql]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=266</guid>
		<description><![CDATA[最近工作上用到MS SQL跨数据库查询，这里来个小小的总结，跨数据库查询这里分为两种情况：

数据库在同一台电脑上
现在有一台数据库服务器分别有数据库A和B，要访问在数据库A的user 和数据库B的deluser表中status=1的数据，中间通过userId关联
这种情况，只需要在访问的表名前加上数据库的名称B.dbo.就可以了

1
2
3
SELECT *
FROM A.dbo.user u, &#40;SELECT * FROM B.dbo.olduser WHERE STATUS=1&#41; ou
WHERE u.userId = ou.userId


数据库在远程电脑上
现在有一台本地数据库A和远程数据库B(ip:10.0.0.2)，和情况1有同样的需求
这时间我们就要把远程数据库连接到本地，再进行访问

1
2
3
4
5
6
7
8
&#160;
IF EXISTS&#40;SELECT * FROM master.dbo.sysservers WHERE srvname='remoteSer'&#41;
EXEC sp_dropserver 'remoteSer','droplogins'
EXEC sp_addlinkedserver 'remoteSer','','SQLOLEDB',NULL,NULL,'DRIVER={SQL Server};SERVER=10.0.0.2;UID=sa;PWD=sa;'
GO
SELECT * FROM user u,
&#40;SELECT * FROM remoteSer.dbo.olduser WHERE STATUS=1&#41; ou
WHERE u.userId = ou.userId

如果你真的这样操作，你会发现速度那是非常的慢，因为中间把远程表和本地表关联在一起了，进行有条件的查询远不像本地查询那样一次完成，所以我们可能通过临时表的方式来进行处理，先把远程数据放到本地临时表再进行处理

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
&#160;
-- link remote server
IF EXISTS&#40;SELECT * FROM master.dbo.sysservers WHERE srvname='remoteSer'&#41;
EXEC sp_dropserver 'remoteSer','droplogins'
EXEC sp_addlinkedserver 'remoteSer','','SQLOLEDB',NULL,NULL,'DRIVER={SQL Server};SERVER=10.0.0.2;UID=sa;PWD=sa;'
GO
-- create [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20091022/ms-sql-inter-database-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>新人报道</title>
		<link>http://www.fomly.cn/20090814/%e6%96%b0%e4%ba%ba%e6%8a%a5%e9%81%93/</link>
		<comments>http://www.fomly.cn/20090814/%e6%96%b0%e4%ba%ba%e6%8a%a5%e9%81%93/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 02:48:32 +0000</pubDate>
		<dc:creator>solar</dc:creator>
				<category><![CDATA[other]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=260</guid>
		<description><![CDATA[o(∩_∩)o&#8230;哇咔咔


No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20090814/%e6%96%b0%e4%ba%ba%e6%8a%a5%e9%81%93/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The best way to load external JavaScript</title>
		<link>http://www.fomly.cn/20090813/the-best-way-to-load-external-javascript/</link>
		<comments>http://www.fomly.cn/20090813/the-best-way-to-load-external-javascript/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 09:18:05 +0000</pubDate>
		<dc:creator>smilebug</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[load]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=256</guid>
		<description><![CDATA[作者说的最好的加载JS方法，即是如何无阻塞的加载JS，作者提到了三个技巧

创建两个JS文件， 第一个只包含动态加载JS的必要代码，第二个包含除必要的一些初始化的所有内容；
创建加载第一个JS文件的&#60;script&#62;标签，并把它放在页面的最底端，&#60;/body&#62;标签里面；
创建第二个&#60;script&#62;标签，加载第二个JS文件和运行附加的初始化代码。


作者还提供了一个例子，这是第一个JS文件的内容

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function loadScript&#40;url, callback&#41;&#123;
&#160;
    var script = document.createElement&#40;&#34;script&#34;&#41;
    script.type = &#34;text/javascript&#34;;
&#160;
    if &#40;script.readyState&#41;&#123;  //IE
        script.onreadystatechange = function&#40;&#41;&#123;
            if &#40;script.readyState == &#34;loaded&#34; &#124;&#124;
      [...]


Related posts:<ol><li><a href='http://www.fomly.cn/20090413/callbacks-vs-events/' rel='bookmark' title='Permanent Link: Callbacks vs Events'>Callbacks vs Events</a> <small>这是个比较有意思的对比 首先作者使用了基于Events的DOMContentLoaded来执行两个单独的初始化工作 document.addEventListener("DOMContentLoaded", function() {   console.log("Init: 1");   DOES_NOT_EXIST++; // this...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20090813/the-best-way-to-load-external-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ext Designer</title>
		<link>http://www.fomly.cn/20090813/ext-designer/</link>
		<comments>http://www.fomly.cn/20090813/ext-designer/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 03:30:37 +0000</pubDate>
		<dc:creator>smilebug</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[extjs]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=254</guid>
		<description><![CDATA[随着Ext3的发布，Ext最近还推出了一款基于Air的针对于Ext3的可视化设计器，界面如下

由于现在只是个预览版本，所以功能还不是很完善，组件也不是很全，在布局的调整上也不是很方便。对中文的支持也不错。

该版本并没有提供代码生成功能，也就是拖拽成的组件也就只能看看，不能生成实际的代码。
按照Ext网站上的说法，它们打算把做成一个像iTune的Web应用。用户可以在它们提供的虚拟市场里出售自己创建的组件代码。
对于Ext新手来说个人不建议使用这样的工具，这类工具通常都会有一个副作用，让新手成为熟手而非高手。
Link: extjs 3.0 be outstanding


Related posts:ExtJS Samples update 今天上ext官网的时候，发现samples &#38; Demos 有更新了。Extjs 3.0 Core发布以来，终于对Samples进行了更新。 增加了几个新的类别：Accessibility（处于实验阶段），Charts，Direct 其它类别里面也有一些增加和更新，详细的可以到它的Samples里看看，都有明确的标注。 个人觉得比较好的几个东东： Charts：图表...

Related posts brought to you by Yet Another Related Posts Plugin.


Related posts:<ol><li><a href='http://www.fomly.cn/20090707/extjs-samples-update/' rel='bookmark' title='Permanent Link: ExtJS Samples update'>ExtJS Samples update</a> <small>今天上ext官网的时候，发现samples &amp; Demos 有更新了。Extjs 3.0 Core发布以来，终于对Samples进行了更新。 增加了几个新的类别：Accessibility（处于实验阶段），Charts，Direct 其它类别里面也有一些增加和更新，详细的可以到它的Samples里看看，都有明确的标注。 个人觉得比较好的几个东东： Charts：图表...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20090813/ext-designer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ExtJS Samples update</title>
		<link>http://www.fomly.cn/20090707/extjs-samples-update/</link>
		<comments>http://www.fomly.cn/20090707/extjs-samples-update/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 06:18:38 +0000</pubDate>
		<dc:creator>smilebug</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[extjs]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=248</guid>
		<description><![CDATA[今天上ext官网的时候，发现samples &#38; Demos 有更新了。Extjs 3.0 Core发布以来，终于对Samples进行了更新。
增加了几个新的类别：Accessibility（处于实验阶段），Charts，Direct
其它类别里面也有一些增加和更新，详细的可以到它的Samples里看看，都有明确的标注。
个人觉得比较好的几个东东：

 Charts：图表
Direct：可以远程调用和轮询服务器
Row EditorGrid：这种可编辑的Grid的编辑方式比较好
Buffered GridView：可渲染可视的数据，对一页显示大量数据的Grid性能有很大提升。
HBox/VBox Layout：两种新的布局
Editable Grid with Writable Store： 通过DataWriter把数据回写到数据库



Related posts:Extjs:formpanel use table layout Extjs中，Form使用Table布局会比较方便，它是能很方便的合并行和列。但是Form里的元素，如textfield等必须要处于form layout才能正常渲染（不能正常显示Label）。所以直接在table布局中加入Form元素是不行的，所以采用一个另类的方法来处理，代码如下： &#123; xtype: 'form', title: 'table layout form', autoHeight:...
Drag Grid Data in From a Spreadsheet 这是一个ExtJS的插件，很酷的功能，支持从Excel等其它程序里面把一些简单格式的数据，直接拖拽到浏览器里的ExtJS组件上。 使用时也很简单，引入这个JS之后，在ExtJS组件上增加这个插件就可以了 1 2 3 4 5 6 &#123; xtype:...

Related posts brought to you by Yet Another Related Posts Plugin.


Related posts:<ol><li><a href='http://www.fomly.cn/20090703/extjsformpanel-use-table-layout/' rel='bookmark' title='Permanent Link: Extjs:formpanel use table layout'>Extjs:formpanel use table layout</a> <small>Extjs中，Form使用Table布局会比较方便，它是能很方便的合并行和列。但是Form里的元素，如textfield等必须要处于form layout才能正常渲染（不能正常显示Label）。所以直接在table布局中加入Form元素是不行的，所以采用一个另类的方法来处理，代码如下： &#123; xtype: 'form', title: 'table layout form', autoHeight:...</small></li>
<li><a href='http://www.fomly.cn/20091030/drag-grid-data-in-from-a-spreadsheet/' rel='bookmark' title='Permanent Link: Drag Grid Data in From a Spreadsheet'>Drag Grid Data in From a Spreadsheet</a> <small>这是一个ExtJS的插件，很酷的功能，支持从Excel等其它程序里面把一些简单格式的数据，直接拖拽到浏览器里的ExtJS组件上。 使用时也很简单，引入这个JS之后，在ExtJS组件上增加这个插件就可以了 1 2 3 4 5 6 &#123; xtype:...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20090707/extjs-samples-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extjs:formpanel use table layout</title>
		<link>http://www.fomly.cn/20090703/extjsformpanel-use-table-layout/</link>
		<comments>http://www.fomly.cn/20090703/extjsformpanel-use-table-layout/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 02:18:38 +0000</pubDate>
		<dc:creator>smilebug</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[extend]]></category>
		<category><![CDATA[extjs]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=245</guid>
		<description><![CDATA[Extjs中，Form使用Table布局会比较方便，它是能很方便的合并行和列。但是Form里的元素，如textfield等必须要处于form layout才能正常渲染（不能正常显示Label）。所以直接在table布局中加入Form元素是不行的，所以采用一个另类的方法来处理，代码如下：

&#123; xtype: 'form',
    title: 'table layout form',
    autoHeight: true,
    border: 'none',
    layout: 'table',
    defaults: &#123;
        layout: 'form',
        style: 'padding-left: 8px;',
      [...]


Related posts:<ol><li><a href='http://www.fomly.cn/20090707/extjs-samples-update/' rel='bookmark' title='Permanent Link: ExtJS Samples update'>ExtJS Samples update</a> <small>今天上ext官网的时候，发现samples &amp; Demos 有更新了。Extjs 3.0 Core发布以来，终于对Samples进行了更新。 增加了几个新的类别：Accessibility（处于实验阶段），Charts，Direct 其它类别里面也有一些增加和更新，详细的可以到它的Samples里看看，都有明确的标注。 个人觉得比较好的几个东东： Charts：图表...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20090703/extjsformpanel-use-table-layout/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Front End Web Developer Cheat Sheets</title>
		<link>http://www.fomly.cn/20090629/front-end-web-developer-cheat-sheets/</link>
		<comments>http://www.fomly.cn/20090629/front-end-web-developer-cheat-sheets/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 03:52:57 +0000</pubDate>
		<dc:creator>smilebug</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[cheat]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[front]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[sheet]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.fomly.cn/?p=233</guid>
		<description><![CDATA[今天在cnbeta上看到《Web 开发与设计师速查手册大全（上）》（原文地址）里面有很多资源下载，但是是分开的，所以就自己打了个包上传到大米盘上。这里顺便给大米盘做个广告，真的很不错的一个网盘，速度快界面也很友好，而且支持迅雷电驴等直接下载。我可不是枪手，只是实话实说而已。
文件列表如下：

 CSS Help Sheet 02.pdf
 css_cheatsheet_v2.pdf
 csscheatsheet.pdf
 css-cheat-sheet-v2.pdf
 HTML Help Sheet 02.pdf
 html_colors_cheatsheet_v2.pdf
 html_entities_cheatsheet_v3.pdf
 html-cheat-sheet-v1.pdf
 javascript_refererence.pdf
 javascript-cheat-sheet-v1.pdf
 JavaScript-DOM-Cheatsheet.pdf
 jquery_1.3_cheatsheet_v1.pdf
 mootools-12-cheat-sheet-pf.pdf
 php-cheat-sheet-v2.pdf
 PHPRefCard.pdf
 prototype_cheatsheet_1.6.0.2.pdf
 qrg0007.pdf
 rgb-hex-cheat-sheet-v1.pdf
 SEO_Web_Developer_Cheat_Sheet.pdf
 xhtml_1.1_cheatsheet_v3.pdf
 XMLquickref.pdf

下载地址： 点击我 &#124; SkyDriver


No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.fomly.cn/20090629/front-end-web-developer-cheat-sheets/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
