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
テスト駆動Kaggle
isax1015
1
620
20250708_JAWS_opscdk
takuyay0ne
2
130
AI Agent 時代のソフトウェア開発を支える AWS Cloud Development Kit (CDK)
konokenj
6
800
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
270
レトロゲームから学ぶ通信技術の歴史
kimkim0106
0
110
初学者でも今すぐできる、Claude Codeの生産性を10倍上げるTips
s4yuba
16
13k
AIともっと楽するE2Eテスト
myohei
8
3k
可変変数との向き合い方 $$変数名が踊り出す$$ / php conference Variable variables
gunji
0
180
Goで作る、開発・CI環境
sin392
0
260
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
300
Python型ヒント完全ガイド 初心者でも分かる、現代的で実践的な使い方
mickey_kubo
1
240
NEWT Backend Evolution
xpromx
1
140
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
700
Thoughts on Productivity
jonyablonski
69
4.7k
GitHub's CSS Performance
jonrohan
1031
460k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Music & Morning Musume
bryan
46
6.7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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