万本电子书0元读

万本电子书0元读

顶部广告

Learning SQLite for iOS电子书

售       价:¥

21人正在读 | 0人评论 6.2

作       者:Gene Da Rocha, MSc, BSc (Hons)

出  版  社:Packt Publishing

出版时间:2016-03-23

字       数:45.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Extend SQLite with mobile development skills to build great apps for iOS devices About This Book Implement Swift code using SQLite statements Learn the background to SQL and SQLite for mobile development, its statements, and command features through practical examples Extend the standard SQLite functionality and increase your software creation portfolio Who This Book Is For This book is intended for those who want to learn about SQLite and how to develop apps in Swift or HTML5 using SQLite. Whether you are an expert Objective-C programmer or new to this platform, you'll learn quickly, grasping the code in real-world apps to use Swift. What You Will Learn Explore Swift's basic language statements Connect to SQLite and execute SQL statements Extend the SQLite language to create your own software extensions Use HTML5 with Phonegap on iOS Set up a Swift project using XCode with SQLite Administer SQLite databases in an easy and effective way In Detail The ability to use SQLite with iOS provides a great opportunity to build amazing apps. Apple's iOS SDK provides native support for SQLite databases. This combination offers the potential to create powerful, data-persistent applications. This book starts with the architecture of SQLite database and introduces you to concepts in SQL . You will find yourself equipped to design your own database system, administer it, and maintain it. Further, you will learn how to operate your SQLite databases smoothly using SQL commands. You will be able to extend the functionality of SQLite by using its vast arsenal of C API calls to build some interesting, exciting, new, and intelligent data-driven applications. Understand how Xcode, HTML5, and Phonegap can be used to build a cross-platform modern app which can benefit from all these technologies - all through creating a complete, customizable application skeleton that you can build on for your own apps. Style and approach This book is a practical and comprehensive guide to developing applications using SQLite and iOS.
目录展开

Learning SQLite for iOS

Table of Contents

Learning SQLite for iOS

Credits

About the Author

About the Reviewer

www.PacktPub.com

eBooks, discount offers, and more

Why subscribe?

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Introduction to SQL and SQLite

About SQL

Where does SQLite stand in today's industry?

iOS with SQLite

Embedded databases

The architecture of the SQLite database

Features

The advantages of using SQLite

Working with SQLite

The examples of using SQLite with iOS

Summary

2. Database Design Concepts

Database essentials

Reasons for using SQLite

Database connections

Preparing queries

Parameterized SQL

Error handling

Queries within the db.exec statement

SQL injection attacks

Creating user-defined functions

Transactions and locks

Transactions – reading/writing

Designing for SQLite

Summary

3. Administering the Database

Creating a database

Creating a table

Inserting data

Selecting data

Creating an index

Exporting data

Viewing database schema data

Index data

Schema data

Backing up the database

Database tools

Database file information

Summary

4. Essentials of SQL

Transactions

Query plan

SQL basics

Insert with a subselect clause

Update with a subselect clause

Select with a subselect clause

Data integrity

Default values

Constraint checking

Foreign keys

Updating Views

Index use

Triggers

Synchronous writes

Database locking and deadlocks

FMDB SQLite wrapper

Database creation and opening

SQL in iOS

Summary

5. Exposing the C API

SQLite C components' functionality

sqlite3_open()

sqlite3_prepare()

sqlite3_step()

sqlite3_column()

sqlite3_finalize()

sqlite3_close()

Using the C API with the open database statement

Using Swift with the open database statement

load_extension()

sqlite3_exec()

sqlite3_config()

The prepare statement

Summary

6. Using Swift with iOS and SQLite

Basic requirements

Starting an Xcode Project with Swift

Using the SQLite 3 Library

Using FMDB

Summary

7. iOS Development with PhoneGap and HTML5

HTML5 and PhoneGap development

An HTML5 framework

Hybrid applications

An Xcode project with PhoneGap, HTML5, and Swift

Summary

8. More Features and Advances in SQLite

PhoneGap plugins

Extensions to the C API

Write Ahead Logging with SQLite

The B-tree usage with SQLite

Creating a simple Swift

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部