Approach 접근

index.php
​↓
config/config.php
flow/status  +  json
flow/status 
[-- emergency
    [-- maintenance
[-- page_error
layout  +  includes
RESTful API ↔ Database
디렉터리 |
​config
json
   -  emergency_alert.json
   -  i18n.json
   -  services_status.json
   -  fake_users.json
config.php

1. 서비스 상태(emergency / maintenance / page_error) 체크
2. 요청한 url에 따라서 사용자 프로필 출력
e.g. pinamog.com/user1, pinamog.com/user2
3. 사용자 계정 및 세션 체크 후 언어 설정
includes
내부 시스템 처리
layout
UI 레이아웃 구성
static
assets
   -  css/
  -  fonts/
  -  icons/
  -  js/
uploads
   -  profiles/
   -  posts/
   - etc/  
flow
auth
   -  edit 
      [-  edit_account.php
      [-  find_account.php
      [-  password_reset.php
   -  login/
   -  logout/
   -  signup/
   -  verify.php  (사용자 인증 처리)

common
   -  meta.php
   -  scripts.php (js 파일 관리)

home/

status
   -  emergency/index.php  (재난 대응)
   -  maintenance/index.php  (점검 대응)
   -  page_error (페이지 오류 처리)
      [-  index.php
      [-  reserved_profile.php
   -  bridge.php (서비스 상태 라우터)

​user
   -  edit_profile.php
   -  mirror_profile.php
   -  my_profile.php
index.php
메인 페이지
robots.txt

​​


User-agent: *
Allow: /

​​


api (외부 존재)
v1/
   -  auth/
   -  post/
   -  user/
   -  controller.php (라우터)
error_handler.php (에러 이벤트 처리)
index.php (정상 작동 확인)
비공개
비공개 (보안 및 데이터)
   -  비공개