Giter VIP home page Giter VIP logo

trumpet's Introduction

Trumpet Documentation

Build Status

Abstract

Trumpet uses the Pyramid framework to provide services to help build websites. The goal of this project is to provide a more opinionated framework that focuses on REST resources and provides a system to develop Single Page Applications, as well as use some simple ones provided by the trumpet package.

A page on the static resources used to build SPA's can be found here.

NEWS

Trumpet is being converted into it's original concept of being a set of building blocks to help build a pyramid web service. In the past, a large amount of time has been spent on managing static resources through pyramid and python. A separate project, haberdashery, was created to help manage the static resources in a python package. While the idea of developing the static resources has evolved into an environment where no python is required, except for a few development scripts, many of the ideas used previously have been made obsolescent by using nodejs and compass.

Trumpet is now focused primarily on providing server side components to help make a website/application. Static resources are to be developed in another project, although they may be served through the pyramid server.

Goals

  • user management
    • login/logout
    • administer users via REST
    • reflective sqlalchemy code, db should provide minimum user/password tables
  • db support
    • common sqlalchemy code for all databases
    • request object with attached sessionmaker
  • session management
    • minimal use of cookies
    • use access_token as parameter to all requests requiring authentication
    • policies for session management
      • sessions per user (configure number of sessions a user can have)
      • sessions per device (register devices to user?)
      • session duration
      • session timeout/expiration
    • is beaker good enough?
  • view classes
    • basic view classes to be used by all views
      • common methods
      • app settings available
    • base user aware view class
      • base class for requests that need auth
    • base cornice resource
    • base static resource
    • base page resource
      • send the html page that runs the app
      • use template to fill the head with links and meta info
      • handle permissions for access to app
  • server side validation
    • use colander to build schemas for validation
  • integrate with job servers for long running jobs

Old

Remnants of the old README can be found here.

trumpet's People

Contributors

umeboshi2 avatar

Watchers

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