nosql 介紹

relational

http://www.docstoc.com/docs/2996433/Hadoop-and-HBase-vs-RDBMS

http://redmonk.com/sogrady/2009/11/03/amazon-rds-and-the-future-of-mysql/

http://www.eweek.com/c/a/Cloud-Computing/Amazon-Launches-Relational-Database-for-the-Cloud-865321/

nosql

http://oss-tw.blogspot.com/2010/04/hbase-vs-cassandra.html

http://inspire.twgg.org/c/internet/host-setting/written-discussion-nosql-database.html

http://www.javaworld.com.tw/roller/ingramchen/entry/consistency

http://zh.wikipedia.org/zh-tw/Cassandra

??

http://db.apache.org/derby/index.html

http://cloudstoragestrategy.com/cloud-database/

http://www.hellodba.net/2010/02/cassandra.html

hbase vs cassandra
http://www.roadtofailure.com/2009/10/29/hbase-vs-cassandra-nosql-battle/

從比較優劣的角度來描述雙方的優缺點,安裝、使用性、架構等等

PHP 5.3.3 Closure

心血來潮,把本來伺服器上 yum 裝的 PHP 換成 5.3.3 ,搭配 yum 安裝的 httpd 遇到一些小問題,都好解決,紀錄一下

yum install httpd-devel mysql-devel

./configure –with-apxs2=/install-path –with-mysql=/install-path

再裝就沒什麼問題了

然後就來寫一下

$curry = function($a) {
   return function($b) use ($a) {
      return $a+$b;
   }
}
$curry_add= $curry(1);
echo $curry_add(2);// result = 3
($curry(1))(2); //error

感覺學的跟 JavaScript 很像,又多了一些蠻麻煩的語法 (use),本身感覺又不像 Js 開發流程的輕便,感覺有點不太適合這樣寫..

有點怪..