• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PatrickLouys/no-framework-tutorial: A small tutorial to show how to create a PHP ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

PatrickLouys/no-framework-tutorial

开源软件地址:

https://github.com/PatrickLouys/no-framework-tutorial

开源编程语言:


开源软件介绍:

Because this tutorial was so well-received, it inspired me to write a book. The book is a much more up to date version of this tutorial and covers a lot more. Click the link below to check it out (there is also a sample chapter available).

Professional PHP: Building maintainable and secure applications

The tutorial is still available in it's original form below.

Create a PHP application without a framework

Introduction

If you are new to the language, this tutorial is not for you. This tutorial is aimed at people who have grasped the basics of PHP and know a little bit about object-oriented programming.

You should have at least heard of SOLID. If you are not familiar with it, now would be a good time to familiarize yourself with the principles before you start with the tutorial.

I saw a lot of people coming into the Stack Overflow PHP chatroom and asking if framework X is any good. Most of the time the answer was that they should just use PHP and not a framework to build their application. But many are overwhelmed by this and don't know where to start.

So my goal with this is to provide an easy resource that people can be pointed to. In most cases a framework does not make sense and writing an application from scratch with the help of some third party packages is much, much easier than some people think.

This tutorial was written for PHP 7.0 or newer versions. If you are using an older version, please upgrade it before you start. I recommend that you use the current stable version.

So let's get started right away with the first part.

Parts

  1. Front Controller
  2. Composer
  3. Error Handler
  4. HTTP
  5. Router
  6. Dispatching to a Class
  7. Inversion of Control
  8. Dependency Injector
  9. Templating
  10. Dynamic Pages
  11. Page Menu
  12. Frontend



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap