194 reputation
17
bio website
location Austin, TX
age 29
visits member for 3 years, 5 months
seen Nov 25 at 23:25

Nov
9
asked In an MVC, should models use libraries, or should libraries use models?
Nov
6
awarded  Curious
Nov
6
comment Would it make sense to have a database table with only one record for tracking site summary stats?
@GrandmasterB Wouldn't the tally system be the same as what I would be doing with the stats table (keeping a summary and using that to log the balance in each new transaction)? If not, how does a tally system differ?
Nov
5
comment Would it make sense to have a database table with only one record for tracking site summary stats?
Ah, so a view that aggregates all transactions. Not a bad idea, but, there could be many, many transactions...millions. I am storing both user-level transactions AND site-level transactions (I'm using Mongo, so hence the optional-ness of transactions.userId). So, in a site-level transaction, I need to log the current site balance, and since transactions will happen frequently (let's say 10 per second), I would think an aggregation query would have a negative impact on performance.
Nov
5
asked Would it make sense to have a database table with only one record for tracking site summary stats?
Oct
24
revised What should my RESTful API method look like for a Roulette game?
deleted 113 characters in body
Oct
23
asked What should my RESTful API method look like for a Roulette game?
Feb
8
awarded  Notable Question
Oct
29
comment Is this a secure solution for RESTful authentication?
@Donal That's true...maybe this is overkill. How would you do it? If using SSL, would you keep it simple and 1) send passwords via REST POST in plain text (encrypted via SSL) and 2) just assign a token for each user account and send that in each user's API request?
Oct
28
comment Is this a secure solution for RESTful authentication?
Yep, it'll be over HTTPS, and I'm using Sinatra for the API.
Oct
28
revised Is this a secure solution for RESTful authentication?
added 33 characters in body
Oct
28
revised Is this a secure solution for RESTful authentication?
added 44 characters in body
Oct
28
awarded  Editor
Oct
28
revised Is this a secure solution for RESTful authentication?
deleted 1 characters in body
Oct
28
asked Is this a secure solution for RESTful authentication?
Sep
27
awarded  Scholar
Sep
27
accepted Should a RESTful API provide data for an entire form?
Sep
27
asked Should a RESTful API provide data for an entire form?
Jan
31
awarded  Popular Question
Aug
31
comment Do mixins create coupling with Ruby?
It's not a complete code listing.