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
Opa -how to code?- #TechLunch
Search
Livesense Inc.
PRO
April 23, 2014
Technology
58
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Opa -how to code?- #TechLunch
2011/12/07(水) @ Livesense TechLunch
発表者:福田 絵里
Livesense Inc.
PRO
April 23, 2014
More Decks by Livesense Inc.
See All by Livesense Inc.
Rubyはただの⾔語に⾮ず
livesense
PRO
0
450
28新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
110
27新卒_総合職採用_会社説明資料
livesense
PRO
0
6.2k
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
11k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
520
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
1
1.7k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
650
26新卒_総合職採用_会社説明資料
livesense
PRO
0
13k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
2
70k
Other Decks in Technology
See All in Technology
2年前に削除したPHPクラスが、 ある日突然決済をエラーにした
ykagano
1
780
Aurora MySQL 8.4リリース! Rubyistが備えること / what-rubyist-should-prepare-for-aurora-mysql-8-4
fkmy
0
750
設計レビューとAIハーネスで向き合う AIが生み出した新しいボトルネックの対処法 / Design Reviews and AI Harnesses Against New Bottlenecks Created by AI
nstock
4
430
kaonavi Tech Night#1
kaonavi
0
160
_NIKKEI_Tech_Talk__勉強会は熱量では続かない___17回続いた輪読会の設計術.pdf
_awache
1
100
ダッシュボード"開発"について 〜使われるダッシュボードのつくりかた〜
kimichan
0
200
AI時代におけるエンジニアの新たな役割──FDEとクオリアの探求/登壇資料(戸井田 裕貴)
hacobu
PRO
0
320
副作用のある Lambda でも Lambda Power Tuning は使えるのか / lambda-power-tuning-side-effects
koukihosaka
1
140
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.5k
OpenTelemetryにおけるGoのゼロコード・コンパイル時計装について #fukuokago
quiver
0
210
「休む」重要さ
smt7174
6
1.6k
10年目を迎えた「ABEMA」がどのように AI 活用を推進して、AI 駆動開発にシフトしているのか / How ABEMA, entering its 10th year, is promoting the use of AI and shifting toward AI-driven development
miyukki
0
370
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
200
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
190
The Pragmatic Product Professional
lauravandoore
37
7.4k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
180
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
190
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
220
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
660
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
320
Color Theory Basics | Prateek | Gurzu
gurzu
0
400
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Speed Design
sergeychernyshev
33
1.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Transcript
Opa -the cloud language- how to code ?
アプリケーションロジック、 データベースクエリ、 ユーザインタフェイスを、 同一の言語で書けるようにする ために開発された言語 Produced by DBMS webサーバ サーバサイド・クライアントサイド
フレームワーク 公開用ミドルウェア HTML セキュリティツール
2011年6月に初公開 AGPLライセンス取得済み 強い静的型付け メッセージパッシング形式 Ocaml, Erlangの影響を受ける クライアント側でJavascript生成 (jQuery)
Main functional features
http://tutorials.opalang.org/hello_chat DEMO Source code http://doc.opalang.org/#_hello_chat Hello, chat
Hello, chat reference •syntax sugar {~author ~text} {author=author text=text} •type
関数名 型名 user_update message -> void broadcast string -> void start -> xhtml ⇕
Deploying & Scalability スケールアウトの動作要件: base64, HAProxy opa-cloud --host localhost,2 hello_wiki.exe
サーバーインスタンス数 IaaSでもOK
The database データベースサーバの立ち上げ、データベースとの接続に ついてはopa利用者は考慮しなくてよい Definition of path db /path/to/define :
type read x = /path/to/data write /path/to/data <- x 「パス」を利用
January 2012 New syntax (JS-like syntax) NoSQL db support opaの動向
現行のopa内部DB 良い点:opa言語でDBが操作できる 悪い点:複雑なクエリを打ちにくい Opa internal DB NoSQL db support or
or
考察 メリット 環境構築が楽 簡単なwebアプリケーションの作成・公開の際に適する デメリット デバッグに時間がかかりそう クライアントに返すファイルが分からない 大規模開発だと、結局コード分ける コードが煩雑
次回 Rを使う前に 統計の勉強をしよう 入門編