News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Cal Evans' Blog:
set_include_path() failing
0 comments :: posted Thursday February 14, 2008 @ 15:09:38
voice your opinion now!

Cal Evans came up against a problem earlier in his development work - issues when he was trying to get his old include path.

What you SHOULD get back is a string describing your old include path. If you get false, you have hit the problem I hit last night. I went so far as to recompile 2 difference versions of Apache thinking (almost correctly) that it was something that had changed in my Apache config files.

If you're one of the "falsers" out there, check out the rest of his post of his solution around the problem. His problem stemmed from his trying to reassign a php_admin_value (instead of php_value where the script could override it) setting, specifically the one for the include_path.

He also points out that Zend Framework users might keep an eye out for this problem too as the Zend_Loader package changes the include path at times.

tagged with: include path setincludepath fail phpvalue phpadminvalue


PHP in Action Blog:
Testing Smarty templates
0 comments :: posted Tuesday January 29, 2008 @ 08:47:00
voice your opinion now!

On the PHP in Action blog today, there's a quick new post that talks about not only using the Smarty templating system but also a method for testing it to check for any kind of possible failure.

As I mentioned in my blog post on Paparrazzi testing, Uncle Bob (Robert C. Martin) has discussed how to test web templates or server pages. Since I'm currently working with Smarty templates, I wanted a simple way to run tests on them without needing to deal with a web server and the page navigation in a full web application.

Thankfully, he's found a nice, simple method for running tests against the Smarty engine (and includes that in the post - an interface to Smarty and the example test case to run against it).

tagged with: smarty unittest simpletest template fail isolation interface


ajax conference database code developer releases package mysql PEAR zend pecl zendframework security application PHP5 job release framework cakephp book

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework