Mastering Flask Web and API Development (eBook)
494 Seiten
Packt Publishing (Verlag)
978-1-83763-857-4 (ISBN)
Flask is a popular Python framework known for its lightweight and modular design. Mastering Flask Web and API Development will take you on an exhaustive tour of the Flask environment and teach you how to build a production-ready application.
You'll start by installing Flask and grasping fundamental concepts, such as MVC and ORM database access. Next, you'll master structuring applications for scalability through Flask blueprints. As you progress, you'll explore both SQL and NoSQL databases while creating REST APIs and implementing JWT authentication, and improve your skills in role-based access security, utilizing LDAP, OAuth, OpenID, and databases. The new project structure, managed by context managers, as well as ASGI support, has revolutionized Flask, and you'll get to grips with these crucial upgrades. You'll also explore out-of-the-box integrations with technologies, such as RabbitMQ, Celery, NoSQL databases, PostgreSQL, and various external modules. The concluding chapters discuss enterprise-related challenges where Flask proves its mettle as a core solution.
By the end of this book, you'll be well-versed with Flask, seeing it not only as a lightweight web and API framework, but also as a potent problem-solving tool in your daily work, addressing integration and enterprise issues alongside Django and FastAPI.
Discover how to construct API and web components, build enterprise-grade applications, design and implement unit and behavioral testing, and plan deployment strategies for scalable Flask 3 applicationsKey FeaturesImplement web and API applications using both standard and asynchronous Flask componentsImprove your dev experience with signals, route decorators, async/await design patterns, context managers, and nested blueprintsTie all the features together in each chapter through practical, relatable applicationsPurchase of the print or Kindle book includes a free PDF eBookBook DescriptionFlask is a popular Python framework known for its lightweight and modular design. Mastering Flask Web and API Development will take you on an exhaustive tour of the Flask environment and teach you how to build a production-ready application. You ll start by installing Flask and grasping fundamental concepts, such as MVC and ORM database access. Next, you ll master structuring applications for scalability through Flask blueprints. As you progress, you ll explore both SQL and NoSQL databases while creating REST APIs and implementing JWT authentication, and improve your skills in role-based access security, utilizing LDAP, OAuth, OpenID, and databases. The new project structure, managed by context managers, as well as ASGI support, has revolutionized Flask, and you ll get to grips with these crucial upgrades. You'll also explore out-of-the-box integrations with technologies, such as RabbitMQ, Celery, NoSQL databases, PostgreSQL, and various external modules. The concluding chapters discuss enterprise-related challenges where Flask proves its mettle as a core solution. By the end of this book, you ll be well-versed with Flask, seeing it not only as a lightweight web and API framework, but also as a potent problem-solving tool in your daily work, addressing integration and enterprise issues alongside Django and FastAPI.What you will learnPrepare, set up, and configure development environments for both API and web applicationsExplore built-in serializers and encoders that processes request and response dataSolve big data issues by integrating Flask applications with NoSQL databasesApply various ORM and ODM techniques to build model and repository layersIntegrate with OpenAPI, Circuit Breaker, ZooKeeper, and OpenTracing to build scalable API applicationsUse Flask middleware to provide CRUD transactions for Flutter-based mobile applicationsWho this book is forThis book is for proficient Python developers seeking a deeper understanding of the Flask framework as a solution for tackling enterprise challenges. It is also a great resource for Flask-savvy readers eager to learn more about the framework s advanced capabilities and new features.]]>
Erscheint lt. Verlag | 16.8.2024 |
---|---|
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Schlagworte | API development • Building microservices • FastAPI • Flask book • Flask development • Microservices • python book |
ISBN-10 | 1-83763-857-8 / 1837638578 |
ISBN-13 | 978-1-83763-857-4 / 9781837638574 |
Haben Sie eine Frage zum Produkt? |
Digital Rights Management: ohne DRM
Dieses eBook enthält kein DRM oder Kopierschutz. Eine Weitergabe an Dritte ist jedoch rechtlich nicht zulässig, weil Sie beim Kauf nur die Rechte an der persönlichen Nutzung erwerben.
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür die kostenlose Software Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür eine kostenlose App.
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich