SlideShare a Scribd company logo
Click to edit Master title style

API Centric Web
Development
Joe Stagner
Zend Technologies
1
Click to edit Master title style

The significant problems of today
can not be solved with the kinds of
thinking that created those
problems in the first place!

2
Click to editdone this before ?
Haven't we Master title style

Why? What? How?
Agile Methodologies
Procedural Programming
Object Oriented Programming
Modular Programming
Pair Programming
3

Component Oriented Development
Domain Driven Development
Event Driven Development
Test Driven Development
Click to edit Master title style

4
Click to edit Master title style

5
Click to edit Master title style

6
Click to edit Master title style

7
Click to edit Master title style

8
Click to edit Master title style

9
Bam !

Click to edit Master title style

10
Click to edit Master title style

11
Click to edit Master title style

12
Click to edit Master title style

Growth Factor !

I
B
6
13

N
IO
L
L
Click to edit Master title style

14
Click to edit Master title style

15
Click to edit Master title style

16
Click to edit Master title style

17
Click to edit Master title style

Worlds Collide

18
Click to edit Master title style

19
Click to What is used to style the WWW ?
edit Master title build

20
ClickWorld Master title style
Our to edit
% of PHP Developers working on Mobile Apps

72%

21

Base: 3,335 (in 2012) and 4,809 (in 2013) enterprise, SMB and independent developers worldwide
Source: Zend Technologies, Zend Developer Pulse Survey 2011 and 2013

68%
72%

using the
cloud

using APIs
& cloud
services
Click to edit Master title style

Ok, but what problems are we trying to solve ?

iPhone / iPad

Desktop

UI

I/O

UI

I/O

Logic

Static

Logic

Static

Browser

Android
UI

UI

I/O

Logic
23

I/O
Static

Logic

Static
Click to edit Master title style

! Agile Development

24
Click to edit Master title style

25
Click to edit Master title style

The MODERN Expectation

26
Click to edit Master title style

27
Click to edit Master title style

28
Click to edit Master title style

Ok, but what problems are we trying to solve ?
Android

Browser

Desktop

Device Specific UI

Device Specific UI

Device Specific UI

Device Specific UI

Device Specific Logic

Device Specific Logic

Device Specific Logic

Device Specific Logic

Client Layer

Client Layer

Client Layer

Client Layer

iPhone / iPad

Data I/O

31

Static Assets

Business Logic

Shared UI

3rd party Broker

Future Use
Click to edit Master title style

The Internet is like my TV !

32
Click to edit Master title style

What's an API ?
l
l
l
l

33

CORBA
RPC
ORB
COM/DCOM

l

l
Sockets
SOAP
l
l
TCP
WSDL
l
l
HTTP
WS-*
l
Web Sockets l DOC Literal
l
XML-RCP

l
l
l
l
l

BINARY
ASCII
POX
WS / Etc
JSON
Click to edit Master title style

Just Choose !

HTTP (Sockets, etc.)
JSON (POX, SOAP, ASCII)
REST (RPC)

34
Click to edit Master title style

Un REST

http://someurl/customer/insert
http://someurl/customer/?action=insert
http://someurl/customer/insert/?name=acme....

35
Click to edit Master title style

REST ish

curl --request GET -H "Content-Type: application/json"
--data '{"type": "tuple"}' http://someurl/customer
curl --request POST -H "Content-Type:
application/json" --upload-file data.json
http://someurl/customer

36
Click to edit Master title style

Working with data

37
Legacy Migration
Click to edit

Master title style
Web Site

Desktop App

API Layer

40

UI

I/O

UI

I/O

Logic

App

Static

Logic

Static
Legacy Migration
Click to edit

Master title style
Web Site

Desktop App

API Layer

41

UI

I/O

UI

I/O

Logic

App

Static

Logic

Static
Legacy Migration
Click to edit

Master title style
Web Site

Legacy App

Desktop App

UI

I/O

UI

I/O

Logic

Static

Logic

Static

API Layer

42
Click to edit Master title style

Ideal Architecture
Native App(s)

Users

Mobile App(s)
Native App

Assets

Products

DATA
43

Web App(s)

