Code Monkey home page Code Monkey logo

over-engineered-hello-world-mvc's Introduction

Over-engineered Caesser's Cypher Hello-World MVC

Example for an over engineered model view controller in python

The user can input a message, which the application encrypts using a Caesar's cipher the message "Hello Username" with a random shift. The encrypted message is then passed to the view component, which displays it in the console. The shift value for Caesar's cipher can be adjusted in the controller component by having the user input a number. In case the user guesses the correct shift value, the application will congratulate the user.

What is an MVC?

MVC - Model View Controller

The Model-View-Controller (MVC) is an architectural pattern that separates an application into three main logical components:

  • Model - Application core, data and business logic -> responsible for maintaining data
  • View - Representation of data -> takes data from the model and renders it
  • Controller -> User input receiver -> glues together model and view

Each of these components is built to handle specific development aspects of an application. MVC is one of the most frequently used industry-standard web development framework to create scalable and extensible projects.

How to run

  1. Clone the repository
  2. Run the main.py file in the root directory
    python main.py
  3. Follow the instructions in the console

over-engineered-hello-world-mvc's People

Contributors

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