Intro to Databases (MySQL, CloudKit, Firebase, Core Data, Realm)

  Рет қаралды 70,350

CodeWithChris

CodeWithChris

6 жыл бұрын

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.com/actionplan
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.apple.com/library/p...
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.com/
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.com/success-sto...

Пікірлер: 213
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@walidbouz8560
@walidbouz8560 3 жыл бұрын
realm
@CodeWithChris
@CodeWithChris 6 жыл бұрын
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!
@codechamp2599
@codechamp2599 6 жыл бұрын
you put alot of effort on teaching , i never watched dedicating teacher like you , thanks , respect from pakistan :)
@ashishbl
@ashishbl 4 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
That's awesome! Thank you for this feedback! - Kat
@etaosin
@etaosin 5 жыл бұрын
Thanks for this material. Showing advantages and disadvantages in the use of various databases has helped me alot.
@walkbox6596
@walkbox6596 5 жыл бұрын
Great intro!! Amazing how clear and in-depth you explain everything and make it all look so easy!
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thank you so much for your kind words! -Kat
@balamadras
@balamadras 4 жыл бұрын
Amazing video. Now I learned about these databases in just 20 mins. The information is crisp as needed.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Glad you liked it! We have another video here that might help you choose which database would be the best for your app: kzfaq.info/get/bejne/eK94lKl5mbzdknU.html :) - Kat
@avischiffmann6220
@avischiffmann6220 5 жыл бұрын
This was perfect for me, exactly what I needed to know for the app I am going to create.
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Is your app going to be online or offline? @AdrienVillez
@rohitozvlogs1617
@rohitozvlogs1617 4 жыл бұрын
Thank you! It helped me in one take to understand all the databases for iOS.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Great to hear! You're welcome! - Kat
@delaneyjohns9884
@delaneyjohns9884 4 жыл бұрын
Another great video! Very helpful explanations of pros/cons and when to use what.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Oh wait... I'm gonna start a KZfaq Comment Inception here! (kzfaq.info/get/bejne/oNSZfciS0smthYk.html&lc=UgxMr4LB5azsyspsKLp4AaABAg) Just today, I have 3 motivated developers who want to build the next Vine/TikTok, let's go! @AdrienVillez
@dr.craigcurphey4829
@dr.craigcurphey4829 6 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Thanks Dr Craig! That sounds really good!
@xMhnd
@xMhnd 6 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Thanks for your input!!
@hearsayAgain
@hearsayAgain 4 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Cool! Thanks for the insights. :) - Kat
@danielwatson6529
@danielwatson6529 2 жыл бұрын
this is quite old but still pretty up-to-date. your way ahead of your time Chris
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Too kind, Daniel, thanks for your support! :) -Arthur
@jasoncatlyn7331
@jasoncatlyn7331 6 жыл бұрын
Sure did! Thanks for the video!
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Thanks for watching!
@mika_chu
@mika_chu 3 жыл бұрын
Thanks! Super explanation!!! I understood more about CoreData, too.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
That's what we like to know! Thank you for learning with us! -Arthur
@RicardoEPires
@RicardoEPires 4 жыл бұрын
I'm really impressed with all your videos and pleased to use them in my studies. Are you able to cover MongoDB as well?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you! We haven't used MongoDB before, but here's a helpful resource for that docs.mongodb.com/manual/ - Kat
@muhammedeminbardakci1274
@muhammedeminbardakci1274 Жыл бұрын
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
@CodeWithChris
@CodeWithChris Жыл бұрын
Glad to hear that - Pat
@Jeppelelle
@Jeppelelle 6 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 6 жыл бұрын
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.
@chulun20042001
@chulun20042001 6 жыл бұрын
Thanks for the video.
@Dennis-ow9dd
@Dennis-ow9dd 5 жыл бұрын
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
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Firebase, Amazon Web Service. You don't want to use CloudKit which is tied to Apple. @AdrienVillez
@ellisz5972
@ellisz5972 Жыл бұрын
Very good overview. Thank you.
@CodeWithChris
@CodeWithChris Жыл бұрын
Thanks for watching! - Pat
@adammarez2684
@adammarez2684 4 жыл бұрын
I love this dude!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you!🙌 - Kat
@IsuruSampath_sFlake
@IsuruSampath_sFlake 5 жыл бұрын
wow.. amazing .will definitely come for more videos .. :)
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Please come again!!!!!!!! @AdrienVillez
@adincebic2992
@adincebic2992 6 жыл бұрын
Firebase has been a great solution for me!
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Me too!
@olafo0o797
@olafo0o797 4 жыл бұрын
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 ?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@toms6737
@toms6737 4 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@lg2058
@lg2058 5 жыл бұрын
Why is this guy so friendly. He should be more vicious and aggressive.
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Next time, we will throw a chair or break a coffee mug if you want! @AdrienVillez
@mevanslondon
@mevanslondon 5 жыл бұрын
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
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@nickei732
@nickei732 4 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@savionitzhaki9750
@savionitzhaki9750 4 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thanks! This might be what you're looking for: codewithchris.com/beginnercourse/ It also has a Database course -Kat
@warrenscorner
@warrenscorner 4 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@7billionviewsvideos972
@7billionviewsvideos972 3 жыл бұрын
thanks alot man
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You're so welcome! :-) -Arthur
@stevengao8345
@stevengao8345 6 жыл бұрын
Thanks for this vedio, would you talk about AWS mobile database? Thanks
@nicksfilms6891
@nicksfilms6891 5 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@pat0181
@pat0181 6 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 6 жыл бұрын
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!
@pat0181
@pat0181 6 жыл бұрын
Looking forward to seeing that article.
@SirTimbz
@SirTimbz 4 жыл бұрын
just want to say keep it up good content
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you! 🙌🥳 - Kat
@shanesimpson9725
@shanesimpson9725 4 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@ulrichwilliam24
@ulrichwilliam24 4 жыл бұрын
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 ?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@fidelhen6361
@fidelhen6361 5 жыл бұрын
This is amazing! this is going to help me so much when creating my app. What do you think about AWS?
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Yes of course. The great thing about Firebase is that Google as so many other tools too like Analytics, Stripe, AdMobs, etc. -Adrien
@fidelhen6361
@fidelhen6361 5 жыл бұрын
@@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?
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@ammar.refaaia
@ammar.refaaia 4 жыл бұрын
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
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@mohammedjreo
@mohammedjreo 6 жыл бұрын
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
@CodeWithChris
@CodeWithChris 6 жыл бұрын
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!
@mohammedjreo
@mohammedjreo 6 жыл бұрын
Thanks Chris. Of course I would learn with you, your videos are awesome
@ignite2k197
@ignite2k197 5 жыл бұрын
your thoughts on sqlite...?
@mccontractingllc
@mccontractingllc 3 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
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
@bbk-vines
@bbk-vines 4 жыл бұрын
nice explaination
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Cheers! Thanks for watching. :-) -Arthur
@satyamshah9164
@satyamshah9164 4 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@satyamshah9164
@satyamshah9164 4 жыл бұрын
@@CodeWithChris thank you sir.
@Shubham-ny2ce
@Shubham-ny2ce 4 жыл бұрын
Can you tell me about Cassandra and datastax ...How is it different from the one you mentioned?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@davidlintin
@davidlintin 6 жыл бұрын
Firebase is by far the easiest to manage user authentication. Even with Social logins. Would like to hear your thoughts on AWS.
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Thanks David! Unfortunately I'm not familiar with using AWS for DB but i'll look into it for an upcoming article. Thanks!
@lamapasang
@lamapasang 5 жыл бұрын
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 ?
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@kstackz8249
@kstackz8249 2 жыл бұрын
Hey Chris is this video relevant for swift today or should I look for a newer version
@CodeWithChris
@CodeWithChris 2 жыл бұрын
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
@pabloduhamel3366
@pabloduhamel3366 5 жыл бұрын
Can you use Cloudkit to create login/sign up screens?
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@rachelhorton6622
@rachelhorton6622 3 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"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"
@RedDeadKid7
@RedDeadKid7 5 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@swiftyfly5656
@swiftyfly5656 2 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
"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"
@MrBrightsides
@MrBrightsides 6 жыл бұрын
didnt knew about cloudkit, seems to be the best, but im more familiar with mysql
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Familiarity is a reason to use something depending on your goals! This relates to my topic for next week's video :)
@marianopatino-paul5062
@marianopatino-paul5062 4 жыл бұрын
awesome video
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thanks! - Kat
@kenbowen6024
@kenbowen6024 3 жыл бұрын
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!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
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
@jakemars2601
@jakemars2601 4 жыл бұрын
If app features include: Receive and send photo, sign in with Apple/Admin and user. In this case, is CloudKit enough?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@ownSystem
@ownSystem 3 жыл бұрын
What about android? Non Iphone based?
@Decatilinae
@Decatilinae 4 жыл бұрын
Hi Chris.... nobody talks about Vapor? what do you think about it?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@jorgecastilleja5356
@jorgecastilleja5356 Жыл бұрын
Thanks
@CodeWithChris
@CodeWithChris Жыл бұрын
No problem! - Pat
@dillondavis1895
@dillondavis1895 4 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@dillondavis1895
@dillondavis1895 4 жыл бұрын
@@CodeWithChris I'm going to give it a try. Thanks!
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 жыл бұрын
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
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 жыл бұрын
@@CodeWithChris thanks a lot
@sivakrishna5293
@sivakrishna5293 6 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 6 жыл бұрын
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
@sivakrishna5293
@sivakrishna5293 6 жыл бұрын
Thanks for clarifying Chris, yes it comes with paid plan for additional features.
@ushadesai6306
@ushadesai6306 4 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Great suggestions! We'll see what we can do. -Arthur
@tanaykamath1415
@tanaykamath1415 4 жыл бұрын
Using MySQL as backend is better for high user load scenario right?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@Ashishspy
@Ashishspy 6 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 6 жыл бұрын
You could look into Firebase
@Ashishspy
@Ashishspy 6 жыл бұрын
Please suggest me the videos links or article which can help me to work with both web and iOS application using single firebase database.
@path2ds863
@path2ds863 2 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Hello, sorry, we are only focused exclusively on iOS app development. -Arthur
@siddharthachatterjee9959
@siddharthachatterjee9959 2 жыл бұрын
Nice video, thanks. Please cover influxDb and interfacing it in an Xcode project !
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thanks for suggestion! Kindly post it here: app.productstash.io/codewithchris#/ideas -Arthur
@HumbleHustle101
@HumbleHustle101 5 жыл бұрын
Hi, Can we access user iCloud data?(photos, videos he has stored on his iCloud)
@CodeWithChris
@CodeWithChris 5 жыл бұрын
You can: developer.apple.com/documentation/uikit/uidocumentbrowserviewcontroller -Adrien
@Shubham-ny2ce
@Shubham-ny2ce 4 жыл бұрын
Are these databases only used to fetch Video and Images ? because i never use mySql to fetch any video?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@Paulhotmale
@Paulhotmale 5 жыл бұрын
I have watch this video with interest, however it says watch the next video for your options... which video is it?
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@abdulbasetalmasehali136
@abdulbasetalmasehali136 5 жыл бұрын
please help me , i have sqlite database there are data i want to access to it by swift .
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Please visit our support page and provide screenshot and code that we can help you! bit.ly/CWCCommunity @AdrienVillez
@michaelmcconnell7122
@michaelmcconnell7122 Жыл бұрын
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!
@CodeWithChris
@CodeWithChris Жыл бұрын
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
@michaelmcconnell7122
@michaelmcconnell7122 Жыл бұрын
@@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?) 🙏
@CodeWithChris
@CodeWithChris Жыл бұрын
You may want to check SwiftUICharts (github.com/willdale/SwiftUICharts)
@michaelmcconnell7122
@michaelmcconnell7122 Жыл бұрын
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!
@jehanmuse330
@jehanmuse330 6 жыл бұрын
i think the cheapest solution is: store the data locally and sync to user's cloud (google drive/icloud)
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Thanks for your suggestion!
@williamallen4607
@williamallen4607 3 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Super insightful, William! Thanks for sharing! :-) -Arthur
@ammarahmad9004
@ammarahmad9004 6 жыл бұрын
I prefer CloudKit and Core Data because its Apple Build in option to managing data
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Valid opinion! Thanks for commenting!
@christiankinyon2112
@christiankinyon2112 4 жыл бұрын
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
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@akshatjainbafna
@akshatjainbafna 4 жыл бұрын
What are your views on Mongo DB?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@tanaykamath1415
@tanaykamath1415 4 жыл бұрын
By web service for apps ,do you mean RESTful web services?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Hello, yes that can also be an option, most web services are called API though doesn't matter if its REST - Francis
@flamingocobra73
@flamingocobra73 3 жыл бұрын
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!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"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"
@flamingocobra73
@flamingocobra73 3 жыл бұрын
@@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?
@marlinkhoshababratdeel2250
@marlinkhoshababratdeel2250 5 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@TheQuike99
@TheQuike99 6 жыл бұрын
Good video, con hoy do tutorials for Firebase?
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Firebase tutorials are coming up! If nothing changes, it'll be July 23!
@Live_without_fear
@Live_without_fear 5 жыл бұрын
Seems like Firebase is the way to go if you also want to implement the app on Android.
@CodeWithChris
@CodeWithChris 5 жыл бұрын
...and website, and tvOS, and Mac, and... @AdrienVillez
@udaychetan2203
@udaychetan2203 3 жыл бұрын
whats the difference between webserver amd chat server ?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"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"
@natgenesis5038
@natgenesis5038 2 жыл бұрын
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
@CodeWithChris
@CodeWithChris 2 жыл бұрын
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
@MuhammadAli-zv5vz
@MuhammadAli-zv5vz 6 жыл бұрын
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
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Nice! For me, it was the opposite so nosql is something that was new to me when it was first introduced
@Paulhotmale
@Paulhotmale 5 жыл бұрын
Core data and realm look best for my application
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Since both are offline databases, just use the simplest one. That would be Realm. -Adrien
@didierp-a8050
@didierp-a8050 5 жыл бұрын
@@CodeWithChris When we should choose an online DB and we should choose an offline DB ?
@mehuldesai2666
@mehuldesai2666 5 жыл бұрын
Check out FMDB if you are more familiar with SQL structure
@davidjusvibin
@davidjusvibin 2 жыл бұрын
How exactly should you connect to a mysql database
@CodeWithChris
@CodeWithChris 2 жыл бұрын
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
@vocelia
@vocelia 6 жыл бұрын
But how to access the databases of a website.
@CodeWithChris
@CodeWithChris 6 жыл бұрын
You mean your own website?
@vocelia
@vocelia 6 жыл бұрын
Both of them someone's web and mine
@vocelia
@vocelia 6 жыл бұрын
Well I know that inspect the code of any website is the best thing that i know to hack something
@CodeWithChris
@CodeWithChris 6 жыл бұрын
Do you know what kind of databases each of them are? That will dictate how your app will get access to them
@CodeWithChris
@CodeWithChris 6 жыл бұрын
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
@daksmemes7428
@daksmemes7428 5 жыл бұрын
Can mysql be realtime ?
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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.
@daksmemes7428
@daksmemes7428 5 жыл бұрын
@@CodeWithChris therefore mysql is not ideal for mobile? because mobile you see is built to be realtime right?
@CodeWithChris
@CodeWithChris 5 жыл бұрын
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
@daksmemes7428
@daksmemes7428 5 жыл бұрын
@@CodeWithChris thank you so much it will be much appericiated if you make a video discussing about it
@gregohb
@gregohb 3 жыл бұрын
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)?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"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"
@bhushanbadhe8360
@bhushanbadhe8360 4 жыл бұрын
Can you please upload sqlite iOS application tutorial
@CodeWithChris
@CodeWithChris 4 жыл бұрын
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
@bhushanbadhe8360
@bhushanbadhe8360 4 жыл бұрын
@@CodeWithChris I appreciate you but I need tutorial using only swift sqlite without using objective c.
@natgenesis5038
@natgenesis5038 2 жыл бұрын
what about AWS ???? a cloud service ?
@CodeWithChris
@CodeWithChris 2 жыл бұрын
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
@bleulejour
@bleulejour Жыл бұрын
PostgreSQL please
@walidbouz8560
@walidbouz8560 3 жыл бұрын
realm
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thanks for sharing! -Arthur
@walidbouz8560
@walidbouz8560 3 жыл бұрын
@@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.
@drawangeldraw5438
@drawangeldraw5438 5 жыл бұрын
When you're talking to the camera please stop using so many hand gestures. Its really distracting. thank you
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Sorry.... hard to loose habits from the past when Chris was presenting the weather channel.... he needs to stop!! -Adrien
SwiftData Basics in 15 minutes
15:18
CodeWithChris
Рет қаралды 42 М.
What is JSON - JSON Parsing in Swift
24:15
CodeWithChris
Рет қаралды 73 М.
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 11 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 13 МЛН
Firebase vs Supabase - I Built The Same App With Both
6:21
Your Average Tech Bro
Рет қаралды 101 М.
Which Is Better? SQL vs NoSQL
9:43
Web Dev Simplified
Рет қаралды 284 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 413 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 347 М.
CloudKit - Intro, Pricing, Terms, & Definitions
17:26
Sean Allen
Рет қаралды 22 М.
iOS Core Data QuickStart Tutorial 2020
1:10:58
CodeWithChris
Рет қаралды 100 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 187 М.
Syncing SwiftData with CloudKit - SwiftData SwiftUI Tutorial 5/5
8:29
Core Data Tutorial - Lesson 5: Entities and Relationships
11:37
CodeWithChris
Рет қаралды 28 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 399 М.
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 11 МЛН