Code Monkey home page Code Monkey logo

podify's Introduction

COMP2404

PODIFY

In this project, I created a podcast network that is designed to hold Podcasts, each of which contains multiple Episodes. This podcast network also implements a search object capable of identifying episodes that meet specific criteria and compile them into a playlist. One of the key features of this project is the ability to play Episodes (as an ASCII art) where users have the option to experience the content with or without a video element, which is again represented by unique ASCII art. The creation of Podcasts, Episodes, and Search objects is handled by a PodcastFactory (controll class).

This assignment takes uses

  • [Operator overloading] (with polymorphism).
  • [Templates] to achieve data abstraction
  • [Multiple inheritance] in a diamond hierarchy.
  • [Factories] to separate object creation from application logic
  • [A strategy pattern] to change behaviour at runtime.

Class Overview

This application includes 10 base classes and 5 derived classes (of the Search and PodcastPlayer classes).

  1. Podcast (Entity / Container object): (a) Contains Podcast meta-data as well as a collection of Episodes.
  2. Episode (Entity): (a) Contains Episode meta-data and content
  3. Search (Behaviour object): Virtual base or Abstract class of all Search objects. (a) H_Search (Behaviour object): Matches Episodes by the Podcast host. (b) C_Search (Behaviour object): Matches Episodes by the Podcast category. (c) HorC_Search (Behaviour object): Matches Episodes by the Podcast host or category.
  4. Array (Container object): (a) A simple (templated) data structure.
  5. Podify (Control object): (a) Stores Podcasts along with their Episodes, allows them to be queried.
  6. PodcastPlayer (Behaviour object): Determines how to play an Episode (either "audio" only, or "audio and video", both of which are simply text). (a) AudioPlayer: Displays the audio of an Episode. (b) VideoPlayer: Displays the audio of an Episode and some ASCII art which is loaded from a �le at runtime
  7. View (View object): (a) Collects user input and displays Podcasts, Episodes and other information.
  8. Control (Control object): (a) Manages the interactions of Podify, PodcastFactory, and View. Stores the Episode playlist.
  9. TestControl (Control object): (a) Test framework for Podify.
  10. Tester: (a) Provides some common test functionality

Instalation and Running the Project

  1. Clone the repository: First, you need to clone the repository to your local machine. You can do this with the following command:

    git clone https://github.com/Jonathan03ant/Podify.git
    
  2. Navigate to the project directory and make sure the make file is updated.

  3. Clear any previous buildup to make sure correctness of the code.

    make clean
    
  4. Build the project using a "Make" command which will create a "test" executable.

  5. Run the ./test executable.

    2023 Intro To Computer Science, All rights to original proposal reserver to Professor Darryl Hill @Carleton Univeristy

podify's People

Contributors

jonathan03ant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.