<?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>代码部落</title>
	<atom:link href="http://www.coderblog.in/feed" rel="self" type="application/rss+xml" />
	<link>http://www.coderblog.in</link>
	<description>－－专注于编程技术与精品软件</description>
	<lastBuildDate>Mon, 14 May 2012 15:05:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>ASP.NET MVC为字段设置多语言显示</title>
		<link>http://www.coderblog.in/2012/05/use-multiple-languages-for-asp-net-mvc-metadata-field.html</link>
		<comments>http://www.coderblog.in/2012/05/use-multiple-languages-for-asp-net-mvc-metadata-field.html#comments</comments>
		<pubDate>Mon, 14 May 2012 14:58:20 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[MVC3]]></category>
		<category><![CDATA[多语言]]></category>
		<category><![CDATA[字段]]></category>
		<category><![CDATA[排序]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1912</guid>
		<description><![CDATA[这段时间一直在忙.NET的项目，今天就写一下关于.NET的文章吧，也很长时间没写过.NET的啦 在使用ASP.NET MVC3的时候，使用元数据模式可以非常方便地设置每个字段（或者说属性）以减少前台页面代码。如可为字段添加验证信息，自定义显示字段名称等。如以下代码可设置字段显示名称和此字段为必填： 123456&#91;DisplayName&#40;&#34;姓名&#34;&#41;&#93; &#91;Required&#40;&#41;&#93; Public string Name&#123;get; set;&#125; //而在View里只需一句话就可以，系统会自动帮你生成验证和字段输入等代码 @Html.EditorForModel&#40;&#41;; 不需要写一大堆的HTML input等代码，特别是其验证功能感觉很方便，当然你也可以自定义验证错误信息！ OK，今天主要说说如何在字段属性里动态设置多语言。大家看到以上代码是正常写法，只能直接写死某个字段显示的内容，如果要实现多语言，我们就要重写 Display 属性了，只需继承 DisplayNameAttribute 然后就可以将其改写： 123456789101112131415161718192021222324252627public class LocalizedDisplayName : DisplayNameAttribute &#123;   &#160; &#160; &#160; private string _defaultName = &#34;&#34;;   &#160; &#160; &#160; public Type ResourceType &#123; get; set; &#125;   &#160; &#160; &#160; public string ResourceName &#123; get; set; &#125; [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="【好书推荐】Pro ASP.NET MVC 3 Framework, 3rd Edition" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F08%2Fpro-asp-net-mvc-3-framework-3rd-edition.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F05%2Fuse-multiple-languages-for-asp-net-mvc-metadata-field.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/08/18/23428109.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">【好书推荐】Pro ASP.NET MVC 3 Framework, 3rd Edition</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="【好书推荐】Programming Microsoft ASP.NET MVC" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F06%2F%25E3%2580%2590%25E5%25A5%25BD%25E4%25B9%25A6%25E6%258E%25A8%25E8%258D%2590%25E3%2580%2591programming-microsoft-asp-net-mvc.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F05%2Fuse-multiple-languages-for-asp-net-mvc-metadata-field.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/07/20/18135656.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">【好书推荐】Programming Microsoft ASP.NET MVC</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="解决ASP.NET MVC的CSS和JS文件缓存引起的问题！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F06%2Fsolved-the-problems-caused-by-the-cache-with-asp-net-mvc-css-file.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F05%2Fuse-multiple-languages-for-asp-net-mvc-metadata-field.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">解决ASP.NET MVC的CSS和JS文件缓存引起的问题！</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="ASP.NET MVC 2.0 如何使用Html.RadioButtonFor？" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F07%2Fasp-net-mvc-2-0-%25E5%25A6%2582%25E4%25BD%2595%25E4%25BD%25BF%25E7%2594%25A8html-radiobuttonfor%25EF%25BC%259F.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F05%2Fuse-multiple-languages-for-asp-net-mvc-metadata-field.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">ASP.NET MVC 2.0 如何使用Html.RadioButtonFor？</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="在MVC的Views目录里访问资源文件！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F05%2Faccess-the-files-under-the-views-folder-of-mvc.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F05%2Fuse-multiple-languages-for-asp-net-mvc-metadata-field.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在MVC的Views目录里访问资源文件！</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/05/use-multiple-languages-for-asp-net-mvc-metadata-field.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>宝宝终于出来啦～～</title>
		<link>http://www.coderblog.in/2012/04/my-baby-was-came-out.html</link>
		<comments>http://www.coderblog.in/2012/04/my-baby-was-came-out.html#comments</comments>
		<pubDate>Thu, 26 Apr 2012 01:16:32 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[心情日志]]></category>
		<category><![CDATA[宝宝]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1908</guid>
		<description><![CDATA[经历了长达10个月的时间，昨天凌晨时分，5：58分的时候，宝宝终于出生啦 不过整个过程还是有些辛苦的，因为BB选择了晚上出生，所以老婆晚上11点左右就开始痛了，我本来想着至少还要第二天才开始，于是马上打个的赶到医院，一直陪到凌晨时分，呵，这时宝宝才出来了，虽然一晚通宵了，但最后看到宝宝那个可爱的样子，就不觉得累了，与预期一样，是个女宝宝。 这些天都会比较忙了，所以博客更新也少，其他也不多说了，过2天就要准备为老婆办理出院和为宝宝办证。 最后送下小公主相片 http://www.winsonalbums.com/index.php?/category/29<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="【好书推荐】Programming Microsoft ASP.NET MVC" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F06%2F%25E3%2580%2590%25E5%25A5%25BD%25E4%25B9%25A6%25E6%258E%25A8%25E8%258D%2590%25E3%2580%2591programming-microsoft-asp-net-mvc.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Fmy-baby-was-came-out.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/07/20/18135656.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">【好书推荐】Programming Microsoft ASP.NET MVC</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="善用Google Reader!" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F01%2Fgood-for-google-reader.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Fmy-baby-was-came-out.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/25/6474952.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">善用Google Reader!</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="非常非常Cool的一段Flash动画！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F10%2Fcool-flash-animation.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Fmy-baby-was-came-out.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/08/07/21533063.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">非常非常Cool的一段Flash动画！</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="让 PowerDesigner 支持 SQLite!" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F06%2F%25E8%25AE%25A9-powerdesigner-%25E6%2594%25AF%25E6%258C%2581-sqlite.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Fmy-baby-was-came-out.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/07/21/18372744.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">让 PowerDesigner 支持 SQLite!</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="为你的网站加速，使用国外免费CDN！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F08%2Fto-speed-up-your-website-free-use-cdn.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Fmy-baby-was-came-out.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/08/12/22303833.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">为你的网站加速，使用国外免费CDN！</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/04/my-baby-was-came-out.html/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Titanium TiMVC 之功能扩展 &#8212; Redux</title>
		<link>http://www.coderblog.in/2012/04/titanium-timvc-framework-redux.html</link>
		<comments>http://www.coderblog.in/2012/04/titanium-timvc-framework-redux.html#comments</comments>
		<pubDate>Tue, 10 Apr 2012 12:18:26 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[Titanium]]></category>
		<category><![CDATA[移动开发]]></category>
		<category><![CDATA[Redux]]></category>
		<category><![CDATA[TiMVC]]></category>
		<category><![CDATA[框架]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1900</guid>
		<description><![CDATA[之前向大家介绍了关于 TiMVC 的使用，想必对此框架与有一定的认识了，这次要介绍的是一个出色的第三方开源类库在TiMVC里的使用 。这个类库就是 Redux，官方下载地址为： https://github.com/dawsontoth/Appcelerator-Titanium-Redux 关于如何将第三方类库整合到TiMVC里，大家可看我之前发的文章：《Titanium TiMVC 之功能扩展 – &#8211; 添加第三方类库的使用》。OK，当一切设置好后，就先让我们看看到底Redux类库有什么好处吧。根据官方的文档和使用说明，我们可以知道其主要有以下功能： 1.简化UI的创建语法。如创建一个View or Window时候，不需要用到 Ti.UI.createView or Ti.UI.createWindow这样的长语法了，而可以直接使用简单的语法进行创建，如： 1var view = View&#40;&#123;className:'view'&#125;&#41;; 这种创建方式适合现有所有UI使用，而且就算有新的UI出来，你甚至也可以方便地自己添加进去，这也是此类库的一个特性，可自定义所有类库的动态创建语法。 2.简化的事件绑定。在Ti官方语法中，要为一个按钮添加事件，需要以下写法： 123button.addEventListener&#40;'click', function&#40;&#41; &#123; alert&#40;'clicked!'&#41;; &#125;&#41;; button.fireEvent&#40;'click'&#41;; button.fireEvent&#40;'click', &#123;src: 'me'&#125;&#41;; 而使用了Redux后，只需像jQuery的语法来绑定即可： 1$&#40;button&#41;.click&#40;function&#40;&#41; &#123; alert&#40;'clicked!'&#41;; &#125;&#41; .click&#40;&#41; .click&#40;&#123;src: 'me'&#125;&#41;; 呵，看到了吧，而且还支持链语法哦！对于自定义事件的绑定，一般 Ti 里写法是： 1button.addEventListener&#40;'myCustomEvent', function&#40;&#41; &#123; &#125;&#41;; 而使用Redux，则可以定义一次就不断重复使用： 12$.fn.addEventBinder&#40;'myCustomEvent'&#41;; // 只需定义一次，就可以不断重复使用了 $&#40;button&#41;.myCustomEvent&#40;function&#40;&#41; &#123; &#125;&#41;; [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Titanium TiMVC 之功能扩展 - - 添加第三方类库的使用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-install-third-part-lib.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Ftitanium-timvc-framework-redux.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium TiMVC 之功能扩展 - - 添加第三方类库的使用</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium MVC框架 - - 介绍与使用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-framework-introduce-and-use.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Ftitanium-timvc-framework-redux.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/30/18453276.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium MVC框架 - - 介绍与使用</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="使用Titanium开发android时，将tabbar放到屏幕下方" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fget-a-bottom-tabbar-on-android-in-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Ftitanium-timvc-framework-redux.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/07/16715804.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">使用Titanium开发android时，将tabbar放到屏幕下方</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="PhoneGap VS Titanium" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F12%2Fphonegap-vs-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Ftitanium-timvc-framework-redux.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">PhoneGap VS Titanium</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Workspace Cannot Be Created with Titanium Studio" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fworkspace-cannot-be-created-with-titanium-studio.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Ftitanium-timvc-framework-redux.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Workspace Cannot Be Created with Titanium Studio</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/04/titanium-timvc-framework-redux.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Titanium TiMVC 之功能扩展 &#8211; - 添加第三方类库的使用</title>
		<link>http://www.coderblog.in/2012/03/titanium-mvc-install-third-part-lib.html</link>
		<comments>http://www.coderblog.in/2012/03/titanium-mvc-install-third-part-lib.html#comments</comments>
		<pubDate>Sat, 31 Mar 2012 13:17:38 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[Titanium]]></category>
		<category><![CDATA[移动开发]]></category>
		<category><![CDATA[TiMVC]]></category>
		<category><![CDATA[扩展]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1894</guid>
		<description><![CDATA[在上一篇文章《Titanium MVC框架 – &#8211; 介绍与使用》中介绍了 TiMVC 的基本结构和使用，虽然此框架整体上来说已比较清晰完善了，但在实际使用中，其配置选项感觉有些鸡肋，因为这些配置一般都不需更改。 现在我介绍的就是如何自己添加需要的配置，如本篇将介绍的是如何方便地将第三方类库整合到此框架中使用，最终目的是只需在config里添加一个新的类库名称就可以自动加载，然后在框架的控制器、视图和模块里任意调用 先看看我们最终要实现的效果，如我要添加一个 underscore.js 和 redux.js 2个类库到框架中，那么只需在配置里添加以下代码： 123456789101112131415/** * Vendor folder path * @type String */ vendorPath : &#34;mvc/vendor/&#34;, /** * Load vendor * @type array */ loadVendor : &#91;&#123; &#160; &#160; &#160;name : &#34;underscore&#34; &#125;,&#123; &#160; &#160; &#160;name : &#34;redux&#34; &#125;&#93;, 以上我将第三方类库都放到 mvc/vendor目录下，然后要将2个类库引用到项目中，这时只需填写类库文件名即可，这样配置的话就可以非常方便地引入不同的类库了 。接下来就看看如何实现吧： 要实现以上配置，就需要修改核心文件 core/timvc.js ，其实只需在此文件里添加以下代码： 12345678910111213141516171819202122&#160; [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Titanium TiMVC 之功能扩展 -- Redux" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Ftitanium-timvc-framework-redux.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-install-third-part-lib.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium TiMVC 之功能扩展 -- Redux</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium MVC框架 - - 介绍与使用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-framework-introduce-and-use.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-install-third-part-lib.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/30/18453276.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium MVC框架 - - 介绍与使用</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium里使用JSS" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fuse-jss-within-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-install-third-part-lib.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium里使用JSS</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Workspace Cannot Be Created with Titanium Studio" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fworkspace-cannot-be-created-with-titanium-studio.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-install-third-part-lib.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Workspace Cannot Be Created with Titanium Studio</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium使用TabGroup进行全屏布局" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fuse-fullscreen-tabgroup-layout-within-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-install-third-part-lib.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium使用TabGroup进行全屏布局</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/03/titanium-mvc-install-third-part-lib.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Titanium MVC框架 &#8211; - 介绍与使用</title>
		<link>http://www.coderblog.in/2012/03/titanium-mvc-framework-introduce-and-use.html</link>
		<comments>http://www.coderblog.in/2012/03/titanium-mvc-framework-introduce-and-use.html#comments</comments>
		<pubDate>Thu, 29 Mar 2012 16:09:41 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[Titanium]]></category>
		<category><![CDATA[移动开发]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[TiMVC]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1884</guid>
		<description><![CDATA[又有很长段时间没写东西了，这段时间一有空就都在研究Titanium的MVC框架，因为几个项目做下来，发现一套好的框架实在是很重要，所以这也成为了当务之急！ Titanium本身已做得很不错了，所以网上也已有一些优秀的MVC框架和插件等，不过试了下，感觉比较好用的就是一个叫 TiMVC 的框架，这个在官方market上就有，可以免费下载。 之所以选择这个框架，是因为发现其架构清晰，有非常具体的MVC层次，使用起来方便，上手容易，而且更重要的是经过上真机测试也没什么问题，对2个系统（ios &#38; android）的兼容性也比较好 。由于官方网站上并没有详细的使用说明，只是简单地例出了层次目录和文件是什么，所以具体使用和功能我也只有直接查看其源码，经过对其源码越深入的分析，就越感觉其用起来挺顺手，呵呵～～ 要学习一个框架，先要搞清楚的是其整体架构，以下就是整个 TiMVC 的项目结构： 上图可以看到在MVC目录下的层次结构是比较清楚的： assets: 这个是资源文件目录，包括图片和数据库文件的存放。 components: 这个是组件目录，包括框架里的核心组件，一般不需修改这里的文件。 controllers: 控制器目录，包含了项目里所需用到的控制器，根据需要自己创建。 core: 此为框架核心文件目录，其他目录的代码均要以此为中心啦，呵呵。 models: 数据模型目录，主要是与数据库交互的实体类的操作。 views: 视图目录，里面每个子目录均对应一个控制器名称，子目录里的文件就是具体的action了。 OK，介绍完层次结构后，就说说其原理和使用。MVC的原理就不需我多说啦，如果不了解MVC模式的话，可上google看看。首先说一下此框架的配置，打开 app.js 文件就可以看到一大堆配置信息，这也是我喜欢使用它的原因之一，可以有很灵活的配置选项，非常方便哦！ 不过不得不说的是，虽然其配置项不少，但基本上都不需要去更改的，大部分是框架路径的配置，所以如果只用其默认这些配置， 一般来说其实意义不是很大，我之所以使用它，就是因为我可以对这些配置信息进行扩展，以达到真正方便控制整个项目流程的效果，这个在以后的文章中我会慢慢介绍 现在说一下框架的运行流程和使用吧。核心代码分析暂且不说，直接打开controller目录下的main.js文件，这个是主要的入口文件，其是继承 components/controller.js 文件的，在main.js里定义了一个 action &#8212; home： 12345678910111213this.home = function&#40;r&#41;&#123; &#160; &#160; &#160; &#160; //build table data to be used in table ui &#160; &#160; &#160; &#160; [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="ASP.NET MVC为字段设置多语言显示" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F05%2Fuse-multiple-languages-for-asp-net-mvc-metadata-field.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-framework-introduce-and-use.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">ASP.NET MVC为字段设置多语言显示</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium TiMVC 之功能扩展 - - 添加第三方类库的使用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-install-third-part-lib.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-framework-introduce-and-use.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium TiMVC 之功能扩展 - - 添加第三方类库的使用</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium TiMVC 之功能扩展 -- Redux" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Ftitanium-timvc-framework-redux.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-framework-introduce-and-use.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium TiMVC 之功能扩展 -- Redux</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="在ASP.NET MVC下使用frameset框架！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F05%2Fuse-the-frameset-in-the-asp-net-mvc.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-framework-introduce-and-use.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在ASP.NET MVC下使用frameset框架！</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="【好书推荐】Programming Microsoft ASP.NET MVC" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F06%2F%25E3%2580%2590%25E5%25A5%25BD%25E4%25B9%25A6%25E6%258E%25A8%25E8%258D%2590%25E3%2580%2591programming-microsoft-asp-net-mvc.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-framework-introduce-and-use.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/07/20/18135656.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">【好书推荐】Programming Microsoft ASP.NET MVC</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/03/titanium-mvc-framework-introduce-and-use.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Titanium使用TabGroup进行全屏布局</title>
		<link>http://www.coderblog.in/2012/03/use-fullscreen-tabgroup-layout-within-titanium.html</link>
		<comments>http://www.coderblog.in/2012/03/use-fullscreen-tabgroup-layout-within-titanium.html#comments</comments>
		<pubDate>Thu, 15 Mar 2012 14:55:12 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[Titanium]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[TabGroup]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1877</guid>
		<description><![CDATA[不知大家有没遇到在使用Titanium的时候对界面之间的切换问题？就是如何才能有比较好的效果进行界面之间的切换呢？如果是ios系统的话，在切换的时候可以使用 2DMatrix 或者 3DMatrix 做出漂亮的效果，或者ios里本身也有不错的动画效果，但如果是换成 android 后，这些效果都不能用，由于界面切换也是比较底层的东西，想比较好地兼容2种系统，比较好的方法就是用 TabGroup 进行布局了，这样的话在2种系统下都可以有基本的动画效果，而且几乎官方的 demo 都是基于 TabGroup 下完成的。 不过如果整个应用都使用 TabGroup 来布局的话，有个比较麻烦的问题就是所有界面都必须被一个 TabBar包住了，iphone里还好些，但感觉 android 下那个实在比较难看（呵，个人意见啦），而且如果一个界面比较复杂多样的应用，这样包住显示也太不合适了，有没办法将这个 TabBar 整个隐藏掉呢？这样就等于是全屏的应用，用户看不出是被 TabGroup 包住了，而且界面切换起来也比较方便。 办法当然是有啦，呵呵，以下就为大家介绍分别在2个系统下的做法： ios里要实现隐藏 TabBar 比较简单，只需设置 TabGroup 的 Top 为一个适当的负数即可，如下： 呵呵，原理不需我说你也知道了吧 至于 android 嘛，这个比较麻烦，我当时在官方论坛里找了好久都没有好的解决办法，后来终于找到了 rensanning 的一篇文章，他所介绍的方法其实也很简单，只需设置好 android 的布局文件就可以了，不过说来也巧，他这篇文章开头居然和我之前发的《使用Titanium开发android时，将tabbar放到屏幕下方》的几乎是一样的，只是其他文章后半部分所说的就为我解决了以上的问题 去掉 android TabBar 的方法就是先按我上篇文章《使用Titanium开发android时，将tabbar放到屏幕下方》里说的步骤做一篇，然后修改布局文件里的代码 然后记得要clean一次项目，再运行就可以看到全屏的效果了<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="使用Titanium开发android时，将tabbar放到屏幕下方" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fget-a-bottom-tabbar-on-android-in-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fuse-fullscreen-tabgroup-layout-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/07/16715804.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">使用Titanium开发android时，将tabbar放到屏幕下方</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="PhoneGap VS Titanium" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F12%2Fphonegap-vs-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fuse-fullscreen-tabgroup-layout-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">PhoneGap VS Titanium</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Workspace Cannot Be Created with Titanium Studio" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fworkspace-cannot-be-created-with-titanium-studio.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fuse-fullscreen-tabgroup-layout-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Workspace Cannot Be Created with Titanium Studio</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="在Titanium里实现多语言" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fsupport-multiple-languages-with-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fuse-fullscreen-tabgroup-layout-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在Titanium里实现多语言</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium TiMVC 之功能扩展 - - 添加第三方类库的使用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-install-third-part-lib.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fuse-fullscreen-tabgroup-layout-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium TiMVC 之功能扩展 - - 添加第三方类库的使用</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/03/use-fullscreen-tabgroup-layout-within-titanium.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用Titanium开发android时，将tabbar放到屏幕下方</title>
		<link>http://www.coderblog.in/2012/03/get-a-bottom-tabbar-on-android-in-titanium.html</link>
		<comments>http://www.coderblog.in/2012/03/get-a-bottom-tabbar-on-android-in-titanium.html#comments</comments>
		<pubDate>Wed, 07 Mar 2012 14:57:04 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[Titanium]]></category>
		<category><![CDATA[移动开发]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1871</guid>
		<description><![CDATA[标题中说的tabbar就是指一个tabGroup，默认情况下，android都是放在顶部的，但在ios里默认是显示在下方的，以下就向大家介绍一个在android里将此tabbar放在下方的方法。其实我也是看了这篇文章才知道的 :) 为了测试，先直接创建一个Titanium项目，使用默认向导，就会帮你创建好一个带了tabGroup的demo项目了。OK，接下来要实现以上效果，其实也很简单，只需在你的项目根目录里添加一个android的 xml布局文件就可以了，这个xml文件将命名为： titanium_tabgroup.xml 点击此处可获取此文件代码。 接下来就是要在你的项目根目录下创建以下路径和目录： /platform/android/res/layout/ 创建完的项目结构如下： 然后再重新clean一下项目，再次运行，就可以马上看到效果了：<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Workspace Cannot Be Created with Titanium Studio" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fworkspace-cannot-be-created-with-titanium-studio.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fget-a-bottom-tabbar-on-android-in-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Workspace Cannot Be Created with Titanium Studio</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium使用TabGroup进行全屏布局" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fuse-fullscreen-tabgroup-layout-within-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fget-a-bottom-tabbar-on-android-in-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium使用TabGroup进行全屏布局</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="PhoneGap VS Titanium" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F12%2Fphonegap-vs-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fget-a-bottom-tabbar-on-android-in-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">PhoneGap VS Titanium</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium TiMVC 之功能扩展 -- Redux" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F04%2Ftitanium-timvc-framework-redux.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fget-a-bottom-tabbar-on-android-in-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium TiMVC 之功能扩展 -- Redux</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium里使用JSS" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fuse-jss-within-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fget-a-bottom-tabbar-on-android-in-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium里使用JSS</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/03/get-a-bottom-tabbar-on-android-in-titanium.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>又要搬家了～</title>
		<link>http://www.coderblog.in/2012/02/movement.html</link>
		<comments>http://www.coderblog.in/2012/02/movement.html#comments</comments>
		<pubDate>Thu, 23 Feb 2012 13:04:19 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[心情日志]]></category>
		<category><![CDATA[搬家]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1868</guid>
		<description><![CDATA[随着香港这边的物价不断上涨，现在房子的租金也涨了，于是也乘这个时候看看有没更好的房子租啦。 之前看了几次，没想到现在这边租房都贵了很多，租金基本上都5字头（5K），而且空间也小的可怜，像我们这种没钱人家，只能租些小房子了 。虽说4，5K的租金，但一般房子最多也只有100－150尺（大概就10到15平方吧），郁闷吧，呵。不过为了生活也没办法了。 找了几天也没合适的，本来想放弃的，但昨天刚收到中介的电话有一家不错的，去看了下感觉还真OK，至少比我现在的大一点（唉，就一点），更重要的是价钱也才3K多，嗯，既然看中就不要放过啦，今天就马上去下了订金，下星期就要准备搬家罗，呵呵～<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="动态编译C#代码！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F03%2Fdynamic-compile-c-shap-code.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fmovement.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/25/6473988.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">动态编译C#代码！</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="【好书推荐】Head First C#, 2nd Edition" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F08%2Fhead-first-c-2nd-edition.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fmovement.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/25/6475028.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">【好书推荐】Head First C#, 2nd Edition</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="善用Google Reader!" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F01%2Fgood-for-google-reader.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fmovement.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/25/6474952.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">善用Google Reader!</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="荷花展！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F06%2Flotus-show.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fmovement.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/06/11/11759918.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">荷花展！</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="推荐一个国外的英文歌MP3搜索网站！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F04%2Fbeemp3-com.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fmovement.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/25/6473986.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">推荐一个国外的英文歌MP3搜索网站！</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/02/movement.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>没想到现在电信路由器还要做限制！</title>
		<link>http://www.coderblog.in/2012/02/the-telecommunications-router-to-be-limit%ef%bc%81.html</link>
		<comments>http://www.coderblog.in/2012/02/the-telecommunications-router-to-be-limit%ef%bc%81.html#comments</comments>
		<pubDate>Sun, 12 Feb 2012 05:30:02 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[心情日志]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1863</guid>
		<description><![CDATA[前几天刚换了个ADSL的套餐，就连modem都换了。开始还感觉不错，因为现在用的这个modem还包括了路由器，就是说我之前的无线路由也可以省了，一个搞掂！ 但后来发现事情并不是这么理想啊~~ 原来现在电信的modem虽然带了路由功能，但却做了不少限制，默认的管理帐号并不是超级管理员，有很多选项和功能都隐藏或者用不了。本来基本上网OK也没什么了，可问题是连上路由后还必须要用拨号软件才可上网，因此如果想要用手机连接wifi上网就用不了啦，这对我来说可郁闷了，平常可是经常要使用iphone上网的，这都用不了怎么行呢！ 由于是上网搜索，发现虽然有很多说只要用超级用户登录进去后就能搞掂，可惜的是网上流行出来所谓默认的超级用户帐号密码都已用不了啦，估计是被电信给修改过了，试过各种办法都不行，最后还直接按了 reset 按钮，结果还出了问题，网络都连不上~~ 我还以为是路由器坏了，只好让电信的人上门啦，但奇怪的是等电信的人来后，居然又可以上了（他并未做任何操作），那个郁闷啊~~ 最后没办法了，只好花钱让人弄了，呵，反正也不贵，只需上淘宝花10元，就可让人远程即时搞掂了！他是有一个软件，只要运行一次就可将路由器升级（或者是恢复出厂设置），这时就可以使用网上的超级帐号登录了，只要有超级帐号权限，那再简单设置一下，问题就马上解决了！ 现在感觉电信真是越来越黑，唉，不过所谓上有政策，下有对策，这些伎俩怎么会困得住聪明的网民呢？ （同时这个也让我想起了window的破解和iphone的越狱&#8230;&#8230;)<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="在日志文章里添加公告和提醒等样式框" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F04%2Fadd-notice-and-alter-style-into-blog.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fthe-telecommunications-router-to-be-limit%25EF%25BC%2581.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/27/6925466.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在日志文章里添加公告和提醒等样式框</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="坚持每天学习英语！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F01%2Fstudy-english.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fthe-telecommunications-router-to-be-limit%25EF%25BC%2581.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/25/6477978.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">坚持每天学习英语！</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="2个软件小技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F04%2Ftwo-technique-of-software.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fthe-telecommunications-router-to-be-limit%25EF%25BC%2581.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/25/6473985.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">2个软件小技巧</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="一个PHP特郁闷的问题，在IIS7上全站重定向到首页了！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F03%2Fphp-redirect-to-index-within-iis7.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fthe-telecommunications-router-to-be-limit%25EF%25BC%2581.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/25/6473989.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">一个PHP特郁闷的问题，在IIS7上全站重定向到首页了！</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="【好书推荐】Head First C#, 2nd Edition" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2010%2F08%2Fhead-first-c-2nd-edition.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F02%2Fthe-telecommunications-router-to-be-limit%25EF%25BC%2581.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/25/6475028.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">【好书推荐】Head First C#, 2nd Edition</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/02/the-telecommunications-router-to-be-limit%ef%bc%81.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Titanium里使用JSS</title>
		<link>http://www.coderblog.in/2012/01/use-jss-within-titanium.html</link>
		<comments>http://www.coderblog.in/2012/01/use-jss-within-titanium.html#comments</comments>
		<pubDate>Tue, 31 Jan 2012 15:28:13 +0000</pubDate>
		<dc:creator>Winson</dc:creator>
				<category><![CDATA[Titanium]]></category>
		<category><![CDATA[移动开发]]></category>
		<category><![CDATA[JSS]]></category>

		<guid isPermaLink="false">http://www.coderblog.in/?p=1860</guid>
		<description><![CDATA[只要是做过网页的朋友，就应该知道CSS，但对于JSS，不知道了解的人又多不多呢？ 到底什么是JSS呢？一个比较完整的定义，JSS是一种新的样式语言，它在CSS标准语法的基础上增加了常量、函数、分组、封装以及Hack等特性。有助于提高前端开发效率，减少代码体积。这里我主要是说一下如何在Titanium里使用JSS，关于JSS的更多细节和用法，大家可到http://classtyle.com/jss/了解详情！ Titanium本身就支持JSS文件，使用起来也非常简单，不过必须要注意以下2点： 1.JSS文件必须要与相应的JS文件同名。请看以下例子： 如一个项目里有多个JS文件，分别是 app.js, home.js, profile.js，这时你想为 home.js 文件里的代码套用JSS，那么就必须建立一个名为 home.jss 的文件。由于Titanium同时支持多种移动设备，这时为了区分不同设备的JSS文件，可以在JSS文件名上添加设备名，如要为 iphone 应用的JSS，那么就应该写成 home.iphone.jss。 但如果你的项目比较大，JS文件很多的话，将所有JSS都放到根目录就感觉太乱了，解决办法是将对应的JSS文件放到设备目录里，titanium默认就会创建了 android 和 iphone 这2个目录，这时你只需将jss放到iphone or android目录下就可以，因为已归档了目录，所以jss文件名就不需再加上设备名了，这样管理起来也会方便很多 2.修改或者添加了JSS文件后，必须重新clean一次项目，然后重新运行才能生效。 也许Titanium是一次性将JSS都编译好了，所以如果你不做一次清除工作，无论你如何修改JSS都不会生效的，这个当时我就被忽悠了一把，这么重要的一步，官网上居然都没提及，弄得我刚开始弄了很久都没效果出来，还以为用不了 顺便一提的是，你还可以直接在JSS文件里写Titanium控件的一些样式代码，如指定一个TableViewRow控件的高度和字体等： .rowStyle{ rowHeight:20, font-size:30 } 另外其实每个控件都支持 className 这一属性，虽然很多并没有直接在API文档写出来，但一般只需直接写上就可生效了，当然你也可以用控件的id去应用其JSS，用法就和CSS一样，在此就不多说了<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="使用Titanium开发android时，将tabbar放到屏幕下方" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fget-a-bottom-tabbar-on-android-in-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fuse-jss-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/07/16715804.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">使用Titanium开发android时，将tabbar放到屏幕下方</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="PhoneGap VS Titanium" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2011%2F12%2Fphonegap-vs-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fuse-jss-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">PhoneGap VS Titanium</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Workspace Cannot Be Created with Titanium Studio" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fworkspace-cannot-be-created-with-titanium-studio.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fuse-jss-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Workspace Cannot Be Created with Titanium Studio</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium使用TabGroup进行全屏布局" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Fuse-fullscreen-tabgroup-layout-within-titanium.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fuse-jss-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium使用TabGroup进行全屏布局</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Titanium TiMVC 之功能扩展 - - 添加第三方类库的使用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.coderblog.in%2F2012%2F03%2Ftitanium-mvc-install-third-part-lib.html&from=http%3A%2F%2Fwww.coderblog.in%2F2012%2F01%2Fuse-jss-within-titanium.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Titanium TiMVC 之功能扩展 - - 添加第三方类库的使用</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<wfw:commentRss>http://www.coderblog.in/2012/01/use-jss-within-titanium.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

