| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 3 months |
| seen | Jun 10 at 20:54 | |
| stats | profile views | 10 |
|
Mar 2 |
awarded | Yearling |
|
May 18 |
comment |
Whiteboard “testing” during an interview: legitimate way to back up your (whiteboard) code? It was just a general point I was making (you mentioned it wasn't that important, so that comment wasn't really directed at you, just at the concept in general and it's flaws). You obviously have a love for whiteboard testing and I was commenting on it. I said it was a good answer in my comment. |
|
May 18 |
comment |
Impact of Website Redesign on Google Analytics Use 301 redirects for any pages you are moving to a new location. This will allow any inbound link juice to transfer to the new pages. Try to avoid changing your page titles if possible (or as little as possible). The most you change your content, the more you can expect to see a drop in rankings. They should bounce back eventually, but can often take several months. |
|
May 18 |
comment |
Whiteboard “testing” during an interview: legitimate way to back up your (whiteboard) code? Whiteboard tests are stupid. Does anyone really care about a missing semicolon and the like in the days of intellisense. Most of these tests are useless anyway. Have someone code an actual project if you want a real test but even then you are only proving they are skilled at a very specific problem which one person may have done recently vs. another candidate who hasn't done it in awhile. We don't do all things every day so if you're problem isn't very generic than that is a fail. A great answer, but people's love for whiteboard tests I simply don't understand. |
|
May 16 |
accepted | How to manage contextual objects without IoC container (session or passing around objects)? |
|
May 16 |
answered | Impact of Website Redesign on Google Analytics |
|
May 11 |
revised |
Why is Global State so Evil? added 499 characters in body |
|
May 11 |
revised |
Why is Global State so Evil? added 157 characters in body |
|
May 11 |
answered | Why is Global State so Evil? |
|
May 7 |
comment |
Event driven design and separation of core/UI logic You have 3 good answers. Why not pick one. |
|
May 6 |
awarded | Teacher |
|
May 1 |
comment |
Event driven design and separation of core/UI logic Then use an intermediate layer to respond to UI events. This may be a controller, presenter, etc. It will then call into the utility and communicate back with the UI. The UI publishes the event... The middle layer subscribes, calls into the utility, responds back to UI. |
|
May 1 |
answered | Event driven design and separation of core/UI logic |
|
Apr 26 |
comment |
How to manage contextual objects without IoC container (session or passing around objects)? If you saw the project you would understand. I don't use a lot of server controls. The user might click on a (javascript chart) data point for instance, this will raise an event and from there javascript might take that set of dates and put them in hidden form fields. They will need to be translated to an appropriate object on the server based on the type of date range, etc. The same goes for commands. Even if you used a server control or binding, you'd have to look up the command object in some factory. Anyway I'm not using MVC and I do appreciate your help. |
|
Apr 25 |
comment |
How to manage contextual objects without IoC container (session or passing around objects)? I'm not using mvc unfortunately. Maybe I should just take the time to setup unity and start using it. I'm using it currently for a winforms app I'm working on, but have never used it with a web app. Sounds like though in the meantime if I going to recreate the map on every request, I'll never to actually return it from my business layer to my presentation layer and then pass around to places that need to access/create an object in my map. |
|
Apr 25 |
comment |
How to manage contextual objects without IoC container (session or passing around objects)? For a web app, I don't see any other way... The commands are set on the client side using javascript. Hidden form fields are set with the command (dashboard, etc.), date filter (last 7 days, etc.), and then on the server I have to map the command to a command object. How else would you do that without creating a map. Otherwise you have a nasty select case... If hidden form fields contains "report1" then create report1 object and execute... Whereas I just pull the object it needs from the map using the text as the key. |
|
Apr 25 |
comment |
How to manage contextual objects without IoC container (session or passing around objects)? If i don't cache my object map for instance though... then I would need to pass it around everywhere wouldn't I? So for instance... the page loads... I call registerdatefilters... It then creates a dictionary of keys and the types that go with them. Now I have this map that has to be passed around pretty much everywhere that uses a date filter. If I don't store it or make it static, it seems I would have no other choice? Is there a better way? |
|
Apr 25 |
asked | How to manage contextual objects without IoC container (session or passing around objects)? |
|
Apr 24 |
accepted | Pattern for select case on object type (of interface) |
|
Apr 24 |
comment |
Pattern for select case on object type (of interface) Wow, thank you! |