Тёмный
No video :(

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

CodeWithChris
Подписаться 596 тыс.
Просмотров 70 тыс.
50% 1

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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
@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
@codechamp2599
@codechamp2599 6 лет назад
you put alot of effort on teaching , i never watched dedicating teacher like you , thanks , respect from pakistan :)
@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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-BIHaFH4VybA.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
@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!!
@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
@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
@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
@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
@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
@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
@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!
@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
@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
@ellisz5972
@ellisz5972 Год назад
Very good overview. Thank you.
@CodeWithChris
@CodeWithChris Год назад
Thanks for watching! - Pat
@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 RU-vid Comment Inception here! (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-jniJeamcIUU.html&lc=UgxMr4LB5azsyspsKLp4AaABAg) Just today, I have 3 motivated developers who want to build the next Vine/TikTok, let's go! @AdrienVillez
@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!
@etaosin
@etaosin 5 лет назад
Thanks for this material. Showing advantages and disadvantages in the use of various databases has helped me alot.
@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
@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
@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.
@bbk-vines
@bbk-vines 4 года назад
nice explaination
@CodeWithChris
@CodeWithChris 4 года назад
Cheers! Thanks for watching. :-) -Arthur
@adincebic2992
@adincebic2992 6 лет назад
Firebase has been a great solution for me!
@CodeWithChris
@CodeWithChris 6 лет назад
Me too!
@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.
@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
@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
@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!
@warrenscorner
@warrenscorner 5 лет назад
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 5 лет назад
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
@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
@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
@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
@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
@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.
@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
@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
@jasoncatlyn7331
@jasoncatlyn7331 6 лет назад
Sure did! Thanks for the video!
@CodeWithChris
@CodeWithChris 6 лет назад
Thanks for watching!
@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
@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 :)
@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
@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
@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
@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!
@stevengao8345
@stevengao8345 6 лет назад
Thanks for this vedio, would you talk about AWS mobile database? Thanks
@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 4 года назад
Hello, yes that can also be an option, most web services are called API though doesn't matter if its REST - Francis
@SirTimbz
@SirTimbz 4 года назад
just want to say keep it up good content
@CodeWithChris
@CodeWithChris 4 года назад
Thank you! 🙌🥳 - Kat
@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
@jorgecastilleja5356
@jorgecastilleja5356 2 года назад
Thanks
@CodeWithChris
@CodeWithChris 2 года назад
No problem! - Pat
@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
@7billionviewsvideos972
@7billionviewsvideos972 3 года назад
thanks alot man
@CodeWithChris
@CodeWithChris 3 года назад
You're so welcome! :-) -Arthur
@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!
@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
@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
@IsuruSampath_sFlake
@IsuruSampath_sFlake 5 лет назад
wow.. amazing .will definitely come for more videos .. :)
@CodeWithChris
@CodeWithChris 5 лет назад
Please come again!!!!!!!! @AdrienVillez
@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
@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...?
@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
@adammarez2684
@adammarez2684 4 года назад
I love this dude!
@CodeWithChris
@CodeWithChris 4 года назад
Thank you!🙌 - Kat
@swiftyfly5656
@swiftyfly5656 3 года назад
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 3 года назад
"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"
@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
@chulun20042001
@chulun20042001 6 лет назад
Thanks for the video.
@Decatilinae
@Decatilinae 5 лет назад
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
@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.
@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.
@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
@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"
@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
@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?
@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
@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
@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
@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
@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
@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"
@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
@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
@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"
@marianopatino-paul5062
@marianopatino-paul5062 4 года назад
awesome video
@CodeWithChris
@CodeWithChris 4 года назад
Thanks! - Kat
@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
@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
@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!
@dillondavis1895
@dillondavis1895 5 лет назад
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 5 лет назад
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 5 лет назад
@@CodeWithChris I'm going to give it a try. Thanks!
@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.
@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?
@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!
@HumbleHustle101
@HumbleHustle101 6 лет назад
Hi, Can we access user iCloud data?(photos, videos he has stored on his iCloud)
@CodeWithChris
@CodeWithChris 6 лет назад
You can: developer.apple.com/documentation/uikit/uidocumentbrowserviewcontroller -Adrien
@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
@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
@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
@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
Далее
iOS Core Data QuickStart Tutorial 2020
1:10:58
Просмотров 101 тыс.
Firebase Tutorial for iOS
13:34
Просмотров 88 тыс.
CloudKit - Intro, Pricing, Terms, & Definitions
17:26
15 futuristic databases you’ve never heard of
8:42
Просмотров 666 тыс.
DHH discusses SQLite (and Stoicism)
54:00
Просмотров 59 тыс.
What is JSON - JSON Parsing in Swift
24:15
Просмотров 73 тыс.
7 Database Paradigms
9:53
Просмотров 1,6 млн
Database Indexing for Dumb Developers
15:59
Просмотров 53 тыс.
Database Sharding and Partitioning
23:53
Просмотров 79 тыс.