26456Brief Introduction to PHPhttp://www.webguys.com/pdavis/Programs/What_Is_PHP/PHP is a server-side, cross-platform, HTML-embedded scripting language. Currently there are over half a million domains running PHP and it is freely available for download online from www.php.net. Much of PHP?s syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly. PHP eliminates the need for numerous small cgi programs by allowing you to place simple scripts directly in your HTML files. It also makes it easier to manage large web sites by placing all components of a web page in a single html file.PHP > Tips and Tutorials > Introduction to PHPOct 15, 2006
In the most basic sense, a class is a group of related functions. Think of them as parts of a factory: even though they do different things, they usually work together to create a common result.
PHP (Hypertext Pre-Processor) is a scripting language. One common mistake made by beginners to programming is to confuse PHP and HTML. HTML is the code which a browser interprets, while PHP is the code which creates HTML. PHP can create HTML. If you do not know basic HTML, then do not read any further.
To identify PHP code you must give the file a .php extension. This tells the web server to send these files to the PHP engine, so that they can be interpreted/compiled. Beyond giving them a .php extension you must also identify PHP code by surrounding it in the following tags:
Hopefully you know what PHP is already. If not I'd better explain it. Right, PHP is a scripting language that you embed in web pages to do advanced stuff. But unlike HTML, PHP is not sent straight to the client to work out it is converted into HTML on the server it is running on and then sent to the client. So this allows you to have a database server set up on your server and you can request records from it whatever way you want! Also because the PHP code is worked out on the server clients are unable to see the PHP code in the page just the outputted HTML!!!
Object orientated programming (OOP) is a commonly used term when discussing modern programming techniques. One of the things that makes humans stand out is the ability to categorise - we put objects into categories of similar type of function. For example, we have the category vechicle. Within this category, you have the different types of vehicle - car, bug, train, van. In the same bag, a llama is a type of animal. This analogy applies to programming - we create functions to do specific tasks and then group similar functions into classes. No only does this organise everything, but also allows a common access point for these similar functions.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.