Transactions
Click to edit – Real Federated Logic
Benefits Master title style
●

Finally - Web Client Server

●

Separation of Concerns = real agility
●

●

URL Endpoints are eminently testable
●

●

They are also seamlessly evolveable

HTTP Ubiquity means MAXIMUM code reuse
●

44

Ideally suited for Unit Testing and CI

Stateless endpoints are innately scalable*
●

●

Add features without touching adjacent code

And no platform specific dependencies
Click to edit – Real Federated Logic
Benefits Master title style

Your TEAMS can federate with your logic.
●

Large teams can geo-distribute

●

Small teams can more successfully out-source / near source
●
●

45

Logic need not be shared between teams
Even continuous delivery can be distributed
Click to edit Master title style
Down side ?

Performance issues ?
● Learning curve ?
● Legacy Integration ?
●

46
Click to edit Master title style

47
API–based Development

49
Zend Blueprint for Continuous Delivery
• Blueprint now available at : www.zend.com/blueprint
• Zend Server Patterns :

Coming soon: Bamboo, Puppet, Tivoli
• New Continuous Delivery Assessment
50
New Zend Studio 10.5 Early Access!
• 2x faster PHP code analysis and better

responsiveness
• Updated PHP Toolbox: Composer,
PHPUnit, PHPDocumentor
• Great for developing ZF2 and end-toend mobile apps
• New Intelligent library management

”

Zend Studio 10 is fully integrated with Git, PHPUnit and Zend
Framework 2, which gives me one convenient place for my coding
practces. When using ZF2, it’s invaluable thanks to its seamless
integraton.

”

Ore Landau, PHP Developer, SangtamTech

51

Give it a test drive:
www.zend.com/studioEA
Click to edit Master title style

Thank You!
Joe@Zend.com
@MisfitGeek
Devzone.Zend.com
MisfitGeek.com
52
Click to edit Master title style

53

More Related Content

What's hot (20)

PDF
Speed-Up Kafka Delivery with AsyncAPI & Microcks | Hugo Guerrero, Red Hat
HostedbyConfluent
 
PDF
apidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Rao
apidays
 
PDF
apidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheim
apidays
 
PDF
apidays LIVE Paris - GraphQL meshes by Jens Neuse
apidays
 
PDF
apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...
apidays
 
PPTX
Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?
3scale
 
PPTX
A Connector, A Container and an API Walk into a Bar… Microservices Edition
Steven Willmott
 
PDF
INTERFACE, by apidays - C* made easy with Stargate APIs by Kirsten Hunter, D...
apidays
 
PPTX
Microservices in action: How to actually build them
3scale
 
PDF
apidays LIVE Paris - Automation API Testing by Guillaume Jeannic
apidays
 
PPTX
apidays LIVE Paris - SDK driven GraphQL by Nader Dabit
apidays
 
PDF
apidays LIVE New York 2021 - API for multi-cloud management platform by Pawel...
apidays
 
PDF
apidays LIVE Jakarta - API Sandbox: empowering Developer Experience (DX) by F...
apidays
 
PDF
Scaling Your Team With GraphQL: Why Relationships Matter
Joel Bowen
 
PPTX
APIdays Paris 2019 - Delivering Exceptional User Experience with REST and Gra...
apidays
 
PDF
apidays LIVE Paris - Innovation and rejuvenation combined: a beneficial appro...
apidays
 
PDF
APIdays Paris 2019 - Delivering the Modern API: Know What it Takes by Nuwan D...
apidays
 
PDF
apidays LIVE Paris - The Business of APIs by Jed Ng
apidays
 
PDF
[APIdays INTERFACE 2021] Now that we have K8s, can we stop re-inventing API p...
WSO2
 
PDF
APIs Are Forever - How to Design Long-Lasting APIs
LaunchAny
 
Speed-Up Kafka Delivery with AsyncAPI & Microcks | Hugo Guerrero, Red Hat
HostedbyConfluent
 
apidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Rao
apidays
 
apidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheim
apidays
 
apidays LIVE Paris - GraphQL meshes by Jens Neuse
apidays
 
apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...
apidays
 
Mediterranea.apidays.io 2013: APIs for Biz Dev 2.0 - Which business model?
3scale
 
