 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Andre Liem's Blog: 5 tips and tools to optimize your php application - Part 1 simple
by Chris Cornutt December 02, 2008 @ 15:31:07
Andre Liem has posted five simple tips (part one of a two-part series) on ways to optimize your PHP applications.
After experiencing some issues with an application running the Zend Framework, I realized there were a lot of things I was not doing to optimize my application. There are simple and more complex actions you can take to speed up your application. Since time is precious, and developers with an expertise on optimization are not always available, I've split this post into two sections (simple and more advanced). This post focuses on the simple part.
His simpler suggestions include using the YSlow extension in Firefox, minification of Javascript and CSS, merging CSS/JS requests, using gzip and avoiding CSS background images.
voice your opinion now!
optimize application tip tool yslow javascript css marge background
Developer Tutorials Blog: Running background processes in PHP
by Chris Cornutt July 18, 2008 @ 11:18:21
New on the Developer Tutorials blog today is this look at handling background processes from your PHP script:
You've checked and double checked the integrity of user input, and you're doing some serious processing. There's only one problem: it's too slow. There's a simple solution: forking your processing script, and running the code as a background process asynchronously. It can email your user when it's done: they'll wait. In this tutorial, I'll show you how to get started with background processes in PHP.
Akash gives examples of the three keys to background processes - starting the script via an exec, talking to the process by passing additional parameters and including code to monitor the state of the background process via something like a MySQL "sessions" table that the script writes to.
voice your opinion now!
process background exec parameter mysql session track
Zend Developer Zone: Decorators with Zend_Form
by Chris Cornutt May 05, 2008 @ 12:57:34
On the Zend Developer Zone there's a new tutorial (by Matthew Weier O'Phinney) covering the use of decorators with the Zend_Form component of the Zend Framework.
One point of flexibility [Zend_Form] offers has proved to be a pain point for many developers: decorators. This tutorial aims to shed some light on decorators, as well as provide strategies for creating your own decorators and combining them in creative ways to customize the output your forms generate.
Matthew starts with a little background behind the component to help you find your way around. Building on this, he shows how to use some standard output decorators and how to create decorators of your own. His example shows how to create a set of grouped checkboxes.
voice your opinion now!
decortor zendform tutorial background example
Mikko Koppanen's Blog: Fill patterns
by Chris Cornutt April 29, 2008 @ 15:24:50
Mikko Koppanen has a quick post today showing how to use PHP and Imagick to create an image of text filled with another image layer behind it:
The fill pattern is used to annotate text but the named pattern could also be used to fill any shapes that allow fill to be specified (include circles, ellipses, rectangles, polygons etc etc).
His example is pretty simple (with a "Hello World!" output) that pulls in the background image, creates the composite layer over it, adds the text to it and sets the fill to the background image's layer. The whole this is wrapped up and output as a PNG file.
voice your opinion now!
fill pattern imagick tutorial example png background image
Ben Ramsey's Blog: A Community of Diverse Backgrounds
by Chris Cornutt September 29, 2006 @ 07:41:30
Ben Ramsey has posted "live" from the PHP Appalachia (un)conference on his blog today, and talks about the "community of diverse backgrounds" that's come up there at the conference.
To me, it's always very interesting to hear to the pre-PHP stories of other PHP programmers-the days before they programmed in PHP, what they did and how they came to call themselves PHP programmers. The stories vary greatly from programmer to programmer, and almost none begin with: "I was working toward a degree in computer science …."
In fact, the more people I talk with, the more I'm convinced that the typical PHP programmer, in fact, sort of got to where they are by an odd arrangement of life circumstances we call coincidences. Almost none elected to be where they are, but nearly all enjoy the work they do, many to a great degree of passion.
He talks about the conversation serveral attendees had, mentioning some of their backgrounds (anything from marine biology to organizational behavior).
voice your opinion now!
diverse background developer phpappalachia2006 unconference diverse background developer phpappalachia2006 unconference
|
Community Events
Don't see your event here? Let us know!
|