Skip to content

An introductory example of a simple and minimal website built with PHP.

Notifications You must be signed in to change notification settings

bholexy/simple-php-website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple PHP Website

I put together this project while introducing a friend of mine to PHP. I decided to clean it up a bit and put it on Github so anyone new to PHP can have a taste of a very simple and minimal website built with PHP.

This project is meant for absolute beginners. I've intentionally kept it the most minimal possible while introducing some separation of concerns.

Concepts

The project covers these concepts:

  • PHP variables
  • PHP arrays
  • PHP functions
  • Pretty links (/about) with fallback to query string (?page=about)
  • Basic example of separation of concerns (functionality, content, template)

If you are a beginner and would like me to explain something in the code, or if you already know PHP and have some recommendation for the project, plese create an issue or hit me up on Twitter @banago.

Lisence

MIT

About

An introductory example of a simple and minimal website built with PHP.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%