21
© All rights reserved. Zend Technologies, Inc. Better Bug-Stomping with Zend Studio and Zend Server Kevin Schroeder - Technology Evangelist To watch the webinar recording: http://bit.ly/zQxd8K You want to do WHAT with PHP? The IBM i Programmer’s Guide to PHP Coronal Loop Safari ?

Better Bug Stomping with Zend Studio and Zend Server

Embed Size (px)

DESCRIPTION

This is the slide deck of the Zend webinar 'Better Bug-Stomping with Zend Studio and Zend Server' held on Feb. 29, 2012 by Kevin Shroeder. You can watch the related webinar at http://bit.ly/zQxd8K, after a short registration.

Citation preview

Page 1: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Better Bug-Stomping

with Zend Studio and

Zend Server

Kevin Schroeder - Technology Evangelist

To watch the webinar recording: http://bit.ly/zQxd8K

You want to do

WHAT with PHP?

The IBM i Programmer’s

Guide to PHP Coronal Loop Safari ?

Page 2: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Zend Studio 9: Features at a glance

Page 3: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Zend Server 5.6: Features at a glance

Deployment

Event Monitoring

Job Queuing (w/ API)

Caching

Page 4: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Deploying to development

Page 5: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Deploying to Development

• API Keys

• Associating with a local project

Page 6: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Using the Zend Server Web API

Page 7: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Why use the Web APIs?

• Automate event collection after a CI run

• Provide access to event or code trace data

• Run error stats on servers

• Automate backing up code trace data

• Import event data into a database

Page 8: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Using the web API

• http://files.zend.com/help/Zend-Server/zend-

server.htm#web_api_reference_guide.htm

Or http://bit.ly/ZSMonitorAPI

• https://github.com/kschroeder/ZendServer-JobQueue-Job-

API

Or http://bit.ly/schradeAPI

Page 9: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Event Monitoring

Page 10: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Event Monitoring API

Page 11: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Event Monitoring API/Directives

• API

Aggregation Hints

• zend_monitor_set_aggregation_hint($hint)

Custom Events

• zend_monitor_custom_event($class, $text, $user_data)

• Directives

Zend_monitor.event_generate_trace_file

zend_monitor.developer_mode

Page 12: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Event Monitoring Web API

Page 13: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

• Get a list of events

• Getting request info

• API Methods

Get Request Summary - monitorGetRequestSummary

Download Trace File - monitorDownloadTraceFile

Start a Debug - monitorStartDebug

Get Issues List - monitorGetIssuesListByPredefinedFilter

Get Issue Details - monitorGetIssuesDetails

Get Group Details - monitorGetEventGroupDetails

Export Issues - monitorExportIssueByEventsGroup

Change Status - monitorChangeIssueStatus

Page 14: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Code Tracing

Page 15: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Code Tracing Web API

Page 16: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

• Disable Tracing - codetracingDisable

• Enable Tracing - codetracingEnable

• Check if Tracing is enabled - codetracingIsEnabled

• Create a Trace - codetracingCreate

• Delete a Trace - codetracingDelete

• List all Traces - codetracingList

• Download Trace files - codetracingDownloadTraceFile

Page 17: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Zend SDK

Page 18: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

• Java based (why?)

• Download from http://code.google.com/p/zend-sdk/

• Coming (very) soon – Manage Events

Page 19: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

New integration coming soon…

Page 20: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Page 21: Better Bug Stomping with Zend Studio and Zend Server

© All rights reserved. Zend Technologies, Inc.

Contact

@kpschrade @zend

Zend Technologies

http://www.zend.com/

To watch the webinar recording: http://bit.ly/zQxd8K