1,189 reputation
3920
bio website
location Connecticut, USA
age
visits member for 3 years, 8 months
seen Nov 18 at 15:27

Ex SysAdmin/Networking type guy, now I am an aspiring programmer/designer. I work mostly with Rails, PHP, C# and Objective-C. Always open to new projects, challenges, and continuing my programming education.


Nov
10
awarded  Popular Question
Oct
28
awarded  Notable Question
Sep
24
awarded  Autobiographer
Apr
2
awarded  Popular Question
Mar
24
awarded  Yearling
Mar
14
awarded  Notable Question
Nov
29
awarded  Stellar Question
Oct
22
accepted Business rule to display data in all uppercase - how to handle?
Oct
10
awarded  Critic
Oct
10
comment Business rule to display data in all uppercase - how to handle?
Sorry if it wasn't clear, gnat. Andres summed it up pretty well. What I'm scratching my head over is whether or not a presentational biz rule like this should influence how the data is stored in the DB (CAPS vs no CAPS)...the application doesn't care if the stock symbol IBM is input as "iBm" or "ibM" but it seems wrong to store the data like that (it will only ever be used/displayed in CAPS)...would you consider this a data validation issue to be handled at the controller/model level, or a presentational detail to be handled only at the view?
Oct
9
asked Business rule to display data in all uppercase - how to handle?
Oct
1
accepted How to handle lookup data in a C# ASP.Net MVC4 application?
Oct
1
comment How to handle lookup data in a C# ASP.Net MVC4 application?
OK, so I would have a DaysValidFor field in the Documents table to store the per-document value, and then a lookup table DocumentTypes that has a list of doc types and default values I can use for the days valid value, right?
Oct
1
comment How to handle lookup data in a C# ASP.Net MVC4 application?
Thanks for the answer -- DocumentType does not have a separate class/table currently...it is currently an enum. I have no problem changing that to a lookup table (my option #1 listed in the question), just trying to see what the best design option would be...
Oct
1
asked How to handle lookup data in a C# ASP.Net MVC4 application?
Jun
4
awarded  Popular Question
May
10
awarded  Popular Question
Mar
24
awarded  Yearling
Jul
23
comment Rails application - how to optimize/reduce database calls when iterating over a collection
I used this technique to cut down on the calls to the DB...still not quite where I would like it, but I'm getting there! Thanks for the answer
Jul
23
accepted Rails application - how to optimize/reduce database calls when iterating over a collection