Home

Count down to Flash Builder 4

Sunday, May 31st, 2009 | Author: Greendog

Yes, it is. I am counting down to the new beta release of Flash Builder 4 in June 3rd . I know, in America, it just 10:24 am. But I couldn’t wait for the fresh tool out of the labs.

Thank you, Adobe, you made a dream of developer who want to build “Flashy” application come true.

See you guy, Flash Builder 4.

Category: Uncategorized | Leave a Comment

Out of Labs: coloring text in TextArea

Wednesday, May 27th, 2009 | Author: Greendog

Sometime we have to make our message in TextArea component look like there is some couple (or more) are chatting. This is good if we can colorize our text in this message box.

So here is the very simple colorize our message. I have simulate a bot chat like-system that you can type to ask him something. (but please, don’t expect the good answer, he is quite limited to few patterns answer set ;) ).

Go to demo ( Right-click to view and download source )

image

Category: Uncategorized | Leave a Comment

Aptana fail at starting up in Window Vista

Saturday, May 16th, 2009 | Author: Greendog

I am the one that try to develop Rails in Window, especially Vista, the most complained version in history.

Aptana is the best IDE I found at the moment. It’s free! and Eclipse-based style make me familiar with.

by the way, Aptana always fail in startup after using for few times. This is very annoying problem. I have to re-install but found it isn’t work.

But finally! I found this is because the Aptana’s bundled JRE that incompatible with Window Vista.

So if you found same problem with me, try this instruction. It works for me, so I hope this may help you happy with Aptana.

How to resurrect your Aptana in Window Vista

  1. Browse to your aptana folder (for me, c:/Aptana Studio/ ). Find AptanaStudio.ini. Open and then put your JRE6 folder location at the top of the file like the image below. then save it.
    image
  2. Remove jre folder in your Aptana Studio folder. (for me, c:/Aptana Studio/jre )
  3. Try to start your Aptana again. It should work!

Proudly to discuss ;)

Category: Uncategorized | One Comment

BarCampAIR is now stable with v. 1.18

Saturday, May 09th, 2009 | Author: Greendog

After a chaos has passed. BarCampAIR now is stable with version 1.18.

You can download BarcampAIR here

There is a list of bug fixed here.

(Stable) Version 1.18
- Fixed auto-update error #16824
- Fixed auto-update error #16815

Version 1.16
- Fix hidden save configuration file
- Define keyword as @barcampbangkok and #barcampBKK3 as default

Category: Uncategorized | Leave a Comment

BarCamp BKK #3 Twitter AIR

Saturday, May 09th, 2009 | Author: Greendog

Hello, Everyone.

I am exciting to tell you that BarCamp Bangkok #3 is forming up in 23-24 May 2009, at Sripatum University. The Barcamp Bangkok welcomes everyone to interest (or non-interest anymore :) ) in IT knowledge and want to listen and speak and talk and share to the other. This time, @jfxberns has asked me to hacked an open-source TwitterCamp application to render Thai character, I also make some modification to match our BarCamp too. You can download its from:

BarCampAIR

BarCampAIR download page

BarCampAIR download page

I am also love this event too. My interesting part is about Adobe Flex and AIR technology, Facebook, and Ruby on Rails. you can follow me @teerasej.

 

See you there!

Category: Experience, My Diary, Uncategorized | Leave a Comment

Adobe MAX, San Francisco: Flash catalyst and Flex Builder 4

Saturday, May 09th, 2009 | Author: Greendog

Finally, Adobe give a DVD that included with Adobe Flash Catalyst and Adobe Flex Builder 4 to the audience. This report is owned by Russ Ferguson. and you can read more here

 

In my opinion, this is the great news that we are getting improved tools and toys that can make we work more fun and easier!

First meeting... hmm...

 

State of our button

State of our button

Now, we can define interaction directly.. before coding

Now, we can define interaction directly.. before coding

 

Yes! even property can define by Catalyst

Yes! even property can define by Catalyst

Category: Adobe News, Flash Catalyst | Leave a Comment

สวัสดี Adobe Flex, นายคือใครหรอ?

Saturday, May 02nd, 2009 | Author: Greendog

Level: Novice

กาลครั้งหนึ่ง…

ในโลกที่เต็มไปด้วยภาษาการเขียนเวปมากมายอย่างเช่น ASP.NET, JSP (Java Server Page) หรือ PHP กำลังได้รับความนิยมอย่างแพร่หลาย เห็นได้ชัดเจนมากที่สุดคือจำพวก Webboard, ร้านค้า หรือ แม้กระทั่งเวบบริษัทที่มีข้อมูลต่างๆ เป็นแบบ Dynamic หรือเรียกมาจาก database นั่นเอง เวปที่สร้างด้วย platform เหล่านี้มีลักษณะเด่น คือการทำงานแบบ Form process หรือการใส่ข้อมูลต่างๆ ลงไปใน Form และเปลี่ยนจาก Form หนึ่งไปยังอีกฟอร์มหนึ่ง กระบวนการทำงานแบบนี้ทำให้มีการร้องขอ (เรียกว่า request) ไปยัง server เพื่อให้ประมวลผลข้อมูลและแสดงใน web browser อีกทีหนึ่ง วิธีนี้เป็นที่ยอมรับกันอย่างแพร่หลายในช่วงยุคนั้น (มีบางคนเรียกช่วงเวลานี้ภายหลังว่า Web 1.0)

