Dear friends, when we start learning a programming language, or something new, the first question that pops up in our mind is “What is it?”. Therefore, to prepare you to enter the journey of learning PHP programming through a series of PHP learning articles that I have compiled. Then in this first article, we will learn together what is Web Programming? Let's Primexbt learn about that
To learn what web programming is, we should understand what the concept of "programming" is?
Programming is a complex art process that tells the computer what to do. Don't misunderstand programming in the sense of "hey, get me a drink, you stupid computer guy", and it will immediately follow your commands. That programming gives you a sequence of code, logical layout, instructions for execution, so that the computer can understand and follow. Basically, you give the computer a piece of text. includes step-by-step instructions, the computer will follow each of those steps from the first step to the last step, in turn, in order, until your final goal is achieved, which is "to ask the computer to take glass of mangrove".
Broadly speaking, programming allows us to create new software, and so does web programming, it's just that you write applications that will run on the web to be used by web browsers like are firefox, chrome, IE, Opera,…
So how does a website work?
Having learned the concept of web programming, we will continue to ask "how does the website work?". Talking about how the website works, I won't be able to say it all until tomorrow, so within the scope of this article, I will give a small example for you to use temporarily, then we will Learn more in the following articles
Basically, a website has the following structure (if you are completely new to the website, just look at the example code, no need to understand the details, slowly the porridge will be fine):
When you access your web page through a browser, the web server parses it, reads through the lines of your HTML page, and as it passes through a programming language (here we see the code in that language). php programming language), it will execute this code. In this case, we will see that when we run the above code in the browser, it will display the current date as 2017/02/13, otherwise you will not see what is programmed below.
seê more: Many indicators in chart on Prime XBT
And the next day, you run the website to have it execute this code again, you will see another time display as 2017/02/14. This is just a small example of the dynamic (Dynamic) of a .
What is web programming?
Web programming language
All web programming is done with web programming language. Mostly, web programming is done in a server-side programming language. This code runs on the server and then provides static information back to the web browser. The most popular web programming languages are: PHP, ASP.NET, Ruby on Rails, Perl, Classic ASP, Python, and JSP.