舉報

會員
Hands-On Full:Stack Development with Swift
Thisbookisfordeveloperswhoarelookingtobuildfull-stackwebandnativemobileapplicationsusingSwift.AnunderstandingofHTML,CSS,andJavaScriptwouldbebeneficialwhenbuildingserver-renderedpageswithVapor.
最新章節
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Summary
- Configuring the tvOS storyboard
- Making code work with both iOS and tvOS apps
- Sharing code between iOS and tvOS
品牌:中圖公司
上架時間:2021-08-27 18:14:27
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Leave a review - let other readers know what you think 更新時間:2021-08-27 19:40:19
- Other Books You May Enjoy
- Summary
- Configuring the tvOS storyboard
- Making code work with both iOS and tvOS apps
- Sharing code between iOS and tvOS
- Shopping List app on tvOS
- Building a tvOS App
- Summary
- Bringing it all together in the Storyboard
- Adding authentication flow to iOS app
- Testing the token-based authentication
- Adding token-based authentication for app
- Showing user specific Shopping Lists
- Adding Registration and Login
- User has many Shopping Lists
- Getting started with the User model
- Best practices for storing password
- Creating a User model
- Adding Authentication
- Summary
- Exercise
- Setting up Continuous Deployment
- Adding the MongoDB Heroku addon
- Configuring and deploying Vapor to Heroku
- Priming the app for deployment
- Deploying to Heroku
- Where can we deploy a Vapor App?
- Deploying the App
- Summary
- Enabling Travis build check on Pull request
- Automated testing pipeline
- Exercise
- Updating the Shopping List
- Deleting the Shopping List
- Creating a Shopping List
- Fetching all Shopping Lists
- Testing RESTful routes
- Running tests
- Setting up the test environment
- Testing the Vapor application
- Testing and CI
- Summary
- Checking and unchecking an Item
- Deleting an Item
- Adding an Item
- Deleting a Shopping List
- Creating a new Shopping List
- Adding JavaScript
- Creating a BaseResourceController
- Creating a middleware
- Serving JSON and HTML formats
- Adding Leaf Provider
- What is Leaf?
- View rendering in Vapor app
- Creating Web Views and Middleware
- Summary
- Checking and unchecking an item
- Deleting an item
- Adding a Shopping List Item
- Exercise
- Deleting a Shopping List
- Adding a Shopping List
- Debugging the app and server side by side
- Fetching data from the server
- Request helper
- Network configuration
- Making network requests
- Xcode Workspace
- Consuming API in App
- Summary
- Exercise
- Creating items
- Deleting the Shopping List
- Updating the Shopping List
- Getting the Shopping List
- Creating the Shopping List
- REST API in action
- Shopping List controller
- RESTful Controller
- Controllers in Vapor
- Item Model
- Updateable protocol
- ResponseRepresentable protocol
- JSONConvertible protocol
- Preparation protocol
- The Shopping List Model
- Vapor Models
- Routing parameters
- Wildcard routing
- Dynamic routing
- Nested routing
- Routers
- HTTP methods
- Routing in Vapor
- Building a REST API using Vapor
- Summary
- Adding MongoProvider
- Mongo config - mongo.json
- Configuring Fluent config
- Connecting with MongoDB
- Many to many
- One to many
- One to one (parent-child relation)
- Relations in Fluent
- Counting items
- Deleting an item
- Finding items using filter
- Finding an item
- Getting all items
- Updating an item
- Creating an item
- Fluent in action
- What are ORM and Fluent?
- How to install and run MongoDB
- What is MongoDB?
- Getting started with databases
- Adding a Provider
- Exercise time
- Building your first Provider
- What are Providers?
- Shopping List API Vapor app
- Configuring Providers Fluent and Databases
- Summary
- Controllers
- Views
- Vapor droplet
- Vapor config
- Vapor folder structure
- Creating a Vapor application using the toolbox
- Vapor toolbox commands
- Installing the Vapor toolbox
- Vapor toolbox
- Building a Vapor application from scratch
- Building a WebSocket server
- Building a static file server
- Building a basic HTTP server
- Building servers using Vapor's engine
- What is Vapor?
- Getting Started with Vapor
- Summary
- The Shopping List Table View Controller
- Blueprinting the Shopping List Model
- Refactoring to share code
- Multiple lists
- Loading and auto-saving the Shopping List
- Editing the list
- Adding items to the list
- Table View Controller
- Wiring up the view
- Controlling the flow of our application using View Controller
- Exercise answer
- Exercise
- Blueprinting the Shopping List Item model
- Creating an app
- Features of our Shopping List app
- Creating the Native App
- Summary
- Book roadmap
- Vapor
- Server-side web frameworks
- Building a web server in Swift
- HTTP request and response
- Mobile application requesting data
- User requesting a web page
- How do the web servers work?
- Installing the package's executable
- Consuming a Swift package
- Publishing a Swift package
- Building a Swift package
- Getting started with Swift package manager
- Benefits of server-side Swift
- Server-side Swift
- Open source
- Swift's evolution
- Modern app development
- Getting Started with Server Swift
- Reviews
- Get in touch
- Conventions used
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewers
- About the author
- Contributors
- PacktPub.com
- Why subscribe?
- Packt Upsell
- Dedication
- Hands-On Full-Stack Development with Swift
- Copyright and Credits
- Title Page
- 封面
- 封面
- Title Page
- Copyright and Credits
- Hands-On Full-Stack Development with Swift
- Dedication
- Packt Upsell
- Why subscribe?
- PacktPub.com
- Contributors
- About the author
- About the reviewers
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Conventions used
- Get in touch
- Reviews
- Getting Started with Server Swift
- Modern app development
- Swift's evolution
- Open source
- Server-side Swift
- Benefits of server-side Swift
- Getting started with Swift package manager
- Building a Swift package
- Publishing a Swift package
- Consuming a Swift package
- Installing the package's executable
- How do the web servers work?
- User requesting a web page
- Mobile application requesting data
- HTTP request and response
- Building a web server in Swift
- Server-side web frameworks
- Vapor
- Book roadmap
- Summary
- Creating the Native App
- Features of our Shopping List app
- Creating an app
- Blueprinting the Shopping List Item model
- Exercise
- Exercise answer
- Controlling the flow of our application using View Controller
- Wiring up the view
- Table View Controller
- Adding items to the list
- Editing the list
- Loading and auto-saving the Shopping List
- Multiple lists
- Refactoring to share code
- Blueprinting the Shopping List Model
- The Shopping List Table View Controller
- Summary
- Getting Started with Vapor
- What is Vapor?
- Building servers using Vapor's engine
- Building a basic HTTP server
- Building a static file server
- Building a WebSocket server
- Building a Vapor application from scratch
- Vapor toolbox
- Installing the Vapor toolbox
- Vapor toolbox commands
- Creating a Vapor application using the toolbox
- Vapor folder structure
- Vapor config
- Vapor droplet
- Views
- Controllers
- Summary
- Configuring Providers Fluent and Databases
- Shopping List API Vapor app
- What are Providers?
- Building your first Provider
- Exercise time
- Adding a Provider
- Getting started with databases
- What is MongoDB?
- How to install and run MongoDB
- What are ORM and Fluent?
- Fluent in action
- Creating an item
- Updating an item
- Getting all items
- Finding an item
- Finding items using filter
- Deleting an item
- Counting items
- Relations in Fluent
- One to one (parent-child relation)
- One to many
- Many to many
- Connecting with MongoDB
- Configuring Fluent config
- Mongo config - mongo.json
- Adding MongoProvider
- Summary
- Building a REST API using Vapor
- Routing in Vapor
- HTTP methods
- Routers
- Nested routing
- Dynamic routing
- Wildcard routing
- Routing parameters
- Vapor Models
- The Shopping List Model
- Preparation protocol
- JSONConvertible protocol
- ResponseRepresentable protocol
- Updateable protocol
- Item Model
- Controllers in Vapor
- RESTful Controller
- Shopping List controller
- REST API in action
- Creating the Shopping List
- Getting the Shopping List
- Updating the Shopping List
- Deleting the Shopping List
- Creating items
- Exercise
- Summary
- Consuming API in App
- Xcode Workspace
- Making network requests
- Network configuration
- Request helper
- Fetching data from the server
- Debugging the app and server side by side
- Adding a Shopping List
- Deleting a Shopping List
- Exercise
- Adding a Shopping List Item
- Deleting an item
- Checking and unchecking an item
- Summary
- Creating Web Views and Middleware
- View rendering in Vapor app
- What is Leaf?
- Adding Leaf Provider
- Serving JSON and HTML formats
- Creating a middleware
- Creating a BaseResourceController
- Adding JavaScript
- Creating a new Shopping List
- Deleting a Shopping List
- Adding an Item
- Deleting an Item
- Checking and unchecking an Item
- Summary
- Testing and CI
- Testing the Vapor application
- Setting up the test environment
- Running tests
- Testing RESTful routes
- Fetching all Shopping Lists
- Creating a Shopping List
- Deleting the Shopping List
- Updating the Shopping List
- Exercise
- Automated testing pipeline
- Enabling Travis build check on Pull request
- Summary
- Deploying the App
- Where can we deploy a Vapor App?
- Deploying to Heroku
- Priming the app for deployment
- Configuring and deploying Vapor to Heroku
- Adding the MongoDB Heroku addon
- Setting up Continuous Deployment
- Exercise
- Summary
- Adding Authentication
- Creating a User model
- Best practices for storing password
- Getting started with the User model
- User has many Shopping Lists
- Adding Registration and Login
- Showing user specific Shopping Lists
- Adding token-based authentication for app
- Testing the token-based authentication
- Adding authentication flow to iOS app
- Bringing it all together in the Storyboard
- Summary
- Building a tvOS App
- Shopping List app on tvOS
- Sharing code between iOS and tvOS
- Making code work with both iOS and tvOS apps
- Configuring the tvOS storyboard
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-08-27 19:40:19