 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Jonathan Snook's Blog: CakePHP Debug Styles
by Chris Cornutt July 11, 2008 @ 09:33:12
Jonathan Snook hands off a handy tip for the CakePHP developers out there concerning the debugging information that can be displayed at the bottom of your application's pages.
I just wanted to document this somewhere but whenever I work on a CakePHP project, there's always the debug info that sits at the bottom of the page. It's big and bulky and once I'm off the default CakePHP styles, it's usually pretty ugly. I've done various stylings but I finally took a moment to implement a really simple idea: Fixed position the table and then use hover styles to toggle the visibility.
He includes the simple four style entries that can be used to tame this debugging information down into something a bit more useful (and less intrusive).
voice your opinion now!
cakephp debug style css information output framework
Michael Kimsal's Blog: Magento book review found
by Chris Cornutt June 11, 2008 @ 14:36:44
In response to another blogger's review of the php|architect "Guide to Programming with Magento", Michael Kimsal has posted some clarifications.
Starting off with "However, I'm not really the type of person to give accolades unless something is absolutely stellar. As such, this post will primarily be about the shortcomings of the book" I wasn't particularly surprised that there was more of a focus on negatives rather than positives.
Michael mentions three topics - the "first to market" point the reviewer makes about different versions of Magento between the book being authored and the release, some of the missing information the reviewer would've liked to see and the complexity of the example module that the reviewer complains is too hard to follow.
voice your opinion now!
magento book review respond firstomarket complexity missing information
DevShed: Retrieving Information on Selected Files with a PHP 5 File Uploader
by Chris Cornutt March 27, 2008 @ 09:31:04
DevShed has continued their series (here's part one) looking at the use of file uploading in your PHP scripts. They build on that foundation and add in some more useful features this time:
The initial script in the first tutorial of this series lacked some important features, such as the implementation of an effective error handling module and the ability to check the MIME type and size of the file being uploaded. In this second installment of the series, I'm going to improve the logic of the script from the first tutorial to provide it with the capacity to retrieve useful information concerning the entire file uploading process.
They look back at the previous tutorial to remind you of some of the concepts and then move on to show you how to get information about the file (like the MIME type, name and size of the uploaded file). The last page is just the full source code for the cut and pasters out there.
voice your opinion now!
tutorial php5 file upload information mime name size
Nessa's Blog: Using PHP to Display Version Info (I and II)
by Chris Cornutt October 19, 2007 @ 11:23:00
Nessa has two posts that talk about how to use PHP to display the versions of software running on the local machine.
I've been working on this application for work that does some simple server reporting, part of which involves displaying the versions of major software running on the machines. [...] I need to be aware of this to make sure that customers are being moved to servers with compatible versions. It's also good in tracking and planning upgrades.
In the first post she recommends using the exec function in PHP to run system commands to get things like the cpanel version, python version and what perl you have installed.
Part two shows a little bit different way to get some of the same information - using the data in the /proc/version file as a single resource to get OS information.
voice your opinion now!
display version information exec proc version file display version information exec proc version file
DevShed: Understanding Static Properties with PHP 5
by Chris Cornutt September 12, 2007 @ 11:14:00
Continuing in their series looking at how to handle static data in a dynamic PHP application (see part one here), DevShed has posted the next piece in the puzzle, working with static properties in PHP5.
Provided that you already have an average background in using static methods with PHP 5, over the course of this second article of the series I'll dive a bit deeper into this interesting topic and show you how to take advantage of static properties defined inside a given PHP class, in this manner completing, at least basically, the implementation of static data with PHP 5.
They start by reviewing the functionality from the previous part of the series and build on it, creating static properties within the class (user data in this case) and how to use it in a mini app to set and display the information.
voice your opinion now!
php5 tutorial static property user information php5 tutorial static property user information
|
Community Events
Don't see your event here? Let us know!
|