A Connector, A Container and an API Walk into a Bar… Microservices Edition
Steven Willmott
 
INTERFACE, by apidays - C* made easy with Stargate APIs by Kirsten Hunter, D...
apidays
 
Microservices in action: How to actually build them
3scale
 
apidays LIVE Paris - Automation API Testing by Guillaume Jeannic
apidays
 
apidays LIVE Paris - SDK driven GraphQL by Nader Dabit
apidays
 
apidays LIVE New York 2021 - API for multi-cloud management platform by Pawel...
apidays
 
apidays LIVE Jakarta - API Sandbox: empowering Developer Experience (DX) by F...
apidays
 
Scaling Your Team With GraphQL: Why Relationships Matter
Joel Bowen
 
APIdays Paris 2019 - Delivering Exceptional User Experience with REST and Gra...
apidays
 
apidays LIVE Paris - Innovation and rejuvenation combined: a beneficial appro...
apidays
 
APIdays Paris 2019 - Delivering the Modern API: Know What it Takes by Nuwan D...
apidays
 
apidays LIVE Paris - The Business of APIs by Jed Ng
apidays
 
[APIdays INTERFACE 2021] Now that we have K8s, can we stop re-inventing API p...
WSO2
 
APIs Are Forever - How to Design Long-Lasting APIs
LaunchAny
 

Viewers also liked (9)

PDF
Lessons from the Trenches: Building an API-Centric Architecture
WSO2
 
PPTX
Build APIs in Node.js and Swagger 2.0 with Apigee-127
Apigee | Google Cloud
 
PPTX
Data Entitlement in an API-Centric Architecture
WSO2
 
PDF
Swagger for-your-api
Tony Tam
 
PPTX
Swagger - make your API accessible
Victor Trakhtenberg
 
PDF
Swaggerで始めるモデルファーストなAPI開発
Takuro Sasaki
 
PDF
Crystal clear service interfaces w/ Swagger/OpenAPI
Scott Triglia
 
PDF
Visual Design with Data
Seth Familian
 
PDF
3 Things Every Sales Team Needs to Be Thinking About in 2017
Drift
 
Lessons from the Trenches: Building an API-Centric Architecture
WSO2
 
Build APIs in Node.js and Swagger 2.0 with Apigee-127
Apigee | Google Cloud
 
Data Entitlement in an API-Centric Architecture
WSO2
 
Swagger for-your-api
Tony Tam
 
Swagger - make your API accessible
Victor Trakhtenberg
 
Swaggerで始めるモデルファーストなAPI開発
Takuro Sasaki
 
Crystal clear service interfaces w/ Swagger/OpenAPI
Scott Triglia
 
Visual Design with Data
Seth Familian
 
3 Things Every Sales Team Needs to Be Thinking About in 2017
Drift
 
Ad

Similar to API Centric Development in PHP (20)

PPTX
How do we drive tech changes
Jaewoo Ahn
 
PPTX
Considerations For an API Strategy - Ronnie MItra API Architect Layer 7 Londo...
CA API Management
 
PPTX
Web-and-App-Development-Transforming-Ideas-into-Digital-Reality
Ozias Rondon
 
PDF
API Introduction - API Management Workshop Munich from Ronnie Mitra
CA API Management
 
PDF
Journey to APIs and Microservices: Best Practices
Deepak Nadig
 
PDF
API Workshop Amsterdam presented by API Architect Ronnie Mitra
CA API Management
 
PPTX
Chapter 10 - Emerging Paradigms and Project Development.pptx
shieucyn
 
PPTX
eswar.pptx
tonega7852
 
PDF
GlueCon 2018: Are REST APIs Still Relevant Today?
LaunchAny
 
PDF
Designing Evolvable Web Apis With Aspnet 1st Edition Glenn Block
zisanashham6
 
PPT
SD Forum Java SIG - Service Oriented UI Architecture
Jeff Haynie
 
PPT
Service Oriented UI Architecture in the world of web, desktop, & mobile appli...
Axway Appcelerator
 
PDF
IW14 Session: webMethods World
Software AG
 
