Shoes

維基百科,自由的百科全書
Shoes
原作者why the lucky stiff英語why the lucky stiff
開發者Team Shoes
首次發布2007年7月30日,​16年前​(2007-07-30
編程語言主要為 Ruby 和 C
平台跨平台
語言英語
許可協議MIT / Open source
網站shoesrb.com

Shoes 是一套基於 Ruby 語言的 GUI 開發工具。其最初由 why the lucky stiff英語why the lucky stiff 開發,在他停止了一切公開活動之後,社區接手了該項目並繼續開發。Shoes 可以在 Microsoft WindowsMac OS X 和 LinuxGTK+)上運行,底層使用了 Cairo 和 Pango 函數庫。

Shoes 的設計哲學是應用程序的編寫越簡單越好。下面是一個 Shoes 應用的範例:

Shoes.app :title => "Push Button" do
  @note = para "Nothing pushed so far"

  button "Push me" do
    @note.replace "Aha! The button was pushed!"
  end
end

Shoes 不僅提供了標準的視窗控件部件,它還能通過 Chipmunk 實現基礎的繪圖功能。

版本[編輯]

正式發行版本[編輯]

  • _why:
  1. 第一版 Curious
  2. 第二版 Raisins
  • _why 離開後:
  1. 3.0-3.1 Policeman
  2. 3.2 Federales

目前最新的發行版是 3.2,這些版本均由 C 語言實現,現由社區維護。

Shoes 4[編輯]

開發中的 Shoes 4 是一個完全用 Ruby 重寫的版本,不再由 C 語言實現。它使用 JRuby + SWT 構築圖形界面。

其他開源實現[編輯]

除了官方的實現版本之外,GitHub 上亦有各種各樣的 Shoes 版本,它們的名字大多是在 Shoes 前加上特定的顏色。如 Green Shoes頁面存檔備份,存於網際網路檔案館) 是由 GTK+ 實現的版本,Blue Shoes頁面存檔備份,存於網際網路檔案館) 是 Qt 的版本,Brown Shoes頁面存檔備份,存於網際網路檔案館) 是 JRuby + Swing 的版本等等。

外部連結[編輯]