April 2009
13 posts
Apr 30th
“Geek pickup line - “I left a tag open so I can’t get your out of my...”
– Thomas Hardy (thomasjhardy) on Twitter
Apr 28th
links: Javascript template engines
HAML - http://four.livejournal.com/820601.html http://github.com/creationix/haml-js/tree/master Patroon - http://github.com/georgi/patroon/tree/master http://www.matthias-georgi.de/2008/9/patroon-a-javascript-template-engine-part-2 http://code.google.com/p/embeddedjavascript/ http://code.google.com/p/trimpath/wiki/JavaScriptTemplates ...
Apr 27th
“ Задача бессмысленная и сложная, как решать непонятно… Уходим! ...”
– Loglablog: Статус
Apr 26th
links: Custom rails template engines
http://rcss.rubyforge.org/ http://radius.rubyforge.org/ http://github.com/nex3/haml/tree/master http://github.com/jbarnette/johnson/tree/master http://erector.rubyforge.org/ http://www.slideshare.net/err/goruco http://beautifulpixel.com/2007/1/11/how-to-write-a-rails-template-handler
Apr 20th
Apr 20th
Apr 16th
Apr 14th
Blogging combo
Tumblr + Disqus + Gists ± Vimeo
Apr 12th
2 tags
Проблема с to_json
Всем хорош, но нельзя ему в methods передать параметры для конкретного метода. Надо как-то решить проблему. Варианты: делать OpenStruct-ы полуавтоматически, и их уже конвертить в json подхачить рельсовый json serializer и добавить туда необходимый функционал. Хотим что-то такое: Вот что в итоге получилось: Патч к serialization.rb Вполне работает: Правда работает очень хрупко....
Apr 12th
Apr 11th
Web development combo
Ruby on Rails/Sinatra + JSON output + HAML/SASS + jQuery + self-written jQuery micro-plugins + base2 + Taffy DB + jsRepeater Недостающие звенья: умная отдавалка JSON-а подчищалка за jsRepeater plain rails backtrace for ajax calls move json generation to view somehow
Apr 11th
“«За продолжение подписки придется платить немалые деньги, либо остаться на нашем...”
– К концу 2009 года все школы Татарстана перейдут на «Linux»
Apr 3rd