Role of SQLite in iPhone programming [closed] - iphone

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
What is the role of SQLLite in iPhone programming? Where do we use it? Is there any nice link to read around this topic in detail with sample code?

SQLite is a lightweight in-memory relational database, that can be used directly by iOS apps, or as a persistent store for Core Data.
Here's a good list of resources about directly using SQLite on iPhone. And the Apple Developer Center has a lot of info on how to use it as a store for Core Data (and how to use Core Data itself, of course).

Related

Do you need a server for SQLite [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
So I am creating an app for IOS with xcode and swift and I am using SQLite as a database(not my choice) and I dont understand if I need a server or not.
Thank you in advance
Basically it depends on your requirement. If you want to store your data outside of the mobile itself for any reason such as fetching and updating them from multiple devices you can use a server to host your database and perform read, write operations. If not, if you only want to use your data inside your app itself, you can make use of the SQLite databases and perform read and write operations locally.
No, iOS actually uses SQLite in the Core Data on the device. Here you can see a tutorial on using SQLite in Swift on a device https://www.raywenderlich.com/6620276-sqlite-with-swift-tutorial-getting-started

Is Core data the same as cookies? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm new to Swift and I'm building on a simple app that relies on login/sign up functions for each user. When I wanted to learn about databases in Swift, I came across Core Data and from what I understood it's like cookies/cache that stores data in the user's phone. If that's so, what's the best way to connect the app to a regular database like SQL?
Core Data is an ORM (object-relational mapping) system. Overly simplyfied you build your data model entities and and relationships between them and Core Data cares about the rest. Under the hood it uses an SQLite database by default, but it also can handle other types of storage (e.g. binary or XML).
To answer your question, for Login/Signup purposes you should look into storing user data such as auth tokens etc. in the Keychain.

Framework and Database Suggestions for a Large Scale Web Application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm looking at building a (hopefully) large scale web application. The application will manage many users with lots of data, therefore a large database.
My issue is that I cannot decide which framework, or database software I should use.
I'm torn between using Angular2 or Vue.js 2.0, and Firebase or MongoDB.
Could somebody please provide some guidance or scale-ability, use on large scale apps etc.. on the above.
Any guidance will be much appreciated.
Thanks a lot :)
Of you are still deciting on which NoSQL database to choose: This survey could be of much help: https://news.ycombinator.com/item?id=12289975

Storage type used in app like Instagram [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to make an app like Instagram but the problem is where to store all text and images data, I have used Instagram when there is no connectivity available then app will show the last feeds even when app is freshly openend (not from background). It uses core data or sqlite.
I came across a scaling presentation from instagram a little while back where they talk how they started, using what and then how they approached the challenges.
See the link: http://www.scribd.com/doc/89025069/Mike-Krieger-Instagram-at-the-Airbnb-tech-talk-on-Scaling-Instagram
Hope this helps.
It's not known what Instagram uses. Use whatever you feel most comfortable with. Anything is possible with any storage technology, although some might fit better than others. Also, regarding your question on "core data or sqlite", you can use Core Data with an SQLite database as a backend (way easier than accessing raw SQL). You can also use other backends with Core Data: binary and XML.

Where can I create, update and store my iPhone backend [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have found a lot of sites that can store my data but I also would like a web service that can run my three php files regularly to update the data in my database. I have these files because I need to get data from another source and make it more suitable for my needs and then I save them into JSON files which I later want to access from my iPhone app. Is there any place that can do this (hopefully for free or cheap)?
You can find some sites for free, but you're better off paying for a service IMO. You're looking for something with "MySQL Databases" as a feature. iPage.com, WebHostingHub.com, BlueHost.com, etc. all offer this.