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
Domain Specific Languages and Ruby
Search
Tawan Sierek
February 04, 2016
Programming
0
54
Domain Specific Languages and Ruby
Domain Specific Languages
What are they and how does Ruby help
Tawan Sierek
February 04, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
なぜ「共通化」を考え、失敗を繰り返すのか
rinchoku
1
570
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1.1k
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
150
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
700
童醫院敏捷轉型的實踐經驗
cclai999
0
200
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
300
Cursor AI Agentと伴走する アプリケーションの高速リプレイス
daisuketakeda
1
130
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
170
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
1.6k
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
370
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
850
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
570
Featured
See All Featured
Side Projects
sachag
455
42k
Done Done
chrislema
184
16k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
How GitHub (no longer) Works
holman
314
140k
Building an army of robots
kneath
306
45k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Code Review Best Practice
trishagee
68
18k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
A designer walks into a library…
pauljervisheath
207
24k
Transcript
Domain Specific Languages What are they good for and how
does Ruby help?
[email protected]
@tawan gitbub.com/tawan
None
SQL
SQL
SQL HTML
SQL HTML
SQL HTML
SQL If.. while .. HTML
SQL If.. while .. HTML
SQL If.. while .. HTML
SQL If.. while .. HOW WHAT HTML
None
get '/patients/:id', to: 'patients#show’ namespace :admin do resources :articles,
:comments end Rails’ routes.rb
class Person < ActiveRecord::Base validates :name, presence: true validates
:email, confirmation: true validates :age, numericality: true, on: :update end Rails’ ActiveModel
authorization do privileges do privilege :manage, :includes => [:create, :read,
:update ] privilege :create, :includes => :new privilege :read, :includes => [:index, :show] privilege :update, :includes => :edit privilege :delete, :includes => :destroy end role :branch_admin do has_permission_on :branches, :to => :manage do if_attribute :managers => contains {user} end has_permission_on :employees, :to => :manage do if_permitted_to :manage, :branch end end end Declarative Authorization https://github.com/stffn/declarative_authorization
THANK YOU