網路冷眼@BlogJava

          熙熙攘攘一閑人 以冷靜的眼光觀察技術
          posts - 88, comments - 193, trackbacks - 0, articles - 28
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          RailsConf 宣布RubyFX Script 項目

          Posted on 2007-05-19 13:28 網路冷眼@BlogJava 閱讀(1128) 評論(0)  編輯  收藏 所屬分類: IT NewsRuby & Rails

          原文鏈接:http://www.almaer.com/blog/archives/001496.html

          RubyFX Script Announced at RailsConf

          Category: Java, Ruby, Tech

          It has been a great couple of weeks for FX script lovers. First we have JavaFX Script at JavaOne, and then we have the new RubyFX Script announcement at RailsConf.

          What is RubyFX Script?

          Think of a declarative Ruby that will let you build rich UIs on top of Swing or Tk.

          Examples

          title_tracks = select :indexof => track + 1,  :from => album, :in => albums, track in album.tracks where track >< album.title
          def factors(n)
          select :from => i, :in => [1..n/2], :where => n % i >< 0;
          end
          x = %w{1 2 3}
          insert :number => 10, :as => :first, :into => x; // yields [10,1,2,3]
          insert :number => 6 :after x[. >< 2]; // yields [10,1,2,6,3]
          

           

          This is just an alpha version. There is talk that the new version will add in python-like whitespace characteristics.

          Congrats! :)

          主站蜘蛛池模板: 定南县| 襄垣县| 万载县| 香河县| 宾川县| 南召县| 龙门县| 望谟县| 台北县| 湖州市| 昌乐县| 孟津县| 会昌县| 镇赉县| 宁城县| 宁夏| 上犹县| 普陀区| 怀柔区| 栾城县| 北海市| 镶黄旗| 巫山县| 原平市| 荔浦县| 游戏| 尉氏县| 潞城市| 广州市| 江达县| 鄂托克前旗| 凤庆县| 迁安市| 巴彦淖尔市| 钟祥市| 嘉禾县| 谷城县| 上栗县| 建湖县| 武陟县| 霍邱县|