From f5851ab797700f17517b88d1998a45eda310aab0 Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 12 Sep 2014 18:33:31 +0200 Subject: [PATCH] refactored a few things --- 1-setup.md | 6 ++++++ 2-http.md | 3 +++ README.md | 7 ++++++- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 2-http.md diff --git a/1-setup.md b/1-setup.md index 830e030..b113572 100644 --- a/1-setup.md +++ b/1-setup.md @@ -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) \ No newline at end of file diff --git a/2-http.md b/2-http.md new file mode 100644 index 0000000..4cceeff --- /dev/null +++ b/2-http.md @@ -0,0 +1,3 @@ +[<< Previous step](1-setup.md) [Next step >>](3-.md) + +### Error handling diff --git a/README.md b/README.md index b0a8340..a5de133 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,9 @@ 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). \ No newline at end of file +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). \ No newline at end of file