-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG.txt
61 lines (42 loc) · 2.29 KB
/
CHANGELOG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
2020-11
TxWeb (Texas web) is coming along. There are a few outstanding issues:
Fix error handling
Fix static directory serving
New direction is to overload tx.web.static.Directory to provide two features: no recursion flag and also a no directory lister option.
Cleanup code more
Documentation
More unit tests
2020-11
Autobahn integration is working well in auto_texas side project.
2019-11-16
There are still a lot of features to add (eg. File directory support) but I am happy with the refactor
2019
Removed all of the other resource classes and went with a more simplified werkzeug routing resource.
Removed the sugar logic as it was unwieldy and just plain goofy.
2013-11-21
* New Compiled site/CSite
For a mass-scale environment, having to constantly walk/map the URL to object
graph has shown to be a major time sink. So I am throwing in with almost
every other web framework I know of and precomputing all assets ahead of time
and using regex's for matching.
Pros: less constant repeated work is done
Cons: regex maddness
TODO: Duplicate FilePath that cuts out the busy loop in CSite.routeRequest for resources.
It seems more ideal that given a path to say "Is this safe and is it correct?" then to walk
down a tree of resources.
given FilePath("/path/2/files") and request.path "/path/2/files/1/2/3/4/5/6/7/9/10/etc"
if that was an actual path, it would need to grab a new FilePath resource for EACH directory
and then ultimately the "etc" file. It seems wasteful to do that.
Granted in semi-pro environments, static file assets would be managed by nginx or a CDN so not
critical.
TODO: With precomputed routes in CSite, this would allow for a few things:
class Root(object):
@expose("(?P<name>[^/]+)/something")
def take_names(request, name):
return "Hey %s!" % name
TODO: add optionals expose(sub_path = None, valid_verbs = None)
sub_path as mentioned
valid_verbs would be either a list of either strings, enums, or some implied
constant like POST, GET, HEAD, PUT, TRACE. I'd really like to abuse the hell
out of TRACE but it's not required for this.
TODOS: Finish the sessions example and start on autobahn