News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weier O'Phinney:
Deployment with Zend Server (Part 5 of 8)
September 10, 2014 @ 13:40:49

Matthew Weier O'Phinney has posted the latest in his "deployment with Zend Server" tips today, part five of eight. In this latest post he talks about setting the status of a job.

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.

When he talks about the "status" of a job he's referencing the return code that's provided back to the executing script sharing the pass/fail status of its execution. He shows how to use the ZendJobQueue object and the setCurrentJobStatus to return a constant, either "FAILED" or "OK". He shows how to use it in an isolated example, outputting the results back as a plain text message that can be found in the "Output" tab of the job.

0 comments voice your opinion now!
zendserver deployment tips series part5 return status failed ok

Link: https://mwop.net/blog/2014-09-09-zend-server-deployment-part-5.html

Marco Tabini's Blog:
How we failed the PHP brand
February 15, 2006 @ 07:05:27

In his latest blog entry, Marco Tabini talks about how we, the community, have "failed the PHP brand" through its overuse (such as in application names of things written in the language).

This is, I believe, a major point of failure for the PHP community. As many have pointed out to me more than once (not that I had anything to do with it, or that I would be able to do anything about it), allowing PHP-related applications to contain the word "PHP" is a major mistake, because it dilutes the value of the brand itself by allowing the quality of PHP to be associated with the value of products that have nothing to do with PHP proper.

He mentions that searches for things like "php vulnerabilities" come up more with things for apps written in PHP and less with results about PHP itself. He even suggests that there isn't a really useful application type that has a PHP-written option that doesn't use the PHP "brand" in its title. He finishes it off with three simple rules that he suggests will help to dilute the PHP brand - don't use it in your application title, always reference that PHP is a trademark of the PHP group (and that there's no association between you), and use the PHP logo in only a descriptive way.

0 comments voice your opinion now!
failed brand dilute application name magazine exempt failed brand dilute application name magazine exempt



Community Events





Don't see your event here?
Let us know!


deployment interview tips release framework zendserver api laravel podcast threedevsandamaybe language conference list symfony opinion introduction bugfix community series library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework