GithubHelp home page GithubHelp logo

login_register's Introduction

login_register

  1. 將 Config.sample.php 改名為 Config.php
  2. 將 Config.php 註解取消掉,輸入正確
  3. 匯入 db.sql 建立 members table
  4. 變更 config/MySQL.php 符合你本地端的資料庫帳號密碼
  5. 執行 composer install 有需要的話 composer dump 重新讀取 class map
  6. 這是一個使用 Clean URL 的自訂框架所以都統一進入 index.php 處理
  7. 在 init.php 執行需要全域初始化的動作
  8. 路由 route.php 轉接 URL 對應到 controller 資料夾
  9. libraies 專門放低耦合,可共用的 class 函式庫
  10. view 是畫面元件,主要分割成 header, body, footer
  11. validators 專門放驗證用、高耦合性的 class
  12. 本範例 Database 採用單例模式以 PDO 連接 MySQL

login_register's People

Contributors

jarvisho avatar

Watchers

James Cloos avatar

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.