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....

КОМЕНТАРІ • 213

  • @CodeWithChris
    @CodeWithChris  5 років тому +3

    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

  • @CodeWithChris
    @CodeWithChris  6 років тому +14

    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!

  • @ashishbl
    @ashishbl 4 роки тому +8

    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 років тому +12

    you put alot of effort on teaching , i never watched dedicating teacher like you , thanks , respect from pakistan :)

  • @balamadras
    @balamadras 4 роки тому +3

    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: ua-cam.com/video/BIHaFH4VybA/v-deo.html :)
      - Kat

  • @xMhnd
    @xMhnd 6 років тому +4

    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.

  • @avischiffmann6220
    @avischiffmann6220 5 років тому +7

    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

  • @hearsayAgain
    @hearsayAgain 4 роки тому +1

    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

  • @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

  • @Dennis-ow9dd
    @Dennis-ow9dd 5 років тому +1

    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

  • @dr.craigcurphey4829
    @dr.craigcurphey4829 6 років тому +1

    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!

  • @rohitozvlogs1617
    @rohitozvlogs1617 4 роки тому +1

    Thank you! It helped me in one take to understand all the databases for iOS.

  • @walkbox6596
    @walkbox6596 5 років тому +2

    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

  • @Shubham-ny2ce
    @Shubham-ny2ce 4 роки тому +1

    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

  • @toms6737
    @toms6737 4 роки тому +3

    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

  • @etaosin
    @etaosin 5 років тому +1

    Thanks for this material. Showing advantages and disadvantages in the use of various databases has helped me alot.

  • @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

  • @delaneyjohns9884
    @delaneyjohns9884 4 роки тому +1

    Another great video! Very helpful explanations of pros/cons and when to use what.

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      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

  • @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

  • @RicardoEPires
    @RicardoEPires 4 роки тому +2

    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

  • @lg2058
    @lg2058 5 років тому +3

    Why is this guy so friendly. He should be more vicious and aggressive.

    • @CodeWithChris
      @CodeWithChris  5 років тому +3

      Next time, we will throw a chair or break a coffee mug if you want!
      @AdrienVillez

  • @Jeppelelle
    @Jeppelelle 6 років тому +1

    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.

  • @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

  • @satyamshah9164
    @satyamshah9164 4 роки тому +2

    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 роки тому +1

      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 роки тому +1

    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 роки тому +1

    Using MySQL as backend is better for high user load scenario right?

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      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

  • @ellisz5972
    @ellisz5972 Рік тому

    Very good overview. Thank you.

  • @kstackz8249
    @kstackz8249 2 роки тому +1

    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

  • @olafo0o797
    @olafo0o797 4 роки тому +1

    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

  • @warrenscorner
    @warrenscorner 5 років тому +3

    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

  • @shanesimpson9725
    @shanesimpson9725 4 роки тому +1

    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

  • @adincebic2992
    @adincebic2992 6 років тому +1

    Firebase has been a great solution for me!

  • @pat0181
    @pat0181 6 років тому +1

    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.

  • @davidlintin
    @davidlintin 6 років тому +1

    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 років тому +1

      Thanks David! Unfortunately I'm not familiar with using AWS for DB but i'll look into it for an upcoming article. Thanks!

  • @ulrichwilliam24
    @ulrichwilliam24 4 роки тому +1

    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 роки тому +1

      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

  • @Shubham-ny2ce
    @Shubham-ny2ce 4 роки тому +1

    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

  • @ammar.refaaia
    @ammar.refaaia 4 роки тому +2

    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

  • @bbk-vines
    @bbk-vines 4 роки тому +1

    nice explaination

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Cheers! Thanks for watching. :-) -Arthur

  • @jehanmuse330
    @jehanmuse330 6 років тому +1

    i think the cheapest solution is:
    store the data locally and sync to user's cloud (google drive/icloud)

  • @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

  • @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

  • @ammarahmad9004
    @ammarahmad9004 6 років тому +1

    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 роки тому +1

    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

  • @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

  • @dhakshnamoorthy8673
    @dhakshnamoorthy8673 4 роки тому +1

    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 роки тому +1

      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

  • @mevanslondon
    @mevanslondon 5 років тому +1

    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

  • @jasoncatlyn7331
    @jasoncatlyn7331 6 років тому +1

    Sure did! Thanks for the video!

  • @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

  • @MrBrightsides
    @MrBrightsides 6 років тому +1

    didnt knew about cloudkit, seems to be the best, but im more familiar with mysql

    • @CodeWithChris
      @CodeWithChris  6 років тому +1

      Familiarity is a reason to use something depending on your goals! This relates to my topic for next week's video :)

  • @mohammedjreo
    @mohammedjreo 6 років тому +1

    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 років тому +1

      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...?

  • @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 років тому +1

      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 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"

  • @tanaykamath1415
    @tanaykamath1415 4 роки тому +1

    By web service for apps ,do you mean RESTful web services?

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      Hello, yes that can also be an option, most web services are called API though doesn't matter if its REST
      - Francis

  • @mccontractingllc
    @mccontractingllc 3 роки тому +1

    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

  • @nicksfilms6891
    @nicksfilms6891 5 років тому +1

    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

  • @Ashishspy
    @Ashishspy 6 років тому +1

    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.

  • @Decatilinae
    @Decatilinae 5 років тому +1

    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

  • @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

  • @sivakrishna5293
    @sivakrishna5293 6 років тому +1

    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 років тому +1

      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.

  • @stevengao8345
    @stevengao8345 6 років тому

    Thanks for this vedio, would you talk about AWS mobile database? Thanks

  • @adammarez2684
    @adammarez2684 4 роки тому +1

    I love this dude!

  • @jakemars2601
    @jakemars2601 4 роки тому +1

    If app features include: Receive and send photo, sign in with Apple/Admin and user. In this case, is CloudKit enough?

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      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?

  • @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"

  • @akshatjainbafna
    @akshatjainbafna 4 роки тому +1

    What are your views on Mongo DB?

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      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

  • @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

  • @SirTimbz
    @SirTimbz 4 роки тому +1

    just want to say keep it up good content

  • @MuhammadAli-zv5vz
    @MuhammadAli-zv5vz 6 років тому +1

    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

  • @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 років тому +1

      @@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

  • @chulun20042001
    @chulun20042001 6 років тому

    Thanks for the video.

  • @IsuruSampath_sFlake
    @IsuruSampath_sFlake 5 років тому +1

    wow.. amazing .will definitely come for more videos .. :)

    • @CodeWithChris
      @CodeWithChris  5 років тому +1

      Please come again!!!!!!!!
      @AdrienVillez

  • @Paulhotmale
    @Paulhotmale 5 років тому +1

    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

  • @Live_without_fear
    @Live_without_fear 5 років тому +1

    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

  • @7billionviewsvideos972
    @7billionviewsvideos972 3 роки тому

    thanks alot man

  • @pabloduhamel3366
    @pabloduhamel3366 5 років тому +1

    Can you use Cloudkit to create login/sign up screens?

    • @CodeWithChris
      @CodeWithChris  5 років тому +1

      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

  • @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 роки тому +1

      "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"

  • @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

  • @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  Рік тому +1

      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  Рік тому +1

      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!

  • @abdulbasetalmasehali136
    @abdulbasetalmasehali136 5 років тому +1

    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

  • @jorgecastilleja5356
    @jorgecastilleja5356 2 роки тому

    Thanks

  • @dillondavis1895
    @dillondavis1895 4 роки тому +1

    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 роки тому +1

      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!

  • @daksmemes7428
    @daksmemes7428 5 років тому +2

    Can mysql be realtime ?

    • @CodeWithChris
      @CodeWithChris  5 років тому +1

      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 років тому +1

      @@CodeWithChris therefore mysql is not ideal for mobile? because mobile you see is built to be realtime right?

    • @CodeWithChris
      @CodeWithChris  5 років тому +1

      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

  • @Paulhotmale
    @Paulhotmale 5 років тому +1

    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

  • @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 роки тому +1

      "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?

  • @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"

  • @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

  • @marianopatino-paul5062
    @marianopatino-paul5062 4 роки тому

    awesome video

  • @TheQuike99
    @TheQuike99 6 років тому +1

    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

  • @bhushanbadhe8360
    @bhushanbadhe8360 4 роки тому +1

    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.

  • @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 років тому +1

      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

  • @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

  • @vocelia
    @vocelia 6 років тому +1

    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 років тому +1

      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 років тому +1

      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

  • @bleulejour
    @bleulejour Рік тому

    PostgreSQL please

  • @walidbouz8560
    @walidbouz8560 3 роки тому

    realm

    • @CodeWithChris
      @CodeWithChris  3 роки тому +1

      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 років тому +1

    When you're talking to the camera please stop using so many hand gestures. Its really distracting. thank you

    • @CodeWithChris
      @CodeWithChris  5 років тому +1

      Sorry.... hard to loose habits from the past when Chris was presenting the weather channel.... he needs to stop!!
      -Adrien