GithubHelp home page GithubHelp logo

phplearning2's Introduction

TODO 2021/6/1 9:43 周二

6.1.2
    显示文章列表
6.1.3
    分页查询
6.1.4
    添加和修改文章
6.1.5
    文件上传
6.1.6
    删除文章

看板

Smarty官方中文文档

  • 工程目录结构
PS D:\STUDENT47\phpLearning2> tree /F /A
|   .editorconfig [code的配置文件]
|   composer.json [包管理器的配置文件]
|   composer.lock [包管理器的配置文件]
|   LICENSE [协议]
|   Readme.md 
|
+---.vscode
|       settings.json [code的配置文件]
|
+---App [model&controller文件夹]
|   \---Http
|       \---Controllers
|               TestController.php
|
+---myFrame [框架相关的基础文件]
|       App.php [路由检测&请求分发]
|       Request.php [获取&处理phpinfo]
|
+---public [公共入口文件夹]
|       .htaccess [分布式配置文件]
|       htaccessBackup [分布式配置文件备份]
|       index.php [单一入口&路由配置]
|
\---vendor [composer的拓展包安装目录]
    |   autoload.php
    |
    +---composer 的 autoload 包
    |
    \--- [其他拓展包]

为DB类的各个方法添加注释,并且使用DB类操作数据库完成展示学生列表、编辑学生信息的功能。

  • DB.php
  1. 封装fetch,fetchAll,execute 方法
  2. 使用config/db.php 初始化DB.php

phplearning2's People

Contributors

chengaoang avatar

Watchers

 avatar

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.