Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
A practice for rapidly building API by using Ze...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kelvin
June 16, 2014
Technology
28
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
A practice for rapidly building API by using Zend Framework
Kelvin
June 16, 2014
Other Decks in Technology
See All in Technology
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
go-sqletch
moznion
0
140
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
580
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
150
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
120
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
160
Running Kotlin + Quarkus with Lambda
nealle
1
3.7k
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
130
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
340
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Practical Orchestrator
shlominoach
192
12k
First, design no harm
axbom
PRO
2
1.3k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
For a Future-Friendly Web
brad_frost
184
10k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
870
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Transcript
A practice for rapidly building API by using Zend Framework
Kelvin Ma
Agenda • Challenge for building API • Architecture for rapidly
building API • Practice • Q & A
Challenge for building API • API is not considered at
the beginning. • Had to write a lot of codes for API when needed (Duplicate business layer) • Hard to maintain both API and Web GUI
Architecture for rapidly building API
• CRUD : – http://www.site.com/api/order/get/?id=<id> – http://www.site.com/api/order/new/ – http://www.site.com/api/order/update/?id=<id> –
http://www.site.com/api/order/delete/?id=<id> • HTTP GET/POST • JSON data format • Authentication by ID and Token API Design
File structures
API Process
API and GUI controller
• Array is input data format of service module •
API and GUI transfer array to service module with same structure • API is using JSON data format • API authentication is implemented in custom action’s preDispatch function Key Points
• Easy to implement API • Less codes for API
• Decouple Web GUI with Business Layer. • No need to make changes twice for API and GUI Advantage
Thanks Q & A