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
EEUK 2013: ExpressionEngine's Missing API
Search
Ben Croker
May 17, 2013
Technology
0
4.2k
EEUK 2013: ExpressionEngine's Missing API
My talk at EEUK 2013 in which I introduce Open API.
Ben Croker
May 17, 2013
Tweet
Share
More Decks by Ben Croker
See All by Ben Croker
The Art Of Plugin Development
putyourlightson
0
650
GeeUp 2014: CMS+
putyourlightson
0
180
Craft CMS Summit 2014: Element Types & Plugin Development
putyourlightson
3
390
EECI 2012: With Great Power Comes Great Responsibility
putyourlightson
5
730
Other Decks in Technology
See All in Technology
Grafana x PagerDuty Better Together
jacopen
1
240
Building Dashboards as a Hobby
egmc
0
350
AWS学習者向けにAzureの解説スライドを作成した話
handy
3
160
Cracking the KubeCon CfP
inductor
2
270
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
690
生産性向上チームの紹介
cybozuinsideout
PRO
1
900
コードファーストの考え方。 Amplify Gen2から学ぶAWS次世代のWeb開発体験
yoshiitaka
1
250
Handling focus in 2024
tahia910
0
200
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
200
いいたいことちゃんという
tkengo
0
210
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
6
1.1k
本当のAWS基礎
toru_kubota
1
600
Featured
See All Featured
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Making Projects Easy
brettharned
109
5.5k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
A better future with KSS
kneath
231
16k
Become a Pro
speakerdeck
PRO
12
4.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
Producing Creativity
orderedlist
PRO
338
39k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
13
8.3k
Web Components: a chance to create the future
zenorocha
306
41k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
Transcript
Ben Croker Lead Developer, Venveo Add-On Developer, PutYourLightsOn @ben_pylo expressionengine’s
missing api
None
None
None
None
None
None
None
Your First Day As The EE Pro
Task 1 News Dept.
Build a simple, mobile-friendly, publishing system for news articles “
“
None
safecracker form
None
?
Challenges Create new categories Update existing categories
Task 2 Sales Dept.
Build a task list system with commenting “ “
None
entry category
status
status title
status title delete
status title delete create
Challenges Update statuses and titles inline Delete entries Create new
entries on-the-fly
Task 3 Mobile App Dept.
Build an endpoint that can be queried for recently published
news articles “ “
Mobile App CMS Return articles in JSON format Request new
articles since last check
Challenges Request published entries based on specific time Speed and
performance Output entries in JSON format
Realisation ExpressionEngine’s CRUD Functionality is locked in the Control Panel
The only way OUT is with Templates The only way IN is with Safecracker
ExpressionEngine API Libraries EE2 Native Libraries Ellis Lab
ExpressionEngine API’s Used mainly for Creating, Updating and Deleting Limited
Retrieval Inconsistent Syntax Available in Back-end only
Channel Data Library Justin Kimbrell Objective HTML
Channel Data Library Retrieval of Content (Channels, Entries, Categories, ...)
Abstracted Methods Consistent Syntax Available in Back-end only
EE Data API Chris Imrie Moresoda
EE Data API CodeIgniter App Very Basic Retrieval of Channels
and Entries Available on Front-end
Entry API Rein de Vries Reinos.nl
Entry API CRUD Capability on Entries and Categories REST, XML-RPC
and SOAP Commercial Add-on Available on Front-end
Conclusion ExpressionEngine is missing a way of retrieving and modifying
content from outside the Control Panel
Introducing Open API
Open API CRUD Capability Free and Open Source Proper API
Docs Available on Front-end
Open API Capabilities Member Authentication C(reate) R(ead) U(pdate) D(elete): Channels,
Channel Entries, Categories, Category Groups, Members, ...
Open API Architecture HTTP GET & POST Requests JSON Responses
Authenticated Sessions Language Independent (PHP, JavaScript, CURL, AJAX,...)
Open API Open API Lib Channel Data Library Read Create/Update/Delete
Front-End Request JSON Response EE API Lib
Open API Docs h p://docs.eeopenapi.apiary.io
Demos
ExpressionEngine as a Platform Requires a paradigm shi in the
level of freedom and control we have over our content
Open API h ps://github.com/putyourlightson/open-api h p://docs.eeopenapi.apiary.io Ben Croker @ben_pylo