Code Monkey home page Code Monkey logo

cpfs's Introduction

CPFS

Cozmo PHP Fire Starter

개요

개발을 빠르게 진행 하도록 도와주는 PHP 프레임워크 입니다. 약간의 문법과 구조를 익히면 데이터베이스에 칼럼 하나 추가 했을 경우 모델 클래스에 프로퍼티 하나만 추가해도 CRUD가 자동으로 가능합니다.

기존 PHP 날코딩 대비 50%의 개발 시간 단축 효과가 있습니다. 순전히 개인적인 생각..

요구사양

최소 PHP 버전 7.0 이상에서 사용 가능합니다.

권장사양

현재 안정화 버전인 PHP 7.2.1에서 테스트 되고 있습니다.

설치방법

  1. git clone으로 소스 설치
git clone https://github.com/gshn/cpfs app
  1. public/index.php 를 document root로 서버 설정을 해야합니다.
  2. nginx나 apache .htaccess를 통해서 index.php를 제거하는 rewrite 설정을 허용해야합니다.
  3. src/config.conf 를 src/config.php로 복사해서 파일을 생성하세요.
  4. src/config.php 파일을 수정해서 전역적으로 사용할 변수들을 수정해주세요.
  5. http://domain/install 로 접속하시면 몇가지 예제 테이블을 데이터베이스에 등록 합니다.

버전별 주요 업그레이드

v0.1.0

  • MVC 패턴 적용

v0.1.4

  • Bootstrap, Sweetalert, Animate of scroll 적용

v0.1.7

  • PSR-4 적용

v0.1.8

  • 전 프로세스 클래스화
  • 템플릿 함수를 통해서 변수 관리

v0.1.9

  • ckeditor 모듈 포함
  • 범용적으로 사용 가능한 파일 업로드 클래스 적용
  • 예제로 사용할 install 클래스 추가 (/install 로 실행)
    • /login - 로그인
    • /notice - 게시판형태 (ckeditor 및 파일 업로드 예제)

v0.2.0

  • php-cs 문법 적용
  • 파일, 클래스, 메소드 별 주석 적용

cpfs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cpfs's Issues

안녕하세요? 프레임웍 설치 질문이 있어서요ㅠㅠ

안녕하세요? 혹시 저 기억하실 지 모르겠네요..
3년전 쯤 뵜었던 것 같아요.. 저는 글로벌셀러창업연구소 직원이었구요. 그때 회사에 면접보러 오셨다가 장성호팀장님과 김민섭 팀장님이랑 같이 한 번 저녁식사 같이 한 적이 있었는데.. 기억나실 지 모르겠어요..
다름이 아니고 그누보드에서도 공개하셨었는데 프레임웍을 한 번 써보고 싶어서요.. 어제 작업해보다가 좀 막히는 부분이 있는데 도저히 어떻게 해야할 지 몰라서 이렇게 글 남깁니다.
nginx로 서버 운영하고 있는데 index.php를 제거할 수 있도록 설정하려면 무엇을 어떻게 해야할 지 모르겠어요..
현재 디렉토리 구조는 /www밑에 /public 과 /src 디렉토리를 생성했구요.. nginx에서 root 디렉토리를 /www/public으로 설정을 해둔 상태입니다.
설치후 사이트 url로 접근하면 /public/index.php로 접근하기는 하는 것 같아요.. 그런데 다른 페이지들 /login, /notice, /install 등은 접근이 아예 안되고 있네요..
바쁘시겠지만 간단하게라도 힌트를 주시면 해보겠습니다. 꼭 써보고 싶어요ㅠㅠ

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.