3 ms·
I disagree. PHP is a web framework. It comes with built-in functionality for talking to databases, extracting form variables, setting cookies, outputting HTML,
by simonw 16y ago
I disagree. PHP is a web framework. It comes with built-in functionality for talking to databases, extracting form variables, setting cookies, outputting HTML, routing URLs - everything you'd need expect to need a web framework for with other languages.
- HerberthAmaral 16y agoIf we follow your logic, C is a framework for building OSes.
- chc 16y agoYou're going to need to explain further how C is endowed with all the capabilities normally associated with OS-building frameworks (which I've never heard of).
- stellar678 16y agoI think the particular thing about PHP that makes it framework-like is that it handles HTTP almost 100% transparently for the PHP coder. In any other language I've seen, the coder is responsible for handling and outputting HTTP headers, parsing the query, etc... PHP just does that stuff.