3 ms·
PHP is a "framework" in the sense that it provides the core mechanisms for doing webby things - accessing query string and POST variables, sending HTTP headers,
by simonw 17y ago
PHP is a "framework" in the sense that it provides the core mechanisms for doing webby things - accessing query string and POST variables, sending HTTP headers, reading cookies, mapping URLs to executable code.
I actually think comparing stand-alone PHP to frameworks like Rails or Django is reasonable, since they all solve the same problem. Of course, such a comparison should also take the existence of higher level PHP libraries and frameworks in to account - it would be silly to criticise PHP for not shipping with an ORM, for example.
- jacquesm 17y agoThey are things that apache sets up for mod_php, php the language is a standalone thing that you can bind in to apache like that. I know that PHP was pretty much born for the one purpose of making webpages but you have to try to see the one separate from the other. php-cli works fine.