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
Padrino::Validation::HTML5
Search
aereal
November 13, 2011
Programming
1
380
Padrino::Validation::HTML5
in Kansai Dark RubyKaigi (#kyami)
aereal
November 13, 2011
Tweet
Share
More Decks by aereal
See All by aereal
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
1.5k
qron: Cloud Native Cron Alternativeの今
aereal
2
1.5k
自動作曲入門 / introduction to programatic music composition
aereal
1
530k
はてなブログ タグとCDK / The epic of AWS CDK and Hatena Blog Tag
aereal
3
200k
はてなブログ タグの技術選択 / The technical details of Hatena Blog Tag
aereal
3
190k
ブログサービスのHTTPS化を支えたAWSで作るピタゴラスイッチ / The construction of large scale TLS certificates management system with AWS
aereal
3
390k
AWSではてなブログの常時HTTPS配信をバーンとやる話 / The Epic of migration from HTTP to HTTPS on Hatena Blog with AWS
aereal
14
17k
ScalaとPerlでMicroservices in production / Building microservices with Perl and Scala in production
aereal
0
5.2k
Scalaで自動作曲の練習 / A study of automatic composition in Scala
aereal
1
390k
Other Decks in Programming
See All in Programming
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
240
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
350
デザインシステムで Tailwind CSSとCSS in JSに分散投資をしたら良かった話
fsubal
18
4.8k
スクラムチームと認知負荷 - ニフティのスクラムトーク Vol2. / NIFTY Tech Talk #18
niftycorp
PRO
1
120
App Router への移行は「改善」となり得るのか?/ Can migration to App Router be an improvement
takefumiyoshii
8
2.1k
本格ローグライク制作にEbitengineを選んでみた
nagainaganawa
0
290
Rails と人魚の話/rails-and-mermaid
sanfrecce_osaka
0
100
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
330
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
480
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
230
Ruby Function Composition
bkuhlmann
1
330
オブジェクト指向のリ・オリエンテーション~歴史を振り返り、AI時代に向きなおる~
hanyudaeiiti
9
5.6k
Featured
See All Featured
Teambox: Starting and Learning
jrom
128
8.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
242
12k
Building Your Own Lightsaber
phodgson
98
5.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
Product Roadmaps are Hard
iamctodd
43
9.7k
Typedesign – Prime Four
hannesfritz
36
2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.8k
Principles of Awesome APIs and How to Build Them.
keavy
120
16k
Practical Orchestrator
shlominoach
181
9.7k
The Brand Is Dead. Long Live the Brand.
mthomps
48
28k
Mobile First: as difficult as doing things right
swwweet
216
8.6k
Music & Morning Musume
bryan
41
5.6k
Transcript
Padrino::Validation::HTML5 by @aereal (?:id:aereal) 1111݄13༵
Who am I? @aereal ?:id:aereal GitHub: aereal 1111݄13༵
Activities make kaminari.gem independent Rails/Railities Padrino document translation 1111݄13༵
Web App in Ruby World http://padrinorb.com/ http://jp.padrinorb.com/ (ja) 1111݄13༵
Padrino is ... the godfather of sinatra https://github.com/padrino/padrino-framework#readme 1111݄13༵
Validation with 1111݄13༵
Write Validations In View (HTML5) In Model 1111݄13༵
DRY = Don’t Repeat Yourself 1111݄13༵
ActiveModel::Validations Acceptance Confirmation Inclusion/Exclusion Format (Numericality) Length Presence 1111݄13༵
P::H::FB P = Padrino H = Helpers FB = FormBuilders
1111݄13༵
P::H::FB 1111݄13༵
P::V::H5 P = Padrino V = Validation H5 = HTML5
1111݄13༵
P::V::H5 Validations and their options from ActiveModel injects HTML5 form
validations i.e. PresenceValidation -> input[required=required] 1111݄13༵
See Also http://padrinorb.com/ http://jp.padrinorb.com/ (Translators welcome!) http://git.io/padrino-v-h5 https://github.com/kentaro/HTML-ValidationRules 1111݄13༵
Welcome
Padrino ࠇϛα in ژ http://atnd.org/events/21442 2011/12/10 13:00 - 15:00 Ωϟϯύεϓϥβژ
#padrino_sabbath 1111݄13༵