WHAT IS PHP?
PHP stands for Hypertext Preprocessor basically it is just a computer language like other languages of computer but having most of its inbuilt function which are really use full for backed programming or working of server in case of website or and android or iOS Application.
WHAT IS SERVER & WHERE DOES PHP COMES IN USE IN IT?
As a beginner you may have doubts that what is actually a server and where it is present.So to understand that take a look at this figure from close and I will make you understand the whole concept by taking the example of any website which we use in our day-to-day life.
we search some thing in google or any web browser and click on a website which is shown in the page after search bar to find relevant answer to our questions, just after clicking a signal is sent to your internet service provider and then
service provider try to locate the perticular place where the website codes are being saved called server. Domain is the real address of that storage place which actually gets converted to its server IP address in the server searching process after that it makes a connection between our mobile and server of the website.Then actually work of php starts.It then makes connection with database where website and application datas are stored. Data may contain user personalized results like amazon account, Answer to a server question like quora answer, Or total no of site views of our website just a integer. Data are retrieved through php codes and shown dynamically to user's means same page vary user to user and vary with sessions also like total no of pages views. For more info read the "WHAT YOU CAN DO WITH PHP OR OTHER BACKEN ?" section of this page.
IS PHP IS NECESSARY FOR ME AS A DEVELOPER ?
NO, not at all. But actually this question need some modification you need to get clarified that actually you are asking for is the work done by PHP is necessary ? or PHP is necessary ? if your question is first one then answer is yes but still we have alternative like blogger and wordpreess but maximum which website which we built through blogger or wordpreess are only static blogs which donot take any input from user and neither show them their personalized pages or contents. But for second question your answer is No as their are many other languages and framework are their which have more inbuilt function for faster development of apps and website. Like NODE.JS(javascript based) , DJANGO, FLUTTER these frameworks are also counted more developed than php. IS IT REALLY? ANSWER IN THE NEXT SECTION.
WHY YOU SHOULD LEARN PHP AS FIRST BACKEND LANGUAGE ?
The simplest answer to this is because it is easy to learn.As a beginner you should more focus upon what I can do with this technology and profits after reading this language not to rout the codes and syntex (google is there to help you) .Most of the syntex of php are also easy to understand as they are some what similar to our code first language like c, c++ and java which we all have some idea if you are reaching this page and line. And you will get a clear idea that what a server side scripting language does in a website. And as I have already said did really php donot have any future - No, that's not correct ,if that would be condition php should not brought it's update in this near past. Php is open source and you can also add feature feature to it in case of other technology they are backed by big organizations so showing more growth in this era but php is one of the oldest and most of old companies means big brands are still using it. Others just have more libraries means pack of codes executed just by writing one line of code which is not found in php and it is good also as a beginner.
WHAT YOU CAN DO WITH PHP OR OTHER BACKEND TECHNOLOGIES ?
Basically in any back-end language like php you can do some coding such that the view of website changes from session to session and user to user php codes retrieves real time data from database then can make modification to it and displays to the users.Take a simple example of to total no of site views of Our RGIPT TALES website in back-end we have a database. Whenever a user reaches our page a code gets runed in the server of our website that bring the data present on the database about total page view which is a integer already present in the database. After receiving it modify that number by adding +1 with it and send to the website viewer and at the same time it also make modification in the database that make a +1 with the already present number in the database. So that for next session of website the answer should be correct about total number of page views.
Thank you .



0 Comments