MicroBlog:微博

时间:2021-06-05 06:48:32
【文件属性】:
文件名称:MicroBlog:微博
文件大小:182KB
文件格式:ZIP
更新时间:2021-06-05 06:48:32
JavaScript PHP 框架示例 用例“微博” 这是我自己创建 PHP 迷你框架的教育方法。 这一切都始于概念 PHP 博客应用程序,并继续成为我的 PHP 游乐场。 在过去的 2 年里,我曾经或多或少地花在添加和改进功能以及重构大量代码上。 最终我想要一个框架,从上到下完全支持依赖注入和延迟加载工厂。 在那之前还有很多事情要做,但让我们看看我能走多远。 如果你愿意,请看一看,给我留下很多评论、批评和建议,以帮助我改进这一点和我自己。 如果你想让这个东西运行起来,我支持 Sqlite3 和 PDO。 只需克隆存储库 运行 composer 解决依赖 从示例中设置 base.ini 从示例中设置一个 di.php 读取示例数据库结构和数据库中的数据 将您的 webroot 指向 htdocs 文件夹或使用 bin/server.sh {PORT} 就是这样。
【文件预览】:
MicroBlog-master
----composer.json(964B)
----.travis.yml(390B)
----bootstrap.php(597B)
----phpunit.xml(1KB)
----bin()
--------server.sh(76B)
----composer.lock(58KB)
----templates()
--------main.php(2KB)
--------error.php(119B)
--------postform.php(245B)
--------comment.php(51B)
--------bloglist.php(156B)
--------commentform.php(254B)
--------post.php(286B)
--------blog.php(322B)
--------blog()
----AUTHOR(63B)
----phpcs.xml(1KB)
----install()
--------install_mysql.sql(717B)
--------install_sqlite.sql(241B)
--------sample_data.sql(551B)
--------README(309B)
----tests()
--------models()
--------unit_bootstrap.php(79B)
--------storage()
--------controller()
--------helper()
----setup.php(928B)
----TODO(74B)
----LICENSE(287B)
----src()
--------models()
--------rendering()
--------cache()
--------app()
--------storage()
--------controller()
--------helper()
----phpdox.xml(496B)
----.gitignore(193B)
----configuration()
--------base.example.ini(75B)
--------default.ini(208B)
--------di.example.php(1KB)
----htdocs()
--------css()
--------index.php(819B)
--------js()
----README.md(1KB)
----runtime()
--------README(16B)
----cli()
--------index.php(1KB)

网友评论