ทุกอย่างก็ปกติดี จนกระทั่ง

กระทั่งนาย Jesse James Garrett ได้คิดเทคนิคการทำงานประเภทหนึ่งซึ่งมีประสิทธิภาพกว่าการทำงานแบบ Form Process แบบเดิมขึ้นมา ซึ่งหนึ่งในลักษณะเด่นของมันคือการ refresh ข้อมูลในหน้า web site ที่แสดงผลอยู่เป็นส่วนๆ แทนที่จะเป็นการร้องขอทั้งหน้าแบบเดิม เทคนิคนี้คือ Ajax

เทคนิคนี้เริ่มแพร่หลายกันในวงการ web application จนบริษัทยักษ์ใหญ่ต่างๆ เช่น Microsoft หรือ Sun ตัดสินใจพัฒนาเทคนิคเดียวกันนี้อย่างเงียบๆ เพื่อปล่อยออกมาโดยฝังกับ development platform ของตัวเอง อย่าง Silverlight และ JavaFX.

แน่นอนว่าเจ้าพ่อวงการ web developement tool ในยุคนั้นอย่าง Macromedia ก็ไม่ได้อยู่เฉย จับเอาวิธีการของ Ajax มาใส่ product ของตัวเอง ชื่อว่า Macromedia Flash จนออกมาชื่อว่า Adobe Flex 1.0 ซึ่งตอนนั้นราคาแพงระยับ ติดเพดานเลยต้องใช้ server และ IDE เฉพาะของ Macromedia เอง

และ เขาก็เข้ามา

Adobe เล็งเห็นความก้าวหน้า และอนาคตที่ยิ่งใหญ่ของ product จาก Macromedia จึงตัดสินใจควบกิจการของ Macromedia เอง พวกเราจึงเห็น ชื่อคำนำหน้าของ product ขึ้นต้นด้วย Adobe … แทนที่ Macromedia … ตั้งแต่นั้นมา ซึ่งรวมถึง Flex ที่ดูเหมือนจะถูกกลืนหายไปอย่างเงียบๆ ด้วย

การกลับมาที่ยิ่งใหญ่

จริงๆ แล้ว Adobe ไม่ได้ละทิ้ง Flex ไปตอนเข้าควบกิจการ หากแต่นำเอา Flex ไปเข้าโครงการลับ (เงียบ) สุดยอด เพื่อที่จะเปลี่ยนโฉมหน้าของ Adobe Flash ให้ต่างจากเดิม โดยเน้นไปที่กลุ่มนักพัฒนา software หัวกะทิทั้งหลาย (ต่อไปจะเรียกว่า developer) ที่อยู่ในโลกของ coding ให้ได้สัมผัสพลังที่สวยงามจาก Flash บ้าง (เดิมที Flash จะโด่งดังในกลุ่ม Designer)

แล้วเขาคือใคร?

เกี่ยวข้องกับ Flash หรือเปล่า?

ใช่แล้ว Adobe Flex พูดง่ายๆ คือ framework ตัวหนึ่งของ Adobe Flash ที่มีชุดคำสั่งที่ทำให้นักพัฒนา web application สามารถใช้ platform ของ Flash ในการสร้างสรรค์ผลงานของตัวเองได้ง่ายยิ่งขึ้น (แต่เดิมใครเคยพยายามทำ web application หรือ web form ใน Flash ก็ต้องน้ำตาตกเป็นส่วนใหญ่ เพราะเป็นภาษา Script) โดย Adobe พยายามเปลี่ยนภาษาเดิม (ActionScript 2) ที่เป็นภาษาพื้นฐาน ให้เป็นภาษาเชิง OOP หรือเชิงโปรแกรมมิ่ง (ActionScript 3) ซึ่งมีผลตั้งแต่ Flash Player 9.0 ขึ้นไป

น่าสนใจดี แล้วมันจะดีขึ้นยังไงล่ะ?

