Saturday, 3 December 2022

Basic Fundamentals of PHP Language

 PHP Response.

To get response from PHP Language we use echo command following the response.

<?php

echo response;

?>

Response could be:

  • String
  • Integer
  • Float
  • Boolean
  • HTML Tags

Friday, 2 December 2022

How to set PHP Working Environment on Your PC?

Using XAMPP on Windows 

You should test PHP files on your computer when learning PHP;Running the PHP pages locally is the term for this.To do this you really want to introduce some product on your PC.When compared to attempting to create and edit files on a remote server managed by a hosting company, testing files locally takes much less time.

If your are new to PHP Please Visit this post first

Thursday, 1 December 2022

What is PHP Language


What is PHP ?

PHP is an all-purpose scripting language designed specifically for web development. Rasmus Lerdorf, a Danish-Canadian programmer, created it in 1993 and released it in 1995.The PHP reference execution is currently delivered by The PHP Gathering.Personal Home Page was the original acronym for PHP, but now it stands for the recursive initialism PHP: Preprocessor for hypertext.

Advantages of PHP.


PHP has been the preferred programming language for web servers for more than 15 years due to its many advantages.The advantages of PHP are as follows:

  1. Cross-Platform:PHP operates on any platform.It works with Mac, Windows, and Linux platforms, so you don't need a specific operating system to use it.
  2. Open Source:PHP is free software.Anyone who wishes to build on the original code can do so.Laravel, one of its frameworks, is extremely popular as a result of this.
  3. Simple to learn:For absolute beginners, learning PHP is not difficult.If you already know how to program, you shouldn't have any trouble picking it up.
  4. PHP is compatible with all databases:PHP connects to all databases, relational and non-relational, effortlessly.As a result, it is able to quickly connect to MySQL, Postgres, MongoDB, or any other database.
  5. Friendly Community:The PHP online community is extremely supportive.You can quickly and easily fix a problem if you're stuck thanks to the official documentation, which includes instructions for using the features.

Major Users of PHP

  1. Facebook:PHP powers Facebook's website.In turn, the company made a contribution to the community by developing Hip Hop for PHP.
  2. Wikipedia:Wikipedia is built in PHP and is one of the largest sources of information on any subject in the world.
  3. CMSs (content management systems):PHP is used to build WordPress, the most widely used content management system in the world.PHP is also used to build Drupal, Joomla, and Magento, which are all content management systems.PHP is used by Shopify, too.
  4. Platforms for web hosting:PHP is used by many Web Hosting Platforms, including Whogohost, Site Ground, and BlueHost.

Friday, 4 November 2016

Basic Concept of Computer Programming

Thinking is the base of Programming

Hi! Dear Friends, Every body wants to become a computer programmer, but remember one thing, there is only one attribute that can make you a good programmer that is your attitude "One of my very good Friend told me that 'Without attitude you can become the president of United States of America, but with attitude you cannot become a Programmer'", so guys please first of all clear it in your mind, this is not a subject or book that you will read and become a programmer, Only one thing you need the attitude of mathematics, if you want to solve a problem in mathematics you don't read it you have to solve it and you have to practice it more and more and if you want to become a successful programmer, you have to follow the Rule PPP means Practice, Practice, and Practice.


What is a Computer?

This picture is taken from Google
Guys just think computer as a newly born baby, that has a Brain and Memory and all Body Parts, but cannot think and do anything by its own, What makes it to work, you have to teach It, and whatever you will teach it, it will perform it, Computer is an electronic device that has ability to accept and understand whatever you say it(Input), can Process if you save something (Processing) and can produce and show you the results of Processing(Output) and also it has an ability to store its work for later use(Storage)


Basic Components of a Computer?

Courtesy of Google

  • Motherboard
    • Mother board is an electronic board where all components are hosted that makes a CPU (Central Processing Unit)
  • Processor
    • Also Called the Brain of Computer
  • Memory
    • To Work and remember the things computer has something installed into it called Memory, RAM, ROM.
  • Storage Devices
    • To remember the things longer, Computer has storage like Floppy disk, Harddisk, CDROMS, etc
  • Input Unit
    • from where we control the computer and give data and instructions like Keyboard, Mouse, etc
  • Output Unit
    • Where computer shows whatever is happening inside the computer like Display, Printers etc

Software.

Whatever we teach the computer is called programs or software.


Program.

A set of instructions organized in a sensible manner that tells the computer what to do and how to do.


Programming.

The art of writing programs for the computer is called Programming.