Reputation
215
Next privilege 250 Rep.
View close votes
Badges
1 6
Newest
 Yearling
Impact
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 158 votes cast
Apr
13
answered Is using triggers best solution for this scenario
Apr
13
comment Is using triggers best solution for this scenario
@ile creating procedures is kind of creating APIs to your model, triggers are more likely to reinforce or help on data integrity.
Apr
13
comment Is using triggers best solution for this scenario
just NO! Because When record is inserted in Order table, trigger calls stored procedure which inserts record into WorkLoad table I'm looking for the article that explains why you shouldn't use stored procedures, that's why I didn't reply. Short story, you need to respect the rollbacks, by send data to a procedure, you lose that, hence data integrity hazard.
Apr
4
awarded  Yearling
Apr
3
comment How to test network connectivity API using TDD?
Give you the right answer, not only because you are the only one, you also refer to something I can read to improve ;-)
Apr
3
accepted How to test network connectivity API using TDD?
Mar
31
comment As a lone developer, how can I be sure I am learning and doing decent work?
Something funny/useful to bear in mind, code like the future developer will be a psycho and knows where you live. :-)
Mar
25
comment How should I handle database failures in a web application?
@blz it might be, but in this case you need to restart the UI when a problem happens in the database. That leads to my question, is it acceptable? If yes, then you're right, you need to reconect from the view. If not then you might need to split view and controller, then let the controller deal with the reconnect, and let the view show a loading clock until the connection is back.
Mar
25
comment How should I handle database failures in a web application?
Looks like you are not respecting the MVC design. You need to detach the view from the controller. If the controller can't get to the model, then feed bogus data to the view until the connection restablish.
Feb
24
comment How to respond to a rude bug report?
respond with the following principle: “It's better to keep your mouth shut and appear stupid than open it and remove all doubt” ― Mark Twain
Feb
17
comment When to use prototypical programming in JavaScript
+1 first line I understood the magic behind the first part of the question!
Dec
31
awarded  Student
Dec
31
comment How to test network connectivity API using TDD?
@BartvanIngenSchenau but in my case is just a few methods I use, the problem is few of them requires an external source replying. Still considered integration?
Dec
31
asked How to test network connectivity API using TDD?
Oct
21
awarded  Scholar
Oct
21
accepted Is there any design pattern to remove elements from a hash map?
Mar
6
awarded  Revival
Oct
22
comment Permissions and MVC
if you are using django, I'm not certain as I have basic knowledge of the framework, but I think you can extend a template, maybe you can extend the template depending which permissions, then you have different templates for different users called, and avoid bugs?
Oct
11
comment How can I make sure that I'm actually learning how to program rather than simply learning the details of a language?
Your comment is the first one I read about models and patterns! I'm 100% with your comment, one thing is to get a language and start making a program. Another one is to think thru the problem and find the appropriate tools to solve it, then you start looking for a language and start programing.
Sep
24
comment Writing my problem solving approach on paper?
@ComicStix I also need to write things down on paper to be more efficient, otherwise I spend too much time refactoring. Another thing, it's better to consider forums as a conversation in a bar. It can solve problems, or get you on the right track but still a personal opinion of someone :)