Intro to Databases (MySQL, CloudKit, Firebase, Core Data, Realm)
Вставка
- Опубліковано 22 сер 2024
- Get an intro to popular database options used for iOS app development like MySQL, CloudKit, Firebase, Core Data and Realm.
Quick Jump Links
00:28 - MySQL
05:16 - CloudKit
10:49 - Firebase Database
13:45 - Core Data
17:20 - Realm Database
Come and learn iOS programming with us!
If you want to increase your chances of success, I recommend that you join our CWC community where students support and help each other out, share their knowledge and their successes:
/ codewithchriscommunity
After that, when you are ready to learn more, come and join my fundamentals course below to learn more closely with me.
SUBSCRIBE TO MY CHANNEL ► bit.ly/2re4GH0
_________________
FREE RESOURCES (download links)
Get a customized roadmap for your app and start building it in 7 days:
⚡ codewithchris.c...
Bluehost Hosting for MySQL ► bit.ly/2Sx2KoL (affiliate link)
iOS Beginner Lessons ► bit.ly/2G44rCP
Swift Syntax Cheat Sheet ► bit.ly/2jmQGq1
PC Users ► bit.ly/2KRiS0C
Xcode for Windows Blog Post ► bit.ly/2jrfehL
Swift Language Guide ► developer.appl...
Swift Open Source ► www.swift.org
_________________
FUNDAMENTALS COURSE
Learn More ► bit.ly/2JSeOMG
_________________
CONNECT WITH ME
For more tutorials on how to build iPhone apps, make sure you join and visit my site where you'll find a community of like minded learners! Learning something new is always more fun with other people!
Website ► codewithchris....
Facebook Group ► / codewithchriscommunity
Reddit ► / codewithchris
_________________
FOLLOW ME
Twitter ► @CodeWithChris
Instagram ► @CodeWithChris
_________________
ABOUT ME
Hi I’m Chris! I’m dedicated to teaching fundamentals about how to make an app. This is important if you’re trying to land an iOS job, be a freelancer, increase or start a business with an app idea. On the site, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift 4, Xcode 9 and app building from my course and materials!
Here's just a sample of the success stories my students have sent in:
codewithchris....
QOTD ⚡Which database option appeals to you the most? Let me know!👇 Kick start your own app with my free 7 Day App Action Plan ➡️ bit.ly/7dplan
realm
I hope you guys enjoy it! Don't forget there are timestamped links in the description to jump to each database. Next video coming next Tuesday!
Just 3 minutes into the video and I can already tell that this is by the best explanation I have come across for this topic. Purely awesome video.
That's awesome! Thank you for this feedback!
- Kat
you put alot of effort on teaching , i never watched dedicating teacher like you , thanks , respect from pakistan :)
Amazing video. Now I learned about these databases in just 20 mins. The information is crisp as needed.
Glad you liked it! We have another video here that might help you choose which database would be the best for your app: ua-cam.com/video/BIHaFH4VybA/v-deo.html :)
- Kat
Firebase is easily the solution to most of the projects I work on. It took sometime to learn NOSQL but I think it's worth it.
Realm seems very welcoming though, might take a look at it if i'm developing a local game or something like that.
Thanks for your input!!
This was perfect for me, exactly what I needed to know for the app I am going to create.
Is your app going to be online or offline?
@AdrienVillez
Thanks for Video, I would also include SQLite in the mix. Since it is SQL base and It is contained in a C-library that is embedded to the app that is about to use it. Note that it does not consist of a separate service or daemon running on the background and attached to the app.It works on Android and IOS.
Cool! Thanks for the insights. :)
- Kat
I am new at iOS Development and i am trying to find out which database management is the best for my app. Now i found. Thx man
Glad to hear that - Pat
I like the idea of using a database (in case i build an app that needs one) that is not tied to iOS, just in case an app has the success that makes it is a good idea to port it to other platforms
Firebase, Amazon Web Service. You don't want to use CloudKit which is tied to Apple.
@AdrienVillez
Good job Chris. I would definitely add Google FireStore - I just finished developing a set of iOS apps that operate my wife’s chiro clinic and integrates with Square point of sale. The FireStore is better than Firebase due to the ways you can organize data, and much easier to navigate - actually closer to SQL. Lightening fast. And a very generous free tier, and SDKs for Android and web development. Worth a long look. Thx for this video.
Thanks Dr Craig! That sounds really good!
Thank you! It helped me in one take to understand all the databases for iOS.
Great to hear! You're welcome!
- Kat
Great intro!! Amazing how clear and in-depth you explain everything and make it all look so easy!
Thank you so much for your kind words!
-Kat
Can you tell me about Cassandra and datastax ...How is it different from the one you mentioned?
Hello, we are all (our team) not really familair with datastax, by searching into it, it seems like a cloud based database , i think its similar to firebase as it is cloud based and that it is not sql based
- Francis
Great explanation!
My app does not need support for connected scenarios, so storing locally on the device seems like the simplest and hence best option. For now I went with Realm, because the entry barrier seemed lower.
However, with data stored on the device, the user loses all data when switching to a new iPhone, which is inconvenient. How could I ensure that the user can keep their data when switching devices? Should I be backing up the Realm file to iCloud?
Hello, its possible to have the file synced on a cloud service if you want, or you can just use a cloud service directly like firebase, it also enabled multiple ways to access your file not just on one device
- Francis
Thanks for this material. Showing advantages and disadvantages in the use of various databases has helped me alot.
Thanks! Super explanation!!! I understood more about CoreData, too.
That's what we like to know! Thank you for learning with us! -Arthur
Another great video! Very helpful explanations of pros/cons and when to use what.
Oh wait... I'm gonna start a UA-cam Comment Inception here! (ua-cam.com/video/jniJeamcIUU/v-deo.html&lc=UgxMr4LB5azsyspsKLp4AaABAg)
Just today, I have 3 motivated developers who want to build the next Vine/TikTok, let's go!
@AdrienVillez
this is quite old but still pretty up-to-date. your way ahead of your time Chris
Too kind, Daniel, thanks for your support! :) -Arthur
I'm really impressed with all your videos and pleased to use them in my studies. Are you able to cover MongoDB as well?
Thank you! We haven't used MongoDB before, but here's a helpful resource for that docs.mongodb.com/manual/
- Kat
Why is this guy so friendly. He should be more vicious and aggressive.
Next time, we will throw a chair or break a coffee mug if you want!
@AdrienVillez
Great video. Will you do a part 2? My personal favorite is Redis but usually store most user-data/private data in Core Data since it easily available and no need to include 3rd party libraries that waste space.
Thanks for commenting Jesper! I'll start expanding on each of the options and may cover more into the future but i'm actually itching to do another series of videos where we actually build something! A few more weeks of standalone videos and i'm going to try to do another video series.
I think the most important issues for any iOS developer is to first ask two questions:
First, do I want an SQL (Core Data & SQLite database or a NoSQL database (Realm & Couchbase Lite)?
Second, do I need cross platform (Android + iOS)? - then use Firebase, MongoDB (Realm)
SQL and NoSQL are very different solutions for different problems.
Super insightful, William! Thanks for sharing! :-) -Arthur
Great explanation sir ❤, I'm using react native and node.js as framework and backend for app development . i want to learn full stack app dev , which database should i go for ? Mainly i have seen people using Mongodb for this , but im not sure which one should i go for.
Hello, it depends on the purpose and nature of the app you are trying to make, you can even use SQLite if you want, or maybe CoreData or even something as simple as UserDefaults
- Francis
@@CodeWithChris thank you sir.
Hi Chris! first of all, i just subscribed to your channel because i believe i can learn ALOT from you than a normal udemy course. My question is this, i am using MSSQL server to build an app and as for best practices, as you mentioned, a middle layaer is IMPORTANT. I am wondering if you ever heard about how secure Azure is and will it be a good choice?
Hello, Azure is quite popular it should be good, however our videos are on Firebase most of the time so you might want to take a look a time if you want, because along with the database it comes with a cloud storage (firestore) for photos and videos if you need them. it also has built-in persistence( which simply means data can still be accessed even when offline as long as you already loaded it )
- Francis
Using MySQL as backend is better for high user load scenario right?
Hello, not really it all depends on how you design your code, but yeah it might be good if the database has some sort of cache for fast loading of data, Firebase can also be a good solution for this
- Francis
Very good overview. Thank you.
Thanks for watching! - Pat
Hey Chris is this video relevant for swift today or should I look for a newer version
For Swift, I think it should be pretty close! Now REALM is a thing of the past indeed.
Maybe time for a SwiftUI refresh of this series!
I'll add it to your idea's board!
@AdrienVillez
Thanks for the awesome video! Would it be too much of a hassle to switch databases down the road? For example from firebase to mysql ?
Hello, i figure it would be such a mess and firebase is quite differently structured compared to sql, but it is possible, it might need some time and effort though
- Francis
Hmm, I’ve already started my app using core data. Can I use both core data and CloudKit? For example, the user does a search of a map, the map is then populated with annotations of the places. I would like to save the search but I don’t think it needs to be saved on a server. When the user finds the particular place they want they can save that place to a category, similar to google maps, but I want this data to be saved on the server.
yes you can use more than 1 database simultanously but its up to you how to manage the data, it might also take longer to sync data because you are loading data from different sources
- Francis
Thank you for the video! Two follow up questions that would be great to know are: Is Coredata exclusive (or semiexclusive) to ios similar to cloudkit? And vice versa is realm.io database agnostic to ios and android like firebase?
Hello, CoreData is exclusive to ios, also if you want to learn more about realm and firebase try reading this article github.com/vaquarkhan/vaquarkhan/wiki/Firebase-vs-Realm
- Francis
Firebase has been a great solution for me!
Me too!
Enjoyed the explanation of the different types of databases we can use when building an app. What about data encryption, especially for those where the data is stored remotely? What types of encryption can be used and is the decryption done at the database server, web server or locally?
Hey Peter, good point! I didn't think about considering that for each of the options. I'm going to do an article version of this video and will do some additional research so that i can add that consideration to the article. Thanks for pointing it out!
Looking forward to seeing that article.
Firebase is by far the easiest to manage user authentication. Even with Social logins. Would like to hear your thoughts on AWS.
Thanks David! Unfortunately I'm not familiar with using AWS for DB but i'll look into it for an upcoming article. Thanks!
Great explanation Chris.
I want to develop app which Will show the students timetable and give university news notifications
I thinks to use structred database as Mysql database.
Can I use Firebase ?
Hello, yes you can use firebase, you can create a "stucture" in firebase its just not connected (enforced relationship) like in mysql, but technically it will work the same if you have an "primaryID" linked to a "ForeignID", its still a database afterall. Also along with the database it comes with a cloud storage (firestore) for photos and videos if you need them. it also has built-in persistence( which simply means data can still be accessed even when offline as long as you already loaded it )
- Francis
Are these databases only used to fetch Video and Images ? because i never use mySql to fetch any video?
Hello, like all database it depends on how you design it, all of these can store data, in a general sense it means it can store anything, strings, boolean, and even link to images/video. some of them can save the resource in the could as well so you can save any file that you want, documents, text, images, videos and have it ready for use to your app
- Francis
Hello sir
Can i share information between 2 apps in MySQL.
I need when customer order food in the customer's app to show pop-up that has information about the order details to the restaurant in the restaurant's app this pop-up has accept and cancel buttons
Hello, for this to work i suggest doing it in firebase, and instead of the "apps communicating" make it so that they both use the same database, then you can listen if there are changes in the other data (orders) and have it reflect on your other app.
and honestly, it can even be in the same app, just different users (waiter and admin maybe?) to have a different screen/UI shown based on the user that logged in
- Francis
nice explaination
Cheers! Thanks for watching. :-) -Arthur
i think the cheapest solution is:
store the data locally and sync to user's cloud (google drive/icloud)
Thanks for your suggestion!
Question 1:
Which one is good for beginner ?
Question 2:
Which one is good for iOS developer ?
Question 3:
Do I need to learn all of them in order to be an iOS Dev ????
Please I need to learn this
Hello, best if you post this question on our CodeCrew forum so that our technical support staff can give you guidance. Go here: codecrew.codewithchris.com. Thanks for learning with us! -Arthur
I want to design an app that has a database with all the inventory available and allows users to add their inventory to it. The users also need to be able to select certain inventory they choose to purchase, making it unavailable in the app afterwards. Thanks for the help so far!
Hello! We can help you more at codecrew.codewithchris.com. That's our forum community. Our technical support staff will assist you there. See you around! -Arthur
I prefer CloudKit and Core Data because its Apple Build in option to managing data
Valid opinion! Thanks for commenting!
i want to create a dating app or an app to make friends.. i have no idea what database to use i want people to also be able to live stream on it and chat with there matches. hope this makes sense
Hello, not sure about live streaming but Firebase should be a good base choice because along with the database it comes with a cloud storage (firestore) for photos and videos if you need them. it also has built-in persistence( which simply means data can still be accessed even when offline as long as you already loaded it )
- Francis
Thanks for the awesome video! so helpful!! When talking about Firebase you mentioned a the quiz module in the beginner course. Can you please share the link to that course? In general if I am new to database where (what video) should I start?
Thanks! This might be what you're looking for: codewithchris.com/beginnercourse/
It also has a Database course
-Kat
Hey Chris, I have an idea to create a chat app somewhat like whatsapp to do what sort of database should I use . I have an idea to use firebase but still I'm confused whether can I use that one or something like postgresql. Pls help me out
Hello, firebase is a pretty good option because its from google so its fast and has good support. pretty cheap as well. and along with the database it comes with a cloud storage (firestore) for photos and videos if you need them. it also has built-in persistence( which simply means data can still be accessed even when offline as long as you already loaded it )
- Francis
@@CodeWithChris thanks a lot
Hi Chris. What are your thoughts on Parse using Back4App? Or hosting your own parse server. It seems easier to learn than Firebase and the geolocation queries are implemented out of the box. I’m just developing my app and being able to search for locations that are close to the user is a critical feature. Thanks
I wasn't aware of this Back4App! Looking at the website, this looks promising!
I'm curious to see a more in depth comparison with, let's say, Firebase/Firestore and others.
Ok, so Geolocation is a big feature for you and Back4App offers this in a couple of lines of code?
Interesting... gonna keep an eye on this! Thanks for bringing that up!
@AdrienVillez
Sure did! Thanks for the video!
Thanks for watching!
For a beginner, Core Data database option appeals most as it is built-in Xcode feature. Can you also give real-time app scenarios of one or two iOS apps where core data is best used? This helps one to decide a database option for their app based on the complexity of the data storage that app dictates.
Great suggestions! We'll see what we can do. -Arthur
didnt knew about cloudkit, seems to be the best, but im more familiar with mysql
Familiarity is a reason to use something depending on your goals! This relates to my topic for next week's video :)
Many thanks for your efforts Chris. Two questions please, which languages should I learn before using Xcode as a frontend and Firebase as a backend and is Firebase scalable for a 10m+ IOS app users (something similar to Snapchat)? Thanks
Hey Firebase is definitely scalable. We're talking about Google data centers here! You should learn Swift if you're going to work with Xcode. Thanks for learning with me!
Thanks Chris. Of course I would learn with you, your videos are awesome
your thoughts on sqlite...?
Very helpful video, now I understand. Quick question, if I'm building an app for a business, which is suggested? I've been doing some research but cannot come to a conclusion. MySQL sounds nice because i also want to connect a website which also access the data but it sounds like a lot of work.
MySQL will be work because you need to connect everything. I really like Firebase because it works on both iOS and Android but also offers access for web. I also like all the "free" features that comes with it like Analytics, Payment system, etc etc.
Maybe start small, grow with Firebase. If the business grows and make money you can or hire another dev who knows MySQL or take some time to add it yourself.
-Adrien
Hi, if I want to create an iOS app should I use Firebase RealtimeDatabase? I think that's my best option since I know how to use it perfectly and I think it's the easier way. However I want to know what you think about it.
"Hello, should be fine if thats what you are comfortable with I'm just not too sure how it works when you have or don't have internet though
- Francis"
By web service for apps ,do you mean RESTful web services?
Hello, yes that can also be an option, most web services are called API though doesn't matter if its REST
- Francis
We are currently using Realm Database for our app and having some issues with low signal data retrieval. The app drains the battery and some of the data disappears and comes back when you have signal. We built it with offline in mind, but not low signal. Currently we are looking at switching to firebase to solve this issue. Do you have any thoughts on which way to go?
Hello, firebase seems like a good choice because along with the database it comes with a cloud storage (firestore) for photos and videos if you need them. it also has built-in persistence( which simply means data can still be accessed even when offline as long as you already loaded it ) .. you might need to customize it a bit though so that it load from "cache" first before it loads from server.
- Francis
Is it possible using one of these Databases to have an app and computer program communicate to each other? Like sending a order from the computer and it show up on the specific cellphone?
You can always keep Realm as a local DB and use Firebase for your online communication. Maybe you don't even need to go that far if you have an intranet.
The great thing about Firebase is that you don't have to worry about building the brain of the servers and also it's free for a long time!
@AdrienVillez
If I have a web application and iOS application and both are sharing the same database, then please let me know the best databse solutions for the same?
You could look into Firebase
Please suggest me the videos links or article which can help me to work with both web and iOS application using single firebase database.
Hi Chris.... nobody talks about Vapor? what do you think about it?
Hello, it seems that vapor is framework that helps manage a database but is not a database itself so you cant compare it to databases
However, it should be a nice tool to be able to easily manage a database using common syntax
- Francis
Great video! Thank you so much! May I ask you if how can I authenticate users on Android devices? And is there a way to migrate from CloudKit to AWS?
Hello, sorry, we are only focused exclusively on iOS app development. -Arthur
Great it is Chris, but i think with realm we can sync the database, i mean we can access the database in cloud, correct me if i'm wrong.
Hey Siva, yeah they have two products, Realm Database and Realm Cloud. Realm Cloud allows you to do data sync but comes with a fee i think. Whereas Realm Database is local and open source
Thanks for clarifying Chris, yes it comes with paid plan for additional features.
Thanks for this vedio, would you talk about AWS mobile database? Thanks
I love this dude!
Thank you!🙌
- Kat
If app features include: Receive and send photo, sign in with Apple/Admin and user. In this case, is CloudKit enough?
If you want your app to run on all iOS devices, CloudKit will be great as you won't even need to create login and registering process. If it goes on website or Android later, maybe Firebase is a better solution
@AdrienVillez
What about android? Non Iphone based?
Hi Chris! Just discovered you about a week ago and really enjoying your content. My parents own a small business and I would really like to make an app for them. My mom is in the office and my dad tests backflow valves at homes. I want my dad to be able to access a pdf file, fill out the information, and send it off to the appropriate district, or my mom. I was wondering what database you think would be best for this?
"Hello, does it need to be a pdf specifically?, i think it would be best to work with something like google sheets, or you can design some textboxes in your app and have it output a pdf/excel file then save it to some drive or dropbox somewhere.
if you are really looking for a database solution then cloud database is the way to go, i suggest trying out Firebase we have some videos on that as well but its a bit outdated now (the free youtube ones)
- Francis"
What are your views on Mongo DB?
Hello, not really familiar with MongoDB but it seems similar to firebase. i suggest going for firebase though because along with the database it comes with a cloud storage (firestore) for photos and videos if you need them. it also has built-in persistence( which simply means data can still be accessed even when offline as long as you already loaded it )
- Francis
Need Help! Which database is best for developing ios app for users and storing videos and sharing contents with great simple easy using scalable and low cost ?
Firebase is always great as a start but it can get pretty expensive over time (from the stories I read online).
The best would be to be using your own servers. For practice and get started tho, you can always go with Firebase until you get the help you need with the rest.
@AdrienVillez
just want to say keep it up good content
Thank you! 🙌🥳
- Kat
i am big fan of Nosql database because i do not learn about the data structure how nomolization bla bla....And mostly i am a mobile developer (ios) so nosql is better
Nice! For me, it was the opposite so nosql is something that was new to me when it was first introduced
This is amazing! this is going to help me so much when creating my app. What do you think about AWS?
Yes of course. The great thing about Firebase is that Google as so many other tools too like Analytics, Stripe, AdMobs, etc.
-Adrien
@@CodeWithChris Yeah I am now starting to implement a lot of this and the thing is AWS isn't that user-friendly I think. Google makes a lot of it super easy. How would you implement live streaming into an app using firebase?
I haven't even looked at AWS, but I know they don't have that much to offer. I'm very happy to get my daily analytics for my apps on the App Store, and it's free for now! So for now, I'll just stick with Firebase :)
Edit: Forgot to answer. What kind of live streaming? Same style of Periscope? I do not know the detail and technicality of a live streaming.... gonna need some research tho. Now video is data and data is hosted on a server soooooo my wide guess would say yeah maybe....
-Adrien
Thanks for the video.
wow.. amazing .will definitely come for more videos .. :)
Please come again!!!!!!!!
@AdrienVillez
I have watch this video with interest, however it says watch the next video for your options... which video is it?
This video is a little bit of a stand alone but if you need more iOS and Swift videos, here is the correct order to watch them: bit.ly/iOS28Days
-Adrien
Seems like Firebase is the way to go if you also want to implement the app on Android.
...and website, and tvOS, and Mac, and...
@AdrienVillez
thanks alot man
You're so welcome! :-) -Arthur
Can you use Cloudkit to create login/sign up screens?
I don't think CloudKit has a log in page. Technically it has one I read one day in the documentation but since iCloud is linked to the Apple ID and technically the user should habe an Apple ID to operate his iPhone....
@AdrienVillez
Christ you seemed to suggest that Firebase is more expensive but easier to use (and Android friendly). Could you tell us a little more about the cost, and why its easier? And how would you use the Android aspect (without duplicating the IOS code in Android code)?
"Hello, this video is a bit old and the pricing was in a fixed price before.. now they updated the price and its quite cheap and affordable especially for small apps/developers.. i suggest to check it out its basically a full package like offline mode, cloud storage, database, analytics, ads, push, etc
- Francis"
Nice video, thanks. Please cover influxDb and interfacing it in an Xcode project !
Thanks for suggestion! Kindly post it here: app.productstash.io/codewithchris#/ideas -Arthur
Hi Chris, thanks for the guidance! I’m making a light weight app that will display some charts based on a fixed data set that I have in an excel file. I’ll only need to update the underlying data set once per year. Any suggestions on easiest database solution in this case? As of now I’m thinking Realm. Thank you!
Hello @michaelmcconnell7122 thank you for taking the time to comment!
I agree that Realm is an excellent choice given its lightweight nature and ease of use, especially for a small data set that only requires yearly updates. However, there's another options like bundling it on a JSON file or you may want to consider: SwiftData, a new native solution that integrates well with iOS. Currently, SwiftData is still in beta and might be subject to changes, so its use comes with certain risks.
If you are interested in SwiftData, I would recommend researching and learning about it while continuing to use Realm for your app. Once SwiftData has its official release, and if it suits your needs, you could consider transitioning from Realm to SwiftData. This approach will give you the opportunity to leverage the benefits of SwiftData while maintaining the stability of your application in its early stages.
You can start with this resources:
codewithchris.com/swift-data/
azamsharp.com/2023/07/04/the-ultimate-swift-data-guide.html
--Joash
@@CodeWithChris really appreciate such a detailed reply, thank you! I’m planning to move forward with Realm for now. Any suggestions for best iOS charting library? I’d say my main priorities are ease of use and low cost (or free?) 🙏
You may want to check SwiftUICharts (github.com/willdale/SwiftUICharts)
Hi Chris, just wanted to follow up and let you know that I made it from zero Swift experience to the App Store in about 3 weeks! Your videos were instrumental in figuring out how to get up and running. I ended up not needing a database at all, as my data set is quite small so I included it as a CSV file inside the app bundle. Thank you again!
please help me , i have sqlite database there are data i want to access to it by swift .
Please visit our support page and provide screenshot and code that we can help you!
bit.ly/CWCCommunity
@AdrienVillez
Thanks
No problem! - Pat
Hey Chris, I want to build an app where users can upload their own content and can be viewed by other users. Also would like the users to download the content that the users uploaded and be able to save it for offline view. What would the best solution to this be?
Hello, I suggest Firebase because along with the database, it comes with a cloud storage (Firestore) for photos and videos if you need them. It also has built-in persistence (which simply means data can still be accessed even when offline as long as you already loaded it) and best of all the free plan gives quite a lot of freedom for small developers to work on :)
-Kat
@@CodeWithChris I'm going to give it a try. Thanks!
Can mysql be realtime ?
You always have to be the one to query it. Firebase is realtime because it "pushes" to the client when there are changes whereas MySQL, the client has to keep "checking"/"pulling"/"polling" however you want to say it.
@@CodeWithChris therefore mysql is not ideal for mobile? because mobile you see is built to be realtime right?
A real time database like Firebase is better because if something hash changed on the servers and your app needs to be aware about it, mysql won't know or check if the user doesn't manually trigger it.
So technically, MySQL is not the best option. (unless someone who as a better knowledge than me on what can happen on a server can answer this thread!)
I would ask the question on StackOverFlow and I'm sure you can find a very qualified programmer who works with this daily!
@AdrienVillez
@@CodeWithChris thank you so much it will be much appericiated if you make a video discussing about it
Core data and realm look best for my application
Since both are offline databases, just use the simplest one. That would be Realm.
-Adrien
@@CodeWithChris When we should choose an online DB and we should choose an offline DB ?
Check out FMDB if you are more familiar with SQL structure
Hello, I am going to create an application that needs to collect information from all users to share it in real time in the application. Mainly its use will be sharing the location of the user, the time spent there and the moment they were there. Would you recommend something special for the database? I am also considering options with which to program the application, it is for android. -Thank you!
"Hello, for that then i highly suggest some sort of cloud database for easy sync, you can use Firebase for that, but your logging of information you might need to do it manually or keep updating the database in regular intervals (but its not ideal because that uses up precious write counts)
- Francis"
@@CodeWithChris Thank you! Does Firebase specifically support, for example, that when a user performs a specific action, it gets represented in some way on the devices of other users?
whats the difference between webserver amd chat server ?
"Hello, it could be the same thing because they are both servers and are running commands that will return and process data whenever you send or request data to it
- Francis"
How exactly should you connect to a mysql database
Hello, kindly post your question in our CodeCrew forum so that our tech support staff can assist you. Go here: codecrew.codewithchris.com. Thank you! -Arthur
awesome video
Thanks!
- Kat
Good video, con hoy do tutorials for Firebase?
Firebase tutorials are coming up! If nothing changes, it'll be July 23!
Hi, Can we access user iCloud data?(photos, videos he has stored on his iCloud)
You can: developer.apple.com/documentation/uikit/uidocumentbrowserviewcontroller
-Adrien
Can you please upload sqlite iOS application tutorial
Hello Bhushan! Thanks for the suggestion. This is a helpful tutorial owlcation.com/stem/Tutorial-on-Creating-an-IOS-5-SQLite-Database-Application-IOS-5-SQLite
Kat
@@CodeWithChris I appreciate you but I need tutorial using only swift sqlite without using objective c.
Hi Chris, this marlin i love your videos and I thank you for a verry good Educational Classes, how to creat an App. and i know nothing about app, or codes,
A Question for you i have a website with Bandzoogle, so many years now, i want to create my won App, and and Run my business from my App. can i do it and how to start and what to do. thank you.
Not sure what's Bandzoogle.... ok I checked and I see what is it. If you have a band, I think the best option you have is a website like this. You can reach all the people with your website AND the store. Building this in iOS will be time consuming and you'll need to create it for both Android and iOS.
You can still go ahead and learn Swift but for small businesses or like group, I still believe that a website with mobile support if the best.
@AdrienVillez
what about AWS ???? a cloud service ?
Best if you post this question in our CodeCrew forum so that our tech support staff can assist you. Go here: codecrew.codewithchris.com. Thank you! -Arthur
But how to access the databases of a website.
You mean your own website?
Both of them someone's web and mine
Well I know that inspect the code of any website is the best thing that i know to hack something
Do you know what kind of databases each of them are? That will dictate how your app will get access to them
Sorry, i was mistaken. If you're talking about gaining unauthorized access to a database then i'm not the one to talk to lol
PostgreSQL please
realm
Thanks for sharing! -Arthur
@@CodeWithChris I want to ask you something please.
I want to make a local database in my app, and make it sync wvery minute or every time I push a button, with cloud one like firebase, because of bad connections in my area, so I don't lose any data. Is that possible, and it would be great if you can demonstrate it with live code, thank you so much.
When you're talking to the camera please stop using so many hand gestures. Its really distracting. thank you
Sorry.... hard to loose habits from the past when Chris was presenting the weather channel.... he needs to stop!!
-Adrien