It is a Membership system that implements only essential functions!
๐ก Not Use Web Server Stack Installer Package
Just DownloadNginx
AndPHP
AndMySQL
-
NGINX Download
-
PHP Download
- Download Link
- In my case, install
PHP
inside theNGINX
folder.
-
MySQL Download
- Download Link
- Install and Configuration : Reference
-
Modify NGINX configuration file
- View Setting file
- modify
fastcgi_param SCRIPT_FILENAME
~~ - In my case, fastcgi_param SCRIPT_FILENAME
C:/nginx/html$
fastcgi_script_name; - add
location / {... index ... index.php;}
-
Setting
php.ini
file- View Setting file
- Change
php.ini-development
file tophp.ini
- Check
extension_dir = "C:\nginx\php7\ext"
(758 line) - Check
Dynamic Extensions
(910-934 line)
-
Run
php-cgi
- Run
cmd
- Change directory to php folder
- In my case,
C:\nginx\php7
- In my case,
- Enter Command :
php-cgi -b 127.0.0.1:9000
- Run
-
Execute
NGINX
Server- Run
cmd
- Change directory to NGINX folder
- In my case,
C:\nginx
- In my case,
- Enter Command :
nginx
- Run
Can register the php as a service and have it run automatically.
MVC
|-App ### MemberShip App
| |-Controllers ## ๐นControllers
| | |-AdminController.php # About Admin
| | |-DormantController.php # About Dormant
| | |-... # About Home, Login, etc.
| |-Models ## ๐ขModels
| | |-Admin.php # About Admin
| | |-... # About Home, Login, etc.
| |-Service ## ๐งService
| | |-MailerService.php # About SendMail,
| | |-... # send to Dormant, etc.
| |-Views ## โจViews
| | |-Admin # About Admin
| | |... # About Membership, Error, etc.
|-Core ### MVC System Core
| |-Controller.php # Magic Method call
| |-Model.php # Connect DB
| |-Router.php # Parameter Routing
| |-View.php # Rendering
|-public ### Public Library
| |-bootstrap # Front css, js
| |-css # css
| |-index.php # ๐กFront Controller
|-vender ### Third party
| |-composer # composer
| |-phpmailer # for Mail
| |-autoload.php # autoload
|-composer.json # composer
- ํ์๊ฐ์
- ๋ก๊ทธ์ธ + ๋ก๊ทธ์์
- ์์ด๋/๋น๋ฐ๋ฒํธ ์ฐพ๊ธฐ
- ๊ฐ์ธ์ ๋ณด ์์
- ํ์ ํํด
- โญํด๋ฉด ๊ณ์ ํด์
- ๊ด๋ฆฌ์ ๋ก๊ทธ์ธ
- ํ์ ์ ๋ณด list ๊ฒ์
- ์ ๋ณด ์์ธ๋ณด๊ธฐ
- ํ์ ๊ฐ์ ํํด
Work Breakdown Structure
์์ฑ
- Windows10
- Nginx 1.18.0
- MySQL 5.7.30
- PHP 7.3.18
- HeidiSQL 11.0.0
- PhpStorm 2020.1.2
โ Web ์์คํ
๐ ๋ชฉํ
- ํ๋ ์์ํฌ ์์ด
- ๊ธฐ๋ณธ์ ์ธ ๊ตฌ์กฐ๋ถํฐ ์ดํดํ๊ณ
- ๊ธฐ๋ฅ๋ง ์ ๊ตฌํํ ๊ฒ
- ์น ์ฌ์ดํธ ๊ณตํต ํ์ ๋ชจ๋์ ๊ฐ๋ฐ ๋ฐ ์ค๊ณ ๋ฅ๋ ฅ ํฅ์
- ์ธ์ /์ฟ ํค์ ๋ํ ์ดํด
- ๊ฐ์ธ์ ๋ณด ์ํธํ ๊ธฐ๋ฒ์ ๋ํ ์ดํด
- UI๊ธฐํ + ์ค๊ณ, DB ์ค๊ณ