Coder Social home page Coder Social logo

chatgpts's Introduction

live php 简洁高效的PHP框架

框架核心只做了一件事: url地址到控制器方法的映射 支持多级控制器目录

  • 默认地址:/index/index 对应 app/controller/index.php控制器 index方法
  • /admin/user/list 对应 app/controller/admin/user.php控制器 list方法
  • /home/user/index/userinfo 对应 app/controller/home/user/index.php控制器 userinfo方法

集成mysql操作

ninvfeng/mysql

集成mongodb操作

ninvfeng/mongodb

集成数据验证

think-validate

封装get和post方法快速获取并验证请求参数

  • $id=get('id','require','请输入ID');
  • $username=post('username','require|min:6','请填写用户名且长度不少于6位');

适用场景

  • 回归php简单的本质, 快速开始一个简单的项目
  • 框架核心只有短短几十行, 特别适合学习如何快速搭建一个自己的框架

chatgpts's People

Contributors

1042782229 avatar ninvfeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chatgpts's Issues

推荐部分资源

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.