Tutorials

There are numerous ways to protect your website content from unauthorized access, depending on your situation. If you have an API, you will authenticate through tokens. If you need to protect non-programming files like images or documents, you will need HTTP authentication using .htaccess file. If you have a registration system, you'll want a database and a login form on your website.

Posted by . Category: PHP

Today we'll talk more about classes. Before we begin, make sure you read up on PHP Class basics. What are traits? In the abovementioned tutorial, I explained what classes are, and how to create an umbrella class and have multiple children that extends from it. So what if you need a class that imports functions from multiple sources? The obvious (but incorrect) way to extend classes Your first attempt after running into this issue is probably to just include or require files with methods into your classes.

Posted by . Category: PHP

Web "apps" are slowly becoming the norm on the internet. Websites are not just for show anymore and developers have starting adding a lot of interactivity; you can watch movies, play games, voice and video chat. You can do on your browser what used to require an actual program. What is a module? Short Version: It's a plugin.

Posted by . Category: JavaScript

Hello everybody and welcome back to PHP Trainee. Today we will talk about Object Oriented Programming. These words have scared a lot of new developers but it's very easy once you start to use it. Before we start, be sure to read up on Custom PHP Functions which this lesson builds upon. What is Object Oriented Programming? Object Oriented Programming (OOP) is a method of programming where developers group similar functions together.

Posted by . Category: PHP

Page: 1 | 2 | 3 | 4 | Next | Last