Friday, 15 August 2014

What is PHP?

  • PHP is an acronym for "PHP Hypertext Preprocessor"
  • PHP is a widely-used, open source scripting language
  • PHP scripts are executed on the server
  • PHP costs nothing, it is free to download and use
 
PHP is an amazing and popular language!

NoteIt is powerful enough to be at the core of the biggest blogging system on the web (WordPress)!
It is deep enough to run the largest social network (Facebook)!
 It is also easy enough to be a beginner's first server side language!


What is a PHP File?

  • PHP files can contain text, HTML, CSS, JavaScript, and PHP code
  • PHP code are executed on the server, and the result is returned to the browser as plain HTML
  • PHP files have extension ".php"

What Can PHP Do?

  • PHP can generate dynamic page content
  • PHP can create, open, read, write, delete, and close files on the server
  • PHP can collect form data
  • PHP can send and receive cookies
  • PHP can add, delete, modify data in your database
  • PHP can restrict users to access some pages on your website
  • PHP can encrypt data
With PHP you are not limited to output HTML. You can output images, PDF files, and even Flash movies. You can also output any text, such as XHTML and XML.

Why PHP?

  • PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
  • PHP is compatible with almost all servers used today (Apache, IIS, etc.)
  • PHP supports a wide range of databases
  • PHP is free. Download it from the official PHP resource: www.php.net
  • PHP is easy to learn and runs efficiently on the server side
what is PHP ?

PHP (Hypertext Processor) is a free, server-side scripting language designed for dynamic websites and app development. It can be directly embedded into an HTML source document rather than an external file, which has made it a popular programming language for web developers. PHP powers more than 200 million websites, including Wordpress, Digg and Facebook.





***Where to learn it:***
Udemy,
Codecademy,
Lynda.com,
Treehouse,
Zend Developer Zone,
PHP.net.

Tuesday, 12 August 2014

The Difference Between CSS, HTML and PHP


              CSS =>    Style: Cascading Style Sheets (CSS) dictate your website’s look and feel.

  Font size, font color, font type, styling around images, page layout, mouse-over effects and more  are all determined by CSS.In WordPress, CSS can be edited within the Editor” section under Appearance in the Dashboard. Some WordPress themes, like Headway, allow you to visually edit the CSS (meaning you don’t need to get eyeball headaches from coding).

The colors, fonts and styles of this entire website are driven by CSS.



           HTML => Content: HyperText Markup Language (HTML) is the building-blocks of web pages.

HTML allows you to put images, text, videos, forms and other pieces of content together into a cohesive webpage. You can also tweak text words, resize images, and add links to either.


Anything that you can read or view on this website is being presented to you (by way of a browser) with HTML.



           PHP =>    Functionality: Originally meaning “Personal Home Page“, PHP is what makes your website do stuff (I really can’t say it any better than that).


It’s a language of web applications like WordPress plugins, Donation widgets and otherthings that do stuff. 

If you use the search box at the top of the screen, PHP will perform the functions that need to be done to give you the search results.