定制 truetone/peloton 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

truetone/peloton

Composer 安装命令:

composer require truetone/peloton

包简介

A fast, secure, minimal PHP application for content-focused websites

README 文档

README

Peloton is a minimal web application and templating system.

It uses Twig for templates and Klein for routing. What does that mean? Let's talk requests.

Requests

Let's imagine a web server hosting static HTML pages. Those are just plain text files as I'm sure you know. A browser sends a request to the server. If the server can find a file that matches the request it returns a status code of 200 OK and sends the contents of the file back. (If the server can't find it, it sends a 404 status code back.)

We're abstracting that transaction a little. The server is configured to send all requests for sites that use this application to public/index.php.

Typically index.php will be pretty minimal. That's because this app handles requests, compiles templates and returns HTML. Klein handles the routing part. Twig is the template engine.

Thus Peloton is a hybrid between CMS and static site. Templates are compiled on the fly, but we have no database dependencies, making your app faster and more secure. Peloton is designed for sites where the content is the center.

Development

See CONTRIBUTING

History

See CHANGELOG

Credits

See AUTHORS

License

See LICENSE

统计信息

  • 总下载量: 52
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL
  • 更新时间: 2017-07-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固