- 將 Config.sample.php 改名為 Config.php
- 將 Config.php 註解取消掉,輸入正確
- 匯入 db.sql 建立 members table
- 變更 config/MySQL.php 符合你本地端的資料庫帳號密碼
- 執行 composer install 有需要的話 composer dump 重新讀取 class map
- 這是一個使用 Clean URL 的自訂框架所以都統一進入 index.php 處理
- 在 init.php 執行需要全域初始化的動作
- 路由 route.php 轉接 URL 對應到 controller 資料夾
- libraies 專門放低耦合,可共用的 class 函式庫
- view 是畫面元件,主要分割成 header, body, footer
- validators 專門放驗證用、高耦合性的 class
- 本範例 Database 採用單例模式以 PDO 連接 MySQL
login_register's Introduction
login_register's People
Forkers
jmihuang mige0293 cariskao mccoychang s10330039 willho99 yehchge 108111110 skip61017 supermarpig cnshwlmilesRecommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.