© All rights reserved. Zend Technologies, Inc.
Best Practices for PHP
Application Delivery
Siddhartha Agarwal
VP, Worldwide Field Operations
(408) 342 8887
© All rights reserved. Zend Technologies, Inc. 2
The approach to application development is changing
Traditional languages
Waterfall development
On-premise deployments
Open, dynamic programming languages
Agile development
Cloud deployments
C h a n g e
Deliver faster but manage cost and quality
Always-connected web and
mobile apps
Business
Rapid adoption of private
and public cloud
Technology
D i s r u p t i o n s
© All rights reserved. Zend Technologies, Inc.
Hiring and Ramping Skilled Developers is Taking Too Long
Faster application delivery poses challenges…
3
60% of data center application failures are the result of faulty
deployment and uncoordinated changes
58% of organizations are unhappy with application
response times
On average, 3 out of 10 developers are only fixing
production problems rather than building new functionality
D e v e l o p D e p l o y M a n a g e
How do I cut the time developers spend on problem resolution?
How do I enable developers to be more productive?
How do I release faster while maintaining quality?
How do I meet end-user expectations for application response times?
© All rights reserved. Zend Technologies, Inc.
The Challenges
No standardization across the development team
It takes too long to purchase, install and update
development and test environments
Unstructured, non-reusable code
Inconsistent skill levels
Best Practices
Use a development environment that supports
agile development
Leverage best-in-class reusable frameworks
Leverage the flexibility of cloud
Invest in building professional skills of
developers, and standardization
D e v e l o p D e p l o y M a n a g e
How do I release faster while maintaining quality?
How do I make end -users happy with application response times?
How do I cut the time developers spend on problem resolution?
How do I make my developers more productive?
How do I enable developers to be more productive?
4
© All rights reserved. Zend Technologies, Inc.
D e v e l o p D e p l o y M a n a g e
How do I release faster while maintaining quality?
How do I make end -users happy with application response times?
How do I cut the time developers spend on problem resolution?
How do I make my developers more productive?
Accelerate and standardize development with Zend
Framework
Zend Studio – award-winning, high productivity IDE
Single code base for iOS, Android and Blackberry
native apps
Leverage cloud for faster provisioning, testing at
production scale
Comprehensive PHP training and certification
undertaken by thousands each year
Zend helps improve developer productivity
How do I enable developers to be more productive?
5
Agile Development
RIA: Ajax/Flash
Debugging & Profiling
Unit Testing
Code Assist, Refactoring
Zend Server Integration
Remote Systems
(FTP, SSH, SFTP)
SVN, Git
Zend Framework
© All rights reserved. Zend Technologies, Inc.
The Challenges
Discrepancies in environment for development,
test and production increase deployment failure
rates
Manual deployment is error-prone and slow
D e v e l o p D e p l o y M a n a g e
How do I release faster while maintaining quality?
How do I make end -users happy with application response times?
How do I cut the time developers spend on problem resolution?
How do I make my developers more productive?
How do I release faster while maintaining quality?
6
Best Practices
Develop and deploy on a consistent, supported
PHP stack
Take manual errors out of app deployment
through automation
© All rights reserved. Zend Technologies, Inc.
A consistent PHP stack used across development,
testing and production
Enterprise-grade support
Automated application packaging and deployment
Manage a cluster of servers as one server
Zend Framework minimizes errors through code
re-use and best practices
Deployment Solution (best practices)
Security audit by Zend’s PHP experts
Zend increases deployment success rates
D e v e l o p D e p l o y M a n a g e
How do I release faster while maintaining quality?
How do I make end -users happy with application response times?
How do I cut the time developers spend on problem resolution?
How do I make my developers more productive?
How do I release faster while maintaining quality?
7
Code Tracing Deployment
Support Hot Fixes
PHP
Zend Framework
Session Management
Auto-scaling
Clustering
Acceleration
Monitoring
Job Queue
Caching
© All rights reserved. Zend Technologies, Inc.
The Challenges
Performance not optimized across all tiers
Difficult to understand what slows applications
down when they move into production
Hard to scale applications quickly to meet
demand spikes
D e v e l o p D e p l o y M a n a g e
How do I release faster while maintaining quality?
How do I make end -users happy with application response times?
How do I cut the time developers spend on problem resolution?
How do I make my developers more productive?
How do I meet end-user expectations for application response times?
8
Best Practices
Optimize performance in each stage of
request/response cycle
Monitor and manage performance of PHP apps
Design and deploy apps to withstand
unpredictable load conditions
© All rights reserved. Zend Technologies, Inc.
Multi-level optimization across the HTTP
request/response cycle
Built-in Application Performance Monitoring
Auto-scaling using elastic cloud infrastructures
Out-of-the-box high performance session
management supporting High Availability
Architecture and performance audit by Zend’s
expert consultants
Zend Server optimizes the performance of
your PHP apps
D e v e l o p D e p l o y M a n a g e
How do I release faster while maintaining quality?
How do I make end -users happy with application response times?
How do I cut the time developers spend on problem resolution?
How do I make my developers more productive?
How do I meet end-user expectations for application response times?
9
Monitoring
Code Tracing
Acceleration
Caching
Job Queue
Deployment
Support Hot Fixes
PHP
Zend Framework
Aggregated Server Mgmt
Auto-scaling
Session Management
© All rights reserved. Zend Technologies, Inc.
The Challenges
Infrastructure monitoring does not give visibility into
app performance
Difficult to reproduce problems seen in production
80% of problem resolution time is spent pinpointing
root cause
Blamestorming between development and
operations
D e v e l o p D e p l o y M a n a g e
How do I release faster while maintaining quality?
How do I make end -users happy with application response times?
How do I cut the time developers spend on problem resolution?
How do I make my developers more productive?
How do I cut the time developers spend on problem resolution?
10
Best Practices
Aggregated application-specific monitoring
Eliminate need to reproduce problems
Greater Dev-Ops collaboration
© All rights reserved. Zend Technologies, Inc.
D e v e l o p D e p l o y M a n a g e
How do I release faster while maintaining quality?
How do I make end -users happy with application response times?
How do I cut the time developers spend on problem resolution?
How do I make my developers more productive?
How do I cut the time developers spend on problem resolution?
See inside your apps - code tracing eliminates the
need for problem reproduction
Integration with Zend Studio further simplifies
troubleshooting
Find PHP errors faster
• Performance, functional and configuration errors
• Proactive monitoring across a cluster
• Monitoring thresholds improve Dev-to-Ops
collaboration
Cut problem resolution time by 50%
11 11
Code Tracing
PHP
Zend Framework
Session Management
Auto-scaling
Aggregated Server Mgmt
Acceleration
Monitoring
Job Queue
Caching
Deployment
Hot Fixes Support
© All rights reserved. Zend Technologies, Inc.
D e v e l o p m e n t P r o d u c t i o n
Agile Development
RIA: Ajax/Flash
Debugging & Profiling
Unit Testing
Code Assist, Refactoring
Zend Server Integration
Remote Systems
(FTP, SSH, SFTP)
SVN, Git
The Zend Solution
Monitoring Code Tracing
Acceleration Caching
Job Queue Deployment
Support Hot Fixes
PHP
Zend Framework
Monitoring Code Tracing
Acceleration Caching
Job Queue Deployment
Support Hot Fixes
PHP
Zend Framework
Clustering
Auto-scaling
Session Management
Monitoring Code Tracing
Acceleration Caching
Job Queue Deployment
Support Hot Fixes
PHP
Zend Framework
Clustering
Auto-scaling
Session Management
Monitoring Code Tracing
Acceleration Caching
Job Queue Deployment
Support Hot Fixes
PHP
Zend Framework
Clustering
Auto-scaling
Session Management
Monitoring Job Queue
Acceleration Caching
Code Tracing Deployment
Support Hot Fixes
PHP
Zend Framework
Aggregated Server Mgmt
Auto-scaling
Session Management
© All rights reserved. Zend Technologies, Inc.
• Leading open
source web app
framework
• High-productivity
development
environment
• Training &
certification
D e v e l o p D e p l o y M a n a g e
How do I release faster while maintaining quality?
How do I meet end-user expectations for application response times?
How do I cut the time developers spend on problem resolution?
How do I make my developers more productive?
• Consistent PHP
stack
• Enterprise-grade
support
• Automated,
frictionless
deployment
• Multi-level
performance
optimization
• Built-in application
monitoring
• Auto-scaling and
High Availability
• Fast issue
detection
• Code tracing for
root cause analysis
• Studio/Server
integration for
rapid problem
resolution
13
© All rights reserved. Zend Technologies, Inc.
“Our choice of Magento Enterprise with the Zend PHP solution for
development and server-side deployment helped us achieve a six-
digit dollar cost savings within the first year, while introducing a
whole new level of e-Commerce functionality for Villeroy &
Boch.”
Pascal Rheinert, Dr.-Ing., Internet & eBusiness Services
Villeroy & Boch
“ “ ROI Examples
14
© All rights reserved. Zend Technologies, Inc.
ROI Examples
15
“Zend Server’s Code Tracing capabilities reduced our debugging and
troubleshooting timeline by as much as 50 percent. We use it constantly, and
it helps us identify root cause issues proactively before they have impact on
our users.” “ “
© All rights reserved. Zend Technologies, Inc.
ROI Examples
16
When it comes to ROI, we consider our investment in Zend technology to
be a benefit on several fronts. It is easy to manage the PHP stack, and
the strength of the error detection and reporting helps us reduce the
time spent troubleshooting while increasing application availability
and responsiveness. With session clustering alone, Zend more than
paid for itself the moment we flipped the switch.” “ “
© All rights reserved. Zend Technologies, Inc.
Zend Clients
17
© All rights reserved. Zend Technologies, Inc.
About Zend
• Zend provides the best way to
deliver web apps in the cloud
• 40,000+ customers worldwide
• 7,500+ Zend PHP Certified Engineers
• Zend Framework - 15 million
downloads
• Strong commitment to the open
source community
• Strategic partnerships with IBM,
Adobe, Oracle and others
18