pylons / akhet Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Akhet is a Pyramid library and demo application with a Pylons-inspired API. Documentation is in the 'docs' directory. (c) 2010-2012 Mike Orr and contributors. Copying and derivations permitted under MIT license; see LICENSE.txt. Contributors: * Mike Orr <[email protected]>: author. * Mike Merickel: urlparse module. * Marcin Lulek: Demo stylesheet. * pony.py is derived from "paste.pony" by Ian Bicking (http://pythonpaste.org/).
you have this line:
request = event.get("request") or threadlocal.get_current_request()
if not request:
return
have you ever encountered a situation where:
a) event didn't have a request
b) threadlocal.get_current_request() was called
c) there was not request ( the return statement )
i haven't been able to create this. i'm wondering what is / isn't necessary.
This took forever for me to figure out...
akhet overlays the static routes like this:
pattern = "/*subpath"
that works as a wildcard for static routes -- but also for AppendSlashNotFoundViewFactory, causing it to always trigger an extra slash, not just if needed.
it would probably be better if the static routes are overlaid only for files/directories that are in /static
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.