 | News Feed |
Sections
Community Events
|
| feed this: |  |
Richard Heyes' Blog: Displaying Errors (based on hostname)
posted Thursday May 08, 2008 @ 12:03:57
voice your opinion now!
BY CHRIS CORNUTT
In a response to this post on the PHP 10.0 Blog, Richard Heyes offers a method for what Stas was wanting:
OK, then what we do if something weird happens in production and we want to see the errors, but we don't want others to see them? [...] Maybe PHP could have some setting like display_errors=local which would enable display_errors for requests originating from developer machine but would disable it when outsider accesses it?
Richard's solution checks the HTTP_HOST value of the current request and, based on whether it's marked as "live" or "dev", uses a ini_set to change the display_errors setting to true/false.
tagged with: displayerrors httphost server development production
Zend Developer Zone: Mastering Joomla! 1.5
posted Thursday April 10, 2008 @ 10:34:07
voice your opinion now!
BY CHRIS CORNUTT
The Zend Developer Zone has posted a review of a new book from Packt Publishing that introduces you to the Joomla! content management system and how to create your own bits of functionality for it - Mastering Joomla! 1.5 - Extension and Framework Development.
Planning to write a few extensions for site's I host I was looking for a book that could at least in part be a replacement for this documentation. As I went through the site of Pact publishing My eye fell on this particular book because of the example chapter they show. And indeed now I have the book I'm in no way disappointed.
He mentions the target audience of the book (and how well it hits it), the approach the book takes to the topics it covers and specific looks at several of the chapter topics like web services, error handling, security and plug-in structure.
tagged with: book review phpclasses packt joomla extension development
Tiger Heron Blog: First steps with PHP - booting a script, Part 1
posted Wednesday March 19, 2008 @ 08:48:48
voice your opinion now!
BY CHRIS CORNUTT
On the Tiger Heron blog, there's a continuation of the series that Tony Freixas has been writing to following the beginning steps of working with PHP. First there was the download/install, then setting up a development environment. This time, he actually gets around to writing a bit of basic code.
Specifically, I will describe how I boot my PHP scripts and why I boot them the way I do. Part 1 shows how my requirements for code portability and maintainability influence the boot process. Part 2 will go into more detail about the specific steps executed by the boot code.
His basic task for the first example is to make a templating sort of system, calling a Navigation class to output links in list items. He outlines the goals of the project, what he's found for his current solution and some alternatives he's discovered along the way.
tagged with: development tutorial series environment task navigation
David Coallier's Blog: PHP Quebec Hindering the PHP Project development?
posted Monday March 17, 2008 @ 11:15:13
voice your opinion now!
BY CHRIS CORNUTT
On a bit more controversial note, David Coallier has posted about a rather unpleasant experience he had at this year's PHP Quebec conference - in his own words:
As many of you know, this time of the year is usually the PHP Quebec
conference and many php internals and international speakers fly to
Montreal to speak. [...] This morning (2008/13/03) I saw Lukas on IRC and we said "Hey let's meet around 1pm to discuss about the PHP TestFest"
He met Lukas at the hotel, in the lounge of the hotel, not attending any of the talks. As he sits there talking to the others, a PHP Quebec staff member walks out and hands him a bill (for around 450 CAD) for attending the conference. After a little checking - both with fellow user group members and with the hotel staff as to the validity of this behavior, he could only assume that it was some "money driven" attempt on the PHP Quebec conference's side to get what they could.
Be sure to check out the comments for some other views from the community.
tagged with: development phpquebec2008 project charge error
DeveloperTutorials: Desktop Application Development with PHP-GTK
posted Friday March 14, 2008 @ 08:48:43
voice your opinion now!
BY CHRIS CORNUTT
The Developer Tutorial site has an introduction to PHP-GTK2 posted - an overview of what the new version (version 2) is and how you can install and use it to develop desktop applications.
PHP-GTK 2 is out, and with it, a fantastic means for PHP developers to build useful, reliable cross-platform desktop applications. In this tutorial, I'll show you how to get up and running with PHP-GTK in no time and build your first desktop application.
They look at qhat it is, getting started with it and making your first application (a simple little "Hello World" output box). They also point out some of the demos you can grab as examples and show you how to make something a little more powerful - a window with an input form that generates an md5 hash.
tagged with: desktop application development phpgtk2 tutorial
Site News: Making the Move to the Solar Framework
posted Wednesday March 12, 2008 @ 13:35:07
voice your opinion now!
BY CHRIS CORNUTT
As you may (or may not, if you're a feed reader) have noticed, a few things have just changed around here. PHPDeveloper.org has made the move away from the Zend Framework over to the Solar Framework, and to answer the question of why - really it was just to try something new. We'd been using the Zend Framework since around back when it first hit the scene and felt like it was time for a change.
Paul Jones, Rodrigo Moraes, Antti Holvikari and the crew have done a fine job in producing a framework that's not only easy to use but makes building powerful web applications nice and easy. You can check out more about the framework on its site, SolarPHP.com.
That said, I'm sure there'll be a few growing pains as this new version of the site gets settled in, so bear with us. If you happen to spot something that might be an issue or just an opinion you want to share, drop us a line at info@phpdeveloper.org to let us know.
tagged with: solarframework solar application development website
PHPClasses.org: Book Review - CodeIgniter for Rapid PHP Application Development
posted Tuesday March 11, 2008 @ 11:19:00
voice your opinion now!
BY CHRIS CORNUTT
The PHPClasses.org website has posted their book review of a recent Packt Publishing book targeted at introducing you to one of the PHP frameworks growing in recent popularity - CodeIgniter - "CodeIgniter for Rapid PHP Application Development".
I started reading "CodeIgniter for Rapid PHP Application Development" as a novice. This book is specially targeted to anybody like me: little or no prior experience of Object Oriented Programming or the MVC approach, with couple of years procedural PHP experience, and is after something that can really take you to the next level.
The reviewer (Ryan Partington) talks about what the CodeIgniter framework is, his struggle with the MVC concept, how the book is divided up and the benchmarking of framework applications.
tagged with: book review codeigniter packt publishing application development
|