 | News 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
PHP-GTK Community Site: PHP-GTK on Vista Memory Issue
by Chris Cornutt March 13, 2008 @ 09:37:27
The PHP-GTK Community Site has posted about an issue that's been found with PHP-GTK on a Windows Vista machine that can cause problems with how the OS handles memory (by Wim Stockman).
My work station is WinXp system and my friend where I had to create it for has the new Vista and somewhere over 9000 pictures to be managed. On my system everything worked fine, but on my friends system i always got the error can not open file.
Further testing revealed that it was the OS at fault - Vista wasn't handling the memory usage for the application correctly. When it was run directly from the file explorer (versus in the PHP-GTK console) though, it worked just fine.
voice your opinion now!
winxp windows vista phpgtk memory issue console fileexplorer
Riff Blog: Console encoding in PHP-GTK apps
by Chris Cornutt November 20, 2006 @ 10:58:00
PHP-GTKers working in English-related applications, don't have a problem with debugging messages output to a console when debugging, but applications on a more international front have issues with their output. But help has been found in this new post on the Riff Blog - a method for correctly encoding PHP-GTK applications.
PHP scripts are typically stored under UTF-8 encoding to limit i18n headaches, while the console in which their output will be displayed is normally configured to some regional encoding, like IBM850 in Windows/XP French.
So we need a workaround...
He splits the process out into a few steps, each with its own explanation and code:
- Builtin tools
- Buffering
- Flushing
- PHP-GTK is not PHP for the Web
- Auto-flushing
All wrapped up with a final solution - using the iconv functionality in combination with some output buffering to correctly display the message.
voice your opinion now!
phpgtk encoding output console i18n buffering iconv phpgtk encoding output console i18n buffering iconv
Community News: debugConsole Project
by Chris Cornutt November 10, 2005 @ 13:08:58
From this new post on DynamicWebPages.de today comes information about a new project launched by Andreas Demmer - the debugConsole.
The debugConsole is a new, with PHP5 crafted tool for debugging and extending applications on live-servers without compromising the actual traffic.
With simple PHP functions you can inspect variables, watch changes in variables over the whole runtime, measure partial runtimes, set checkpoints and write logfiles. Adittionally, the debugConsole replaces the PHP errorhandling so that notices, warnings and errors are shown in a popup too, instead of displaying them in the application to be debugged.
All of the output from the script is formatted, color-coded, and passed over to a Javascript popup. It even includes functionality for it to show for developers but not for regular visitors to the site...
voice your opinion now!
php debug console javascript color-code php debug console javascript color-code
|
Community Events
Don't see your event here? Let us know!
|