原文:http://www.infoq.com/cn/articles/brown-are-you-a-software-architect
簡述了一名架構師在軟件項目過程中需要擔當的角色和需要做的事情,有指導意義。
定義:Without violating encapsulation, capture and externalize an object's internal state so that the object can be
定義:Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue
1.命令模式VS策略模式 策略模式的意圖是封裝算法,它認爲算法已經是一個完整的、不可拆分的原子業務(注意這裏是原子業務,而不是原子對象),即其意圖是讓這些算法獨立,並且可以相互替換,讓行爲的變化獨立於擁有行爲的客戶;
定義:Define a one-to-many dependency between objects so that when one object changes state, all its dependents are
定義:Provide a way to access the elements of an aggregate object sequentially without exposing its underlying re
現在很多創業公司都不再自建機房,更多地選擇雲主機,如阿里雲和騰訊雲等。爲了安全考慮,他們提供的關係數據庫、nosql數據庫等服務器都是不能直接訪問的,只能通過雲主機訪問。 因爲在本地不能訪問,這樣在開發和測試過程中就比較麻煩。
只是筆記存檔,不建議閱讀。與本圖相關的文章:《編寫軟件架構文檔說明,第 1 部分》(http://www.ibm.com/developerworks/cn/architecture/ar-archdoc1/)。 如果你萬一看到這裏,倒是
原文地址: http://www.infoq.com/cn/articles/learnings-five-years-skype-architect 主要的幾個感觸點: 1. 不能一味的遵從經驗 2. 解決實際問題 3. 技術重要,
我們先來看看http module的類型的結構體: typedef struct { ngx_int_t (*preconfiguration)(ngx_conf_t *cf); ngx_int_t (*post