Let's engage user with Flash platform
Framework
3 frameworks to smooth your Flex project development
Aug 11th
Oh my, Oh my
A day ago, I was looking into the code and yell “arggghhhh, I have to add new feature into these wormhole code?”
Such a long nightmare when you tried to integrate your new feature into a well-developed application after 6 versions has passed. It often happen if we still work with original Flex framework development. If you feel like me, I will suggest you the 3 new ways to be considered to be adopted in your coding style. Let’s see what they are…
3rd party framework นั้นสำคัญไฉน?
Aug 10th
ฝนกระหน่ำลงสู่พื้นโลกในทันทีที่เท้าสองข้างผมเหยียบหน้าบ้านพอดี
ฉิวเฉียดจริงๆ
ก่อนหน้านี้ ระหว่างทางกลับบ้านมีลมพัดแรงแถวอนุสาวรีย์ชัย ลมเย็นๆ ที่พัดไม่แรงมาก พาให้หัวใจผมอิ่มเอิบบอกไม่ถูก ผมชอบอากาศเย็นๆ ประมาณนี้แหละ มันเป็นลมแบบเดียวกับตอนหน้าหนาว แต่นุ่มนวลกว่ามาก
อ่ะ กลับมาต่อเรื่องของพวกเราดีกว่าครับ
เมื่อวานค้างไว้ที่…
3rd party framework (ต่อไปจะเรียก 3rd party)
อาจเรียกได้ว่าเป็น “framework มือที่สาม” แต่ไม่ได้เกิดขึ้นมาเพื่อจุดมุ่งหมายในการทำลาย หรือขัดผลประโยชน์
แต่มักเกิดจากการที่ชุมชนผู้ใช้งาน framework หลัก รู้สึกถึงบางสิ่งที่อาจดีกว่าที่ใช้อยู่ และลองสร้างขึ้นมาใช้ดู
จุดประสงค์ของ 3rd party framework คือเพื่อให้ทำงานกับ framework หลัก ได้ง่ายขึ้น และมีความสุขมากขึ้นนั่นเอง
หากแต่ผู้ที่จะนำ 3rd party พวกนี้ไปใช้ จำเป็นต้องเข้าลัทธิ หรือเข้าใจ concept ของการออกแบบ 3rd party ตัวนั้นๆ ก่อน
ไม่อย่างนั้นก็จะเหมือนได้ไบเบิ้ล แต่อ่านหนังสือไม่ออก หรืออ่านออกแต่ก็ใช้ประโยชน์ได้ไม่เต็มที่
ซึ่งการเกิดขึ้นของเหล่า 3rd party นี้ถ้ามองในมุมมองชีววิทยา คือการวิวัฒนาการโดยธรรมชาติ คือไม่ได้เกิดขึ้นโดยผู้สร้างแต่แรก (ในที่อาจจะเป็นพระเจ้าที่สร้างมนุษย์ หรือ Adobe ที่สร้าง Flex framework) แต่ผันแปรไปตามกาลเวลา และการใช้งานโดยสภาพแวดล้อมอีกทีหนึ่ง (เหล่าผู้ใช้งาน หรือพวกที่รวมกลุ่มกันเป็น community เฉพาะทางใดทางหนึ่ง)
พรุ่งนี้เรามาดูกันว่าเหล่าผู้ใช้งานอย่างพวกเรา “วิวัฒน์” อะไรขึ้นมาเสริมสร้างความแข็งแกร่งให้ Flex framework กันครับ
Have a good night,
Adobe เปิดให้ download Flex SDK 3.5 แล้ว
Jan 6th
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
Aug 24th
ไหนๆ ก็ไหนๆ วันนี้ได้กลับมาทำ 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
Aug 13th
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.
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!
Dec 30th
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 ครั้งต่อไป สวัสดี


