Skip to content
eBook Charts
US
Create Flutter widgets dynamically with a REST API in Laravel or Django

Create Flutter widgets dynamically with a REST API in Laravel or Django

Andrés Cruz

$8.99

Buy on Amazon View on Apple Books

Prefer it in print? See every format on Amazon →

Price on Apple Books. Amazon’s price may differ.

Read a lot? Try Kindle+ * · Compare subscriptions

Published
Genres
InternetComputers & InternetProgrammingOperating Systems

Description

In this book, you won't just learn to create static screens; you will learn to build dynamic interfaces (Server-Driven UI). We will start with layout in Flutter, move through the robust construction of APIs and models using Laravel and Django, and finish by implementing a "Widget Mix" so the backend dictates how the app looks. By the end, you will have built a system where you can update your users' UI in real-time, without having to wait for app store approvals. This is the solid foundation you need to develop scalable and modern applications. Map Chapter 1 - Creating the application mockup in Flutter: Learn to design your Flutter application from scratch. Build the user interface (UI) and prepare it to consume dynamic data from a backend. Chapter 2 - Laravel: Models, Migrations, and CRUD Operations of the Admin Panel: Discover how to configure your backend in Laravel. Learn how to build the initial models and CRUD operations to manage your Flutter application's data. Chapter 3 - Laravel Building the REST API: Create a scalable REST API with Laravel. Learn how to expose your model data and configure endpoints to consume it from your frontend. Chapter 4 - Django: Templates, Migrations, and Admin Panel: Start your backend with Django. Step-by-step guide to creating models, configuring the admin panel, and building your application's CRUDs. Chapter 5 - Building a REST API in Django: Learn how to develop a REST API with the Django REST Framework. Configure views, serializers, and endpoints to connect your backend to any app. Chapter 6 - Consume the REST API from Flutter: Connect your Flutter app to the backend. Learn how to make HTTP requests, consume REST APIs, and display real-world dynamic data in your interface. Chapter 7 - Widget Mixes with Django Admin: Implement Server-Driven UI in Django. Learn how to structure a widget mix in the backend to dynamically control your Flutter app's interface. Chapter 8 - Widget Mixes with Laravel: Create dynamic interfaces (Server-Driven UI) with Laravel. Discover how to define a widget mix in the backend to render your app in Flutter. Chapter 9 - Consume Dynamic Widget Mix in Flutter: Implement Server-Driven UI in Flutter. A guide to creating builders, providers, and dynamic pages by consuming a Widget Mix. Chapter 10 - Notes CRUD style REST API in Laravel: CRUD-style REST API for Notes in Laravel Meta Description: Build a complete REST API in Laravel for managing notes. Learn step-by-step: migrations, Eloquent models, resource controllers, and testing with Postman. Chapter 11 - Notes CRUD-style REST API in Django: Notes CRUD-Style REST API in Django Meta Description: Implement a notes CRUD with the Django REST Framework. Detailed guide on models, serializers, and views to build a powerful and scalable API Chapter 12 - Flutter - Sending CRUD requests to the Notes REST API: Flutter - Sending CRUD Requests to the Notes REST API Meta Description: Connect Flutter to your REST API. Master GET, POST, PUT, and DELETE requests to sync notes in real time and efficiently handle JSON responses. Chapter 13 - Laravel - Defining the behavior for widgets Chapter 14 - Django - Defining behavior for widgets Chapter 15 - Flutter - Defining behavior for widgets Chapter 16 - Django - Protecting the REST API with Token Authentication Chapter 17 - Laravel - Protecting the REST API with Laravel Passport Chapter 18 - Flutter - Adapting the app to the protected REST API Chapter 19 - Flutter - Drag and Drop card system Chapter 20 - Flutter - Adding functionality to the card system