News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kevin Waterson's Blog:
When Tutorials Attack
May 26, 2009 @ 10:24:10

In this recent article Kevin Waterson brings up a point that needs to be addressed (not just in the PHP world, but in all other programming communities around the web) - the quality and accuracy of the tutorials that are posted.

In a recent series of tutorials released by SUN Developers Community a few notable omissions glared back from the web page. Like many PHP tutorials that pollute the web, there was a little, or no error checking, or error handling in the provided code examples. [...] The tutorial in question, brings to light the need for tutorial writers and PHP authors to provide not only the basics of the subject being presented, but also how to handle errors when things go wrong.

Kevin reinforces the fact that, despite the author stating that all input would always be well-formed, there's no reason to dismiss error reporting because of it. There's still things that can go wrong even if the data is exactly how you assume it to be. He reinforces the idea that tutorials, by their nature, should teach proper coding techniques, including proper error reporting and filtering.

3 comments voice your opinion now!
filter error quality tutorial


blog comments powered by Disqus

Similar Posts

MaltBlue.com: \Zend\Db\Sql - Creating Joins and Unions with Ease

Kevin Schroeder: Creating a module in Magento 2

PHPMaster.com: Pagination with CodeIgniter

Deepak Radhakrishnan\'s Blog: Configuring Apache - PHP - MySQL on Windows (WAMP Configuration)

Leaseweb Labs Blog: Tuning Zend framework and Doctrine


Community Events

Don't see your event here?
Let us know!


opinion language list laravel podcast php7 api community symfony example framework application series interview introduction configure part2 yii2 project composer

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