Giter Site home page Giter Site logo

eveskillboard_public's Introduction

EveSkillboard Public Core Files

This is not meant to be the complete source code of EveSkillboard. It is however meant to share the core, more complicated functionality that will speed up development of a replacement.
I will try to comment in the files the best I can to help explain how the functions work.
Again I want to thank the community for supporting my website for the years it was up.
While some may not agree with me not releasing all the code, I thought this was a good alternative to get the core features out there.
My formatting, naming and coding skills are probably scary to some, but alas, here we are. I always meant to rewrite it, and I even started on that a few months ago, but that quickly lost steam as I no longer played eve.
My Coding Standards

Background

EveSkillboard was initially built in a day while I learned PHP. I did not have all the cool bells and whistles in that first day, just the core functionality to show skills.
Laravel was the underlying framework, it made resolving and installing dependencies easy and some nice to have features.
MySQL was the backend database, however that was primarily just used to store basic character information, tokens, static skill mapping data. 99% of the data was stored using Laravels FileCache backend, and the data was stored in objects.

Skills.php

Despite the name, this turned into a catch-all for the majority of calls to ESI (standings, public_info, implants, attributes, history, jump_clones, skill_in_training, skills).
It has a handful of helper functions and one main giant function.

ShipData.php

This is the magic behind calculating what ships a character can fly, calculating the time left to train for every ship and the missing skills of every ship
Kudos to u/evanova on r/evetech 4 years ago with starting me out with the magic query

board.blade.php

HTML template to build the main skillboard with the fancy boxes. This is one of the places the giant cached objects were passed to for lots of looping

ships.blade.php

HTML template to build the ships tab that showed what you can fly, cannot and how long to train each ship

eveskillboard_public's People

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.