GNU Lesser General Public License v3.0

项目介绍

pH-7/PHP-MVC-Blog-System 是一个托管在 GitHub 上的开源项目,主要使用 PHP 编写,采用 GNU Lesser General Public License v3.0 许可证,目前获得 153 个 Star、78 次 Fork。

仓库全名
pH-7/PHP-MVC-Blog-System
开源许可证
GNU Lesser General Public License v3.0
Star 数
153
Fork 数
78

README 摘要

Simple PHP MVC Blog System Description This PHP Blog System has an MVC pattern, uses Traits (PHP 5.4), Namespace (PHP 5.3), Singleton pattern, PDO (PHP 5.1) and the new PHP Password Hashing feature (PHP 5.5). The project was a PHP Challenge Project I have done. Why this MVC Blog System can be very Useful for You? If you need to code a simple website under a Professional and very nice/clean code (as I really enjoy…

完整内容见 GitHub 原始 README 或本页 。

常见问题

PHP-MVC-Blog-System 用什么语言开发?

主要使用 PHP 编写,采用 GNU Lesser General Public License v3.0 许可证,目前有 153 个 Star。

PHP-MVC-Blog-System 可以免费商用吗?

仓库标注的许可证为 GNU Lesser General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 PHP-MVC-Blog-System 的源码?

可以直接克隆仓库:git clone https://github.com/pH-7/PHP-MVC-Blog-System.git,默认分支为 master;安装与运行步骤见仓库 README。

PHP-MVC-Blog-System 最近还在维护吗?

仓库最近一次更新为 2019年4月9日,当前没有未关闭的 Issue;Star 数为 153,可作为社区活跃度的参考。

关于

:fire: Simple PHP blog system application based on the MVC pattern and written in PHP 5.5. This project can be used as a Base MVC "framework" to start your PHP project easily under good development patterns and good development practice and organization.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
319
价值分
116
活跃状态
活跃

语言占比

CSS
PHP

贡献者

README

Simple PHP MVC Blog System

Description

This PHP Blog System has an MVC pattern, uses Traits (PHP 5.4), Namespace (PHP 5.3), Singleton pattern, PDO (PHP 5.1) and the new PHP Password Hashing feature (PHP 5.5).

The project was a PHP Challenge Project I have done.

Why this MVC Blog System can be very Useful for You?

If you need to code a simple website under a Professional and very nice/clean code (as I really enjoy doing), this script will be very useful in order to start on good basis and save time and money.

However, if you need to build a blog system, again this project can be used as a framework to start your project easily under a good development pattern and good development practice and organization.

Requirements that were Requested for the Project

Requirements

  • The project should be written in object-oriented PHP targeting version 5.5 or higher
  • It should be all self-written, no existing frameworks or libraries
  • It should have good security (e.g., hashed passwords, protect against SQL injection, shouldn’t have any error when we try to change URL query strings or to hack it, etc)
  • Should use a MySQL database to store admin account and article data

Specification

Build a simple blog with the following functionalities

The Frontend
  • List of blog articles showing the title, body truncated to 100 characters, and date. It should show only the latest 5 articles
  • Single blog article showing the title, full body, and the date
The Backend
  • List of all the blog articles
  • Possibility to add a new blog article with a title and body. The title should allow a maximum of 50 characters
  • Possibility to edit an existing blog article
  • Possibility to delete an article
  • Logout feature for the admin user

HTML and CSS code should be kept to the minimum needed to make the website functional – This project is purely to assess how you approach the problem and not how good it looks.

Server Requirements of the Web App

  • Application Server PHP 5.5.0 or higher.

  • PHP Extension mbstring

  • Database MySQL/MariaDB 5 or higher.

The Author

Pierre-Henry Soria

Contact the Author

By email at: phy [AT] hizup [D0T] uk

License

This blog system (PHP script) is under Lesser General Public License (LGPL); See the LICENSE.txt file for more information.

评论

暂无评论