Framework

Adobe เปิดให้ download Flex SDK 3.5 แล้ว

Adobe ได้ทำการอัพเดต Flex SDK เป็นเวอร์ชั่น 3.5 เรียบร้อยแล้ว สามารถดาวร์โหลดมาใช้กันให้เปรมได้ที่ Open Source site ครับ แต่ผมติดใจคำพูดประโยคหนึ่งที่ว่า

We are not releasing a new version of Flex Builder

เหอๆ มันหมายถึง Flash Builder ที่ยังไม่ออกมาในอนาคตอันใกล้หรือเปล่า แต่ก็เห็นได้ชัดว่า Adobe ยังคง support สาย SDK 3.X อยู่ต่อไป ลองอย่างนี้ก็ต้องรอดูกันล่ะครับ

ส่วนที่เปลี่ยนแปลงหลักๆ มีดังนี้ครับ

  • updated data visualization components
  • supports the security updated runtimes of Flash Player 10.0.42 and AIR 1.5.3.
  • Key bug fixes in SDK

ที่มา – The Official Flex Team Blog

An experienced with Cairngorm Framework

ไหนๆ ก็ไหนๆ วันนี้ได้กลับมาทำ prototype แรกของ Montana ผมก็วิ่งเข้าไปในเว็บ คิดว่า Cairngorm นี่แหละ จะเป็นแกนหลักในการพัฒนา เพราะ Montana นั้นออกแบบมาให้ทำงานกับ ระบบ enterprise เป็นหลัก หลังจากลงใช้ (เน้นว่าลงใช้นะครับ เพราะลองมาหลายหนแล้ว :) ) ทำมาเรื่อยๆ ก็พบเลยว่า มันเป็นอะไรที่มีทั้ง Good news และ Bad news เหมือนๆ กับที่ฝรั่งเขาเรียกกันว่า Pros กับ Cons หล่ะครับ เพราะจากการใช้เจ้า Cairngorm Framework มาหลายครั้งแล้ว ทำให้ผมจับใจความเน้นๆ ได้ว่า

Good news (for developer)

  • มีความเป็น design pattern สูง (ประกอบไปด้วย MVC, delegate, และ singleton)
  • การทำงานแบ่งแยกออกเป็นส่วนๆ อย่างชัดเจน ทำให้ง่ายต่อการแก้ไข

ฺBad news (for developer)

  • ฺBoiler plate code ต้มครับ หม้อใหญ่ด้วย เพราะถ้าใช้งานกันจริงๆ การที่จะเพิ่ม หนึ่ง function นี่ น้องๆ นิ้ว ต้องออกกำลังกายกันเยอะหน่อย (แต่ว่าความยากลำบากนี้จะหายไปใน Flash Builder 4 นะครับ โดยเขาเอาเข้าไปรวมกับตัว IDE เป็น code generator ให้เลย)
  • พอทำงานไปสักระยะ ถ้าไม่มีการประยุกต์เอาความรู้ของเราๆ เรื่อง Design pattern เข้าไปร่วมด้วยนี่ จะทำให้เกิดชุมชน class แออัดครับ โดยแนะนำให้ประยุกต์เข้ากับขนาดของ application เราดีกว่า ที่จะตามเขาหมด ไม่งั้น class ใน project จะยุ่บยั่บไปหมด

นั่นแหละครับ ความรู้สึกลึกๆ นี้ บอกผมว่า Cairngorm เหมือนกุหลาบ อุดมด้วยหนามแหลม หยิบดีๆ ก็หอมชื่นใจ แต่ปักไว้นานๆ ไม่ดูแลคอยแต่งดีๆ ละก็ อึ๋ยยยย

I am attending to BANGKOK Flash camp 2009

image

I had opened an email in the midnight of Thursday 13th in this silent August and I found the most exciting news from Adobe User Group Thailand! They are preparing an event of BANGKOK Flash Camp 2009, the first official Flash event in Thailand. the overview of this event, I think, it’s about Flash and Flex technology. I copied the agenda to post here. You can see there are a lot of interesting sessions in that day.

image

As you can see. there are some sessions about Flash Catalyst and Flex Builder 4. I think I need to start countdown to this event with no doubt. ;)

If you are interesting in this event like me, just click the link below, and do the registration. I hope we will meet there.

Flashplatform.net – BANGKOK Flash camp 2009 official site

You also follow me here:
http://www.twitter.com/teerasej

and also follow this event:
http://www.twitter.com/BKKflashcamp

So see you there!

I love cairngorm framework!

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 ครั้งต่อไป สวัสดี