Reply to Re: General Advice - objects, classes and coding style

Your name:

Reply:


Posted by AnrDaemon on 10/24/07 23:25

Greetings, turnitup.
In reply to Your message dated Thursday, October 25, 2007, 00:52:55,

t> I am in the process of transforming a procedural code base into an OO
t> code base. The code lends itself to this refactoring and it is proving
t> an effective exercise.

t> However, I am running into a few irritations.

t> I am using __autoload to load class files corresponding to code names.

t> I've cranked up error reporting, but if for some reason there is a
t> syntax error or whatever in a class, the application crashes with no
t> explanation. The bug hunt takes ages and lots of echoing.

t> Is there anything I can do to help myself? Use of assert, or exceptions,
t> or try-catch handling?

Did You read user comments on Autoloading Objects article?
http://ru2.php.net/autoload
There's some useful info and good examples.


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация