PHP的架構是超多了,但有時,感覺有些架構是不是考慮的太過度了,總要把簡單的事 複雜化,比如下面舉出CAKEPHP中的FIND的寫法,看上去象HIBERNATE的查詢文法,但HIBERNATE的比它簡單多了,明明SQL簡單通用的東西,要故弄玄虛的搞一翻,還要安上自己的一些規則,所以嘛,不要迷信架構,要選合適自己用的部分,下面舉例之:1 如果我們想找一個ISBN書號為'1234567890'的書,我們只需執行如下SQL命令: SELECT * FROM `books` AS `Book`
在CodeIgniter中,一般來說,是要在控制層中調用library的,但假如要在 視圖層調用library的話,比如: $this->load->library(‘some_library’); 這樣調用,按道理說是違反MVC的,但假如要確實調用的話,上面調用也是錯誤的,會 顯示: PHP Fatal error: Call to a member function some_library_function() on a non-object in …….php
最近,看到一朋友的BLOG,裡面提到了敏捷的一些代表性問題,也看到有的文章中討論的熱火朝天(比如:<<為什麼敏捷不能成功>>http://coolshell.cn/articles/5044.html),這裡,選一下一個朋友的BLOG上,他提出的問題(原文見:http://www.blogjava.net/pengpenglin/archive/2011/06/01/351552.html),他的問題如下: A.
一個經典的jquery dialog外掛程式,地址在:http://stefangabos.ro/jquery/zebra-dialog/Features:great looks – out of the box5 types of dialog boxes available: confirmation, information, warning, error and question;easily customizable appearance by changing the CSS
http://piwik.org/Piwik aims to be an open source alternative to Google Analytics, and is already used on more than 150,000 websites.Piwik is a PHP MySQL software program that you download and install on your own webserver. At the end of the five
最近接觸rational系列產品,發覺真是很多產品呀,於是找了個大概的介紹,轉摘如下 Rational Application Developer for WebSphere Software 用於架構和建模、模型驅動開發、組件、組件測試、運行時分析活動的工具。 Rational Professional Bundle 提供企業級案頭工具,以便設計、構建和測試J2EE/門戶/面向服務的應用程式。 Rational Rose Developer for UNIX