Giter Club home page Giter Club logo

fly's Introduction

Fly

Fly is a flight booking system created by me in 2017 for an assessed project, it was my first time using C# and I had not yet been introduced to OOP.
My aim for this project is to update Fly and clean it up to bring the programming to a higher standard.

Updating

Each update will have its own section detailing the issue and how I will fix it.

UI

The UI was thrown together very quickly with minimal artistic skill.

UI TODO

  • Change the colour of the UI to make it cleaner and look nicer.
  • Move elements about to make the user experience better.
  • Possibly investigate animations for hovering over a button.
  • Users should be able to type origin and destination with suggestions showing up each time they enter a char.

Getting Data

Right now, Fly connects to a database using the MySQL connector for CSharp. There are multiple methods in each Form that connect to the database independently, which is not good. In the future I plan to move to an API instead of connecting straight to the database, so while remaking the database connection I will keep this in mind to make switching easy.

Getting Data TODO

  • Create an object for database connections to keep the code in one place.
  • Create search queries using SQL instead of downloading all the data from the database and sifting through it each time a connection is made.
  • Create an API to get data.

Safety and Privacy

Last time I wrote this, I used an encrypt/decrypt script that I found in the CSharp docs, so this time I'd like to write my own.

  • Look into types of encryption, and how to implement it into CSharp.
  • Choose what to encrypt, based on new GDPR data laws introduced in 2018 (after the project had been handed in).
  • Possibly draw up a mock "how we use your data" etc section? (This will be low priority, but good to think about while making an app like this).

General TODO

Areas of the program I need to clean up that don't fit under a heading:

  • Disallow users to select the same origin and destination.
  • If no flights on a date, suggest more dates.
  • Get flight connections working.
  • Allow the user to select an airline preference when choosing a date, origin and destination.

General Clean Up

I wrote this when I was new to programming, so I have not followed any coding conventions. I will try to clean up the code as I go along. Forms to clean:

  • MenuForm
  • BookingForm
  • BookingListForm
  • CollectTicketForm
  • SearchTicketForm

fly's People

Contributors

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