GithubHelp home page GithubHelp logo

nabby27 / cms-panel Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 31.66 MB

CMS Panel created in PHP with OOP and architecture model, view, controller (MVC) using PDO, MySQL and Bootstrap

License: MIT License

PHP 99.91% Hack 0.09% CSS 0.01%
php7 php php7-2 php72 pdo pdo-mysql pdo-php html5 html mvc mvc-architecture mvc-application mvc-pattern mysql mysql-database bootstrap bootstrap4 font-awesome crud crud-application

cms-panel's Introduction

CMS Panel with MVC and PHP

This project consists of a CMS Panel (Content Management System) which only uses HTML, PHP, Bootstrap, Fontawesome icons and PDO statements to connect to the MySQL database.

Some of the features are:
  • Encryption of passwords
  • OOP (object-oriented programming)
  • Sentences with PDO
  • Architecture pattern MVC (Model, View, Controller)
  • Upload and delete images
  • URL friendly with .htacces
  • 404 page not found implement

Getting Started

Prerequisites

or server like xamp

Installing

First of all create the database with the script that is in the database folder. Modify the app/core/settings.php file by putting your connection data to the database and the diferents paths and environment. Finally, copy the files in your public folder on the server.

Note 1: Make sure that the assets/images folder is created and there are write permissions for all (necessary when uploading the different images).

Note 2: Make sure that the rewrite module of Apache is installed (necessary for the .htacces file that makes the routes friendly).

Running

Make sure that the apache server is started. Access to CMS Panel app in the URL of server. ex:

http://localhost

Testing with test data

To testing the app, you have to execute the data script that is in the folder ./resources/test, also you have to copy the images of ./resources/test/images to ./assets/images

Structure

    .
    +-- _app
    |   +-- _controller
    |   +-- _core
    |   +-- _entity
    |   +-- _model
    |   +-- _styles
    |   +-- _utils
    |   +-- _view
    +-- _assets
    |   +-- _images
    |   +-- _plugins
    +-- _database
    +-- _resources
        +-- _images
        +-- _test

LICENSE

This project is licensed under the MIT License - see the LICENSE file for details

Authors

cms-panel's People

Contributors

nabby27 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

josephjlee

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.