GithubHelp home page GithubHelp logo

beardymike / minim1 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 126 KB

A simple PHP application, with many handy tools and example pages built in.

PHP 43.84% Hack 1.64% CSS 31.17% JavaScript 3.53% SCSS 19.83%
beginner-friendly mvc-pattern php simple micro-framework

minim1's Introduction

the word MINIM1, shown in a sharp font

A clean PHP application, with some helpful diagnostic and setup tools, plenty of example pages, and many handy functions built in.
Ideal for PHP beginners, or someone looking for a clean starter MVC-pattern project.

MINIM1 is based on MINI3, from Panique. This project allows for much deeper customisation, and includes a number of new features that wouldn't make sense in the regular MINI3 project.

Commenting

This project uses the PHP-FIG standard for commenting code, and we've taken great effort to show how and why each function is used. If you find a comment that needs amending, please feel free to submit a pull request to the dev branch. We want MINIM1 comments to be easy to read, helping new users understand why functions work the way they do.

Why not just fork MINI3?

We wanted to create a version of MINI3 that was more up to date, included a number of new features, and that is a signifacnt depatrure from MINI3's goals of being super simple/lightwieght. We want MINIM1 to be a

We also want MINIM1 to be an easier starting point for PHP beginners who are trying to learn the MVC pattern.

Installation

Open a terminal and use "composer install", this creates the VENDOR folder with all the dependencies.

THE PHP APPLICATION WILL NOT WORK UNLESS YOU PERFORM THIS STEP.


What's new?

  • Simplified installation process, using composer install. Protected view() function in the Controllers with a variable passing on most routes.
   view('_templates/header.php', [
       'meta_title' => 'Homepage',
       'meta_description' => 'This the pages meta description',
       'meta_canonical' => URL . "home"
       ]);
  • AJAX examples on the homepage.
  • additional PDO Database templates, for quickly adding additional DBs.
  • simple auth framework for sites that need a login function.
  • add support for hyphenated URLs, passed form the frontend.

minim1's People

Contributors

beardymike avatar orxxor avatar

Stargazers

 avatar

Watchers

 avatar KOMLANI Tibang Tibang'bé avatar

minim1's Issues

Project works in XAMPP but not on Live webserver.

Project loads and works fine locally through XAMPP, but fails to load on my live server.

Error says there's a problem in /var/www/beardymikeADMIN/application/Core/Application.php on line 5.

require APP . 'core/CoreFunctions.php';

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.