2008年5月22日
摘要: 转载自:http://popkee2007.blog.163.com/blog/static/279882772007412104638561/ 在每个里程碑,站点负担都会超过底层系统部分组件的最大载荷,特别是数据库和存储系统。接着,功能出现问题,用户失声尖叫。最后,技术团队必须为此修订系统策略。 虽然自2005年早期,站点账户数超过7百万后,系统架构到目前为止保持了相对稳定,但MySp... 阅读全文
posted @ 2008-05-22 10:45 红马天下 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 原始作者不明,出处不明。 当我第一次知道“重构”这个词时,直觉告诉我,这是一项非常重要的技术。因为程序员写代码,虽然越来越趋于工程化,但就程序本身,还是有艺术之美的存在的。曹雪芹先生写《红楼梦》,“批阅十载,增删五次”,留下了恢弘巨著;要写出一个比较优美经典的程序,同样需要精雕细琢,提高其质量,这就是重构。 我手头的这本《重构》,是Martin Fowler主笔的,另外有四位重... 阅读全文
posted @ 2008-05-22 10:28 红马天下 阅读(561) 评论(0) 推荐(0) 编辑
摘要: 出处:http://blog.assembla.com/assemblablog/tabid/12618/bid/4996/default.aspx风 相关文章: 《争论:是否应该避免架构重写?》 3 Options for Rebuilding Your Software Without Risking Death Posted by Andy Singleton on Mon, Apr 28... 阅读全文
posted @ 2008-05-22 10:18 红马天下 阅读(353) 评论(0) 推荐(0) 编辑
  2008年5月21日
摘要: 作者:matt@mattberseth.com 作者:matt@mattberseth.com 出处:http://mattberseth.com/blog/2008/05/aspnet_ajax_progress_bar_contr.html ASP.NET AJAX Progress Bar Control If you use AJAX in your web app's, you n... 阅读全文
posted @ 2008-05-21 14:44 红马天下 阅读(5041) 评论(0) 推荐(0) 编辑
  2008年5月15日
摘要: Due to browsers' prohibition on cross domain XMLHTTP calls, all AJAX websites must have a server side proxy to fetch content from external domains like Flickr or Digg. From the client-side JavaScript code, an XMLHTTP call goes to the server-side proxy hosted on the same domain, and then the proxy downloads the content from the external server and sends back to the browser. In general, all AJAX websites on the Internet that are showing content from external domains are following this proxy approa 阅读全文
posted @ 2008-05-15 09:45 红马天下 阅读(834) 评论(0) 推荐(0) 编辑
  2008年4月30日
摘要: 现在要实现的是给Web编辑器添加控件工具栏,既可以通过双击添加控件到编辑器,也可以通过拖拽的方式添加,类似于Visual Studio中的设计器。双击添加容易实现,麻烦的是拖拽。幸好网上查到相关文档,按照《Internet Explorer 编程》通过实现一个IDropTarget,有两种可能的方案: 第一种方案,在IDropTarget的函数DragEnter、DragOver中... 阅读全文
posted @ 2008-04-30 16:52 红马天下 阅读(573) 评论(0) 推荐(0) 编辑
  2008年4月29日
摘要: 很精彩的博文OLE Drag&Drop,详细描述了ole拖放的相关知识。 枚举IDataObject支持的数据格式: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->IEnumFORMATETC *pEnum; ... 阅读全文
posted @ 2008-04-29 11:00 红马天下 阅读(334) 评论(0) 推荐(0) 编辑
  2008年4月25日
摘要: eXtreme Toolkit(以下简称XTP)的功能强大毋庸置疑,但是虽然号称与MFC完美兼容,很多地方仍然区别很大,当我将原来的MFC程序改用eXtreme Toolkit时,经常出现若干非常奇怪的Bug,非常讨厌! 阅读全文
posted @ 2008-04-25 17:49 红马天下 阅读(1030) 评论(0) 推荐(0) 编辑
  2008年4月23日
摘要: 出处:How to support multiple file extensions with one document type in Visual C++ MFC applications How to support multiple file extensions with one document type in Visual C++ MFC applications View pro... 阅读全文
posted @ 2008-04-23 21:46 红马天下 阅读(614) 评论(0) 推荐(0) 编辑
  2008年4月22日
摘要: eXtreme Toolkit是很好的界面库,也有中文资源,但在使用中对中文的支持不好,使用前仍然需要我们做一些工作,才能方便的使用中文。 阅读全文
posted @ 2008-04-22 19:17 红马天下 阅读(3075) 评论(1) 推荐(0) 编辑