René's URL Explorer Experiment


Title: GitHub - thanhlm86/clean-code-php: :bathtub: Clean Code dành cho PHP · GitHub

Open Graph Title: GitHub - thanhlm86/clean-code-php: :bathtub: Clean Code dành cho PHP

X Title: GitHub - thanhlm86/clean-code-php: :bathtub: Clean Code dành cho PHP

Description: :bathtub: Clean Code dành cho PHP. Contribute to thanhlm86/clean-code-php development by creating an account on GitHub.

Open Graph Description: :bathtub: Clean Code dành cho PHP. Contribute to thanhlm86/clean-code-php development by creating an account on GitHub.

X Description: :bathtub: Clean Code dành cho PHP. Contribute to thanhlm86/clean-code-php development by creating an account on GitHub.

Opengraph URL: https://github.com/thanhlm86/clean-code-php

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:6eed59a1-7405-ae32-6979-274c3ff2c583
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idE766:14DB23:B6DB30:1012A7E:6B06E737
html-safe-nonce0637b4d5d6f4061393f1e0dea51d265f5bf93b4df4397dd0c13d5a11a541a423
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzY2OjE0REIyMzpCNkRCMzA6MTAxMkE3RTo2QjA2RTczNyIsInZpc2l0b3JfaWQiOiIyOTYyMDU3MjMwMDc1NDg4MDU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb389e88168369ed95f630f5a7f00477a95bd6e82e2211c44e80b21c64485aecc
hovercard-subject-tagrepository:139655756
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/thanhlm86/clean-code-php
twitter:imagehttps://opengraph.githubassets.com/61ae85754810343766db054f1df8b69705664142be5ed74793685b1634a5326e/thanhlm86/clean-code-php
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/61ae85754810343766db054f1df8b69705664142be5ed74793685b1634a5326e/thanhlm86/clean-code-php
og:image:alt:bathtub: Clean Code dành cho PHP. Contribute to thanhlm86/clean-code-php development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b
turbo-cache-controlno-cache
go-importgithub.com/thanhlm86/clean-code-php git https://github.com/thanhlm86/clean-code-php.git
octolytics-dimension-user_id7748254
octolytics-dimension-user_loginthanhlm86
octolytics-dimension-repository_id139655756
octolytics-dimension-repository_nwothanhlm86/clean-code-php
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id117075578
octolytics-dimension-repository_parent_nwohenrybuidotdev/clean-code-php
octolytics-dimension-repository_network_root_id79111500
octolytics-dimension-repository_network_root_nwopiotrplenik/clean-code-php
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaf8913cd0f2f77c41796be449ac66a9108825abc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/thanhlm86/clean-code-php#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthanhlm86%2Fclean-code-php
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthanhlm86%2Fclean-code-php
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=thanhlm86%2Fclean-code-php
Reloadhttps://github.com/thanhlm86/clean-code-php
Reloadhttps://github.com/thanhlm86/clean-code-php
Reloadhttps://github.com/thanhlm86/clean-code-php
thanhlm86https://github.com/thanhlm86
clean-code-phphttps://github.com/thanhlm86/clean-code-php
Codehttps://github.com/thanhlm86/clean-code-php
Pull requestshttps://github.com/thanhlm86/clean-code-php/pulls
Actionshttps://github.com/thanhlm86/clean-code-php/actions
Projectshttps://github.com/thanhlm86/clean-code-php/projects
Wikihttps://github.com/thanhlm86/clean-code-php/wiki
Security and qualityhttps://github.com/thanhlm86/clean-code-php/security
Insightshttps://github.com/thanhlm86/clean-code-php/pulse
https://github.com/thanhlm86/clean-code-php
clean-code-phphttps://github.com/thanhlm86/clean-code-php
henrybuidotdev/clean-code-phphttps://github.com/henrybuidotdev/clean-code-php
Notificationshttps://github.com/login?return_to=%2Fthanhlm86%2Fclean-code-php
Fork0 (0)https://github.com/login?return_to=%2Fthanhlm86%2Fclean-code-php
Star0 (0)https://github.com/login?return_to=%2Fthanhlm86%2Fclean-code-php
Readmehttps://github.com/thanhlm86/clean-code-php#readme-ov-file
MIT licensehttps://github.com/thanhlm86/clean-code-php#MIT-1-ov-file
Activityhttps://github.com/thanhlm86/clean-code-php/activity
0 forkshttps://github.com/thanhlm86/clean-code-php/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fthanhlm86%2Fclean-code-php&report=thanhlm86+%28user%29
Brancheshttps://github.com/thanhlm86/clean-code-php/branches
Tagshttps://github.com/thanhlm86/clean-code-php/tags
https://github.com/thanhlm86/clean-code-php/branches
https://github.com/thanhlm86/clean-code-php/tags
268 Commitshttps://github.com/thanhlm86/clean-code-php/commits/master/
https://github.com/thanhlm86/clean-code-php/commits/master/
.ideahttps://github.com/thanhlm86/clean-code-php/tree/master/.idea
.ideahttps://github.com/thanhlm86/clean-code-php/tree/master/.idea
.gitattributeshttps://github.com/thanhlm86/clean-code-php/blob/master/.gitattributes
.gitattributeshttps://github.com/thanhlm86/clean-code-php/blob/master/.gitattributes
.travis-build.phphttps://github.com/thanhlm86/clean-code-php/blob/master/.travis-build.php
.travis-build.phphttps://github.com/thanhlm86/clean-code-php/blob/master/.travis-build.php
.travis.ymlhttps://github.com/thanhlm86/clean-code-php/blob/master/.travis.yml
.travis.ymlhttps://github.com/thanhlm86/clean-code-php/blob/master/.travis.yml
LICENSEhttps://github.com/thanhlm86/clean-code-php/blob/master/LICENSE
LICENSEhttps://github.com/thanhlm86/clean-code-php/blob/master/LICENSE
README.mdhttps://github.com/thanhlm86/clean-code-php/blob/master/README.md
README.mdhttps://github.com/thanhlm86/clean-code-php/blob/master/README.md
READMEhttps://github.com/thanhlm86/clean-code-php
MIT licensehttps://github.com/thanhlm86/clean-code-php
https://github.com/thanhlm86/clean-code-php#clean-code-php
https://github.com/thanhlm86/clean-code-php#mục-lục
Giới thiệuhttps://github.com/thanhlm86/clean-code-php#gi%E1%BB%9Bi-thi%E1%BB%87u
Biếnhttps://github.com/thanhlm86/clean-code-php#bi%E1%BA%BFn
Sử dụng tên biến có ý nghĩa và dễ hiểuhttps://github.com/thanhlm86/clean-code-php#s%E1%BB%AD-d%E1%BB%A5ng-t%C3%AAn-bi%E1%BA%BFn-c%C3%B3-%C3%BD-ngh%C4%A9a-v%C3%A0-d%E1%BB%85-hi%E1%BB%83u
Sử dụng cùng từ vựng cho cùng một loại biếnhttps://github.com/thanhlm86/clean-code-php#s%E1%BB%AD-d%E1%BB%A5ng-c%C3%B9ng-t%E1%BB%AB-v%E1%BB%B1ng-cho-c%C3%B9ng-m%E1%BB%99t-lo%E1%BA%A1i-bi%E1%BA%BFn
Đặt tên sao cho dễ tìm kiếm (phần 1)https://github.com/thanhlm86/clean-code-php#%C4%90%E1%BA%B7t-t%C3%AAn-sao-cho-d%E1%BB%85-t%C3%ACm-ki%E1%BA%BFm-ph%E1%BA%A7n-1
Đặt tên sao cho dễ tìm kiếm (phần 2)https://github.com/thanhlm86/clean-code-php#%C4%90%E1%BA%B7t-t%C3%AAn-sao-cho-d%E1%BB%85-t%C3%ACm-ki%E1%BA%BFm-ph%E1%BA%A7n-2
Sử dụng các biến có tính giải thíchhttps://github.com/thanhlm86/clean-code-php#s%E1%BB%AD-d%E1%BB%A5ng-c%C3%A1c-bi%E1%BA%BFn-c%C3%B3-t%C3%ADnh-gi%E1%BA%A3i-th%C3%ADch
Tránh lồng quá nhiều và nên return sớm (phần 1)https://github.com/thanhlm86/clean-code-php#tr%C3%A1nh-l%E1%BB%93ng-qu%C3%A1-nhi%E1%BB%81u-v%C3%A0-n%C3%AAn-return-s%E1%BB%9Bm-ph%E1%BA%A7n-1
Tránh lồng quá nhiều và nên return sớm (phần 2)https://github.com/thanhlm86/clean-code-php#tr%C3%A1nh-l%E1%BB%93ng-qu%C3%A1-nhi%E1%BB%81u-v%C3%A0-n%C3%AAn-return-s%E1%BB%9Bm-ph%E1%BA%A7n-2
Tránh hack não người đọchttps://github.com/thanhlm86/clean-code-php#tr%C3%A1nh-hack-n%C3%A3o-ng%C6%B0%E1%BB%9Di-%C4%91%E1%BB%8Dc
Đừng thêm những nội dung không cần thiếthttps://github.com/thanhlm86/clean-code-php#%C4%90%E1%BB%ABng-th%C3%AAm-nh%E1%BB%AFng-n%E1%BB%99i-dung-kh%C3%B4ng-c%E1%BA%A7n-thi%E1%BA%BFt
Sử dụng đối số mặc định thay vì phải kiểm tra bằng biểu thức điều kiệnhttps://github.com/thanhlm86/clean-code-php#s%E1%BB%AD-d%E1%BB%A5ng-%C4%91%E1%BB%91i-s%E1%BB%91-m%E1%BA%B7c-%C4%91%E1%BB%8Bnh-thay-v%C3%AC-ph%E1%BA%A3i-ki%E1%BB%83m-tra-b%E1%BA%B1ng-bi%E1%BB%83u-th%E1%BB%A9c-%C4%91i%E1%BB%81u-ki%E1%BB%87n
So sánhhttps://github.com/thanhlm86/clean-code-php#so-s%C3%A1nh
Sử dụng identical comparisonhttps://github.com/thanhlm86/clean-code-php#s%E1%BB%AD-d%E1%BB%A5ng-identical-comparison
Hàmhttps://github.com/thanhlm86/clean-code-php#h%C3%A0m
Đối số của hàm (ít hơn hoặc bằng 2 là lý tưởng)https://github.com/thanhlm86/clean-code-php#%C4%90%E1%BB%91i-s%E1%BB%91-c%E1%BB%A7a-h%C3%A0m-%C3%ADt-h%C6%A1n-ho%E1%BA%B7c-b%E1%BA%B1ng-2-l%C3%A0-l%C3%BD-t%C6%B0%E1%BB%9Fng
Hàm chỉ thực hiện một chức nănghttps://github.com/thanhlm86/clean-code-php#h%C3%A0m-ch%E1%BB%89-th%E1%BB%B1c-hi%E1%BB%87n-m%E1%BB%99t-ch%E1%BB%A9c-n%C4%83ng
Tên hàm nên thể hiện chức năng của hàmhttps://github.com/thanhlm86/clean-code-php#t%C3%AAn-h%C3%A0m-n%C3%AAn-th%E1%BB%83-hi%E1%BB%87n-ch%E1%BB%A9c-n%C4%83ng-c%E1%BB%A7a-h%C3%A0m
Hàm chỉ nên chứa một cấp trừu tượnghttps://github.com/thanhlm86/clean-code-php#h%C3%A0m-ch%E1%BB%89-n%C3%AAn-ch%E1%BB%A9a-m%E1%BB%99t-c%E1%BA%A5p-tr%E1%BB%ABu-t%C6%B0%E1%BB%A3ng
Đừng sử dụng cờ như là một đối số của hàmhttps://github.com/thanhlm86/clean-code-php#%C4%90%E1%BB%ABng-s%E1%BB%AD-d%E1%BB%A5ng-c%E1%BB%9D-nh%C6%B0-l%C3%A0-m%E1%BB%99t-%C4%91%E1%BB%91i-s%E1%BB%91-c%E1%BB%A7a-h%C3%A0m
Tránh tác dụng phụhttps://github.com/thanhlm86/clean-code-php#tr%C3%A1nh-t%C3%A1c-d%E1%BB%A5ng-ph%E1%BB%A5
Đừng viết hàm globalhttps://github.com/thanhlm86/clean-code-php#%C4%90%E1%BB%ABng-vi%E1%BA%BFt-h%C3%A0m-global
Đừng sử dụng Singleton patternhttps://github.com/thanhlm86/clean-code-php#%C4%90%E1%BB%ABng-s%E1%BB%AD-d%E1%BB%A5ng-singleton-pattern
Đóng gói điều kiệnhttps://github.com/thanhlm86/clean-code-php#%C4%90%C3%B3ng-g%C3%B3i-%C4%91i%E1%BB%81u-ki%E1%BB%87n
Tránh điều kiện phủ địnhhttps://github.com/thanhlm86/clean-code-php#tr%C3%A1nh-%C4%91i%E1%BB%81u-ki%E1%BB%87n-ph%E1%BB%A7-%C4%91%E1%BB%8Bnh
Tránh dùng điều kiệnhttps://github.com/thanhlm86/clean-code-php#tr%C3%A1nh-d%C3%B9ng-%C4%91i%E1%BB%81u-ki%E1%BB%87n
Tránh kiểm tra kiểu dữ liệu (phần 1)https://github.com/thanhlm86/clean-code-php#tr%C3%A1nh-ki%E1%BB%83m-tra-ki%E1%BB%83u-d%E1%BB%AF-li%E1%BB%87u-ph%E1%BA%A7n-1
Tránh kiểm tra kiểu dữ liệu (phần 2)https://github.com/thanhlm86/clean-code-php#tr%C3%A1nh-ki%E1%BB%83m-tra-ki%E1%BB%83u-d%E1%BB%AF-li%E1%BB%87u-ph%E1%BA%A7n-2
Xóa dead codehttps://github.com/thanhlm86/clean-code-php#x%C3%B3a-dead-code
Đối tượng và kiến trúc dữ liệuhttps://github.com/thanhlm86/clean-code-php#%C4%90%E1%BB%91i-t%C6%B0%E1%BB%A3ng-v%C3%A0-ki%E1%BA%BFn-tr%C3%BAc-d%E1%BB%AF-li%E1%BB%87u
Sử dụng đối tượng đóng góihttps://github.com/thanhlm86/clean-code-php#s%E1%BB%AD-d%E1%BB%A5ng-%C4%91%E1%BB%91i-t%C6%B0%E1%BB%A3ng-%C4%91%C3%B3ng-g%C3%B3i
Tạo đối tượng có chứa thuộc tính hoặc phương thức private/protectedhttps://github.com/thanhlm86/clean-code-php#t%E1%BA%A1o-%C4%91%E1%BB%91i-t%C6%B0%E1%BB%A3ng-c%C3%B3-ch%E1%BB%A9a-thu%E1%BB%99c-t%C3%ADnh-ho%E1%BA%B7c-ph%C6%B0%C6%A1ng-th%E1%BB%A9c-private/protected
Lớphttps://github.com/thanhlm86/clean-code-php#l%E1%BB%9Bp
Ưu tiên thành phần hơn kế thừahttps://github.com/thanhlm86/clean-code-php#%C6%AFu-ti%C3%AAn-th%C3%A0nh-ph%E1%BA%A7n-h%C6%A1n-k%E1%BA%BF-th%E1%BB%ABa
Tránh viết fluent interfaceshttps://github.com/thanhlm86/clean-code-php#tr%C3%A1nh-vi%E1%BA%BFt-fluent-interfaces
SOLIDhttps://github.com/thanhlm86/clean-code-php#solid
Nguyên lý trách nhiệm duy nhất (SRP)https://github.com/thanhlm86/clean-code-php#nguy%C3%AAn-l%C3%BD-tr%C3%A1ch-nhi%E1%BB%87m-duy-nh%E1%BA%A5t-srp
Nguyên lý Đóng/Mở (OCP)https://github.com/thanhlm86/clean-code-php#nguy%C3%AAn-l%C3%BD-%C4%91%C3%B3ng/m%E1%BB%9F-ocp
Nguyên lý thay thế Liskov (LSP)https://github.com/thanhlm86/clean-code-php#nguy%C3%AAn-l%C3%BD-thay-th%E1%BA%BF-liskov-lsp
Nguyên lý phân tách interface (ISP)https://github.com/thanhlm86/clean-code-php#nguy%C3%AAn-l%C3%BD-ph%C3%A2n-t%C3%A1ch-interface-isp
Nguyên lý đảo ngược dependencies (DIP)https://github.com/thanhlm86/clean-code-php#nguy%C3%AAn-l%C3%BD-%C4%91%E1%BA%A3o-ng%C6%B0%E1%BB%A3c-dependencies-dip
Nguyên lý đừng lặp lại chính mình (DRY)https://github.com/thanhlm86/clean-code-php#nguy%C3%AAn-l%C3%BD-%C4%91%E1%BB%ABng-l%E1%BA%B7p-l%E1%BA%A1i-ch%C3%ADnh-m%C3%ACnh-dry
Các ngôn ngữ kháchttps://github.com/thanhlm86/clean-code-php#c%C3%A1c-ng%C3%B4n-ng%E1%BB%AF-kh%C3%A1c
https://github.com/thanhlm86/clean-code-php#giới-thiệu
Clean Codehttps://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882
clean-code-javascripthttps://github.com/ryanmcdermott/clean-code-javascript
https://github.com/thanhlm86/clean-code-php#biến
https://github.com/thanhlm86/clean-code-php#sử-dụng-tên-biến-có-ý-nghĩa-và-dễ-hiểu
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#sử-dụng-cùng-từ-vựng-cho-cùng-một-loại-biến
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#đặt-tên-sao-cho-dễ-tìm-kiếm-phần-1
https://github.com/thanhlm86/clean-code-php#đặt-tên-sao-cho-dễ-tìm-kiếm-phần-2
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#sử-dụng-các-biến-có-tính-giải-thích
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tránh-lồng-quá-nhiều-và-nên-return-sớm-phần-1
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tránh-lồng-quá-nhiều-và-nên-return-sớm-phần-2
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tránh-hack-não-người-đọc
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#đừng-thêm-những-nội-dung-không-cần-thiết
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#sử-dụng-đối-số-mặc-định-thay-vì-phải-kiểm-tra-bằng-biểu-thức-điều-kiện
type hintinghttp://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#so-sánh
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
identical comparisonhttp://php.net/manual/en/language.operators.comparison.php
https://github.com/thanhlm86/clean-code-php#sử-dụng-identical-comparison
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#hàm
https://github.com/thanhlm86/clean-code-php#đối-số-của-hàm-ít-hơn-hoặc-bằng-2-là-lý-tưởng
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#hàm-chỉ-thực-hiện-một-chức-năng
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tên-hàm-nên-thể-hiện-chức-năng-của-hàm
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#hàm-chỉ-nên-chứa-một-cấp-trừu-tượng
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#đừng-sử-dụng-cờ-như-là-một-đối-số-của-hàm
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tránh-tác-dụng-phụ
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#đừng-viết-hàm-global
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#đừng-sử-dụng-singleton-pattern
anti-patternhttps://en.wikipedia.org/wiki/Singleton_pattern
single responsibility principlehttps://github.com/thanhlm86/clean-code-php#single-responsibility-principle-srp
couplinghttps://en.wikipedia.org/wiki/Coupling_%28computer_programming%29
Misko Heveryhttp://misko.hevery.com/about/
gốc rễ của vấn đềhttp://misko.hevery.com/2008/08/25/root-cause-of-singletons/
DSNhttp://php.net/manual/en/pdo.construct.php#refsect1-pdo.construct-parameters
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#đóng-gói-điều-kiện
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tránh-điều-kiện-phủ-định
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tránh-dùng-điều-kiện
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tránh-kiểm-tra-kiểu-dữ-liệu-phần-1
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tránh-kiểm-tra-kiểu-dữ-liệu-phần-2
type declarationhttp://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#xóa-dead-code
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#đối-tượng-và-kiến-trúc-dữ-liệu
https://github.com/thanhlm86/clean-code-php#sử-dụng-đối-tượng-đóng-gói
Open/Closedhttps://github.com/thanhlm86/clean-code-php#openclosed-principle-ocp
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tạo-đối-tượng-có-chứa-thuộc-tính-hoặc-phương-thức-privateprotected
Jengahttp://www.urbandictionary.com/define.php?term=Jengaphobia&defid=2494196
blog posthttp://fabien.potencier.org/pragmatism-over-theory-protected-vs-private.html
Fabien Potencierhttps://github.com/fabpot
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#lớp
https://github.com/thanhlm86/clean-code-php#ưu-tiên-thành-phần-hơn-kế-thừa
Design Patternshttps://en.wikipedia.org/wiki/Design_Patterns
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#tránh-viết-fluent-interfaces
Fluent interfacehttps://en.wikipedia.org/wiki/Fluent_interface
Method chaininghttps://en.wikipedia.org/wiki/Method_chaining
PHPUnit Mock Builderhttps://phpunit.de/manual/current/en/test-doubles.html
Doctrine Query Builderhttp://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/query-builder.html
Encapsulationhttps://en.wikipedia.org/wiki/Encapsulation_%28object-oriented_programming%29
Decoratorshttps://en.wikipedia.org/wiki/Decorator_pattern
mockhttps://en.wikipedia.org/wiki/Mock_object
blog posthttps://ocramius.github.io/blog/fluent-interfaces-are-evil/
Marco Pivettahttps://github.com/Ocramius
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#solid
S: Nguyên lý trách nhiệm duy nhất (SRP)https://github.com/thanhlm86/clean-code-php#single-responsibility-principle-srp
O: Nguyên lý Đóng/Mở (OCP)https://github.com/thanhlm86/clean-code-php#openclosed-principle-ocp
L: Nguyên lý thay thế Liskov (LSP)https://github.com/thanhlm86/clean-code-php#liskov-substitution-principle-lsp
I: Nguyên lý phân tách interface (ISP)https://github.com/thanhlm86/clean-code-php#interface-segregation-principle-isp
D: Nguyên lý đảo ngược dependencies (DIP)https://github.com/thanhlm86/clean-code-php#dependency-inversion-principle-dip
https://github.com/thanhlm86/clean-code-php#nguyên-lý-trách-nhiệm-duy-nhất-srp
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#nguyên-lý-đóngmở-ocp
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#nguyên-lý-thay-thế-liskov-lsp
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#nguyên-lý-phân-tách-interface-isp
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#nguyên-lý-đảo-ngược-dependencies-dip
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#nguyên-lý-đừng-lặp-lại-chính-mình-dry
DRYhttps://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Classeshttps://github.com/thanhlm86/clean-code-php#classes
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
https://github.com/thanhlm86/clean-code-php#các-ngôn-ngữ-khác
php-cpm/clean-code-phphttps://github.com/php-cpm/clean-code-php
peter-gribanov/clean-code-phphttps://github.com/peter-gribanov/clean-code-php
fikoborquez/clean-code-phphttps://github.com/fikoborquez/clean-code-php
fabioars/clean-code-phphttps://github.com/fabioars/clean-code-php
jeanjar/clean-code-phphttps://github.com/jeanjar/clean-code-php/tree/pt-br
panuwizzle/clean-code-phphttps://github.com/panuwizzle/clean-code-php
errorname/clean-code-phphttps://github.com/errorname/clean-code-php
⬆ quay lên đầuhttps://github.com/thanhlm86/clean-code-php#m%E1%BB%A5c-l%E1%BB%A5c
Readmehttps://github.com/thanhlm86/clean-code-php#readme-ov-file
MIT licensehttps://github.com/thanhlm86/clean-code-php#MIT-1-ov-file
Activityhttps://github.com/thanhlm86/clean-code-php/activity
0 forkshttps://github.com/thanhlm86/clean-code-php/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fthanhlm86%2Fclean-code-php&report=thanhlm86+%28user%29
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.