php right way,GitHub - wulijun/php-the-right-way: 收集PHP最佳实践、编码规范和权威学习指南,方便PHP开发者阅读和查找...

PHP之道

Overview

This is the GitHub Pages repository for the PHP: The Right Way project.

This website is a Jekyll project.

Each section and sub-section are a Markdown file in _posts/.

Sub-sections have isChild: true in their front matter.

The navigation and page structure are automatically generated.

Spread the Word!

PHP: The Right Way has web banner images you can use on your website. Show your support, and let new PHP

developers know where to find good information!

How to Contribute

Fork and edit

Optionally install Ruby with Jekyll gem to preview locally

Submit pull request for consideration

Contributor Style Guide

Use American English spelling (primary English repo only)

Use four (4) spaces to indent text; do not use tabs.

Wrap all text to 120 characters.

Code samples should adhere to PSR-1 or higher.

Where

Translations

If you are interested in translating PHP: The Right Way, fork this repo on GitHub and publish your localized fork to your own GitHub Pages account. We'll link to your translation from the primary document.

To avoid fragmentation and reader confusion, please choose one of these options:

We link to your GitHub Pages fork with [username].github.com/php-the-right-way

We link to your GitHub Pages fork with a subdomain (e.g. "ru.phptherightway.com")

If you use a subdomain, enter the subdomain into the CNAME file, and ask us to setup DNS for you. If you do not use a subdomain, remove the CNAME file entirely else your fork will not build when pushed.

When your translation is ready, open an issue on the Issue Tracker to let us know.

Why

There's been a lot of discussion lately about how the PHP community lacks sufficient, credible information for programmers new to PHP. This repository aims to solve this problem.

Who

My name is Josh Lockhart. I'm the author of the Slim Framework, and I work for New Media Campaigns.

Collaborators

License

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Better PHP Development Published June 2017 Tools and techniques to make you a better developer PHP powers the vast majority of the web today. It is by far the most ubiquitous and accessible mature web language, and welcomes thousands of new developers every day. It is this ease of access that can, admittedly, sometimes give it a bad name - good resources are few and far in between, and the competition is real, driving people to take shortcuts, skip best practices, and learn on-the-fly. With PHP 7+ came some improvements that make it harder to make mistakes, and 7.2 is making things even safer, even more structured. If you’re just getting started with the language (or perhaps youve been using it a while and have learned some bad habits), you’re in luck. Not only will it be ever harder to slip up and make mistakes, but content such as this—hand picked from the excellent SitePoint PHP channel—will help you get started the right way. This collection comprises: How PHP Executes – from Source Code to Render by Thomas Punt Getting to Know and Love Xdebug by Bruno Škvorc Localization Demystified: Php-Intl for Everyone by Younes Rafie Event Sourcing in a Pinch by Christopher Pitt Disco with Design Patterns: A Fresh Look at Dependency Injection by Reza Lavaryan A Comprehensive Guide to Using Cronjobs by Reza Lavaryan Event Loops in PHP by Christopher Pitt PDO - the Right Way to Access Databases in PHP by Parham Doustdar Vagrant: The Right Way to Start with PHP by Bruno Škvorc This book is suitable for beginner- to intermediate-level PHP developers.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值