Learning SQLite for IOS.
(Hons), Gene Da Rocha, MSc, BSc,
Learning SQLite for IOS. - Birmingham : Packt Publishing, Limited March 2016. - 1 online resource
Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 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 -- Chapter 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 -- Chapter 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 -- Chapter 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 -- Chapter 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 -- Chapter 6: Using Swift with iOS and SQLite -- Basic requirements -- Starting an Xcode Project with Swift -- Using the SQLite 3 Library -- Using FMDB -- Summary -- Chapter 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 -- Chapter 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.
Extend SQLite with mobile development skills to build great apps for iOS devicesAbout 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 portfolioWho This Book Is ForThis 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 wayIn DetailThe 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 approachThis book is a practical and comprehensive guide to developing applications using SQLite and iOS.
9781785288975 1785288970 9781785283123 178528312X
9781785288975
01201872
SQL.
Database management.
Bases de donn�ees--Gestion.
Database management
Programming Languages; Desktop Applications.
005.3 DA
Learning SQLite for IOS. - Birmingham : Packt Publishing, Limited March 2016. - 1 online resource
Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 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 -- Chapter 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 -- Chapter 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 -- Chapter 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 -- Chapter 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 -- Chapter 6: Using Swift with iOS and SQLite -- Basic requirements -- Starting an Xcode Project with Swift -- Using the SQLite 3 Library -- Using FMDB -- Summary -- Chapter 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 -- Chapter 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.
Extend SQLite with mobile development skills to build great apps for iOS devicesAbout 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 portfolioWho This Book Is ForThis 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 wayIn DetailThe 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 approachThis book is a practical and comprehensive guide to developing applications using SQLite and iOS.
9781785288975 1785288970 9781785283123 178528312X
9781785288975
01201872
SQL.
Database management.
Bases de donn�ees--Gestion.
Database management
Programming Languages; Desktop Applications.
005.3 DA