<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[PrivateBoy的空间]]></title><description><![CDATA[海深凭鱼跃，天高任鸟翔]]></description><link>https://blog.csdn.net/PrivateBoy</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; PrivateBoy]]></copyright><item><title><![CDATA[RGB16 转换Rgb32]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/122969867</link><guid>https://blog.csdn.net/PrivateBoy/article/details/122969867</guid><author>PrivateBoy</author><pubDate>Wed, 16 Feb 2022 18:53:22 +0800</pubDate><description><![CDATA[unsigned long rgb16_to_rgb32(unsigned short a) { 
/* 1. Extract the red, green and blue values */ 
/* from rrrr rggg gggb bbbb */ 
unsigned long r = (a &amp; 0xF800) &gt;11; 
unsigned long g = (a &amp; 0x07E0) &gt;5; 
unsigned long b = (a &amp; 0x001F);...]]></description><category></category></item><item><title><![CDATA[大型网站性能优化要点]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/7886030</link><guid>https://blog.csdn.net/PrivateBoy/article/details/7886030</guid><author>PrivateBoy</author><pubDate>Mon, 20 Aug 2012 12:50:49 +0800</pubDate><description><![CDATA[相信互联网已经越来越成为人们生活中不可或缺的一部分。ajax，flex等等富客户端的应用使得人们越加“幸福”地体验着许多原先只能在C/S实现的功能。比如Google机会已经把最基本的office应用都搬到了互联网上。当然便利的同时毫无疑问的也使页面的速度越来越慢。自己是做前端开发的，在性能方面，根据yahoo的调查，后台只占5%，而前端高达95%之多，其中有88%的东西是可以优化的。


以]]></description><category></category></item><item><title><![CDATA[大型网站性能优化 二 页面(HTML)优化的方法]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/7886014</link><guid>https://blog.csdn.net/PrivateBoy/article/details/7886014</guid><author>PrivateBoy</author><pubDate>Mon, 20 Aug 2012 12:43:00 +0800</pubDate><description><![CDATA[页面(HTML)优化的方法
除了语言层面上进行优化外，对Web开发，HTML的优化将很大程度上减轻服务器的负载，提供网站的性能
1）. 减少HTTP请求数。
打开网页，浏览器会发出很多请求，图片，脚本，每个对象的加载都需要花时间， 需要减负载。
1. 合并CSS,Js文件 ，减少Http的请求数
2. 合并框架图片以及相当变动较少的图片，合成一张。有时直接用Css完成。
3. 合理的使]]></description><category></category></item><item><title><![CDATA[大型网站性能优化 一 C#高效编码的优化 系统]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/7886011</link><guid>https://blog.csdn.net/PrivateBoy/article/details/7886011</guid><author>PrivateBoy</author><pubDate>Mon, 20 Aug 2012 12:42:15 +0800</pubDate><description><![CDATA[苹果树的故事，成才才是最重要的。
生活需要精打细算，大型门户网站要考虑大量用户的访问，高并发请求方面。这时高性能服务器，数据库当然重要。
更需要我们学会“精打细算”，从软的方面下功夫。
C#高效编码的优化
1. Foreach 比 For 性能高30%
2. 避免是使用ArrayList, 因为任何对象到ArrayList都有封装为Object,出来还要拆箱。 
   用泛型去掉
3]]></description><category></category></item><item><title><![CDATA[C# 编写COM]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/6149508</link><guid>https://blog.csdn.net/PrivateBoy/article/details/6149508</guid><author>PrivateBoy</author><pubDate>Tue, 18 Jan 2011 13:44:00 +0800</pubDate><description><![CDATA[ 一. 项目属性     1.程序集信息：使COM可见     2.为COM互操作注册二. Codeusing System;
using System.Text;
using System.Data;
using System.IO;
using System.Xml;
using System.IO.Compression;
using System.Collections.Generic;
using System.Runtime.InteropServices; 
using Sys]]></description><category></category></item><item><title><![CDATA[纯 js 的 Ajax ]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/4220707</link><guid>https://blog.csdn.net/PrivateBoy/article/details/4220707</guid><author>PrivateBoy</author><pubDate>Wed, 27 May 2009 15:53:00 +0800</pubDate><description><![CDATA[//Ajax是建立在XMLHttp组件下的技术，本例详细语法参考压缩包内xmlhttp手册var xmlHttp//建立XMLHTTP对象调用MS的ActiveXObject方法，如果成功（IE浏览器）则使用MS ActiveX实例化创建一个XMLHTTP对象 //非IE则转用建立一个本地Javascript对象的XMLHttp对象 （此方法确保不同浏览器下对AJAX的支持）function ]]></description><category></category></item><item><title><![CDATA[你必须知道的C#的25个基础概念]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/3877436</link><guid>https://blog.csdn.net/PrivateBoy/article/details/3877436</guid><author>PrivateBoy</author><pubDate>Wed, 11 Feb 2009 15:16:00 +0800</pubDate><description><![CDATA[1.静态变量和非静态变量的区别？ 2.const 和 static readonly 区别？ 3.extern 是什么意思？ 4.abstract 是什么意思？ 5.internal 修饰符起什么作用？ 6.sealed 修饰符是干什么的？ 7.override 和 overload 的区别？ 8.什么是索引指示器？ 9.new 修饰符是起什么作用？ 10.this 关键字的含义？ 11.可以使用]]></description><category></category></item><item><title><![CDATA[ 大型网站架构不得不考虑的10个问题 ]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/3858048</link><guid>https://blog.csdn.net/PrivateBoy/article/details/3858048</guid><author>PrivateBoy</author><pubDate>Mon, 02 Feb 2009 11:36:00 +0800</pubDate><description><![CDATA[ 这里的大型网站架构只包括高互动性高交互性的数据型大型网站，基于大家众所周知的原因，我们就不谈新闻类和一些依靠HTML静态化就可以实现的架构了，我们以高负载高数据交换高数据流动性的网站为例，比如海内，开心网等类似的web2.0系列架构。我们这里不讨论是PHP还是JSP或者.NET环境，我们从架构的方面去看问题，实现语言方面并不是问题，语言的优势在于实现而不是好坏，不论你选择任何语言，架构都是必]]></description><category></category></item><item><title><![CDATA[按照英文单词排序]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/2845228</link><guid>https://blog.csdn.net/PrivateBoy/article/details/2845228</guid><author>PrivateBoy</author><pubDate>Thu, 28 Aug 2008 19:15:00 +0800</pubDate><description><![CDATA[#include  #include  using namespace std;void strSort(char *p[],size_t nSize){    char *pch;    for(size_t i=0;i!=nSize-1;++i)    {        for(size_t j=i+1;j!=nSize;++j)        ]]></description><category></category></item><item><title><![CDATA[快速排序(quicksort)]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/2845181</link><guid>https://blog.csdn.net/PrivateBoy/article/details/2845181</guid><author>PrivateBoy</author><pubDate>Thu, 28 Aug 2008 18:59:00 +0800</pubDate><description><![CDATA[快速排序(quicksort)是分治法的典型例子，它的主要思想是将一个待排序的数组以数组的某一个元素X为轴，使这个轴的左侧元素都比X大，而右侧元素都比X小(从大到小排序)。然后以这个X在变换后数组的位置i分为左右两个子数组，再分别进行快速排序，直到子数组中只有一个元素为止。快速排序算法如下Code highlighting produced by Actipro CodeHighlig]]></description><category></category></item><item><title><![CDATA[该死的Paypal API]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/2676823</link><guid>https://blog.csdn.net/PrivateBoy/article/details/2676823</guid><author>PrivateBoy</author><pubDate>Sat, 19 Jul 2008 10:26:00 +0800</pubDate><description><![CDATA[Paypal IPN接口开发小结最近终于搞定了该死的Paypal ipn，特地在此留下点东西备忘。所以paypal ipn（Instant Payment Notification），就是Paypal开发的一种能主动通知第三方卖家系统交易状态的一种机制。IPN的原理很简单，就是当产生了一个交易之后，交易状态发生变化时，如用户已经付款、或者退款、撤销时，Paypal利用常用的HTTP POST方]]></description><category></category></item><item><title><![CDATA[ASC码对照表]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/2647687</link><guid>https://blog.csdn.net/PrivateBoy/article/details/2647687</guid><author>PrivateBoy</author><pubDate>Mon, 14 Jul 2008 11:41:00 +0800</pubDate><description><![CDATA[ ASCII码键盘ASCII 码键盘ASCII 码键盘ASCII 码键盘27ESC32SPACE33!34"35#36$37%38&39&apos;40(41)42*43+44&apos;45]]></description><category></category></item><item><title><![CDATA[模拟动态]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/2608888</link><guid>https://blog.csdn.net/PrivateBoy/article/details/2608888</guid><author>PrivateBoy</author><pubDate>Thu, 03 Jul 2008 16:39:00 +0800</pubDate><description><![CDATA[模拟动态通过DIV模拟模态，代码#id1{width:100%;height:100%;background-color:red;position:absolute;top:0;left:0;z-index:49;display:none;  filter:Alpha(opacity=25);}#id2{top:200px;positio]]></description><category></category></item><item><title><![CDATA[移动布局]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/2608872</link><guid>https://blog.csdn.net/PrivateBoy/article/details/2608872</guid><author>PrivateBoy</author><pubDate>Thu, 03 Jul 2008 16:35:00 +0800</pubDate><description><![CDATA[移动布局移动的窗口*{font-size:12px}.dragTable{ font-size:12px; border-top:1px solid #3366cc; margin-bottom: 10px; width:100%; background-color:#FFFFFF;}.dragTR]]></description><category></category></item><item><title><![CDATA[sql]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/2472263</link><guid>https://blog.csdn.net/PrivateBoy/article/details/2472263</guid><author>PrivateBoy</author><pubDate>Fri, 23 May 2008 10:43:00 +0800</pubDate><description><![CDATA[    替换SQL语句中的特殊字符       Function SqlFix()Function SqlFix(ByVal str As String) As String        Dim strTmp        If str & "" = "" Then            Exit Function        End If        strTmp = Repla]]></description><category></category></item><item><title><![CDATA[MediaPlayer控件属性大全]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/2057101</link><guid>https://blog.csdn.net/PrivateBoy/article/details/2057101</guid><author>PrivateBoy</author><pubDate>Mon, 21 Jan 2008 17:09:00 +0800</pubDate><description><![CDATA[MediaPlayer控件属性大全color:#363636;TEXT-INDENT: 2em; line-height:23px;">AllowChangeDisplaySize 返回或设置最终用户是否能设置显示尺寸(逻辑型) AllowScan 返回或设置是否允许扫描(逻辑型) AnimationAtStart 返回或设置控件开始播放之前是否先播放一个动画序列(逻辑型) AudioStre]]></description><category></category></item><item><title><![CDATA[拖动层+保存]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/2033328</link><guid>https://blog.csdn.net/PrivateBoy/article/details/2033328</guid><author>PrivateBoy</author><pubDate>Thu, 10 Jan 2008 11:18:00 +0800</pubDate><description><![CDATA[前台HTML代码...@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="test.WebForm1"%>DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.d]]></description><category></category></item><item><title><![CDATA[window.showModalDialog以及window.open用法简介 ]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/1953571</link><guid>https://blog.csdn.net/PrivateBoy/article/details/1953571</guid><author>PrivateBoy</author><pubDate>Wed, 19 Dec 2007 14:00:00 +0800</pubDate><description><![CDATA[一、window.open()支持环境： JavaScript1.0+/JScript1.0+/Nav2+/IE3+/Opera3+二、基本语法：window.open(pageURL,name,parameters) 其中：pageURL 为子窗口路径 name 为子窗口句柄 parameters 为窗口参数(各参数用逗号分隔) 三、示例：SCRIPT>  window.open (pag]]></description><category></category></item><item><title><![CDATA[对DataTable进行分页]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/1884115</link><guid>https://blog.csdn.net/PrivateBoy/article/details/1884115</guid><author>PrivateBoy</author><pubDate>Wed, 14 Nov 2007 12:56:00 +0800</pubDate><description><![CDATA[        /**//**//**////         /// 对DataTable进行分页,起始页为1        ///         ///         ///         ///         ///         public static DataTable GetPagedTable(DataTable dt, int PageIndex, int Pag]]></description><category></category></item><item><title><![CDATA[了解事务]]></title><link>https://blog.csdn.net/PrivateBoy/article/details/1843818</link><guid>https://blog.csdn.net/PrivateBoy/article/details/1843818</guid><author>PrivateBoy</author><pubDate>Thu, 25 Oct 2007 19:23:00 +0800</pubDate><description><![CDATA[了解事务 事务是作为单个逻辑工作单元执行的一系列操作。可以是一条SQL语句也可以是多条SQL语句。 事务具有四个特性  原子性：不可分隔、成则具成、败则具败。  一致性：事务在完成时，必须使所有的数据都保持一致状态  隔离性：独立的执行互不干扰。由并发事务所作的修改必须与任何其他并发事务所作的修改隔离。  持久性：务完成之后，它对于系统的影响是永久性的。该修改即使出现系统故障也将一直保持。 应用程]]></description><category></category></item></channel></rss>