refactored a few things

This commit is contained in:
Patrick 2014-09-12 18:33:31 +02:00
parent 1f2101cfdb
commit f5851ab797
3 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,5 @@
[Next step >>](2-http.md)
### Setting up the front controller
To start, create an empty directory for your project. You also need an entry point where all requests will go to. This means you will have to create an `index.php` file.
@ -84,3 +86,7 @@ vendor/
```
This will exclude the included file and folder from your commits. For which would be a good time now by the way.
Now you have successfully created an empty playground which you can use to set up your project.
[Next step >>](2-http.md)

3
2-http.md Normal file
View file

@ -0,0 +1,3 @@
[<< Previous step](1-setup.md) [Next step >>](3-.md)
### Error handling

View file

@ -7,3 +7,8 @@ I saw a lot of people coming into the stackoverflow PHP chatroom that asked if X
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 3rd party packages is much, much easier than some people think.
So let's get started right away with the [setup](1-setup.md).
### Parts
* [1. Setting up the project](1-setup.md).
* [2. Http abstraction](2-http.md).