Introduction to PHP Programming and Server Side Language

Introduction to PHP Programming and Server Side Language

Posted by

In this first article, Introduction to PHP Programming and Server Side Language of PodinaTutorials.com, you’ll learn how to code in PHP. Now before we get into back to a coding part we want to talk about what exactly the PHP is and what it can use it for inside a website.
So right now since you guys already here to learn about PHP I want to mention that it’s really important that you already know HTML and CSS. If you don’t know HTML and CSS, it’s gonna be a little bit difficult for you to follow along on some of these lessons. So if you don’t know it go ahead and go back learn about it first and then turn to a PHP lessons here.
Now having said this a lot of people are also going to tell you that you need to know JavaScript before learning PHP.
Now while it’s true that learning JavaScript makes it easier to understand PHP in the beginning. It also goes the other way around, if you learn PHP first and then learn JavaScript! it also becomes easier to understand JavaScript, so you don’t need to know JavaScript before getting into PHP. The minimum requirement is that you know HTML and CSS.
So now that we talked about what you need to know before getting into PHP. let’s actually talk about what PHP actually is!
PHP stands for hypertext preprocessor and essentially what PHP is is what we call a back-end programming language or what you might call a server-side programming language so what you can do with PHP is you can make your website more dynamic right now if you were to only know HTML and CSS you could create a website where you can go ahead and click on a couple of links and read about stuff maybe put a video there or some images but what if you want to make more dynamic and make users able to do something on your website.

For example

let’s say I have a login system where people can go and sign up you know a user account and with that user account when they do logged-in. they can go to a forum which you might also have on your website and post something.

Now in order to have this, You’re going to need to have a database and a database is used for posting or ID storing. All these posts and users that might be signing up on your website. So if you don’t have a database you can’t save any information on your website.
Now in order to connect the website to the database. You will need a server-side language and a lot of them out there and the one we’re going to be focusing on is the one called PHP.
PHP is the same thing WordPress is written in. It’s also the same thing that Facebook uses, and it’s an awesome tool when you get started on.
What you can do with PHP like I said is, you can make your website more dynamic! you can also insert stuff into databases! you can get stuff from databases! you can create cookies! you can create sessions! which you use when you’re actually working on a website. You can do a bunch of awesome stuff and it doesn’t always have to be something related to a database, you can also do stuff on your website not connected to a database but you need to have at least server access.

So in the next couple articles, we’ll talk about how to actually set up the local database I just want to mention, that PHP can for some people, in the beginning, be a little bit difficult to learn, and the same thing goes for JavaScript.
JavaScript and PHP are very different. The concept behind them are very different from HTML and CSS. That’s because you need to think about coding in a little bit different way that you would with HTML and CSS.

So don’t get stressed or frustrated if you don’t quite get PHP in the beginning, because everyone who started learning PHP will, in the beginning, feel like they’re learning a bunch of stuff which doesn’t really make sense in the beginning, but later on a promise it’s going to make a lot of sense and just keep following the lessons and you will understand PHP in no time.

Conclusion

 

So I just want to put it out there you shouldn’t get frustrated if you don’t quite understand in the beginning. Everyone has it like that in the beginning. So as we do it later on and we move further, you will learn more about PHP and will become familiar with it, and it’s going to become as a second nature if you do actually practice it.
So I hope you guys will enjoy these lessons I don’t really have anything else to talk about when it comes to introducing PHP. I think I did actually cover most of it. So like I said: In the next couple of articles, you will actually learn how to set up the local server and then we’ll actually get into PHP.