All News

58 1/3 1 2 3 > >|

用 HTTP 压缩加快 Web 数据的发送

用 HTTP 压缩加快 Web 数据的发送 HTTP 压缩,HTTP 1.1 协议规范的一种建议,用来改进页面加载时间,它要求在 Web 服务器上实现压缩特性并在浏览器端实现解压缩特性。虽然早在几年前,流行的浏览器大都能接收压缩数据,但 Web 服务器却不能发送压缩内容。服务器压缩模式出现之后,情况得到了改善。S.Radhakrishnan 博士剖析了 Web 压缩,考察了 HTTP 压缩的益处,...

Tags: [+] add

从MySQL迁移到PostgreSQL的注意事项

从MySQL迁移到PostgreSQL的注意事项 If you’ve decided to move a few tables from MySQL to PostgreSQL, these few tips might help. I won’t get into any reasons why to move to PostgreSQL or not. There are already ma...

Tags: [+] add

InnoDB Performance Tuning

Mysql InnoDB的性能优化 InnoDB is a transaction-safe, ACID compliant MySQL storage engine. It has commit, rollback, and crash recovery capabilities, and offers row level locking. The engine’s overview...

Tags: [+] add

MySQL Engines: MyISAM vs. InnoDB

MyISAM vs. InnoDB的性能比较 This article provides a comparison between the MyISAM and InnoDB storage engines for MySQL. InnoDB is commonly considered to perform worse than MyISAM, but this article aims to ...

Tags: [+] add

100个vim用户应该知道的命令

100个vim用户应该知道的命令,不知道的赶紧看看 Since the 70’s, Vi is one of the programmer’s best friend. Nevermind you’re new to Vi or not, here’s a big list of 100 useful commands, organized by topic, which will make yo...

Tags: [+] add

使用 XSLT 国际化应用程序

使用 XSLT和XML来构建国际化应用程序 当今的报表应用程序广泛地使用了 XML 来设置数据的格式,而不管是否采用了不同的数据源。更具体地说,基于 Web 的报表应用程序通常使用 XSL 转换来把这些 XML 数据呈现给各种客户机。当前报表系统的标准流程或多或少都可以用下面这个流程链表示:传统数据源 > XML > XSL 转换 > Web 浏览器。注意,您可以在服务器端也可以在客户端(浏览器)...

Tags: [+] add

Installing MySQL Proxy On CentOS 5

如何在CentOS 5上安装mysql proxy. This tutorial explains how you can install MySQL Proxy on a CentOS 5 (x86_64) system. MySQL Proxy is a simple program that sits between your client and MySQL server(s) that ...

Tags: [+] add

PHP 101: PHP For the Absolute Beginner

php新手有的学了。为什么叫101? This area is intended for everyone new to PHP. It opens with a series of informal, entertaining tutorials written by Vikram Vaswani, founder and CEO of Melonfire. These tutorials bu...

Tags: [+] add

php优化系列: 榨干你的mysql

很好的介绍mysql优化系列的文章,php入门者推荐阅读。 In the first article of the PHP Performance Series, I focused on PHP Caching Techniques. This time I want to talk about maximizing your database. This article will deal m...

Tags: [+] add

FriendFeed Filters: Friends & Groups

一个为friendfeed量身定做的greasemonkey脚本,能滤除目标成员以外的feed内容。 Friends & Groups is the first Greasemonkey script in a series of upcoming filters and enhancements - specially-designed for FriendFeed noise-reductio...

Tags: [+] add

用 Firebug 动态调试和优化应用程序

另一个不错的firebug使用说明,比较详细。 Firebug 是 Mozilla Firefox 浏览器的开源扩展,提供了很多工具,可以监视、编辑和调试任何 Web 站点的级联样式表(CSS)、HTML、文档对象模型(DOM)和 JavaScript。Firebug 包括一个 JavaScript 控制台、一个日志记录 API 以及一种有用的网络监视器。借助 Firebug,可以很轻松地调试和优...

Tags: [+] add

用 PHP 构建自定义搜索引擎

用php + sphinx来搭建你的全文搜索引擎。 虽然 Google 及其系列产品几乎无所不能,但是 Web 形式的强大搜索引擎并不能很好地适用于每个站点。如果站点内容已被高度专业化或已明确分类,那就需要使用 Sphinx 和 PHP 来创建一个优化的本地搜索系统。 详细内容...

Tags: [+] add

使用libmmseg实现Ruby的中文分词功能

中文分词的一个选择 libmmseg主要被作者用来实现Sphinx全文检索软件的中文分词功能,因此作者给Sphinx提供了一个补丁文件,可以让Sphinx集成libmmseg,从而支持对于中文文章的全文检索功能,关于这一点可以看:http://www.coreseek.cn/index.php?page=Sphinx的介绍。 libmmseg从0.7.2版本开始,作者提供了ruby调用的接口,所以...

Tags: [+] add

Lighttpd和Nginx的性能比较(静态文件)

近期看到Lighttpd以及Nginx的文档比较多,这两个web server究竟是谁的性能更好一些呢? As it stands, the Django development team recommends mod_python to deploy your Django applications. With that in mind, they recommend using a more ...

Tags: [+] add

CSS Selectors

关于CSS选择器的详细介绍 In CSS, pattern matching rules determine which style rules apply to elements in the document tree. These patterns, called selectors, may range from simple element names to rich contextua...

Tags: [+] add

如何在greasemonkey中调用jquery

如何在使用greasemonkey的同时,调用我们常用的jquery? This is a simple snippet that helps us load the jQuery power into our userscripts with Greasemonkey. 详细内容...

Tags: [+] add

AIR使用命令行

air应用也可以调用系统的命令行,这个很有趣,可以做出一些和系统联系紧密的桌面应用来。 AIR应用有一个非常有用的与操作系统交互的特性,就是接受命令行参数。这些参数将通过InvokeEvent [ActionScript | JavaScript]传递到AIR应用。 接受InvokeEvent 要接受一个InvokeEvent,你必须为你的应用的NativeApplication实例注册一个事件监...

Tags: [+] add

Adobe AIR本地文件访问系统

adobe air可以读写本地文件么?答案是肯定的。下面的文章是adobe官方的adobe air file class教程,有很好的参考价值。 A key feature the Adobe Integrated Runtime brings is the ability for web applications to interact with the local file system on...

Tags: [+] add

掌握 PHP 中的正则表达式,如何在 PHP 中处理文本

学习并掌握php的正则表达式。 如 第 1 部分 中所述,regex 是处理数据的最强大工具之一。使用简明的简写方式,regex 说明了数据的格式并分解数据。例如,您可以使用下面的 regex 处理所有摄氏或华氏温度:/^[ -]?[0-9] [CF]$/。 regex 将匹配行的开头(由脱字符号 ^ 表示),后接一个正号,一个负号,或者两者都不是 [ -]?,后接一个整数 [0-9] ,数值范围...

Tags: [+] add

优化PHP代码的40条建议

关于php代码优化的一些建议,广大php程序员都可以一读,看看有哪些不知道的。 1.如果一个方法可静态化,就对它做静态声明。速率可提升至4倍。 2.echo 比 print 快。 3.使用echo的多重参数(译注:指用逗号而不是句点)代替字符串连接。 详细内容...

Tags: [+] add
58 1/3 1 2 3 > >|