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
#bcbk4 Please use a Web Framework
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Manatsawin Hanmongkolchai
September 22, 2013
930
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
#bcbk4 Please use a Web Framework
Barcamp Bangkhen 4
Manatsawin Hanmongkolchai
September 22, 2013
More Decks by Manatsawin Hanmongkolchai
See All by Manatsawin Hanmongkolchai
Nix: Declarative OS
whs
0
130
gRPC load balancing with xDS
whs
0
1.1k
ArgoCD
whs
0
480
Writing Babel Plugin
whs
0
230
What's new in Cloud Next 2019
whs
0
330
A Date with gRPC
whs
1
1.5k
ตีแผ่ Microservice ด้วย Tracing
whs
0
410
Next Generation Smart Home
whs
0
1k
Istio and the Service Mesh Architecture
whs
3
1.1k
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
220
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
360
Game over? The fight for quality and originality in the time of robots
wayneb77
1
190
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Building Applications with DynamoDB
mza
96
7.1k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
260
Ethics towards AI in product and experience design
skipperchong
2
300
Typedesign – Prime Four
hannesfritz
42
3.1k
Transcript
Please, use a web framework Barcamp Bangkhen 4
# whoami • Manatsawin Hanmon kolchai • @awkwin (formerly @manatsawin)
• #bcbk3 session: “CoreAnime & Kyou: What we learned”
Long, long ago
Long, long ago Oops, SQL Injection
Long, long ago Oops, SQL Injection And XSS
Second project Much better!
Third project • And all of those just get copied
on, and on, and on... • Yay! Our own framework! We can shape it whatever we want!
WHERE IS MY REVIEW (›°□°)›ớ ᵲᴸᵲ
Shit. I must forgot to escaping HTML again.
I dare you: build this. • Don’t use a library!
• A form that: • Validate input on server-side • Load initial data from database • Restore data if validation failed
Pa ination
Templatin (actually you can use a template engine without framework)
Then htaccess happened • We now don’t want /login.php. We
want /login
Then REST happened • Now GET and POST points to
separate endpoints
Then stuff happened. “I’m sorry Mario, this feature is in
another castle”
Please, use a framework. Laravel PHP Or anythin of your
choice Djan o Python
Form validation Restore data on validation failure AWESOME Database API
Flash messages!
Pagination
Debug toolbar (not built-in)
Templating Inheritance Auto escaping Cool functions
Security
Discussion? I ran out of idea :P