Before getting into PHP, it's a good idea to ask yourself if I should learn software. There must be a reason that pushes you to learn software?

Software is a constantly evolving and developing endeavor that requires continuous learning. In this race, where even programming languages ​​are released at most every 3 months, you must be fast, learn quickly and complete everything without errors. The situation in PHP is no different.

What is the reason that pushes you to learn software, when you can make crazy videos on TikTok, Instagram or YouTube and make money?

What can I do with PHP?

First of all, the working logic of websites in understanding there is a benefit.

When we click on a link in our browser or type the address of a website in the address line, a request goes to the server side. The request is matched with the relevant file by specialized software such as Apache. The PHP file is called and processed. During this process, PHP usually connects to the database and takes the necessary data and returns it to Apache in HTML format, and the request is terminated for PHP. Apache also passes HTML data back to the browser.

With PHP, you can make a website for yourself, promote your products or services, set up a news site and present news from the world, make an e-commerce site and sell the products you produce or supply. It is also possible to make applications that run on the command line with PHP.

What can't I do with PHP?

Since PHP works in request-response logic, it is often used to create server-side applications. You can't make a desktop app or mobile app with PHP.

Should I learn this language?

If you are a young programming student or young and not satisfied with your profession, learning PHP will definitely add value to you. However, don't fall into the illusion that learning PHP will open up unlimited job opportunities for you. Due to the fact that it is easy to learn, there are too many entry-level PHP developers in our country. This causes the labor market in this ecosystem to deteriorate and many of the developers earn less than they deserve.

If you have completed your university education and entered the IT sector in some way, learning Java, Kotlin, C# or similar languages ​​instead of PHP will add more value to you. 

What is the origin of PHP?

In the early days of the Internet, most sites consisted of static content. Interaction with users was limited or nonexistent. There was almost no way you could even know how many people visited your site. Still, it was possible to write various CGI scripts with C. It was 1994 when Rasmus Lerdorf set to work creating various CGI scripts for his site. was showing. Since the internet was still in its early days, there weren't many alternatives and PHP was completely free as well as being a pioneer in this regard. By mid-1997, 50.000 websites were using PHP.

Is PHP paid?

  • PHP is free software. It does not charge you any license fee directly or indirectly. 
  • It is commonly used server-side with Apache, and Apache is likewise a free software project.
  • You don't need a paid and dedicated Integrated Development Environment (IDE) to write PHP code.
  • PHP does not need a special operating system to run. It can run on Linux, Mac or Windows operating systems. 
  • PHP is very advanced in database support. It works seamlessly with free databases like MySQL/MariaDB, PostgreSQL or paid databases like MSSQL or Oracle.

Note:

Here is a nice review for the terms and their meanings mentioned here. our text there.

Who is it used by? 

Global sites like Facebook, Wikipedia, WordPress, Spotify PHP uses. It is seen that many e-commerce sites in our country are also written in PHP (I do not link because it will be an advertisement). There are also many paid or free content management systems (CMS) written in PHP.

Many companies prefer to use PHP because of its flexible language structure, constant updating, renewing itself over time, supporting OOP (Object Oriented Programming), producing very effective results in terms of price-performance and having a wide community support.

They say PHP is dead, is it worth learning?

It is observed that PHP is slowly losing its popularity, and a transition to JavaScript and derivative languages ​​is observed. It is a very natural process for certain languages ​​to become popular or lose their popularity in each period. 100 of every 78 websites currently live are written in PHP in a state. Security and bug fixes with PHP active is.

Where and how can I learn PHP?

There are many resources for this. Some of these resources cover the basic PHP features very superficially and skip the practical side of the subject. 

The most advanced training developed for this language, prepared by Zend company and consisting of 3 stages. PHP Fundamentals training series. Unfortunately, all of these trainings are paid, completely in English and very expensive trainings. It costs $3.500 excluding the certificate. Since I'm sure you don't have that big of a budget, I'm going to recommend some totally free PHP tutorials for you.

path.dev PHP paths

Although PHP applications run on the server side, since they convert their results in HTML format, it would be a huge mistake to try to learn PHP directly without having more than basic HTML knowledge, sufficient CSS and JavaScript knowledge. On this subject, it seems that the site patika.dev has prepared 3 different PHP paths. “The Path to Backend Web Development with Beginner PHP” is the richest educational content prepared in Turkish on this subject. Being a member of the Patika.dev site is also completely free and best of all, it offers you a certificate that you can present as a reference when you complete each path. 

Patika.dev trainings are not limited to the entry level. There are Intermediate and Advanced PHP training paths and these trainings also include topics such as OOP/Object Oriented Programming, Software Engineering 101, SQL, NoSQL, Rest API.

Patika.dev site offers you free training on not only PHP but also many languages, and also organizes Bootcamp events. When you complete the trails, you have the chance to participate in these camps.

btkakademi.gov.tr

BTK Academy started its activities in 2017. PHP tutorial If we look specifically at it, it offers a sufficiently satisfying education. At the end of the training, you have also written a simple e-commerce site project. The lecture, which starts with the installation of the necessary language tools, also covers basic HTML, CSS and JavaScript topics, but gives its general weight to PHP. At the end of the training, there is a small exam and if you pass the exam, you can get a Certificate of Participation. Unfortunately, you cannot take the certification exam without following at least 80% of the trainings. You have to get at least 70 in the exam and you can take an exam up to 3 times. BTK Academy includes only beginner level training. Does not include Intermediate or Advanced education. To register, simply log in with e-government.

This tutorial was prepared by Volkan Alakent. Volkan Bey also prepared JavaScript and CSS training. If you want to learn front-end development tools, these tutorials will definitely come in handy.

Bonus:

BTK Academy website Pardus Interface Training course is also given.

W3Schools.com

W3Schools is a website famous for providing free training on basic internet and web technologies. It includes independent trainings on PHP, SQL/MySQL, HTML, CSS, JavaScript and many more. 

Instead of video-based training like Patika.dev and BTK Academy, the topics are divided into digestible parts and text-based with simple English narrations. In order to understand the tutorials, you must have an entry level or higher level of English.

Udemy.com tutorials

Udemy site stands out as a platform where trainers can provide paid or free training. Various content about PHP prepared in Turkish is also available on the site. Unfortunately, none of the free content for PHP is sufficient to provide enough introductory information. Paid trainings seem to be around 150-250 dollars. If you opt for a paid Udemy course, be sure to check out how much space it dedicates to OOP/Object Oriented Programming. It's also worth making sure it includes Secure Coding with PHP topics.

Which book would you recommend?

Most of the published books on PHP education are very old. The two most recent books were published in 2019. The PHP Training Book, prepared by Mehmet Ali Uysal, stands out as a resource that you can use for intermediate education after the above trainings, as it is aimed at the current version and gives wide coverage to OOP / Object Oriented Programming. Other books are out of date as they are for pre-PHP 7 versions which are no longer supported.