Posts tagged News

แง้มกล่อง Adobe Flash Player 10.1: “Global error handling”

เนื่องจาก Adobe เขาภูมิใจอย่างยิ่งที่ได้รับฟังเสียงของชาวบ้านผู้ใช้ product ของเขา โดยรับฟังความคิดเห็น (และ bugs) ผ่านทาง Flash Player bug and issue management system (หรือในภาษาเราๆ คือระบบการจัดการ bug และปัญหาของ Flash Player นั่นเอง) โดยได้นำแนวทางเด่นๆ จาก community นี้เอง ทำให้ได้ feature ออกมาในเวอร์ชั่นใหม่ดังนี้คือ

Global Error Handling

จำตอนที่เราใช้โปรแกรมอะไรสักอย่างแล้วจู่ๆ ก็มี หน้าต่าง “ปิ๊ง” ขึ้นมาด้วยกากบาทสีแดง หรือ เครื่องหมายต๊กกะใจสีเหลืองได้ไหมครับ? นั่นคือสภาวะที่เราเรียกว่า “แฮงค์” หรือ “เจ๊ง” หรือ “….แล้ว” เพราะโปรแกรมในสภาวะนั้นไม่สามารถทำงานต่อไปได้อันเนื่องมาจาก “บั๊ก” (บางทีผมก็เรียกว่า “แมง”) นั่นเอง (ถ้าไม่ได้เซฟงานบ่อยๆ น้ำตานองแน่นอน) ตัว Flash เองก็มีระบบที่ว่านี้เหมือนกัน จากนั้นทำไงต่อ? เราก็ copy แล้วเอาไป post ไว้ใน community ซักที่หนึ่ง นับวันคืนที่จะมีคนมาช่วยชี้แจงแถลงไข หรือรับรู้อะไรๆ ใช่ใหม?

โอววววว มันมาแล้วครับ

โอววววว มันมาแล้วครับ

ต่อไปนี้ ทุกอย่างจะดีขึ้น :)

ระบบ global error handling นี้จะส่งผลดีต่อ developer ในสองด้านใหญ่ๆ ด้านแรกคือ developer อย่างเราๆสามารถเพิ่ม code global error handling นี้ลงไปใน application จากนั้นถ้าเกิดมี user คนหนึ่งในประเทศกัวเตมาลา กำลังใช้ app ของพวกเราแล้วมันรันไปถึงจุดเกิดบั๊ก (เกิดแมง) function นี้จะส่ง error ไปยัง server ที่คุณตั้งให้คอยรับ global error นี้ทันที! เท่านี้คุณจะสามารถ track bug ได้จากทุกมุมโลกในสภาวะที่ไม่สามารถทำได้ใน test environment เลยล่ะ

แต่จะดีจริงหรอ?

ดีสิ ดี แต่ว่ามีข้อสงสัยให้ฉุกคิดว่า มันจะไปแหย่กฎหมายสิทธิส่วนบุคคลบางฉบับไหมเนี่ย เพราะเป็นการถือว่าส่งข้อมูลออกจากเครื่อง user เหมือนกัน (แต่ Adobe คงใส่ลงใน user agreement แล้ว) และอีกอย่างคือ server system แบบไหนที่จะรับ bug report แบบนี้ได้ล่ะเนี่ย? อาจจะกลายเป็น product ที่ Adobe ขายอีกตัวก็ได้นะ

iPhone animation and Flash animation


บ่อยครั้งทีเดียวที่ผมจะชอบเดินเข้าไปเลียบๆ เคียงๆ น้อง iPhone (ต่อไปนี้จะเรียกว่าน้องโฟนนะครับ แฮ่ม) รูปร่างเพรียวบางในร้าน True shop บ่อยๆ ลองแตะตรงโน้น กดตรงนี้ เพื่อดูว่าน้องเขาหวือหวาแค่ไหน และก็สมกับที่เป็นโทรศัพท์แถวหน้าของโลก ยอมรับเลยว่าความเป็น perfectionist ของ Steve Jobs นั้นถูกถ่ายทอดลงไปในตัวน้องโฟนทุกกระเบียดนิ้ว คิดว่าคงมีแต่ส่วนที่เขาจงใจไม่ให้มีเท่านั้นแหละ ที่ไม่ถูกใส่ลงไป

ที่นี้มันก็มาหยุดอยู่ตรงที่ว่า พวก Animation ที่น้องโฟน มีและน่าเย้ายวนใจนั้น มันสามารถทำได้เน้นๆ อย่างเร็ว (เน้นว่าอย่างเร็ว) บน Flash เลยอ่ะ (ใครเคยเล่น Flex Builder แล้ว จะทราบเลยว่า มันอย่างเร็ว จริงๆ)

แต่ก็ติดอยู่ที่ว่า Flash นั้นต้องการน้องโฟนที่แรงพอ (ไม่จำกัดเฉพาะสังกัดค่ายพี่ Jobs นะครับ) และเร็วพอตัว (ต้องแรงกว่ามือถือรุ่นล่าสุดของโลกเลยแล้วกัน เอ้อ) เพื่อที่จะรัน Flash Player 10 ได้อย่างสบายๆ ทำให้ปัจจุบันน้องแฟลชชี่ (Flash Lite) ยังได้รับการยอมรับเป็นลูกเมียน้อยในมือถือระดับโลกอย่าง Nokia หรือ Window Mobile ต่างๆ เท่านั้น

แต่หากจากแหล่งข่าวที่เชื่อถือได้ กล่าวว่า มือถือ BlackBerry ตัวต่อไปนั้นมีการวางแผนที่จะใส่ Flash Player (ตัวเต็ม ไม่ใช่ ​Flash Lite) และ Silverlight เข้าไปด้วย ก็มีเฮล่ะครับ คาดว่าการเคลื่อนไหวนี้จะเป็นตามคำบอกกล่าวเมื่อช่วงกลางปีว่า มือถือ PDA Phone ส่วนใหญ่จะ support Flash Player ภายในปีหน้านี้

คราวนี้ผมเฮอีกคนแน่นอน

ข่าวคราวที่เกี่ยวข้อง:

Next ColdFusion and its IDE!

แม้จะนานไปหน่อย แต่ในที่สุดก็พบ Mr.David ได้ออกมารายงานว่า มีการเคลื่อนไหวใน Adobe Lab เกี่ยวกับข้อมูลล่าสุดของ Adobe ColdFusion 9 (รหัส Centaur) และ ColdFusion IDE (รหัส Bolt) แล้ว โดย feature สำคัญๆ มีดังนี้ครับ

Adobe ColdFusion 9 (Centaur)

  • มี ORM (Object Relational Mapping) ฝังมาให้ในตัว
  • ตัว Service ของ ColdFusion สามารถทำงานกับ Flex และ AIR ได้ง่ายขึ้นผ่าน Actionscript Library
  • มีการปรับปรุงในส่วนของ
    • CFC Enhancement
      • Implicit Getter and Setters
      • Explicit Local scope
  • CFSCRIPT Enhancements
    • Full definition of component via script
    • CFML และ CFSCRIPT เข้าใจกันได้มากขึ้น
  • Language Enhancements
    • มี New และ Import มาให้ใช้แล้ว (เริ่มเป็นภาษาโปรแกรมมิ่งมากขึ้น)
    • CFFINALLY และ CFCONTINUE

ColdFusion IDE (Bolt)

  • ระบบจัดการ Object Relational Mapping แบบปรับแต่งอัตโนมัติ
  • ตัว Generate Application Code
  • ส่วนการจัดการ server
  • พัฒนาต่อได้ง่ายเพราะเป็น Eclipse Framework
  • มี syntax highlighting สำหรับ CFML, HTML, Javascript, และ CSS
  • มี Code assist สำหรับ tags, functions, variables, และ component ต่างๆ
  • มี Code folding
  • ตัวช่วยสร้างและจัดการ Code Snippet
  • มี Outline View ช่วยในการ maintain และแก้ไข code
  • RDS Explorer ช่วยในการจัดการ file และ database
  • Debugging

โดยความเห็นส่วนตัว ผมคิดว่า Adobe จะ release Centaur กับ Bolt มาพร้อมๆ กับ Flex 4 ในปีกหน้านี้ อย่างไม่ต้องสงสัย

Cheer,

Teerasej

JavaFX Preview SDK launched!


Today, Sun microsystem has launched JavaFX Preview SDK to this world. There are the tool for graphic (“Nile”) and NetBean 6.1 bundle with JavaFX compiler. It’s the most interesting thing for this August. I surely Java developers around the world will download this tool to try the new toys which targeted to compete “Adobe Flex” and “Silverlight”.

I have its on my machine now. So let’s play!

Oh, you can download them here

More Thai language content can read here

image

We (Google) found YOU, Flash application!


Today, Adobe announced that they’re working with Yahoo! and Google to make Flash content more searchable. Both companies has planned to start thier engine “able” to crawl swfs and and auto-perform every action a user might (Click a button, fill the text box, dragging, and moving interactive object like it’s done with text-based web-site). Mr.Ryan Stewart sums up the advantages to developers of Flash content with this:

“Google is going to have their own rules for how this new Flash Player indexes and uses the content. So will Yahoo. But we’ve given the search engines the technology to see SWF files in the same way they see HTML files. So now the art (or black voodoo magic) of SEO optimization can come to SWF files as well. That means it’s a big new world for Flash developers. You can poke the system, see what works and what doesn’t work. See how Google will handle deep linking and URL changes in Flash. It’s all up for grabs and it’s really exciting to think about what the Flash community can discover about SEOing SWF files.”

This is the great news for me (also for you if you’re a flash-based developer). SEO is not our wall anymore! Yes, don’t worry about text-based web-site we can work with more happier in our field!

Anyway, Adobe recommends these general deep-linking strategies to get started at the moment.

 

In Thai:

และแล้วครับ และแล้ว Adobe ก็ได้ประกาศอย่างเป็นทางการ (จริงๆ มีข่าวออกมาก่อนหน้านี้แล้ว) ว่าพวกเขากำลังทำงานอย่างหนักร่วมกับ Yahoo! และ Google ในการทำให้ Flash content ทั้งหลายเนี่ย สามารถถูก search พบจากตัว engine ของทั้งสองบริษัท โดยตัว Crawler จะเข้าไปตาม content ต่างๆ และทำ action ทุกอย่างที่เป็นไปได้กับทุก control ตั้งแต่คลิกปุ่ม กรอกข้อมูลลงในช่องข้อความ ลากและวาง รวมทั้งเล่น object interaction ต่างๆ เพื่อทำ index ทั้งหมดเหมือนกับที่ทำให้ web-site ปัจจุบัน

นี่เป็นข่าวที่ดีที่สุดสำหรับผมจริงๆ และสำหรับคุณด้วยถ้าคุณเป็น Flash developer

ปล. ไม่นานคงมีความเคลื่อนไหวจาก Microsoft ออกมาแน่นอนครับ Silverlight จะมีทิศทางไปทางไหนเอ่ย

Last warrior is coming in… JavaFX


Mr. Ryan Stewart has went to JavaOne today. and brought us an amazing video of demonstration on latest technology from Sun Microsystems, JavaFX.

There’s a problem with demonstration but after she has dragged JavaFX web client on to desktop, Kabooom! It suddenly turn into desktop application and no need to living on in the browser anymore! (I begin to expect we didn’t need to download ‘Java app’ into form of ‘web app’).

By the way, it looks like Sun has powerful weapon in his hand, and this July, prepare for this last warrior of Web 2.0 War!

(Video embedded below)

In Thai:

วันนี้นาย ไรอัน ได้ไปงาน JavaOne เองครับ (คนนี้คือ Adobe Technology Evangelist) และได้ถ่ายวิดีโอมาฝากกันด้วย โดยตัววิดีโอนี้ได้เก็บภาพการแสดงเทคโนโลยีล่าสุดของ Sun Microsystem มาด้วยนั่นคือ JavaFx นั่นเอง

ดูเหมือนจะมีปัญหาเล็กน้อยระหว่างการแสดงตอนต้นนะครับ แต่หลังจากเธอได้ “ลาก” web application ที่สร้างจาก JavaFX มาบนหน้าจอ desktop เราเท่านั้นล่ะครับ ตู้มม! มันก็กลายเป็น desktop application  ในทันที่ โดยที่ไม่ต้องอาศัย browser อีกต่อไป (ผมฉุกคิดได้ว่า แล้วเราจำเป็นต้องโหลด ‘Web app’ ในขนาดเท่ากับ ‘Win app’ ไหมเนี่ย)

อย่างไรก็ตาม ผมว่า Sun เขามียอดอาวุธมาอยู่ในมือแล้วหล่ะ แล้วกรกฎานี้เตรียมตัวเจอนักรบคนสุดท้ายแห่งสนามรบ Web 2.0 ได้เลย

[youtube=http://www.youtube.com/watch?v=Uuz8OG3ZTlc]