No description
Find a file
Patrick Louys 1ddfec5112 Merge pull request #19 from Hamz-a/master
#18 renamed $woops to $whoops in Error Handler
2014-12-08 12:20:07 +01:00
1-front-controller.md Always use absolute paths for includes 2014-11-06 11:33:04 +00:00
2-composer.md added code formatting 2014-09-17 22:07:26 +02:00
3-error-handler.md #18 changed $woops to $whoops 2014-12-08 11:53:46 +01:00
4-http.md aura/web , not aura/http . 2014-11-27 22:38:41 +05:30
5-router.md Changed former controller part 2014-09-20 19:56:08 +02:00
6-dispatching-to-a-class.md changed to controllers 2014-11-30 21:06:11 +01:00
7-inversion-of-control.md changed to controllers 2014-11-30 21:06:11 +01:00
8-dependency-injector.md changed to controllers 2014-11-30 21:06:11 +01:00
9-templating.md new chapter 2014-11-30 22:38:48 +01:00
10-dynamic-pages.md missing newline 2014-11-30 22:41:27 +01:00
README.md added link to new chapter 2014-11-30 22:42:31 +01:00

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. 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. Dispatching to a Class
  7. Inversion of Control
  8. Dependency Injector
  9. Templating
  10. Dynamic Pages