จากประสบการณ์ที่ฝังใน Flex development มานาน ส่วนตัวมีความเห็นครับว่า Adobe Flex คือ platform ใหม่ที่มีความสวยงาม และ function อยู่ในตัว การเปลี่ยนแปลงจาก ActionScript 2 มาเป็น ActionScript 3 แม้ว่าจะทำให้ designer บ่นกันระงม แต่กลับเป็นผลดียิ่งยวดสำหรับ developer เพราะภาษาดังกล่าวมีโครงสร้างเหมือน Java หรือ .NET ไม่มีผิด ทำให้การย้ายมาลอง Flex ทำได้ง่ายมาก มีผลในการ re-use หรือนำสิ่งที่สร้างไปแล้ว นำกลับมาใช้ใหม่ได้เรื่อยๆ (เหนื่อยน้อยลง) รวมถึงการที่ Flash Player มีอยู่ในตัวเครื่องคอมพิวเตอร์เกือบทุกเครื่องเป็นหลักอยู่แล้ว ทำให้การพัฒนา web application บน Adobe Flex เป็น platform ที่ตลาดกว้างมาก ครอบคลุมทั้ง Window และ Macintosh (Linux ไม่รู้ครับว่ามี Flash player หรือเปล่า)

ดูดีนะ ว่าแต่ถ้าไม่รู้อะไรมาก่อนเลยล่ะ? แบบว่าอยากเริ่มพัฒนา web application ครั้งแรกในชีวิตจะทำไงดี?

สบายมากครับ เพราะ Adobe Flex มีเครื่องมืออย่าง Adobe Flex Builder ในการพัฒนา User Interface และ coding เพื่อช่วยในการพัฒนาให้ง่ายขึ้น (ไม่ต้องเขียนจาก notepad แล้ว) โดยหลักการแล้ว Adobe Flex จะประกอบด้วย 2 ส่วนใหญ่ๆ คือในการพัฒนา (หรือเขียน program) คือ MXML ที่ใช้สร้าง User Interface และ ActionScript 3 ที่ใช้ในการเขียน logic การทำงานของ Application ของเรานั่นเอง

หอมปาก หอมคอแค่นี้ก่อนนะครับ จะมาเขียนต่อคราวหน้าใหม่

Category: Adobe Flex, Experience, My Diary | One Comment

Mailbox: Flex ต่างจาก Flash อย่างไร?

Thursday, April 02nd, 2009 | Author: Greendog

Q: โปรแกรม Flex คือโปรแกรมที่พัฒนาจากโปรแกรม Flash หรอค่ะ แล้วการทำงานของมันทำยังไง รบกวนช่วยตอบกลับด้วยนะค่ะ ขอบคุณค่ะ

A: Adobe Flex framework ในความหมายจริงๆ แล้ว (ในแง่ของ computer programming) คือชุดคำสั่งที่มีโครงสร้างของมันเองในการใช้ ActionScript 3 (เป็นภาษา script รุ่นล่าสุดของ Flash) สร้าง Web Application ขึ้นมาครับ

เปรียบเทียบง่ายๆ คือเหมือนการทำเพรสเซลของ Auntie Annesที่มีรสชาติพิเศษ (Flash application) กว่าเพรสเซลปกติที่เขาทานกันอยู่ทั่วโลกนั่นล่ะครับ (Adobe Flash) ซึ่งถ้าใช้สูตรของ Annes เขา (Flex framework) ก็จะทำเพรสเซลที่ดีได้เร็วและมีคุณภาพกว่าสูตรทั่วๆ ไปล่ะครับ

ดังนั้น Flex มีพื้นฐานเต็มๆ อยู่บน Adobe Flash นั่นล่ะครับ โดยต่อยอดเขามาอีกที

Flex จะแตกต่างที่การ coding ครับ โดยที่จะไม่เป็นภาษา script ที่ฝังอยู่ใน Timeline เหมือนกับ Adobe Flash แต่จะหนักไปทางโครงสร้างภาษาทาง computer programming คล้ายๆ กับ Java หรือ .NET C# เป็นส่วนใหญ่ แต่ผลผลิตที่เราจะได้คือ SWF ไฟล์เหมือนกับ Flash ครับผม

Category: Adobe Flex, Mailbox | Leave a Comment

Flex speed - การใช้ Custom component ใน state ที่สร้างขึ้น

Friday, March 27th, 2009 | Author: Greendog

สวัสดีครับ พอดีมีน้องคนหนึ่งถามว่า เราจะใช้ custom component ใน state ที่เพิ่งสร้างขึ้นมาได้อย่างไร ก็เลยทำเป็น video มาแบ่งปันกันนะครับ

ยินดีรับคำแนะนำครับผ้ม!

Category: Adobe Flex, How to | Leave a Comment

Wow on Microsoft’s vision

Monday, March 02nd, 2009 | Author: Greendog

Yes, I don’t mention the Microsoft will rule the world in next  years. but I feel very impress about idea and concept of next generation’s life style. the thing  that Microsoft is showing seems focus in “More than ever.. in familiar ones”.

Microsoft seems begin to overwhelm the world of daily infrastructure. One by one, they has announced the medical project few years ago. So you have no doubt that Microsoft is not dying, in my opinion, they are hatching, inventing the fresh technology by learning human’s life style.

I didn’t feel the big picture yet. but if you are .NET developer, or freshy SilverLight developer and designer. I’m quite sure that Microsoft is running the big project for you.

Category: Design | One Comment