in reply to Re: Perl/CGI Vs PHP Vs ASP
in thread Perl/CGI Vs PHP Vs ASP

Hi weierophinney

Just curious - I know you ported CGI::Application to PHP, so I'm wondering what you find more convenient in the PHP version. For instance, I don't find PHP's session handling any harder or easier than CGI::Application::Plugin::Session (plus I can chose whether I want my session info in the DB, in memory or the filesystem). CGI::App's header_type and header_pops gives me simple header access.

Having the database access compiled in the language is a pain. It only takes sixty seconds it takes to install DBI and DBD::<driver> with the CPAN module, I don't have to worry about whether I need to work with Oracle or MySQL next week. Plus, I find Pear::DB excruciatingly slow and tend to use AdoDB when coding in PHP anyway

Lastly, the clincher for me is CGI::Application::Plugin::ValidateRM. If I could find something like that with PHP, I may just consider switching for good ;-)

Please don't take this as a flame. I am keen to use your cgi app port the next time I'm on a PHP project - I'm just interested in your rational.