39
Best Practices for PHP Delivery Brian Land Director, Business Development [email protected]

OSSCube - Zend Webinar

Embed Size (px)

DESCRIPTION

Best Practices for PHP Delivery

Citation preview

Page 1: OSSCube - Zend Webinar

Best Practices for PHP Delivery

Brian LandDirector, Business [email protected]

Page 2: OSSCube - Zend Webinar

2

About Us

• Actively contribute to Open Source Community

• Organize Open Source Conferences and camps – OSI Days, OSS Camps.

• Raleigh-Durham, USA• Austin, TX• Houston, USA• London, UK• New Delhi and Bangalore,

India

• Founded in 2006 with a vision to provide end to end open source solutions

• Lineage of a Product Engineering company working with Open Source since 1998

• Founding team of technologists and entrepreneurs

• One of the Largest pool of Certified LAMP Professionals

• World’s first Zend Center of Excellence

• 250+ Technology Team• Top Project Managers part

of the team for last 10 years

• Recognized technology leaders, authors

People About US

CommunityLocations

Page 3: OSSCube - Zend Webinar

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

Page 4: OSSCube - Zend Webinar

4

Hiring and Ramping Skilled Developers is Taking Too Long

Faster application delivery poses challenges…

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?

Page 5: OSSCube - Zend Webinar

5

The Challenges No standardization across the development team It takes too long to purchase, install and update

development and test environments Inconsistent skill levels

Best Practices Use a development environment that supports

agile development

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?

Page 6: OSSCube - Zend Webinar

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?

6

Agile Development

RIA: Ajax/Flash

Debugging & Profiling

Unit Testing

Code Assist, Refactoring

Zend Server Integration

Remote Systems (FTP, SSH, SFTP)

SVN, Git

Zend Framework

Page 7: OSSCube - Zend Webinar

7

The Challenges Discrepancies in environment for development, test

and production increase deployment failure rates Manual deployment is error-prone and slow Unstructured, non-reusable code

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?

Best Practices Develop and deploy on a consistent, supported

PHP stack

Take manual errors out of app deployment through automation

Leverage best-in-class reusable frameworks

Page 8: OSSCube - Zend Webinar

– 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 ratesD 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?

8

Code Tracing Deployment

Support Hot Fixes

PHP

Zend Framework

Session Management

Auto-scaling

Clustering

Acceleration

Monitoring

Job Queue

Caching

Page 9: OSSCube - Zend Webinar

9

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?

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

Page 10: OSSCube - Zend Webinar

10

– 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?

Monitoring

Code Tracing

Acceleration

Caching

Job Queue

Deployment

Support Hot Fixes

PHP

Zend Framework

Clustering

Auto-scaling

Session Management

Page 11: OSSCube - Zend Webinar

11

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?

Best Practices Aggregated application-specific monitoring

Eliminate need to reproduce problems

Greater Dev-Ops collaboration

Page 12: OSSCube - Zend Webinar

12

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%

12

Code Tracing

PHP

Zend Framework

Session Management

Auto-scaling

Clustering

Acceleration

Monitoring

Job Queue

Caching

Deployment

Hot FixesSupport

Page 13: OSSCube - Zend Webinar

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

Clustering

Auto-scaling

Session Management

Page 14: OSSCube - Zend Webinar

• 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

14

Page 15: OSSCube - Zend Webinar

15

“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

“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.”

Eric LongSr. Manager, E-BusinessLevolor

“ ““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.”

Chris Jones, CTOShaklee Corp.

“ “

Page 17: OSSCube - Zend Webinar

17

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

Page 18: OSSCube - Zend Webinar
Page 19: OSSCube - Zend Webinar

19

Thank You

Brian LandDirector, Business [email protected]

Page 20: OSSCube - Zend Webinar

BACKUP SLIDES

Page 21: OSSCube - Zend Webinar

ABOUT PHP

Page 22: OSSCube - Zend Webinar

Gartner: PHP Adoption by Corporate IT is Growing Rapidly, almost double by 2013

PHP Developers

2007 2009 2013

Commercial and corporate IT developers

5M

4M

3M

2M

1M

Non-commercial developers

“Commercial and corporate IT developers will account for more than 2 million PHP community members—growing from 20% to 50% of the worldwide PHP developer population.”

Gartner Research Note: “PHP: Past, Present and Future”, Dec. 2nd, 2009

Page 23: OSSCube - Zend Webinar

• Rapidly Growing >10M downloads

>200 contributors

• Commercial Contributions

• Enterprise Adoption

Zend Framework:Standardized Best Practices & Reuse

Cloud

Page 24: OSSCube - Zend Webinar

MONITORING AND CODE TRACING

Page 25: OSSCube - Zend Webinar

25

Problem Detection with Zend Server’s Application-Level Monitoring

