TWiT Throwback (Audio)

Coding 101 36: C# Collections


Listen Later

The Code for today's show is available below:

XAML Podcast App

Snubs Compiled
  • Joe Maruschek's C# Regex
  • Joe Maruschek's Image Downloader
  • Darryl Medley's Abstract Space Calculator
  • Ivory Tower

    Consider our Example Podcasting App:
    In talking about the advantages of Object Oriented programming, we've often talked about the ability to cut big problems into their component parts, which can then be coded. The Podcasting App is a good example of breaking down problems into their component parts.

    • Question: What needs to happen for this application to work?
    • Answer: There are actually two parts of this application
      1. The part of the program that accesses an external data source and makes that data usable by some sort of user interface.
      2. The part of the program that presents that data to the User
      3. Let's do that 2-Step process right with the "Model View ViewModel"

        The "Model" is an object that contains all the data and information that we have to use.

        The "View" is the UI: It's the later that the User interacts with. Some call it the "presentation". The View can take the data and information contained within the "Model" object and organize it in order to make it more presentable to the user.

        The "ViewModel"

        • This is the "interface" between the Model and the View
        • This is the piece that introduces "Presentation Separation"
          1. It gets to decide which data from the model is place in the View
          2. It gets to decide which input from the view (from the user) is pushed back to the Model
          3. It can change and reorganize depending on the data that is in the "Model"
          4. In our example:

            1. The "Model" is the object that interfaces with database of videos we've made available
            2. The "ViewModel" is the object that handles the RSS feed, choosing which data to pull from the "Model" and make available to the "View"
            3. The "View" is a XAML that takes the data made available by the "View Model"
            4. Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

              Guest: Louis Maresca

              Get in Touch With Us!
              • Subscribe and get Coding 101 automatically at https://twit.tv/shows/coding-101
              • Follow PadreSJ and Snubs on Twitter
              • Bandwidth for Coding 101 is provided by CacheFly.

                Sponsors:

                • squarespace.com offer code CODING
                • lynda.com/c101
                • ...more
                  View all episodesView all episodes
                  Download on the App Store

                  TWiT Throwback (Audio)By TWiT

                  • 4
                  • 4
                  • 4
                  • 4
                  • 4

                  4

                  4 ratings


                  More shows like TWiT Throwback (Audio)

                  View all
                  Total Leo (Audio) by TWiT

                  Total Leo (Audio)

                  202 Listeners

                  TWiT News (Audio) by TWiT

                  TWiT News (Audio)

                  78 Listeners

                  All TWiT.tv Shows (Audio) by TWiT

                  All TWiT.tv Shows (Audio)

                  356 Listeners

                  TWiT Events (Audio) by TWiT

                  TWiT Events (Audio)

                  8 Listeners

                  Total Mikah (Audio) by TWiT

                  Total Mikah (Audio)

                  3 Listeners

                  Untitled Linux Show (Audio) by TWiT

                  Untitled Linux Show (Audio)

                  7 Listeners

                  Host-Read Ads (Audio) by TWiT

                  Host-Read Ads (Audio)

                  3 Listeners