View
1.165
Download
1
Category
Preview:
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
© 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 ?
© All rights reserved. Zend Technologies, Inc.
Zend Studio 9: Features at a glance
© All rights reserved. Zend Technologies, Inc.
Zend Server 5.6: Features at a glance
Deployment
Event Monitoring
Job Queuing (w/ API)
Caching
© All rights reserved. Zend Technologies, Inc.
Deploying to development
© All rights reserved. Zend Technologies, Inc.
Deploying to Development
• API Keys
• Associating with a local project
© All rights reserved. Zend Technologies, Inc.
Using the Zend Server Web API
© 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
© 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
© All rights reserved. Zend Technologies, Inc.
Event Monitoring
© All rights reserved. Zend Technologies, Inc.
Event Monitoring API
© 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
© All rights reserved. Zend Technologies, Inc.
Event Monitoring Web API
© 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
© All rights reserved. Zend Technologies, Inc.
Code Tracing
© All rights reserved. Zend Technologies, Inc.
Code Tracing Web API
© 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
© All rights reserved. Zend Technologies, Inc.
Zend SDK
© All rights reserved. Zend Technologies, Inc.
• Java based (why?)
• Download from http://code.google.com/p/zend-sdk/
• Coming (very) soon – Manage Events
© All rights reserved. Zend Technologies, Inc.
New integration coming soon…
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
Contact
@kpschrade @zend
Zend Technologies
http://www.zend.com/
To watch the webinar recording: http://bit.ly/zQxd8K
Recommended