oubiwann / peloid

It's like a MUD. But better.
MIT License
1 stars 0 forks source link

build models for basic functionality #15

Closed oubiwann closed 11 years ago

oubiwann commented 11 years ago

This will make repetitive operations much easier and cleaner, removing all the need for boilerplate.

oubiwann commented 11 years ago

Come to think of it, this should be its own project: https://github.com/oubiwann/txMongoModel

oubiwann commented 11 years ago

Once the model wrappers are built, add a dependency in peloid.meta.

oubiwann commented 11 years ago

then create peloid.app.models and import Model from txmongomodel.model.

create models.User:

create models.Character:

oubiwann commented 11 years ago

Starting with just the user model. It has been created and is being tested now.