Coder Social home page Coder Social logo

sachin_nair's Introduction

Movie Aggregator

Movie Aggregator helps you to store your favourite movie information in to various formats. You can save information about the movie like Name, Run Time, Language, Lead Actor and Genre and then export these details into one of the 2 formats, as per choice - “plain text” or “PDF”. On running the application, user will be asked for information about the movie and if needs to export the data into file.

How to build

Open the project solution in VS 2015 and build. You can also build using command prompt. Refer https://msdn.microsoft.com/en-us/library/78f4aasd.aspx.

How to run

After successful build access “MovieAggregator” project and go to Debug folder and run MovieAggregator.exe. Feed in the required movie information and then choose export method, PDF or TXT. On successful export the file will be available under the MovieAggregator/bin/debug folder. PDF Samples can be seen there. NOTE: if changes are made to the existing providers the DLLs needs to be replaced into appropriate folders.

How to add your own provider

More output formats can be added to the application by writing your own provider using IOutputProvider and adding OutputProviderInfo attribute to your provider class. Build and place your provider dependencies in application root and provider (.dll) under “Providers” folder, application will automatically pick up your provider next time you run the application.

How dynamic provider loading works

The application loads up all the DLLs in the Providers folder and check for valid providers with OutputProviderInfo attribute and IOutputProvider interface implemented. Once loaded the user is presented with all available options to export the Output method of the provider is called with data in byte[], and the output is created.

For more queries and explanation drop me a mail ([email protected]) or discuss it out on the comment section, I’ll be happy to help.

sachin_nair's People

Watchers

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