4 ms·
I'm one of the dev, feel free to ask if you have any questions. The site is running here: http://shapado.com http://shapado.com (we also have a mirror on githu
by papachito 17y ago
I'm one of the dev, feel free to ask if you have any questions. The site is running here: http://shapado.com http://shapado.com
(we also have a mirror on github http://github.com/patcito/shapado http://github.com/patcito/shapado)
- leftnode 17y agoVery professional, looks great! Of course, the question is: did you build it in a weekend? ;)
- papachito 17y agohttp://news.ycombinator.com/item?id=1211637 http://news.ycombinator.com/item?id=1211637 edit: thanks by the way :)
- billturner 17y agoI just want to say thanks! I poked through your code when putting together one of my own projects. So, thanks!
- viraptor 17y agoGreat - I really like the question form embedded on the front page. It would be cool if SE ported it at some point. There are also some SE sites desperately trying to change the language through javascript-based rewriting (since SE is not localisable) - shapado could help them a lot.
- swah 17y agoWhy Rails sites always look better than Django ones?
- bmelton 17y agoThey don't? Seriously though, I do think there's a correlation between how somebody believes something should look and what framework they choose, even if only subconsciously, and even if only rarely, that gives the impression that Rails apps look a certain way. That said, there are defaults on the template generation of each, but the Django defaults are only for the 'Welcome' page, and it doesn't scaffold templates, and I agree that the Rails-scaffolded templates (that a lot of designers probably just extend, vs. replacing altogether) look better than a lot of pages in general.
- JeremyChase 17y agoHow do you track views? Are you doing a DB write on each question view?
- cheald 17y agoMongoDB is extremely well-suited to this sort of thing. In-place increments/decrements are particularly easy to do.
- sync 17y agodef viewed! self.collection.update({:_id => self._id}, {:$inc => {:views_count => 1}}, :upsert => true) end Not sure why it's an upsert, but there's your answer -- atomic increment.
- Poleris 17y agoGreat job on Shapado! A question: how long did this take you in development-hours and over how many months?