Archive for December 2011
If you’ll notice, I basically have said that models are a problem. Controllers are a problem. Views are a problem. MVC has served the web well, even if it isn’t the GUI style MVC that named the pattern. But I think we’re reaching its limits; the impedance mismatch between HTTP and MVC, for example, is pretty huge. There are other ways to build web applications; I’m particularly excited about WebMachine. I don’t have a constructive alternative to offer here, I just know there’s a problem. I’m still mulling this one over.
[Some interesting thinking here. It feels like it makes certain things easier but is not fleshed out. Maybe because it's new, but maybe it just doesn't feel quite right. I'm fairly convinced that part of the problem is the amount of functionality we often cram into one application.]
Switchback interviews Ned Overend:
Next it starts to rain forty-five minutes into it, it turns to freezing rain, the mud is splashing up into my face, I’m still trying to stick with these guys that are chasing all the while my body temperature is dropping. Then I’m miserable, I start to get hypothermic and then I’m not thinking about racing anymore— I’m just trying to get to the finish line. It becomes survival. After two and half hours of riding in the rain, I hate mountain biking. Then the sun comes out and I start to feel better, I finished totally shattered. It’s just the whole thing—the suffering, the exhilaration.
The way I’ve always treated sponsorship is as a personal relationship. With Red Bull it was, ‘We’ll give you water bottles and a couple of cases of Red Bull.’ Great! That’s awesome and I was happy with that. Same with Specialized, we got a pro deal and that’s it. And they have grown into my main sponsors and it’s all been really slow. Giving them feedback, giving them photos, saying thank you. I mean all the stuff your grandmother teaches you! Write a thank you note. It’s really simple. I didn’t ask for money initially, and I felt like I gave them a good return on their investment and each year it slowly grew and now I’ve been with Red Bull now 10 years and Specialized eight. It’s just an honest working relationship, there is no magic to
it. You over deliver and then it usually works out in the end.
When an application has multiple Domain Controllers I place them in a dedicated directory under app called services to keep them separate from the Model entities in app/models. This helps communicate that Rails Action Controllers should delegate to the Domain Controllers, not directly to Model Entities. The Domain Controllers and Model Entities together, represent the domain layer of the system. I have also discussed extracting the entire domain layer from the Rails framework, but that’s another discussion. Let’s keep this blog post civil for now!
[I've also refactored in this direction a bit lately. I'm beginning to wonder of MVC needs to be replaced in these cases with "MDCV" to begin with...]
Ohm looks interesting. On my short list to dive into next week.
All these different options place Redis in the NoSQL ecosystem somewhere between simple caching systems like memcache and feature-heavy document databases like MongoDB and CouchDB. The question is: when do you pick Redis over other NoSQL systems?
[I wouldn't limit my thinking to the use cases listed here, but th post does give a quick, if limited, overview. It does not mention all the datatypes or the scripting for example, so make sure you explore Redis from the documentation on outward.]
Their layers of wool, silk and cotton was lighter than modern clothing and extremely comfortable to wear
Mallory’s boot was the lightest ever used on Everest.
The 1924 Everesters were lightweight specialists who understood their clothing better than most modern climbers
The complete set of garments was field tested on Everest, by Graham Hoyland, the great nephew of Howard Somervell, in April 2006. He confirmed that the replicated garments indeed formed a sophisticated, effective and comfortable clothing system which ‘was perfectly adequate for a summit bid’. Graham Hoyland, Everest, April 2006
[Unsurprising considering that we've all "rediscovered" wool and silk in the last few years, and who doesn't love cotton? You just have to be more careful about getting them wet. Cotton, because it takes a long time to dry, wool because it absorbs so much water that it weighs a ton until it dries, and loses it's shape along the way. etc. But still, awesome.]