DelphiMVCFramework (es)
DelphiMVCFramework (es)
Aprenda a como utilizar el framework mas popular RESTful y JSON-RPC para Delphi
Sobre este libro
Aprenda a como utilizar el framework mas popular RESTful y JSON-RPC para Delphi
Table of Contents
- Prefacio
- Revisores
- Que dicen los usuarios sobre DMVCFramework
- Obteniendo el código de este libro
- Utilizando el código de este libro
- Notas de publicación del libro
-
Capítulo 1: Empezando con DelphiMVCFramework
- Lo que aprenderás
- DMVCFramework tiene “baterias incluidas”
- Instación de DelphiMVCFramework 3.2.1-carbon
- Su primer servidor RESTful con DelphiMVCFramework
- Su primer “Hola mundo” al estilo DMVCFramework
- Integración a las acciones del sistema - System Actions
- Que sigue
-
Capítulo 2: Controladores y routing
- El Router
- atributo MVCPath
- Manejo de parámetros
- Parametros Query-String
- Parámetros asignados a URL
- Múltiples caminos para una sola acción
- Más sobre los parámetros asignados a URL
- Acciones fuertemente tipadas
- Atributo MVCHTTPMethod
- Atributo MVCProduces
- Atributo MVCConsumes
- Atributo MVCDoc
- Filtros de acción
- Que sigue
-
Capítulo 3: Renders
- Lo que aprenderás
- La fase de renderizado
- ¡La representación de datos debe ser simple!
- Renderizando objetos y lista de objetos
- Personalizar la serialización de objetos
- Renderizando descendientes de TStream
- Renderizando Objetos Anidados
- Serializando descendientes TDataset
- Renderizando Diccionarios
- Renderizando imágenes, pdf y otros contenidos binarios
- Renderizando Excepciones
- Renderizando Estructuras Custom Data
- Soporte HATEOAS en tus APIs
- Deserialización
- Deserializar Objetos Simples
- Deserializando Lista de Objetos
- Deserialización de estructuras jerárquicas
- La interfaz IMVCList
- Envío de contenido binario
- Usando multipart/form-data
- Serializadores de tipo personalizado
- Usando serializador personalizado
- Que Sigue
-
Capítulo 4: Sistema de bibliotecas municipales - El Database
- Lo que aprenderás
- El Sistema de Bibliotecas Municipales
- El Database
- Que Sigue
-
Capítulo 5: Sistema de Bibliotecas Municipales - Las API
- Qué aprenderás
- API diseño General
- Diseñar una API para el sistema de préstamo de libros
- Las API reales
- Que sigue
-
Capítulo 6: Sistema de biblioteca municipal - Creación de APIs usando Datasets
- Qué aprenderás
- El acrónimo CRUD
- Implementando un API usando datasets
- Que Sigue
-
Capítulo 7: Sistema de biblioteca municipal: Creando APIs con MVCActiveRecord
- Lo que aprenderás
- El patrón de diseño de ActiveRecord
- ActiveRecord en MVCFramework a.k.a. MVCActiveRecord
- Que sigue
-
Capítulo 8: Sistema de biblioteca municipal - APIs completas con MVCActiveRecord
- Qué aprenderás
- WebModule Configuración
- Establecer una conexión a la base de datos
- TAuthorsController
- TControllerBase
- Manejando la paginación en TCustomersController.GetCustomers
- Terminar un préstamo
- Gestión de Usuarios con TUsersController
- Que sigue
-
Capítulo 9: Autenticación y autorización
- Qué aprenderás
- Autenticación vs Autorización
- El Subsistema de Autenticación/Autorización
- Asegurando una API
- Autenticación Básica HTTP
- Autenticación y Autorización de JSON Web Token
- Acceso a la información del usuario logueado
- Que Sigue
-
Capítulo 10: Middlewares
- Que aprenderás
- Que es un middleware?
- La Interfaz IMVCMiddleware
- Middleware Incorporado
- CORS Middleware
- Compresión Middleware
- Analítica Middleware
- Seguimiento Middleware
- Archivos Estáticos Middleware
- Que Sigue
-
Capítulo 11: Sistema de Bibliotecas Municipales - Autenticación y Autorización
- Qué aprenderás
- Cómo elegir un esquema de autenticación
- Definición de un sistema de roles
- Crea un cliente Python
- Qué sigue
-
Capítulo 12: JSON-RPC: por qué, cuándo y cómo usarlo
- Qué aprenderás
- Descripción general de JSON-RPC
- Peticiones JSON-RPC 2.0
- Notificaciones JSON-RPC 2.0
- Objeto Error de Respuesta
- JSON-RPC vs REST
- Publicando PODOs
- El Atributo MVCInheritable
- Inspeccionando los métodos publicados
- Definiendo Hooks(ganchos)
- Que Sigue
-
Capítulo 13: Documente y pruebe su API REST con el middleware Swagger
- Lo que aprenderás
- Cómo se utiliza
- Atributo MVCSwagSummary
- Aributo MVCSwagAuthentication
- Atributo MVCSwagParam
- Atributo MVCSwagResponses
- Atributo MVCSwagJSONSchemaField
- Atributo MVCSwagIgnorePath
- Tutorial Simple de Swagger
- Que Sigue
-
Capítulo 14: Consejos y trucos (Tips and Tricks)
- Tip #1: Redireccionar a los usuarios a una URL diferente solo cuando están usando un navegador
- Tip #2: No cargar los controladores del sistema
- Tip #3: Eliminar el encabezado X-Powered-By
- Tip #4: Cambiar o eliminar el encabezado del servidor
- Tip #5: Probando API usando Python
- Tip #6: Almacenando password de los usuarios
- Tip #7: Use RQL para consultas simples
Otros libros de este autor
Authors have earned$10,068,654writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Más información sobre cómo escribir en Leanpub
Leanpub incondicional, sin riesgo, 100% de felicidad garantizada
Durante los primeros 45 días de compra, puedes obtener un reembolso del 100% de cualquier compra Leanpub, en dos clics. Procesamos las restituciones manualmente, así que puede tomarse unos días en aparecer. Véase términos completos.
Actualizaciones gratis. Libre de DRM.
¡Si compras un libro Leanpub obtienes actualizaciones gratis siempre y cuando el autor actualice el libro! Varios autores usan Leanpub para publicar sus libros en progreso mientras los escriben. Todos los lectores obtienen actualizaciones gratis, independientemente de cuándo compraron el libro o cuánto pagaron (incluyendo si fue gratis).
La mayoría de los libros Leanpub se encuentran disponibles en PDF (para computadores), EPUB (para teléfonos y tabletas) y MOBI (para Kindle). Los formatos que un libro incluye se muestran en la esquina superior derecha de esta página.
Finalmente, los libros Leanpub no tienen ninguna de las cosas sin sentido sobre protección de copia DRM, así que puedes leerlos fácilmente en cualquier dispositivo que se soporta.
Aprende más sobre los formatos de Leanpub y dónde puedes leerlos
Top Books
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Digital-First Events
Joep Piscaer and Jana BorutaThe only resource you will ever need to launch your digital events program.
node-opcua by example
Etienne RossignonGet the best out of node-opcua through a set of documented examples by the author himself that will allow you to create stunning OPCUA Servers or Clients.
Cloud Strategy
Gregor Hohpe“Strategy is the difference between making a wish and making it come true.” A successful migration to the cloud can transform your organization, but it shouldn’t be driven by wishes. This book tells you how to develop a sound strategy guided by frameworks and decision models without being overly abstract nor getting lost in product details.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
The book is almost daily updated. These incremental updates ease my interaction with the proofreaders.
Sockets and Pipes
Type ClassesSockets and Pipes is not an introduction to Haskell; it is an introduction to writing software in Haskell. Using a handful of everyday Haskell libraries, this book walks through reading the HTTP specification and implementing it to create a web server.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Ansible for DevOps
Jeff GeerlingAnsible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
Introducing EventStorming
Alberto BrandoliniThe deepest tutorial and explanation about EventStorming, straight from the inventor.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
Django for Beginners/APIs/Professionals
3 Books
- #3
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #4
Cisco CCNA 200-301 Complet
4 Books
Ce lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301. - #5
Modern Management Made Easy
3 Books
Read all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization. - #6
Linux Administration Complet
4 Books
Ce lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité... - #7
CCDE Practical Studies (All labs)
3 Books
CCDE lab - #8
All the Books of The Medical Futurist
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy, digital health investments and how technology giants such as Amazon... - #9
Cloud Architect: Transform Technology and Organization
2 Books
Architects don't just recite product names and features. They understand the options, decisions, and trade-offs behind them. They earn credibility and maintain authenticity by connecting the penthouse with the engine room. Get two essential books that redefine the role of the software and IT architect at one low price:37 Things One Architect... - #10
Mastering Containers
2 Books
Docker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes!