vspf/vspf

Very Simple PHP Framework

dev-master 2019-02-28 17:48 UTC

README

Very Simple PHP Framework - Write PHP application faster, safer and smarter than before

About

Based on several years of experience in development in PHP, CSS, html for different purpose, I've decided to merge all my libs in a single framework.

FAQ

Why create my own framework ?

For several reasons

* Because coding is fun
  Writing my own PHP framework is a interesting exercice, and I love having fun with PHP programing ;)
* Popular PHP frameworks are far too big
  I don't want to use already existing "enormous" PHP framework and waste my time learning how to use it
  By the time I finish to learn, a new version is out then I'll have to start from scratch
* If do it, I fix it myself
  If I write my own code, I know how to fix it quickly
* It's already almost ready
  I've alredy written most of the framework, I just need to "merge" everything into my own framework  

Documentation

Philosophy

* Write once, use it in serveral place
* Keep thinkgs simple, don't have dozens of useless PHP classes
* Avoir static as much as I can, static classes, methods or variables are your ennemy ;)

Requirements

Check the Requirements page (to be completed)

Structure

A Vspf web app sample structure

root folder
  apps
    app1
      config
        config.php
        config.php.sample
      models
        member.model.php
        cars.model.php
      controllers
        home.controller.php
        member.controller.php
      views
        member.view.php
        home.view.php
      templates
        xxx.tpl
    app2
    app3
  core
  index.php
  public
    index.php

Download

vspf PHP framework is still in alpha version and not available for download yet. I hope I'll be able to release a beta version soon