首页/Home
 
评《我对CTO的理解》
Management / 管理 - General

不少人看过评《我对CTO的理解》一文。文中不少观点比较具有代表性。个人有同感的观点:

1. 错误都是自上而下 (上梁不正下梁歪)

大凡一个好的IT公司,必有一个牛逼的、有个人魅力的CTO;大凡一个烂公司,必有一个昏庸无能、圆滑世故、东郭先生的 CTO

查看全文...
 
2010年1月编程语言排名
PHP - Articles & Reviews

上个月的编程语言使用比率情况.

注: 2009年度 Tiobe 编程语言得主为 Google 的 Go 语言.

查看全文...
 
主流框架文件关联图
PHP - Articles & Reviews

列出文件关联关系会使框架结构变得一目了然。下面列的都是一些比较成熟的框架。

Zend Framework (http://framework.zend.com)

查看全文...
 
PHP 之垃圾回收 (Garbage Collection)
PHP - Articles & Reviews

很多人问到过这样的问题:简述一下 PHP 的垃圾回收机制。垃圾回收是可以简述的。但也可以论述上几个小时。我想,大多数人的意思可能只是想让你谈几点 PHP 5.3 之前的 PHP 垃圾回收机制。你在网上找到的,很多时候,是很片面的。

首先,垃圾回收,简称GC,全称 Garbage Collection (不是 Garbage Collector)。

查看全文...
 
状态模式(State Pattern)
PHP - Design Patterns

下面以糖果机为例进行讲解。

分析&设计

糖果机的状态可分为四种: 没有硬币、有硬币、糖果售出、糖果售馨。
糖果机可执行的动作也可分为四种:插入硬币、弹出硬币、转动曲柄、发放糖果。

糖果机状态图如下:

 

糖果机状态图
查看全文...
 
FNV Hash 的 PHP 实现
PHP - Advanced Programming

简介

下面是 FNV Hash (Fowler-Noll-Vo hash 函数) 算法的 PHP 实现.

Fowler/Noll/Vo 是由 Glenn Fowler, Landon Curt Noll, 和 Phong Vo 创造的非加密哈希函数. 当前版本为 FNV-1 和 FNV-1a. FNV 目前有 32, 64, 128, 256, 512, 和 1024 位几种方式. 纯粹的 FNV 实现是完全由所需位数的可用的 FNV 素数决定的.

关于 Fowler-Noll-Vo 函数的更多信息可参见:

查看全文...
 
FreeBSD 日记 - FAMP (FreeBSD, Apache, MySQL, PHP) 备忘录
Linux - Unix

*AMP 可大致分为:

LAMP:   Linux + Apache + MySQL + PHP(/Python/Perl);
WAMP: Windows + Apache + MySQL + PHP(/Python/Perl);
FAMP:  FreeBSD + Apache + MySQL + PHP(/Python/Perl).

三类中除了 WAMP, 我还都比较喜欢.

FreeBSD 的软件安装大致可用如下方式:

A. pkg_add 安装可执行程序
B. ports编译安装
C. 源码安装

以下的安装是在 FreeBSD 7.2 版本上以 ports 方式安装完成. 其它方式大致相同.

查看全文...
 
追忆Pownce
News - 最近新闻

有人这样评价 Pownce: Like Twitter But Better。 虽然已经不在了,但国内还是有不少它的影子,如 Follow5 (follow5.com),并且发展得很好。

这里是网上收集的一些其 "生前" 资料。

查看全文...
 
房地产语录
News - 最近新闻

房地产市场的一些语录。偶有所感,录之共品。

查看全文...
 
«StartPrevious12345678910NextEnd»

Page 1 of 10
Copyright © 2010 PHP 架构. All Rights Reserved.

 
Shelley Shyan's Profile

Shelley Shyan is a Senior Web Engineer living in Beijing, China. He works on various Internet based projects and is also a freelance consultant. Here is the English version.

Zend Certified Engineer     RSS Feed

北京天气

Overcast | 34°F-23°F

在线统计

当前共有 53 访客 在线

PHP News

  • PHP 5.2.12 Released!
    The PHP development team would like to announce the immediate availability of PHP 5.2.12. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, some of which are security related. All users of PHP 5.2 are encouraged to upgrade to this release. Security Enhancements and Fixes in PHP...
  • PHP 5.3.1 Released!
    The PHP development team would like to announce the immediate availability of PHP 5.3.1. This release focuses on improving the stability of the PHP 5.3.x branch with over 100 bug fixes, some of which are security related. All users of PHP are encouraged to upgrade to this release.Security Enhancements and Fixes in PHP 5.3.1:Added "max_file_uploads"...