Giter VIP home page Giter VIP logo

packagecontrol.io's Introduction

Package Control Website

The Package Control website serves as both the main aggregator of package information for Package Control and as a web interface for users to discover packages.

Overview

The Package Control website runs on an architecture of:

  • Python 3.6.8
  • PostgreSQL 11
  • nginx
  • redis

The website uses the following server-side libraries:

  • bottle
  • psycopg2
  • pybars3
  • coffeescript
  • SCSS

The client-side libraries are:

  • backbone.js
  • Handlebars
  • D3

The various libraries are woven together to create a site with the following properties:

  • Shared HTML templating on the server and client with pybars and Handlebars
  • Initial page loads deliver fully-rendered HTML. Subsequent requests (for all supported browsers but IE 9) use HTML 5 pushState and pull in JSON that is rendered with Handlebars.
  • URLs without an extension return fully rendered HTML page. URLs ending in .json return raw JSON data. URLs ending in .html return an HTML partial that excludes the header and footer.
  • When HTML 5 pushState is used, the header and footer do not need to be re-rendered. This allows for nice CSS transitions between pages. This also requires a progress bar to communicate the AJAX request state.
  • No raster graphics are used - icons are from Font Awesome, logos are SVG and the install graphics use SVG through D3. This means the site is retina-friendly.

Supported browsers:

  • Firefox, Chrome, Safari, Opera, IE 9+

IE 8 and older are not supported because they do not support SVG, which is used for all of the graphics and charting on the site.

Further Reading

packagecontrol.io's People

Contributors

apjanke avatar benmatselby avatar dentarg avatar fichtefoll avatar idleberg avatar ind1go avatar joneshf avatar ljuba-ned avatar nickdickinsonwilde avatar wbond avatar wmarquardt 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.