Com o abandono dos projetos do ecossistema Zend, surgiu o Laminas, cujo subprojeto Mezzio veio para ser o substituto oficial do Zend Expressive, mantendo exatamente a mesma estrutura. Mezzio é um microframework com o objetivo de atender desde as demandas mais simples para criação de aplicações de mínima escala a APIs e aplicações mais complexas. Ele é um excelente auxílio na criação de nosso Web Service, que funcionará de forma independente para que qualquer aplicação client possa fazer a comunicação com a API.Neste livro, Jhones S. Clementino aborda diversos temas envolvendo APIs, microsserviços e o microframework Mezzio. Você verá como desenvolver uma aplicação REST com o Mezzio e PHP 7.4, em que vamos realizar um CRUD de tipos de usuários, usuários e mensagens, até fazer a integração com o ORM Doctrine. Com a mão na massa, você vai dominar a criação de Handlers/Middlewares, Factories, rotas e muito mais.

- 370 pages
- Portuguese
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
About this book
Trusted by 375,005 students
Access to over 1.5 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Subtopic
Programming in PHPIndex
Computer ScienceTable of contents
- ISBN
- Agradecimentos
- Sobre o autor
- Prefácio
- Introdução
- Migrando para o Laminas
- Frameworks full stack vs. microframeworks
- Explorando APIs, SOAP, REST e RESTful
- Preparando o ambiente
- Clonagem e configuração do Mezzio
- Configurando o Doctrine ORM e gerando entidades
- Melhorando a entidade TiposUsuario
- Melhorando a entidade Usuarios
- Melhorando a entidade Mensagens
- Criando repositórios e estendendo a classe EntityRepository
- Criando e registrando serviços
- Criando e registrando Handlers de tipos de usuário
- Criando e registrando Handlers de Usuários
- Criando e registrando Handlers de Mensagens
- Definindo e testando as rotas da aplicação
- Conhecendo as PSRs 7 e 15
- Conclusão
- 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.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
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.5 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
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 Mezzio e PHP 7 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 1.5 million books available in our catalogue for you to explore.