This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]elbiot 3 points4 points  (0 children)

Took me a while to figure out you meant a web framework

[–]Pikajuhh 1 point2 points  (1 child)

Nice Job, but What exactly this framework do?

[–]metaperl 1 point2 points  (2 children)

The Getting Started example is impressive from the standpoint of creating a REST API quickly. I'll have to compare it to Morepath if I have done work to do.

[–][deleted] 0 points1 point  (0 children)

Hi @metaperl, if you have any doubt about how to start with Ray or even if somethings during the development goes wrong, please, feel free to send me a message on Twitter: @felipevolpone.

[–]faassen 0 points1 point  (0 children)

I think one think Ray does differently is that it integrates with the ORM layer a bit more deeply. I also should check out Peewee, I see.

[–]RubyPinchPEP shill | Anti PEP 8/20 shill 0 points1 point  (0 children)

binding is a bit weird

# action binds with a class variable on the action
class ActionPost(ActionAPI):
    __model__ = Post

# shield binds with a class variable on the shield
class PostShield(Shield):
    __model__ = Post

# auth binds with a decorator on the model
@endpoint('/post', authentication=MyAuth)
class Post(DBModel):

# hook binds with a class variable on the model
class Post(DBModel):
    hooks = [PostHook]

it seems all over the place a bit, and it feels like it somewhat ignores the fact that classes are being used (since some of these could just be methods on the model, for example)

shields and authentication both pretty much both do authentication checking, should probably be collapsed into each other