PHP tutorials for beginners

It is impossible to jump in learning PHP before you know the basic concepts of HTML, and that is because when you code in PHP, your objective as a programmer is to output or generate an HTML page.

To explain by example, a table in HTML , you need to know how to produce a table in HTML first, and then with PHP becomes easy. with HTML it is static , you can list in a table a defined set of items and that is it; but with PHP you can list the items in a table dynamically, for example from a database, and that is the power of server side scripting like PHP.

Example of a table in HTML: a list of 2 provinces in Austria and their capital

<!-- Every table starts with the tag <table> -->
<table border="1">
<!-- Heading of the table with two labels "Province" and "Capital" -->
<!-- for HTML to recognize that you are starting a row -->
<!-- End of the heading of the table -->
<!-- here are the rows containing the data -->

With PHP, you can produce the same list of provinces and their capital from a database but if you really do not know how HTML works, you cannot utilize PHP to produce the result.

Introduction to CakePHP

CakePHP is an open-source web framework. It follows also the model–view–controller (MVC) approach and is written in PHP, modelled after the concepts of Ruby on Rails, and distributed under the MIT License.

CakePHP started in April 2005 by the polish programmer Michal Tatarynowicz who wrote a minimal version of a rapid application development framework in PHP, naming it Cake.
In December 2005, L. Masters and G. J. Woodworth founded the Cake Software Foundation to promote development related to CakePHP. Version 1.0 was released in May 2006.