Leanpub Header

Skip to main content

DelphiMVCFramework (pt-BR)

DelphiMVCFramework - o guia oficial

Aprenda a usar a estrutura RESTful e JSON-RPC mais popular para Delphi

This book is a translation into Portuguese (Brazilian) of DelphiMVCFramework which was originally written in English

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
277
Pages
45,284Words
About

About

About the Book

DelphiMVCFramework é um framework sólido e comprovado para construir soluções web. Se você alguma vez pensou em construir um sistema distribuído, DelphiMVCFramework é uma das melhores escolhas que você poderia fazer.

Share this book

This book is a translation into Portuguese (Brazilian) of DelphiMVCFramework which was originally written in English

Price

Pick Your Price...

Minimum price

$25.00

$50.00

You pay

$50.00

Author earns

$40.00
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 2)

2
The author will earn $24.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

DANIELE TETI

Daniele Teti is a software architect, trainer, books author and consultant with over 20 years of experience. Daniele is a well-known Delphi and programming expert in the developer community and is a regular speaker for italian and international conferences. Daniele is the author of the best-selling "Delphi Cookbook" books serie published by PacktPub. He's the main developer and drives the development of the most popular Delphi open source project on github: DelphiMVCFramework. Among DelphiMVCFramework Daniele is the lead developer for other well know OS projects like ColumbusEgg4Delphi, DelphiREDISClient, DelphiSTOMPClient and many others. He is also a huge fan of design patterns, machine learning and AI. Daniele is the CEO of bit Time Professionals, an Italian company specializing in high-level consultancy, training, development and machine learning systems.

Contents

Table of Contents

Prefácio

  1. O que é Delphi MVC Framework, e por que isso importa?

Revisores

Traduções

O que os usuários dizem sobre DMVCFramework

Obtendo o código do livro

Rodando o código do livro

Notas de lançamento

Capítulo 1: Iniciando com DelphiMVCFramework

  1. O que você vai aprender
  2. DMVCFramework com “baterias incluídas”
  3. Instalando DelphiMVCFramework 3.2.1-carbon
  4. Seu primeiro servidor RESTful com DelphiMVCFramework
  5. “Hello World” ao estilo DMVCFramework
  6. Ações de sistema Built-in
  7. O que vêm por ai

Capítulo 2: Controllers e roteamento

  1. O Roteamento
  2. Atributo MVCPath
  3. Manipulando Parâmetros
  4. Parâmetros de string de consulta (Query-string)
  5. Parâmetros de mapeamento de URL
  6. Partes multiplas para uma Single Action
  7. Mais a respeito de parâmetros de mapeamento de URL
  8. Ações fortemente tipadas
  9. Atributo MVCHTTPMethod
  10. Atributo MVCProduces
  11. Atributo MVCConsumes
  12. Atributo MVCDoc
  13. Filtros de Ação
  14. O que vêm por ai

Capítulo 3: Renderizadores

  1. O quê você irá aprender
  2. A fase de Renderização
  3. Renderizar Dados Deve Ser Simples!
  4. Renderizando Objetos e Lista de Objetos
  5. Serialização Customizada de Objetos
  6. Renderizando descendentes de TStream
  7. Renderizando Objetos Aninhados
  8. Serializando descendentes TDataset
  9. Renderização de Dicionários
  10. Renderização de imagens, pdf e outros conteúdos binários
  11. Renderizando Exceções
  12. Renderizando Estrutura de Dados Customizados
  13. Suporte a HATEOAS em suas API’s
  14. Desserialização
  15. Desserializar Objetos Simples
  16. Desserializiando Lista de Objetos
  17. Desserializando Estruturas Hierarquicas
  18. A interface IMVCList
  19. Enviando Conteúdos Binários
  20. Usando multipart/form-data
  21. Serializadores de Tipo Personalizado
  22. Usando serializador personalizado
  23. O que vêm por ai

Capítulo 4: Sistema de Biblioteca Municipal - O Banco de Dados

  1. O quê você irá aprender
  2. Sistema de Biblioteca Municipal
  3. O Banco de Dados
  4. O que vêm por aí

Capítulo 5: Sistema de Biblioteca Municipal - As APIs

  1. O quê você irá aprender
  2. Visão geral do design de APIs
  3. Projete uma API para o sistema de empréstimo de livros
  4. A APIs
  5. O que vêm por aí

Capítulo 6: Sistema de biblioteca municipal - Criação de APIs usando datasets

  1. O quê você irá aprender
  2. O acrônimo CRUD
  3. Implementando a API usando datasets
  4. O que vêm por aí

Capítulo 7: Sistema de Biblioteca Municipal - Criando APIs com MVCActiveRecord

  1. O quê você irá aprender
  2. Design Padrão do ActiveRecord
  3. ActiveRecord em MVCFramework também chamado de MVCActiveRecord
  4. O que vêm por aí

Capítulo 8: Sistema de Biblioteca Municipal - APIs completas com MVCActiveRecord

  1. O quê você irá aprender
  2. Configurando o WebModule
  3. Estabelecendo uma conexão com o Banco de Dados
  4. TAuthorsController
  5. TControllerBase
  6. Tratamento de paginação em TCustomersController.GetCustomers
  7. Efetuando a baixa de um empréstimo
  8. Gestão de usuários com TUsersController
  9. O vêm por aí

Capítulo 9: Autênticação & Autorização

  1. O quê você irá aprender
  2. Autênticação vs Autorização
  3. O Subsistema de Autênticação/Autorização
  4. Deixando Seguro uma API
  5. Autenticação do tipo HTTP Basic Authentication
  6. JSON Web Token (também chamado de JWT) Autenticação e Autorização
  7. Acesso às informações do usuário registrado
  8. O que vêm por aí

Capítolos 10: Middlewares

  1. O quê você irá aprender
  2. O que é middleware?
  3. Interface IMVCMiddleware
  4. Middleware integrados
  5. Middleware CORS
  6. Middleware de Compactação
  7. Middleware Analítico
  8. Middleware de Rastreamento
  9. Middleware para arquivos estáticos
  10. O que vêm por aí

Capítulo 11: Sistema de Biblioteca Municipal - Autenticação e Authrização

  1. O quê você irá aprender
  2. Como escolher um esquema de autenticação
  3. Definindo um sistema de responsabilidades
  4. Crie um cliente Python
  5. O que vêm por aí

Capítulo 12: JSON-RPC: por que, quando e como usar

  1. O quê você irá aprender
  2. Visão Geral do JSON-RPC
  3. Requisições JSON-RPC 2.0
  4. Notificações JSON-RPC 2.0
  5. Objeto Error de Respostas
  6. JSON-RPC vs REST
  7. Publicando PODOs(Objeto Delphi Antigo Simples)
  8. O Atributo MVCInheritable
  9. Inspecionando os métodos publicados
  10. Definindo Hooks
  11. O que vêm por aí

Capítulo 13: Dicas e Truques

  1. Dica #1: Redirecionando usuários para um URL diferente apenas quando estiverem usando o navegador
  2. Dica #2: Não carregue controllers de sistema
  3. Dica #3: Remova o cabeçalho X-Powered-By
  4. Dica #4: Altere ou remova o cabeçalho do Servidor
  5. Dica #5: Testando API usando Python
  6. Dica #6: Armazenando senhas de usuários

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub