After I have extended this framework to integrate in my project. I have found this framework is most effective in medium-scale to large scale of project. The most efficient part of cairngorm framework is command pattern ( a design pattern ) that collect all logic to execute in one place per transaction.
Command pattern exposed itself in code maintainance, clean coding, and integration of business rule.
I will describe about this pattern in cairngorm’s responsibility next publish.
In Thai:
อะฮ่า หลังจากที่ผมได้ทำการ extend ตัว cairngorm framework เข้าเป็นส่วนหนึ่งของ framework ส่วนตัวของผมเอง ผมได้พบว่า cairngorm framework มีประโยชน์อย่างยิ่งยวดในโปรเจ็คระดับกลาง ถึงระดับ enterprise ซึ่งจะประกอบไปด้วย workflow อันซับซ้อน โดยส่วนที่มีประโยชน์อย่างหนึ่งเลย คือการใช้ command pattern ( หนึ่งใน design pattern ) ในการรวม logic ต่างๆ มาไว้ในที่เดียวกัน
Command pattern ยังแสดงความสามารถในการควบคุมโค้ด และการ integrate พวก business logic ด้วย
ผมยินดีเป็นอย่างยิ่งที่จะอธิบาย ลักษณะของ pattern นี้ในการ post ครั้งต่อไป สวัสดี

