From the blog
Posted 2014-09-18
This is the final in a series of eight posts detailing tips on deploying to
Zend Server. The previous post in the series
detailed using the Zend Server SDK
to deploy your Zend Server deployment packages (ZPKs) from the command line.
Today, I'll detail how I automate deployment with
zf-deploy and zs-client (the Zend
Server SDK), and wrap up the series with some closing thoughts.
From the blog
Posted 2014-09-16
This is the seventh in a series of eight posts detailing tips on deploying to
Zend Server. The previous post in the series
detailed setting up and clearing page caching.
Today, I'm sharing how to use the Zend Server SDK
to deploy your Zend Server deployment packages (ZPKs) from the command line.
From the blog
Posted 2014-09-11
This is the sixth in a series of eight posts detailing tips on deploying to
Zend Server. The previous post in the series
detailed setting job script status codes.
Today, I'm sharing some tips around setting up page caching, and jobs for
clearing the Zend Server page cache.
From the blog
Posted 2014-09-09
This is the fifth in a series of eight posts detailing tips on deploying to
Zend Server. The previous post in the series
detailed how to secure your Job Queue job scripts.
Today, I'm sharing some best practices around writing job scripts, particularly
around how to indicate execution status.
From the blog
Posted 2014-09-04
This is the fourth in a series of eight posts detailing tips on deploying to
Zend Server. The previous post in the series
detailed a trick I learned about when to execute a chmod statement during
deployment.
Today, I'm sharing a tip about securing your Job Queue job scripts.
From the blog
Posted 2014-09-02
This is the third in a series of eight posts detailing tips on deploying to
Zend Server. The previous post in the series
detailed creating recurring jobs via Zend Job Queue, à la cronjobs.
Today, I'm sharing a very short deployment script tip learned by experience.
From the blog
Posted 2014-08-28
This is the second in a series of eight posts detailing tips on deploying to
Zend Server. The previous post in the series
detailed getting started with Zend Server on the AWS marketplace
and using zf-deploy to create ZPK
packages to deploy to Zend Server.
Today, I'm looking at how to created scheduled/recurring jobs using Zend
Server's Job Queue; think of this as application-level cronjobs.
From the blog
Posted 2014-08-26
I manage a number of websites running on Zend Server, Zend's PHP application
platform. I've started accumulating a number of patterns and tricks that make
the deployments more successful, and which also allow me to do more advanced
things such as setting up recurring jobs for the application, clearing page
caches, and more.
From the blog
Posted 2009-12-10
When keeping tabs on your ZF applications, it's often difficult to separate
application errors from general PHP errors, and if you aggregate them in the
same location as your web server errors, this can become more difficult still.
Additionally, PHP's error reporting doesn't provide a ton of context, even when
reporting uncaught exceptions — typically you'll only get a cryptic exception
message, and what file and line emitted it.
Zend Server's Monitor extension has some capabilities for providing more
context, and does much of this by default: request and environment settings
available when the error was logged, the function name and arguments provided,
and a full backtrace are available for you to inspect. Additionally, the Monitor
extension includes an API that allows you to trigger custom Monitor events, and
you can provide additional context when doing so — such as passing objects or
arrays that may help provide context when debugging.