Formation progress: unfinished
This repository is the result of the Formation PHP course of Alura where I learned and practiced the language fundamental with good practices and the essential knowledge of a good object oriented modeling.
- 1º - Introduction to PHP Getting started with a language
- 2º - Moving forward with PHP Arrays, Strings, Function and Web
- 3º - Object orientation with PHP classes, methods and attributes
- 4º - Advancing Object Oriented with PHP: Inheritance, Polymorphism and Interfaces
- 5º - PHP: Manipulating collections with Arrays
Where it all begins! With a hello world, of course! In this repository is the first chapter of the PHP study, where you can find simple code examples with some activities using basic structures like for, if, while and etc. Then to ends with a "challenge" to use everything that has been studied in this chapter.
echo "Hello World!;
Advancing in content, we will see new things, like arrays and array in array (associative arrays), encapsulation and discoveries in the world of the web! And of course, we cannot forget the study more about strings and interpolation, to finish passing some variables using references or values (have difference!).
At this moment where we separate the man from the boys! In fact, now we're talking about O.O. (Object Oriented). In this repository, you will find examples of studies on constructors, static methods, code reuse and some theories about this part of programming.
I went deeper into this subject studying how to work, use and configure namespace, alias, interfaces. The difference between abstract classes and interfaces, how to use inheritance and grant a method to not be overwritten.
In this course, I had studied arrays and how to work with them, for example, functions that can operate arrays and CRUD. I Learned about the strict type of PHP, how to resolve automatic conversions of types, autoloader implementation, PSR-4 pattern, and how to use namespaces.