There's more than one way to do things | |
PerlMonks |
Migrating from PHP to Perl for the web.by KurtSchwind (Chaplain) |
on Dec 01, 2007 at 02:37 UTC ( [id://654252]=perlquestion: print w/replies, xml ) | Need Help?? |
KurtSchwind has asked for the wisdom of the Perl Monks concerning the following question: Without starting some type of CGI jihad, I'm hoping that the perl monks can point me in the right direction. I've been writing LAMP applications for around 10 years now. I'm very comfortable with PHP. I can write a simple PHP application in a few minutes. During this time, I've been doing more and more with perl, but only at the batch processing level. CLI stuff. I realize I'm getting a lot of input from the choir, but I really think I'm ready to start a pretty large migration of all my PHP applications to perl CGI. But I'd be lying if it wasn't a little daunting, but it seems that it may be worth it. It certainly would be nice to use modules I've made and use on the command line in some web apps. I haven't had great success in finding information about this type of migration. What are the potential gotchas and whatnot. Currently I run my own apache web server but I'm thinking of going with a web host. Is it going to be harder to find a host that supports perl? Some information I've found so far TheSiteWizard : PHP vs Perl doesn't really seem to talk about perl much at all. And NetConcepts : PHP vs Perl seems to lean away from perl for web development, but I'm not sure I buy the reasons given. At least not today. This is from 2002 and I think it may be a bit dated. If anyone could point me in the right direction or perhaps share their conversion success story (or nightmare) I'd really appreciate it. Update: from what perrin asked - Most of my own stuff isn't using MVC, but I have at times, rolled my own. I'm not a fan of templates like Smarty (mostly because I find them overkill for my needs). I'm not an OO purist. I sprinkle it in where I think it makes sense. I use mod_php in apache servers currently. Does this mean I'll be using mod_perl?
-- I used to drive a Heisenbergmobile, but every time I looked at the speedometer, I got lost.
Back to
Seekers of Perl Wisdom
|
|