Archive for category FLEX

[Flex] Flex Builder 4.5 改colour theme

chowky 一向習慣用 low contrast 的dark theme.

因為太長時間望著電腦,white background 會覺得刺眼 (有要求呢)

而dark theme 之中,十分出名的是zenburn,而chowky 都試過十分多的dark theme,最舒服的都要是zenburn 了,

visual studio 系列,eclipse 系列,notepad++ 全部都有

這次要flex builder 4.5..
當然,由下面的link download zenburn theme (Eclipse Preference EPF)

1.打開Flex Builder 4.5
2.File -> Import
3. General -> Preference
4. Next
5. Select the downloaded zenburn theme
6. Finish.
7. Close and reopen Flex Builder 4.5

http://www.eclipsecolorthemes.org/?view=theme&id=915

Share

, , , ,

No Comments

Blackberry Playbook 先睹為快

話說在playbook 未出之前,Research In Motion (RIM) 就利誘developer,想做旺個場(appworld)。就是這樣,chowky 就成功被利誘了-.-,完成了一個app 去appworld,而且又十分幸運地過關了。

先看看specification:
7-inch 1024 x 600 touchscreen
3 megapixel camera on the front
5 megapixel camera on the back (both capable of shooting HD video)
dual-core 1 GHz processor
1 GB of RAM
QNX Neutrino-based operating system that can handle multitasking and multimedia with the utmost stability.
Wi-Fi
GPS
3G through Bluetooth tethering. (無sim 的support….用bluetooth connect mobile for tethering….)

Specification 看上去就真的不錯。

兩腳??,er…水貨….

mon 的質素很好,有齊office app ,work, excel, powerpoint, pdf ,當然要入自己寫的APP 支持下。

順帶一提,一開機就要update os@@”,都成2百幾mb….所以最好就prepare 好 wifi 上網先開啦。未有中文的輸入法,睇中文就 ok。

Read the rest of this entry »

Share

,

No Comments

[Flex] FluorineFX .NET with Flex

大家在使用FLEX 的時候,大多數都會PHP + FLEX。

不過ENTERPRISE 如果已經有 window server ,就很自然會採用.net 這個做法。

如果不能夠打破flex + .net 這個方法的話,其實是比較困難去推動flex 這種技術。

chowky 找到兩種方法Weborb or fluorineFX.

雖然WebOrb 和fluorinefx 基本上都是free 的。
不過fluorinefx 就是opensource 而,weborb.net 就是close source…..所以chowky 就採用fluorinefx 試試先~

奇怪在,local 試就ok…十分簡單,不過deploy 去window server 2003 iis 6 就真的很困擾….

下次介紹chowky 的解決方法呢~

Share

, , ,

No Comments

[Flex] Flex SDK 下一個version 代號 Hero

這個hero 不是htc hero 呢~,乃是 flex sdk 下一version。

經過4個version 之後,flex 都開始變得穩定,

* Multi-Screen Development: Allow developers to build applications that target the web, desktop or mobile devices using a single unified framework.

