Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.24 KB

Model CRUD with custom Storage Implementation

Intro

  • This small app allows you to perform CRUD Requests for custom built storage methods
  • You can easily add new classes and implement storage functionality using the interfaces and abstract classes available

Required

  • PHP 7 for Twig 2.0
  • Composer
  • MySQL if using database storage
  • MOD Rewrite
  • Apache Server

Getting Started

  • Point Document Root to public folder
  • To add new models simply create them under \App\Models\
  • To add new storage implementation simply create them under \App\Services\

Front End

Folder Structure ( for Front End )

views/
├── app.twig        <-- This has the base structure put in place for the html ( can only be extended for other templates to be used)
├── index.twig      <-- Main Homepage view that is rendered 
├── includes/       <-- The main includes folder  
└── errors/         <-- All Error Page Views are added here ( 404 / 501 / etc..)