 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Chris Hartjes' Blog: CakePHP Application Deployment RFC
by Chris Cornutt May 22, 2008 @ 13:46:37
In a recent blog post Chris Hartjes is asking the community (more specifically the CakePHP community) for their opinions on his thoughts for a deployment method for CakePHP apps.
While I really prefer to use tools like this for deployment, I understand that not everyone wants to mess with standalone programs and configuration files. I've been asked before about Cake-specific deployment techniques, so I figure the easiest way is to see about adding a task to the Cake console.
His idea consists of two new commands - "cake deploy config" and "cake deploy" to make it simple to set up and directly deploy applications without having to go to outside software.
voice your opinion now!
cakephp deployment application rfc command console
PhPL33t Blog: How to Automated Plesk Email Creation
by Chris Cornutt April 24, 2008 @ 10:25:31
On the PhPL33t blog, there's a guide for automating the creation of email addresses with the Plesk administration application:
In 2003 I wrote "Plesk Auto Email", the first fully funtional Plesk email automation suite. Now, I am going to show you how to do it. You will need a dedicated server with Linux, Plesk 7.5 and higher, php5, mysql5, and root access. This will show you how to code the auto creation, I am not going into deletions and edits at this time because I don't have all night to blog.
Included are the database table to store the commands in, the PHP script to create the commands (the integration into the other piece of software) and the PHP cron script that looks in the command table and executes each as it goes through.
voice your opinion now!
tutorial automate plesk email create cron command database tutorial
SitePoint PHP Blog: PHP Manual CLI style 2.0
by Chris Cornutt November 29, 2007 @ 09:35:00
Sometimes, you just can't get to a web browser to look up something from the PHP manual (or might not want to). Another option is the command line and in this new post to the SitePoint PHP blog, Troels Knak-Nielsen shows you a method for getting the entire manual entry right at your prompt neatly formatted.
One thing, I missed with either of the two [other solutions mentioned], was the ability to see the entire manual entry. It's quite often, that the manual actually holds useful information (Who'd known that!), so I find myself using www.php.net a lot. Or I did, until I decided to do something about it. Now, shell-scripting isn't what I spent most of my time on, so it's not with out a bit of pride, that I present to you phpm two-oh.
Most of the rest of the post is his bash script ready top cut and paste as well as some simple instructions on getting it working. (An emacs bonus is also included - a method for binding the script to a key to act on the current word.)
voice your opinion now!
command line manual bash script command line manual bash script
DevShed: Using Self-Saving Objects with Command Objects in PHP 5
by Chris Cornutt December 26, 2006 @ 16:37:00
DevShed steps into the final part of their series looking at Command objects in PHP5 with this new tutorial just posted - "Using Self-Saving Objects with Command Objects in PHP 5".
I'm going to extend the creation and use of command objects to use the pattern in a more helpful fashion. Essentially, I'm going to explain how to utilize command classes for defining and handling self-saving objects, that is objects capable of storing a copy of themselves on a database, text file, etc.
They start by defining the core modules and classes for the creation of the objects. They build the other functionality on top of that, creating the save and load mechanisms. The wrap things up and add a few more small bits of functionality before giving a real-life example of the pattern and code in action.
voice your opinion now!
command pattern object save automatic tutorial command pattern object save automatic tutorial
DevShed: Introduction to Creating Command Objects with PHP 5
by Chris Cornutt December 12, 2006 @ 14:32:00
DevShed starts off a new series today in this first part of the series looking at the creation of and working with command objects in PHP5.
In this article, the first part of a series, you'll learn the basics of applying the command pattern with PHP 5. As always, plenty of hands-on examples are included.
A command class involves having a commander and the implementers that work together to do things like (what they illustrate) manipulating strings. They create the commander class and give a simple example of a subclass that implements it. They create a few more and tie them all into a master class to work together. Finally, they give an illustration of the code in action - uppercasing a string and inverting it to read backwards, then output.
voice your opinion now!
command object design pattern php5 part1 command object design pattern php5 part1
|
Community Events
Don't see your event here? Let us know!
|