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
0
42
Opa -how to code?- #TechLunch
2011/12/07(水) @ Livesense TechLunch
発表者:福田 絵里
Livesense Inc.
PRO
April 23, 2014
Tweet
Share
More Decks by Livesense Inc.
See All by Livesense Inc.
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
460
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
22
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
0
1.4k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
400
26新卒_総合職採用_会社説明資料
livesense
PRO
0
9.2k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
1
28k
26新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
1
12k
中途セールス職_会社説明資料
livesense
PRO
0
250
EM候補者向け転職会議説明資料
livesense
PRO
0
120
Other Decks in Technology
See All in Technology
クラウド開発の舞台裏とSRE文化の醸成 / SRE NEXT 2025 Lunch Session
kazeburo
1
450
ビジネス職が分析も担う事業部制組織でのデータ活用の仕組みづくり / Enabling Data Analytics in Business-Led Divisional Organizations
zaimy
1
310
Claude Code に プロジェクト管理やらせたみた
unson
8
4.9k
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
160
Rethinking Incident Response: Context-Aware AI in Practice
rrreeeyyy
1
390
〜『世界中の家族のこころのインフラ』を目指して”次の10年”へ〜 SREが導いたグローバルサービスの信頼性向上戦略とその舞台裏 / Towards the Next Decade: Enhancing Global Service Reliability
kohbis
3
1.1k
SRE不在の開発チームが障害対応と 向き合った100日間 / 100 days dealing with issues without SREs
shin1988
2
1.5k
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
990
衛星運用をソフトウェアエンジニアに依頼したときにできあがるもの
sankichi92
1
230
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
55
22k
Reach American Airlines®️ Instantly: 19 Calling Methods for Fast Support in the USA
flyamerican
1
180
ソフトウェアテストのAI活用_ver1.25
fumisuke
1
560
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Documentation Writing (for coders)
carmenintech
72
4.9k
Automating Front-end Workflow
addyosmani
1370
200k
Raft: Consensus for Rubyists
vanstee
140
7k
How to Think Like a Performance Engineer
csswizardry
25
1.7k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Building Applications with DynamoDB
mza
95
6.5k
Being A Developer After 40
akosma
90
590k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
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を使う前に 統計の勉強をしよう 入門編