PDF
L02 What is Software Architecture?
Ólafur Andri Ragnarsson
 
PDF
API Architecture
Ryan Kolak
 
PDF
I Love APIs - Oct 2015
Mike McNeil
 
PPTX
Giving Customers What They Want: Integrating Content into the Customer LifeCy...
Noz Urbina
 
PDF
Restful design at work v2.0
Boulder Java User's Group
 
PPTX
REST Methodologies
jrodbx
 
PDF
Fundamentals of Web Development For Non-Developers
Lemi Orhan Ergin
 
How do we drive tech changes
Jaewoo Ahn
 
Considerations For an API Strategy - Ronnie MItra API Architect Layer 7 Londo...
CA API Management
 
Web-and-App-Development-Transforming-Ideas-into-Digital-Reality
Ozias Rondon
 
API Introduction - API Management Workshop Munich from Ronnie Mitra
CA API Management
 
Journey to APIs and Microservices: Best Practices
Deepak Nadig
 
API Workshop Amsterdam presented by API Architect Ronnie Mitra
CA API Management
 
Chapter 10 - Emerging Paradigms and Project Development.pptx
shieucyn
 
eswar.pptx
tonega7852
 
GlueCon 2018: Are REST APIs Still Relevant Today?
LaunchAny
 
Designing Evolvable Web Apis With Aspnet 1st Edition Glenn Block
zisanashham6
 
SD Forum Java SIG - Service Oriented UI Architecture
Jeff Haynie
 
Service Oriented UI Architecture in the world of web, desktop, & mobile appli...
Axway Appcelerator
 
IW14 Session: webMethods World
Software AG
 
L02 What is Software Architecture?
Ólafur Andri Ragnarsson
 
API Architecture
Ryan Kolak
 
I Love APIs - Oct 2015
Mike McNeil
 
Giving Customers What They Want: Integrating Content into the Customer LifeCy...
Noz Urbina
 
Restful design at work v2.0
Boulder Java User's Group
 
REST Methodologies
jrodbx
 
Fundamentals of Web Development For Non-Developers
Lemi Orhan Ergin
 
Ad

Recently uploaded (20)

PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PDF
July Patch Tuesday
Ivanti
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Français Patch Tuesday - Juillet
Ivanti
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
July Patch Tuesday
Ivanti
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 

