Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kentaro Yoshida LL言語でGUIアプリケーション PHP+WinBinder...
Search
Kentaro Yoshida
September 01, 2011
Technology
0
150
Kentaro Yoshida LL言語でGUIアプリケーション PHP+WinBinder編 2011/09/01
GUIアプリケーションをPHPで作成できるWinBinderを利用したデモンストレーションです。
Kentaro Yoshida
September 01, 2011
Tweet
Share
More Decks by Kentaro Yoshida
See All by Kentaro Yoshida
MySQL Casual Talks Vol.4 「MySQL-5.6で始める全文検索 〜InnoDB FTS編〜」
y_ken
0
12k
Nginxのお話 画像配信・APIキャッシュ利用事例 2011/11/11 Webサーバ勉強会
y_ken
0
510
Other Decks in Technology
See All in Technology
reinvent2024を起点に振り返るサーバーレスアップデート
mihonda
1
170
GraphRAG: What I Thought I Knew (But Didn’t)
sashimimochi
0
110
コスト削減と精度維持を両立!類似画像検索システムの内製化成功事例
shutotakahashi
0
320
Mocking your codebase without cursing it
gaqzi
0
130
プロダクト開発、インフラ、コーポレート、そしてAIとの共通言語としての Terraform / Terraform as a Common Language for Product Development, Infrastructure, Corporate Engineering, and AI
yuyatakeyama
6
1.4k
Site Reliability Engineering on Kubernetes
nwiizo
6
3.6k
TypeScriptでモジュラーモノリスやってみた
diggymo
0
110
PaaSの歴史と、 アプリケーションプラットフォームのこれから
jacopen
7
1.7k
ココナラのセキュリティ組織の体制・役割・今後目指す世界
coconala_engineer
0
180
FinJAWS_reinvent2024_recap_database
asahihidehiko
2
310
一人から始めたSREチーム3年の歩み - 求められるスキルの変化とチームのあり方 - / The three-year journey of the SRE team, which started all by myself
vtryo
7
4.8k
データ基盤におけるIaCの重要性とその運用
mtpooh
5
790
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
96
5.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
52k
Building Your Own Lightsaber
phodgson
104
6.2k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Building Applications with DynamoDB
mza
93
6.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
174
51k
Docker and Python
trallard
43
3.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Transcript
LLݴޠͰGUIΞϓϦ 2011/09/01 Lightweight Language GUI Application Kentaro Yoshida
త LLݴޠͰखܰʹGUIΞϓϦ͕࡞ΕΔ͔ͷ࣮ূ ʲܰྔϓϩάϥϛϯάݴޠʳLightweight Language PerlɺPythonɺPHPɺRubyͳͲͷίϯύΠϧෆཁͳεΫ ϦϓτݴޠΛࢦ͢ɻଏʹɺLLݴޠͱݴΘΕΔɻ
GUIͷϝϦοτ αʔόෆཁ ڥΛબͳ͍ ΦϑϥΠϯͰ͑Δ
ݴޠબఆ ଞͷΩʔϫʔυ: python guiϓϩάϥϛϯά python gui windows python guiΞϓϦ python
gui tkinter python guiൺֱ ͯ͢ ը૾ ಈը ͓ͬ͞ΜʹͰ͖ͨʂ PythonʹΑΔGUIϓϩάϥϛϯά ! " Google Python GUI Python GUI ݕࡧΦϓγϣϯ 22,300,000 ݅ ʢ0.19 ඵʣ Σϒ ը૾ ಈը ਤ χϡʔε γϣοϐϯά Gmail ͬͱݟΔ " Google PHP GUI PHP GUI ݕࡧΦϓγϣϯ 42,400,000 ݅ ʢ0.06 ඵʣ Σϒ ը૾ ಈը ਤ χϡʔε γϣοϐϯά Gmail ͬͱݟΔ ଞͷΩʔϫʔυ: ruby guiϓϩάϥϛϯά ruby guiೖ ruby guiൺֱ ruby gui tk ͯ͢ ը૾ ಈը χϡʔε γϣοϐϯά ͬͱݟΔ ౦ژौ୩۠ jp.rubyist.net/magazine/?0001-RubyGUI - Ωϟογϡ 20056݄11 – Ruby ͷϥΠϒϥϦͱ͍͑ɺRAA ͕ͩɺ Library/GUI ΛݟΔͱɺ2004-8-29 ݱࡏɺ31 ͷϓϩδΣΫτ͕ొ͞ Ε͍ͯΔɻ ͜ͷதʹɺRAA:fxirb ͷΑ͏ʹ FXRuby ༻ʹ֦ுͨ͠ IRB ͱ͍ͬͨ७ਮͳ GUI ϥΠϒϥϦͱݺͳ͍ͷؚ·Εͯ ... Ruby/Tk - Ruby-GNOME2 - QTRuby - FXRuby Ruby de GUI - ຊRubyͷձ - Rubyist.net " # Google Ruby GUI Ruby GUI ݕࡧΦϓγϣϯ 16,900,000 ݅ ʢ0.11 ඵʣ Σϒ ը૾ ಈը ਤ χϡʔε γϣοϐϯά Gmail ͬͱݟΔ ଞͷΩʔϫʔυ: perl guiϓϩάϥϛϯά perl gui windows ͯ͢ ը૾ ಈը χϡʔε γϣοϐϯά blog.remora.cx › Windows - Ωϟογϡ 20103݄28 – Windows + PerlͰGUIΞϓϦΛ࡞Δखஈ͍͔ͭ͘ ͋Δ͕ɺҰ൪खࠒͰ... ʲPerlʳWin32::GUI::LoftͰGUIϓϩάϥϛϯά - blog.remora.cx ! " Google Perl GUI Perl GUI ݕࡧΦϓγϣϯ 19,600,000 ݅ ʢ0.23 ඵʣ Σϒ ը૾ ಈը ਤ χϡʔε γϣοϐϯά Gmail ͬͱݟΔ
खஈ PHP-Qt PHP-gtk WinBinder
Πϯετʔϧ ը૾ఏڙ: http://pc.casey.jp/archives/2751
࣮ફೖฤ Οϯυੜ Ϙλϯઃஔ Ϙλϯ͕ԡ͞ΕΔͱɺ ϝοηʔδμΠΞϩάΛग़͢
<?php include "c:¥winbinder¥phpcode¥include¥winbinder.php"; $mainwin = wb_create_window(NULL, AppWindow, "Α͏ͦ͜ʂ", 300, 200);
wb_create_control($mainwin, PushButton, "͜͜Λԡ͢", 110, 80, 80, 40, 1); wb_set_handler($mainwin, "process_main"); wb_main_loop(); function process_main($window, $id) { switch ($id) { case 1: wb_message_box($window, "Hello World"); break; case IDCLOSE: wb_destroy_window($window); break; } } ?>
ར༻ՄೳͳΠϯλʔϑΣʔε
ಈ࡞ݪཧ php͔Βextension (php_winbinding.dll) ܦ༝ͰWindows GDIΛૢ࡞ ͜ͷ෦Λ੍ޚ
࣮ફฤ csvͷॏෳߦΛআͯ͠ग़ྗ͢Δͷ ػछґଘจࣈΛऔΓআ͍ͨϑΝΠϧΛੜ͢Δͷ APIͷ࣮ߦ݁ՌΛදࣔ͢Δςετπʔϧ ύεϫʔυੜػ
࣮ԋ
݁ ҙ֎ͱ؆୯ʹ࡞Δ͜ͱ͕ग़དྷΔ طଘͷPHPίʔυΛ࠶ར༻ͯ͠࡞Γ͍ͨ࣌ʹ͍͍͔ ։ൃ͕ͬͯΔ͜ͱ͋Γɺۀ༻ͱͯ͠ෆ҆ ݩʑPHP4༻ʹ࡞ΒΕ͍ͯΔͷͰglobalએݴΛ͏ඞཁ͕͋Δ… ϗϏʔ༻్ʹ͓קΊͰ͢ʂʂ ͍ํ࣍ୈʂ
༨ஊ Rubyͷ߹ ShoesRubyͷGUIπʔϧΩοτͰɺ؆୯ͳίʔυهड़Ͱ GUIΞϓϦέʔγϣϯΛ։ൃͰ͖Δͷ͕ಛɻ ྫ͑ɺҰߦͰӈهϓϩάϥϜ͕هड़Ͱ͖Δɻ Shoes.app { button("Click me!") {
alert("Good job.") } } ࣌OSຖͷόΠφϦͰͳ͘ɺFlashͷΑ͏ʹ ࣮ߦՄೳͳϑΝΠϧΛShoesڥͰ࣮ߦ͢ΔܗࣜΛऔΓ·͢