PHP can run the scripts from the command line, much like Perl, awk, or the UNIX shell. You might use the command-line scripts for system administration tasks, such as backup and log parsing.
PHP runs on all major operating business, from UNIX variants including Linux, FreeBSD, and Solaris to Windows and Mac OSX. It can be used with all leading web servers, including Apache, Microsoft IIS, and the Netscape/iPlanet servers.
One of the asset of having interpreted code is that all memory used by the script is managed by PHP, and the language automatically cleans up after every script has finished so no need to fret about closing database links, freeing memory assigned to images, and so on, because PHP will do it for you. Good programmers clean up themselves, and let PHP work as substitute in case something is missing.
The advantage to this output queuing is two-fold…..
1. Firstly, it permits you to clean the buffer if you are determining that you do not want to output the current output queue in the buffer. When a buffer is cleaned, all the output stored in there is erased as if, it was never there, and output for that buffer is started from scratch.
2. Secondly, output buffering allows you to break the traditional ordering of web pages – that of headers first and content later. Owing to the fact that you queue up all your output, you can send content first, then headers, then more content, and then finally flush the buffer. PHP internally rearranges the buffer so that headers come before content.
Using PHP, relieve a great burden of being tied to a particular vendor's set of development tools.
Support is available on the Web through a network of Web sites and programmer forums that provide helpful tips on how to tackle and sort out advanced problems.
We chose to use PHP over Active Server Pages, Cold Fusion, and JSP as our Web server-side scripting environment because of its speed, cost benefits, extensive libraries, and customizability compared to other Web technologies.
Most programmers easily understand PHP code because it uses syntax, similar to that used in C.
When it comes to speed PHP scores over ASP because it is written in C, which makes it compact enabling it to load and execute much faster.
To conclude, PHP has proven to be a flexible and fast enough to implement our requirements. It is only to be expected that free and open source software such as PHP would ultimately overtake all proprietary software. That’s what is been happening in operating systems.
No comments:
Post a Comment