GithubHelp home page GithubHelp logo

super-simple-django-demo's Introduction

Employee Relations Management Project

Purpose

This was a simple demonstration to show how Django can be used to build a rudamentary application within 24 hours. It is essentially a table of fictitious current employees and information regarding their name, birthday, salary and reporting line. The various reporting levels are used to build a visual hierarchial demonstration of the relation between these employees. It was also a personal requirement that the application have a smooth UI and neat appearance.

Setup and Installation

As part of making this easy to demonstrate, an installer was written which should automatically download and install this program. It will require some pre-existing packages to exist but it was in part to also demonstrate the use of bash scripting in such a project.

Demonstration

The home page is a simple view showing the data as stored in the SQLite file. image

When clicking on any of the columns, the list is sorted by that column as indicated by the change in colour of the column name image

Searching for a particular value (in any of the existing fields) reduces the table only to the search result and makes visible the option to clear it. image

Likewise a date range search can also be performed, this makes use of the browser's built in Calendar picker image

Finally by clicking on the "Treeview" page, it dynamically generates a tree structure based on the table values. This is a hierarchy of the employee relations. image

Hovering over a particular employee highlights everyone reporting to that employee (directly or indirectly). Likewise hovering over any information highlights that block for better visibility. image image image

Conclusion

Django is a very easy to use tool which comes with a lot of built in functionality and features. It can be used to make fully featured and high quality software products at a fraction of the development time and cost of other alternatives. That being said, it does have its limitations, but for now it is still one of my favourite tech stack components to work with.

super-simple-django-demo's People

Contributors

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