Home Contact Sitemap

phpArk

your vessel to learning and using PHP

Welcome to phpArk

Server versus Client

Posted on May 2008 in PHP Programming Theory, PHP Web Servers

A server is a type of computer that sits idle awaiting requests. Servers are typically much more powerful machines then your typical desktop computer. They often have faster CPUS, a LOT of RAM, hard drive space and in most instances, multiple CPUs and hard drives in the form of a RAID. They typically have lower end graphics cards, no sound cards and are only accessed by system administrators.

A client computer is one that makes requests for services from a serving computer. Client machines can be computers on a network, people browsing the Internet, cell phones, PDAs, and even other servers. There are times that requests will be made to servers that are either too busy or unreachable. This is why it is important to keep servers up and running with adequate resources to process the loads put on them. This may mean that over time, the server will need to be upgraded and/or configured differently to handle the increase in load.

As a developer it is important to be able to distinguish between the Server and Client. Encountered problems can be due to differing configurations on a client machine, a bug within your code or a misconfigured web server setting. Recreating problems encountered on a client’s machine if the clients computer is configured differently then your own can make debugging near impossible.

PHP - What is it?

Posted on May 2008 in PHP Programming Theory

PHP originally stood for “Personal Home Page” and is now considered a recursive acronym for “Hypertext Preprocessor“. PHP was started by Rasmus Lerdorf in 1994 using the C programming language to replace some of the Perl scripts for his “Personal Home Page”.

PHP is mainly used as a server-side programming language for websites but can also be used from a Command Line Interface (CLI) or as a standalone PHP-based application. PHP is considered one of the most widely used server-side scripting languages out there mostly due to its low barrier to entry.

Rather then bore you to tears about the history of PHP, I’ll direct you to somewhere else to find out more:

http://ca3.php.net/manual/en/history.php
http://en.wikipedia.org/wiki/PHP