▶ Zend Server Monitor will watch your application for:▶ PHP Errors (including warnings, notices, uncaught exceptions...)

▶ Failing functions (user-defined or internal)

▶ Failing DB queries

▶ Slow functions (user-defined or internal) or DB queries

▶ Slow request executions

▶ High memory consumption

▶ Errors reported by Zend Server components

▶ When an issue is detected, Zend Server will report an event

Page 26: OSSCube - Zend Webinar

26

Root Cause Analysis with ZendServer’s Code Tracing

▶ Reproducing an issue is time-consuming and not always possible...▶ Dependency on specific SESSION state▶ Dependency on specific database state▶ “Replaying” the request is risky or impossible

▶ Zend Code Tracing captures the entire execution flow▶ Full code execution tree, arguments, return values, duration,

…▶ Can be used in live production environments!▶ Manual or automatic tracing in case of an event

Page 27: OSSCube - Zend Webinar

27

Zend Server Code Tracing View

Page 28: OSSCube - Zend Webinar

ZEND SERVER PERFORMANCE

Page 29: OSSCube - Zend Webinar

Multi-level Performance Optimization

HTTP Request

Web Server

Processing

PHP Compilatio

n

DB Queries

Task Executing

Output Generation

HTTP Response

TIME

Client-side Cache

Utilization

Zend Download

Server

Client-side Cache

Utilization Data Caching API

Job Queue Output Compression

Page 30: OSSCube - Zend Webinar

HTTP Request

Web Server Processing

PHP Compilation

DB Queries

Task Executing

Output Generation

HTTP Response

TIME

Multi-level Performance Optimization

Page 31: OSSCube - Zend Webinar

ZEND SERVICES

Page 32: OSSCube - Zend Webinar

Solutions

Deployment &On-boarding

Application Audits :PerformanceArchitectureSecurity

Training & Certification

• PHP & Zend Framework Application Architecture• Scalability & Performance Optimization• Security & Vulnerability prevention

• Most comprehensive PHP Training & Certification • Robust Curriculum & Methodology• Proven Success and Global Recognition

• Optimal deployment and configuration• Implementation of Zend best practices• Immediate productivity gains

32

Page 33: OSSCube - Zend Webinar

Service Delivery Methodology

Discovery and Design

Technical & Requirements

review,Deployment

design

Optimization

PerformanceTuning

Scalability Security

Deployment

Installationand

Configuration

Mentoring

Foundation training and

Hands-on

Summary

Validation and Executive

wrap up

Delivery Management

Monitoring and

Assurance

Follow up Reviews

Strategy and Goals

Project kick- off Call

33

* Some milestones are applicable for specific engagements

Page 34: OSSCube - Zend Webinar

Deployment and On-boarding Programs

• Optimal implementation of Zend Production Solution

• Applying Zend’s Best Practices• Flexible model addressing your

specific business goals• Mentoring your R&D and IT staff• Deliver immediate productivity gains• Deliver sustainable value from your

investment in Zend and PHP

Zend Deployment Solution

Zend On-boarding

Zend Smart Start for IBM i

34

Page 35: OSSCube - Zend Webinar

Zend Application Audit

Architecture Audit

Performance Audit

Security Audit

• Application performance optimization • Database performance analysis• Load balancing methodologies • Caching techniques• Web server and PHP performance acceleration

• Analysis of all known web application attacks• Automated and Manual Penetration tests• Source Code review for application vulnerabilities• Risk assessment of the identified faults• Recommend solutions for discovered vulnerabilities

 

• Application scalability optimization• Database scalability analysis• Zend Framework & PHP best practices• Application Design & implementation optimization• Web server architecture & configuration

35

Page 36: OSSCube - Zend Webinar

Zend Training Overview

Built by the PHP Company

Proven Success

Robust Curriculum & Methodology

• Leveraged by Fortune 100• Top pick by individuals• Recognized differentiation

• PHP, Zend Framework, RPG to PHP for IBM i• Role-based curriculum from beginners to

advanced• On-line, on-site and classroom• Developed according to ANSI standard

• Architects of PHP• Creators of Zend Framework• SMEs are established authors and architects

36

Page 37: OSSCube - Zend Webinar

37

Role Based Curriculum

Page 38: OSSCube - Zend Webinar

Zend Certification

Brand Name in PHP Market

Proven Success

Complete offering

• Leveraged by Fortune 100• Over 5,000 ZCEs• Certification in multiple languages with ZCEs in

most countries globally• Largest contributor to Zend Training

• Test Preparation courses, Study Guides & Mock Exams, Certification Vouchers

• PHP and Zend Framework• Multiple languages• 3,500 worldwide test centers

• The only broadly recognized certification program for PHP and Zend Framework

• Certified engineers are paid 30%+ more than non-certified engineer

• SMEs are established authors and archite

38

Page 39: OSSCube - Zend Webinar

Discussion