No description
Find a file
2014-09-16 21:53:59 +02:00
1-front-controller.md Case fixes, punctuation, spelling 2014-09-15 22:51:39 +01:00
2-composer.md Apostrophe usage, punctuation, case, word ordering 2014-09-15 22:55:36 +01:00
3-error-handler.md removed partial sentence 2014-09-16 21:53:59 +02:00
4-http.md Spelling, punctuation, hyphenation, wording 2014-09-15 23:13:19 +01:00
5-router.md Case, add quotes 2014-09-15 23:15:28 +01:00
6-controllers.md finished inversion of control part 2014-09-16 21:48:41 +02:00
7-inversion-of-control.md fixed link 2014-09-16 21:53:11 +02:00
8-dependency-injector.md fixed title 2014-09-16 21:52:08 +02:00
README.md finished inversion of control part 2014-09-16 21:48:41 +02:00

Create a PHP application without a framework

Introduction

If you are really new to the language, this 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 at least heard of SOLID. 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.

Parts

  1. Front Controller
  2. Composer
  3. Error Handler
  4. HTTP
  5. Router
  6. Controllers
  7. Inversion of Control
  8. Dependency Injector