
Full Stack iOS Development with Swift and Vapor
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
FEATURES
• Includes real-world projects and exercises to apply your newly acquired skills in practical scenarios
• Emphasizes best practices, security considerations, and performance optimization techniques
• Features comprehensive exploration of both backend and frontend development
• Companion files (sample code and figures) are available for downloading by writing to the publisher
More details
Other editions
Additional editions


Content
- Cover
- Halftitle
- Title
- Copyright
- Dedication
- Contents
- Preface
- Acknowledgments
- About the Author
- Chapter 1: Full-Stack Development Overview
- Introduction
- Structure
- Introduction to Full-Stack Development
- Brief History
- Full-Stack: What Does It Mean?
- Minimum Viable Product (MVP)
- Airbnb
- Foursquare
- Problems with Full-Stack Development
- Advantages of Full-Stack Development
- Swift on Server and Vapor
- Swift Packages for Back-End Development
- SwiftNIO
- AsyncHTTPClient
- Swift AWS Lambda Runtime
- Soto-AWS SDK Swift
- Conclusion
- Chapter 2: Setting Up the Environment
- Introduction
- Structure
- Installation of Xcode
- Installation of the Vapor Toolbox
- Hello World Project (Vapor)
- Build and Run Project
- Folder Structure
- Public Folder
- Sources
- Run
- Tests
- Swift Package Manager
- Hello World Project (iOS)
- Project Structure
- Add Hello World Label
- Run Xcode Project
- Conclusion
- Chapter 3: Routing, MVC, and JSON in Vapor
- Introduction
- Structure
- Objectives
- Routes
- Router Methods
- Basic Routes
- Nested Routes
- Route Parameters
- Anything Routes and Catch-All Routes
- Query Strings
- Route Groups
- Model-View-Controller (MVC)
- Working with JSON
- Posting JSON and Postman App
- Conclusion
- Chapter 4: Async and HTML Rendering in Vapor
- Introduction
- Structure
- Objectives
- Async
- Async Await
- Migrating to Async/Await
- Logging
- Environment
- Errors
- Abort
- Abort Error
- Debuggable Error
- Stack Traces
- Swift Backtrace
- Error Traces
- ErrorMiddleware
- Leaf
- Conclusion
- Chapter 5: PostgreSQL Integration in Vapor
- Introduction
- Structure
- Objectives
- Data Persistence with Vapor
- Installing and Setting Up PostgreSQL
- Fluent ORM
- Adding Fluent to a New Project
- Adding Fluent to an Existing Project
- CRUD Operations
- Migrations
- Postico
- Create and Save Model
- Create Model
- Save Model
- Conclusion
- Chapter 6: Building User Interfaces for iOS
- Introduction
- Structure
- Auto Layout with Storyboards
- Swift UI
- Working with Text
- Working with Images
- Working with Stacks
- Conclusion
- Chapter 7: Data Persistence with Core Data and SQLite in iOS
- Introduction
- Structure
- Core Data
- Core Data Stack
- Include Core Data in a New Project
- Include Core Data in an Existing Project
- CRUD Operations
- Codegen
- Category/Extension
- Core Data Migrations
- Lightweight Data Migration
- Networking
- Protocol Support
- Conclusion
- Chapter 8: Full-Stack Implementation
- Introduction
- Structure
- Objectives
- Project Outline
- Setup Remote Database
- Server App
- Models
- Migrations
- Controllers
- Config and Routes
- iOS App
- Models
- Networking
- User Interface
- Test Run
- Conclusion
- Chapter 9: Advanced Full-Stack Concepts
- Introduction
- Structure
- Objectives
- Middleware
- Creating Middleware
- WebSockets
- Messages
- Sending
- Receiving
- Closing
- APNS
- Security
- Authentication
- Basic Authentication
- Bearer Authentication
- Composition
- Session
- JWT
- KeyChain
- Adding a Password to Keychain
- Conclusion
- Chapter 10: Deploying iOS and Vapor Applications
- Introduction
- Structure
- Objectives
- Vapor App Deployment
- Heroku
- Docker
- Set up Docker
- Build and Run
- Production Deployment
- iOS App Deployment
- Code Signing
- Create App Store Connect Record for the App
- Add New App
- Archive and Upload the App
- Configure the App's Metadata in App Store Connect
- Submit App for Review
- Conclusion
- Index
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.