* Spark Maturation: Polish and grow the Spark architecture by adding new Spark components and capabilities. (Spark Framework 由flex 4 引入,下一個version 當然會加入更多spark 的新 components 和 features

* Large-Application Development: Support developers building large applications by improving fundamental pieces of the Flex infrastructure.

Milestone Date
Product Defined April 2010
Hero Preview Release Second-half 2010
Final Hero Release 2011

Source: http://opensource.adobe.com/wiki/display/flexsdk/Hero

Share

,

No Comments

Adobe投訴 美查蘋果壟斷

近來最多 flash platform 上討論的事情當然是,apple 在adobe 推出cs5 之前3 日就改招改 app store 的license agreement.

Apple 這招「肥水不留別人田」的做法當然引來不少批評,而且,之後apple 出了公開信表明不加入flash的原因,而 adobe 就當然再出公開信反擊,搞到事件升級 (當然這是肯定會發生)。近日又有更新~

《華爾街日報》引述消息稱, Read the rest of this entry »

Share

, , , ,

No Comments

[Flex] Enterprise 利用 Flex 的 Do’s and Dont’s

雖然香港還未多人用flex ,不過later 應該會多一點人用呢~

chowky 除了覺得SEO 在flex 上面仍然是一個問題之外 (所以以chowky 的專業意見來說是會suggest html + flash),RIA 上面應該會要100﹪ 肯定會用flash。加上可以利用CS5 的 flash catalyst,改變傳統的創作模式,相信會愈來愈多人採用。

ok~ 題外話已經講完。

Flex 上做data visualization,其實是很合適的。

Enterprise 在技術上的應用是會比較慢的,(完全合理,因為IT system 是公司營運的重要一環,不會輕率地採用。)
現在 SAP,Crystal Report 都慢慢加入這個新功能,所以大家都會慢慢地見到AIR/FLEX 開發的的產品。雖然flex layout framework 加入了flash platform 入面,但是flash 的文字處理功能都仍然是弱,所以有可能只是某一些地方採用了flex ,而其他的都會用回html, java ..etc。
不過連oracle 都講和sell enterprise 2.0,看來enterprise 用RIA 應該只是時間問題。

這篇文章的作者真的不行

1. 利用MVC:正常的enterprise 的大project 都會有採用design pattern ,而flex 就應該利用 MVC model 的。

2. 放棄用 XML: enterprise 的project 必定是用database…..MSSQL/ORACEL DATABASE…..

3. Use resource bundles: for multi-language use. 同意的,現在每一個system 都想做到multilang。

4. Stay away from the Flex Builder WYSIWYG Editor: chowky 覺得他解釋得不對,雖然chowky 少用flex builder 的 wysiwyg,只是因為太慢,但不是不等如不用,hardcode X,Y ,很明顯只是作者不太了解flash builder wysiwyg…,我們可以改用left, right, top, bottom 的attributes ,這就可以解決hardcode x,y 的問題。

5. Don’t mix AS with MXML: 作者很明顯是java 的developer,functionality (chowky 是指business process) 竟然會放在flex 上run….正常會放在backend server,server process the result 再 return flex 4,原因是 enterprise 的data 的量和business logic都會是比較complex 的,server會比client PC 快很多,而且flex 4 是layout 都大概都會是利用skin 的方法。分不分AS / MXML 真是不太重要。

Source: http://flexonjava.blogspot.com/2010/04/enterprise-flex-development-dos-and.html

Share

,

No Comments

[Flex] Flex Pixel Bender

Flex 4 是可以利用pixel bender 來做新的effect 了。

這位作者就做了這個effect 來demo 一下pixel bender 的能力。

比起flash 本身有的filter (blur filter, glow filter, shadow filter…),這個當然會有很多新的玩法…. 記下來,可能遲一點會幫到你。

Source: http://www.artima.com/articles/bend_your_pixels.html

Share

, , ,

No Comments

[Flash] Conduit for Flash Pixel Bender

flash 雖然本身都有很多的方法去做到不同效,不過點都不夠用pixel base 來做的效果。

不當然,這個software 都要錢呢~

Are you hitting the limits of visual effects or ActionScript performance in Flash?

The latest Flash Player version 10 introduces a powerful new feature: Pixel Bender shaders. Using shaders you can bypass Flash’s built-in image effects and blending modes and instead manipulate pixels at will. Shaders are rendered in realtime, so they can be applied to video as well as images.

Shaders are not just for graphics either — they can also be used to perform any other intensive computation in Flash. Shader computation automatically takes advantage of modern multicore processors. Shaders in Flash are a high-powered computing engine that allows a web app to jump directly into the multicore era, leapfrogging even traditional desktop apps in performance.


Source: http://lacquer.fi/conduit/pixelbender/

Share

,

No Comments

[Flex] Flash Builder 4 Setting

Chowky 常常都要利用到flash builder 4。

不過eclipse 就真的需要memory. 做得太多野的話,就會有機會out of memory…. 連build project 都會有問題呢。

不知道production release 會否有這個問題?

加多一點memory 的方法:

  1. 先要關上flash builder
  2. 打開 .ini 的setting file. Mac  的朋友:Flash Builder 4.app -> MacOS -> Adobe Flash Builder 4.ini,而PC就C:\Program Files\Adobe\Adobe Flash Builder 4\FlashBuilder.ini (當然是跟據你入的位置)
  3. Search 這個字串:”-Xmx512m”,這是max memory,較大一倍,1024 ~之後儲存,還有-Xms40 的呢,這個應該是minimum,可以改做-Xms256. ( 大家可以search 字頭就可以了,-Xmx , -Xms,現在的COMPUTER 很多ram….應該要物儘其用呢~
  4. 再重新開啟flash builder 就可以了~

文章中還有提到plugin 的呢~

大家可以試下這種方法,去customizing 個settings.

Source: http://www.insideria.com/2010/03/intro-to-flash-builder-4-workf.html

http://polygeek.com/2496_flex_improve-flash-builders-performance-by-updating-your-eclipse-ini-file

Share

, , ,

No Comments

Adobe 公佈的 ColdFusion 9 performance

Adobe 公佈了coldfusion 9 和coldfusion 8 的performance 比較~

  • CFC Object Creation – 700% improvement over CF8
  • CFC Method Invocation – 200% improvement over CF8
  • Flash Remoting – 800% improvement over CF8
  • UUID key generator / CreateUUID – 10,000% improvement over CF8
  • IIS Connector Performance Improvement – 100% improvement

看來都改善了不少呢。

雖然是收費的server。不過既有IDE 做development 之外,又有一套完整的library. development cost 都省了不少。

大家都是在最大化efficiency,development cost + hardware cost + software cost。可惜,香港是focus on hardware only……

人工一直以來雖然不算太低,但是it方面 ot 的情況一向很大,而外國對這方面又很有保障的。

所以外國會考慮,development cost : software cost 方面的平衡。

而香港的情況是,做不完的工作就 OT 去完成,development cost 既然可以用這種方法keep constant 的話,跟本就不用去考利用 increase software cost 去 ease development cost。

這就是香港不能成功的跟本原因

Source: http://www.petefreitag.com/item/742.cfm

Share

2 Comments