Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
10
Newest
 Informed
Impact
~2k people reached

  • 0 posts edited
  • 1 helpful flag
  • 23 votes cast
Jun
3
awarded  Informed
Jan
9
comment Does using == in JavaScript ever make sense?
When you say call, you are referring to Function.prototype.call() right? At first it seemed a little misleading, because you can't simply use .map() on a nodeList. document.querySelectorAll("div").map(function(){}); will cause an error. If you meant Array.prototype.map.call(document.querySelectorAll("div"),function(){}); perhaps you could clarify that a little bit.
Sep
24
awarded  Autobiographer
Jul
23
awarded  Critic
Jul
23
comment Should an abstract class always abstract its methods to an interface?
Don't Let Architecture Astronauts Scare You
Jul
23
comment Whats the best way to build a HTML/AJAX site that requires login?
This is essentially what comes built in with asp.net mvc 5. The basic template will literally solve this entire problem for you. asp.net/mvc
Jul
23
comment Why is polling accepted in web programming?
I agree with back2dos's comment above. If pull scaled better than push, google, stack exchange, facebook, online stock services, etc. would use pull technology. But they don't. Fundamentally, hammering the server instead of setting up a listening station scales terribly. Major services avoid polling.
May
9
comment Hide admin menu if no admin option is available
Generally since the server is the one who knows permissions, the server should be the one to decide whether or not to render the admin section or its dependencies.
May
8
comment Javascript MVC application design (canvas)
@wigglyworm - There can always be more decoupling! :D But really, the controller should be the one that communicates to the model and then updates the view so that is probably where most coupling takes place in MVC.
May
7
accepted How should I make searching a relational database more efficient?
May
7
answered Javascript MVC application design (canvas)
Nov
12
comment How should I make searching a relational database more efficient?
@MasonWheeler - There is no risk of a SQL Injection here, that is what modern frameworks are for. As for the object graphs.. There are a list of objects. Each object has several strings defining it. Each object also has a child object. Each child object has several strings defining it and set of grandchildren objects. Each grandchild object has a set of strings defining it and a great-grandchild object. I am trying to efficiently search each of those strings for a search term.
Nov
12
asked How should I make searching a relational database more efficient?
Jul
26
answered Is it appropriate to have positive comments in code reviews, or is it exclusively for constructive criticism?
Jan
15
awarded  Scholar
Aug
23
comment Is the 'C' in MVC really necessary?
@AndresF. - Don't kid yourself. Have a look at Stack Overflow's Model: code.google.com/p/stack-exchange-data-explorer/source/browse/… See how there is no logic in there aside from relationships? If your model has all the logic you are are not separating concerns.
Aug
22
comment Is the 'C' in MVC really necessary?
@Izkata - The model should be just a model of the data and the data's relationships. There should be an abstraction which knows what moves are valid.
Aug
22
comment Is the 'C' in MVC really necessary?
@ChrisMiskowiec - Could not agree more. The structure of the data should be its logic.
Apr
24
awarded  Citizen Patrol
Apr
24
comment Freelancing - Share the source code?
I could not agree more with this answer. +1