25 lines
1.4 KiB
Markdown
25 lines
1.4 KiB
Markdown
## Create a PHP application without a framework
|
|
|
|
### Introduction
|
|
|
|
If you are new to the language, this tutorial is not for you. This tutorial is aimed at people who have grasped the basics of PHP and know a little bit about object-oriented programming.
|
|
|
|
You should have at least heard of [SOLID](http://en.wikipedia.org/wiki/SOLID_%28object-oriented_design%29). If you are not familiar with it, now would be a good time to familiarize yourself with the principles before you start with the tutorial.
|
|
|
|
I saw a lot of people coming into the Stack Overflow PHP chatroom and asking if framework X is any good. Most of the time the answer was that they should just use PHP and not a framework to build their application. But many are overwhelmed by this and don't know where to start.
|
|
|
|
So my goal with this is to provide an easy resource that people can be pointed to. In most cases a framework does not make sense and writing an application from scratch with the help of some third party packages is much, much easier than some people think.
|
|
|
|
So let's get started right away with the [first part](1-front-controller.md).
|
|
|
|
### Parts
|
|
|
|
1. [Front Controller](1-front-controller.md)
|
|
2. [Composer](2-composer.md)
|
|
3. [Error Handler](3-error-handler.md)
|
|
4. [HTTP](4-http.md)
|
|
5. [Router](5-router.md)
|
|
6. [Dispatching to a Class](6-dispatching-to-a-class.md)
|
|
7. [Inversion of Control](7-inversion-of-control.md)
|
|
8. [Dependency Injector](8-dependency-injector.md)
|
|
9. [Templating](9-templating.md)
|