API Centric Development in PHP

  • 1. Click to edit Master title style API Centric Web Development Joe Stagner Zend Technologies 1
  • 2. Click to edit Master title style The significant problems of today can not be solved with the kinds of thinking that created those problems in the first place! 2
  • 3. Click to editdone this before ? Haven't we Master title style Why? What? How? Agile Methodologies Procedural Programming Object Oriented Programming Modular Programming Pair Programming 3 Component Oriented Development Domain Driven Development Event Driven Development Test Driven Development
  • 4. Click to edit Master title style 4
  • 5. Click to edit Master title style 5
  • 6. Click to edit Master title style 6
  • 7. Click to edit Master title style 7
  • 8. Click to edit Master title style 8
  • 9. Click to edit Master title style 9
  • 10. Bam ! Click to edit Master title style 10
  • 11. Click to edit Master title style 11
  • 12. Click to edit Master title style 12
  • 13. Click to edit Master title style Growth Factor ! I B 6 13 N IO L L
  • 14. Click to edit Master title style 14
  • 15. Click to edit Master title style 15
  • 16. Click to edit Master title style 16
  • 17. Click to edit Master title style 17
  • 18. Click to edit Master title style Worlds Collide 18
  • 19. Click to edit Master title style 19
  • 20. Click to What is used to style the WWW ? edit Master title build 20
  • 21. ClickWorld Master title style Our to edit % of PHP Developers working on Mobile Apps 72% 21 Base: 3,335 (in 2012) and 4,809 (in 2013) enterprise, SMB and independent developers worldwide Source: Zend Technologies, Zend Developer Pulse Survey 2011 and 2013 68% 72% using the cloud using APIs & cloud services
  • 22. Click to edit Master title style Ok, but what problems are we trying to solve ? iPhone / iPad Desktop UI I/O UI I/O Logic Static Logic Static Browser Android UI UI I/O Logic 23 I/O Static Logic Static
  • 23. Click to edit Master title style ! Agile Development 24
  • 24. Click to edit Master title style 25
  • 25. Click to edit Master title style The MODERN Expectation 26
  • 26. Click to edit Master title style 27
  • 27. Click to edit Master title style 28
  • 28. Click to edit Master title style Ok, but what problems are we trying to solve ? Android Browser Desktop Device Specific UI Device Specific UI Device Specific UI Device Specific UI Device Specific Logic Device Specific Logic Device Specific Logic Device Specific Logic Client Layer Client Layer Client Layer Client Layer iPhone / iPad Data I/O 31 Static Assets Business Logic Shared UI 3rd party Broker Future Use
  • 29. Click to edit Master title style The Internet is like my TV ! 32
  • 30. Click to edit Master title style What's an API ? l l l l 33 CORBA RPC ORB COM/DCOM l l Sockets SOAP l l TCP WSDL l l HTTP WS-* l Web Sockets l DOC Literal l XML-RCP l l l l l BINARY ASCII POX WS / Etc JSON
  • 31. Click to edit Master title style Just Choose ! HTTP (Sockets, etc.) JSON (POX, SOAP, ASCII) REST (RPC) 34
  • 32. Click to edit Master title style Un REST http://someurl/customer/insert http://someurl/customer/?action=insert http://someurl/customer/insert/?name=acme.... 35
  • 33. Click to edit Master title style REST ish curl --request GET -H "Content-Type: application/json" --data '{"type": "tuple"}' http://someurl/customer curl --request POST -H "Content-Type: application/json" --upload-file data.json http://someurl/customer 36
  • 34. Click to edit Master title style Working with data 37
  • 35. Legacy Migration Click to edit Master title style Web Site Desktop App API Layer 40 UI I/O UI I/O Logic App Static Logic Static
  • 36. Legacy Migration Click to edit Master title style Web Site Desktop App API Layer 41 UI I/O UI I/O Logic App Static Logic Static
  • 37. Legacy Migration Click to edit Master title style Web Site Legacy App Desktop App UI I/O UI I/O Logic Static Logic Static API Layer 42
  • 38. Click to edit Master title style Ideal Architecture Native App(s) Users Mobile App(s) Native App Assets Products DATA 43 Web App(s) Transactions
  • 39. Click to edit – Real Federated Logic Benefits Master title style ● Finally - Web Client Server ● Separation of Concerns = real agility ● ● URL Endpoints are eminently testable ● ● They are also seamlessly evolveable HTTP Ubiquity means MAXIMUM code reuse ● 44 Ideally suited for Unit Testing and CI Stateless endpoints are innately scalable* ● ● Add features without touching adjacent code And no platform specific dependencies
  • 40. Click to edit – Real Federated Logic Benefits Master title style Your TEAMS can federate with your logic. ● Large teams can geo-distribute ● Small teams can more successfully out-source / near source ● ● 45 Logic need not be shared between teams Even continuous delivery can be distributed
  • 41. Click to edit Master title style Down side ? Performance issues ? ● Learning curve ? ● Legacy Integration ? ● 46
  • 42. Click to edit Master title style 47
  • 44. Zend Blueprint for Continuous Delivery • Blueprint now available at : www.zend.com/blueprint • Zend Server Patterns : Coming soon: Bamboo, Puppet, Tivoli • New Continuous Delivery Assessment 50
  • 45. New Zend Studio 10.5 Early Access! • 2x faster PHP code analysis and better responsiveness • Updated PHP Toolbox: Composer, PHPUnit, PHPDocumentor • Great for developing ZF2 and end-toend mobile apps • New Intelligent library management ” Zend Studio 10 is fully integrated with Git, PHPUnit and Zend Framework 2, which gives me one convenient place for my coding practces. When using ZF2, it’s invaluable thanks to its seamless integraton. ” Ore Landau, PHP Developer, SangtamTech 51 Give it a test drive: www.zend.com/studioEA
  • 46. Click to edit Master title style Thank You! [email protected] @MisfitGeek Devzone.Zend.com MisfitGeek.com 52
  • 47. Click to edit Master title style 53