GithubHelp home page GithubHelp logo

library-website's Introduction

Library Website

Austin Valeske

##This is not pretty or good code.##

Ok, with that out of the way, this was a project that Katherine Maack and I did for our Databases class. We had to design the database schema using MySQL and then write a PHP website that used it.

We started with the HTML5 Boilerplate and went from there. We separated the rendering code from the logic code by placing the logic in the *_behind.php files. Since we wrote the site by staying up all night over two nights, very hurriedly, the code is more spaghetti-like than I'd prefer and I've not gone back to clean it up.

If I were to do this again it'd be more organized and I'd be more proactive about keeping the dependencies managable. For example, we realized we had code for rendering tables of books in one file, and wanted to use it elsewhere, so instead of pulling it into a util file we just included the original file in that page. Like I said, spaghetti.

So, all that said, I'm actually still kind of proud of this. We started not knowing what we were doing - neither of us knew any PHP - and ended up with one of the better looking and most functional projects in the class. The code is just not at all maintainable.

library-website's People

Contributors

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