PSRs
eBook - ePub

PSRs

Boas práticas de programação com PHP

  1. 219 pages
  2. Portuguese
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

PSRs

Boas práticas de programação com PHP

About this book

Se você já possui alguma experiência em programação, com certeza já se deparou com códigos mal escritos ou mal indentados e ficou se perguntando: como é que isso está funcionando ainda? Funciona mesmo? É muito difícil dar manutenção a um código que não siga padrões ou regras de escrita, e em PHP não é diferente. É para isso que agora existem as PSR (PHP Standard Recommendation), recomendando regras e boas práticas para que os códigos sejam escritos de forma padrão tanto em lógica, quanto em regras de formatação.Neste livro, Jhones S. Clementino aborda as boas práticas de programação com o PHP utilizando as PSRs e como aplicá-las em nosso código. Você conhecerá diversas PSRs, desde as que determinam padrões de formatação do código, carregamento de classes, até as que cuidam de maiores complexidades como troca de mensagens HTTP, logs e cache.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Table of contents

  1. ISBN
  2. Agradecimentos
  3. Sobre o autor
  4. Prefácio
  5. Introdução
  6. PSR-1 (Basic Coding Standard)
  7. PSR-2 (Coding Style Guide) - Parte I
  8. PSR-2 (Coding Style Guide) - Parte II
  9. PSR-3 (Logger Interface)
  10. PSR-4 (Autoloader)
  11. PSR-6 (Caching Interface)
  12. PSR-7 (HTTP Message Interfaces)
  13. PSR-11 (Container Interface)
  14. PSR-12 (Extended Coding Style) - Parte I
  15. PSR-12 (Extended Coding Style) - Parte II
  16. PSR-13 (Link Definition Interfaces)
  17. PSR-14 (Event Dispatcher)
  18. PSR-15 (HTTP Server Request Handlers)
  19. PSR-16 (Common Interface for Caching Libraries)
  20. PSR-18 (HTTP Client)
  21. PSR-17 (HTTP Factories)
  22. Conclusão
  23. Referências bibliográficas

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access PSRs by Jhones S. Clementino in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in PHP. We have over one million books available in our catalogue for you to explore.