Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Opa -how to code?- #TechLunch
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Livesense Inc.
PRO
April 23, 2014
Technology
63
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.
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
130
Rubyはただの⾔語に⾮ず
livesense
PRO
0
580
28新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
130
27新卒_総合職採用_会社説明資料
livesense
PRO
0
7.5k
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
13k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
600
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
1
1.8k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
730
26新卒_総合職採用_会社説明資料
livesense
PRO
0
13k
Other Decks in Technology
See All in Technology
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
3
490
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
330
Kiro Crewをはじめよう
kizawa2020
1
160
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
170
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
940
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
180
Refining Active Record
shugo
0
150
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Optimising Largest Contentful Paint
csswizardry
37
4k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
500
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Unsuck your backbone
ammeep
672
58k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
New Earth Scene 8
popppiees
4
2.7k
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を使う前に 統計の勉強をしよう 入門編