I am excited that Zach Dennis has taken up last year's cause of ActiveRecord Refactoring, since I never made much progress on my ActiveData efforts. Still, to help him out I've posted my pre-alpha ActiveData code, which builds on my earlier non-SQL ActiveRecord. I've pasted some excerpts below (Read More).
Restful Rails 1.2
One of the coolest new features of Rails 1.2 is the RESTful routing. In particular, the new scaffold_resource generator makes it really easy to mockup a basic resource-oriented web app with trivial amounts of code. Check it out. # rails 1.2.1# mongrel 1.0.1$ rails restful$ cd !$$ script/generate scaffold_resource Entry title:string content:text published:date# can now... Continue Reading →
The Architects of Cyberspace: Stalking the Hedgehog of 21st-Century IT
As one of my many extracurricular activities, I happen to serve on the Dean's Advisory Council for GCCIS, the College of Computing and Information Sciences at RIT. The thing I enjoy most about that experience is the opportunity to contemplate (and hopefully influence) the future of Computer Science/Information Technology education. Below is an essay I... Continue Reading →
OpenID: The RESTful approach to Single Sign-On
Been spending a lot of time on regular work, but a friend recently suggested I check out OpenID -- the de facto distributed authentication standard for Web 2.0. I think of it as "Decentralized Kerberos for the Internet", in that provides the ability to do Single Sign-On without the need for everyone to agree on... Continue Reading →
Mac Home Theater, Followup
I had some wonderful responses to my Simple Mac Home Theater article. One pointed me to this incredibly helpful Mac mini Media Center article, which was recently updated for the latest Intel minis. I was also encouraged to hang out on the HTPC Mac Chat Forum, which has lots of juicy data. The most useful,... Continue Reading →
Web As Pipe: State of the Art Rails Deployment
Hat tip to David Heinemeier Hansson for pointing me to: http://duncandavidson.com/essay/2006/06/webaspipe James Duncan Davidson basically writes the article I've been meaning to, but (as usual) way better. In particular, he explains precisely why FastCGI is so "weak", and also why the Mongrel/HTTP proxy model is so powerful. Moreover, he even captures how "un-original" (yet revolutionary!)... Continue Reading →
Great JavaScript-in-Ruby (RJS) Tutorial: What I Learned
My colleague Luke Burton has posted a wonderful RJS Tutorial. [Read more] for a short list of the new things it taught me. ? You can insert RJS calls in RHTML documents, not just RJS documents ? The relevant documentation is ActionView::Helpers::PrototypeHelper and ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods ? RJS handles (most) error catching for me ? You can... Continue Reading →
Really Simple Mac Home Theater?
So, we're finally moving back to San Jose (actually, Santa Clara) after three years in Sacramento. One fun aspect of buying a new house is the chance to create a home theater solution from scratch. Of course, the goal is to build it around a Mac! While there's lots of resources, most of them seem... Continue Reading →
Understanding Ruby on Rails
This presentation (pdf) explains the underlying philosophy and technologies that make Ruby on Rails so compelling (at least IMHO). It includes a tutorial for Rails 1.1.2 that covers: ? creating SQLite databases using migrations ? generating models and scaffolds ? writing controllers by hand (w/o generators) ? rjs and rhtml templates for dynamic HTML (aka... Continue Reading →
Camping on the Rails
For those who find Rails' plethora of files overkill for simple applications, there's always Camping. While still built on Ruby and ActiveRecord, Camping is optimized for the "small-app-in-a-single-file" approach.[Read more] for some links, from a friend who will remain anonymous... It's called "Camping":http://code.whytheluckystiff.net/camping/wiki/http://camping.rubyforge.org/files/README.htmlHere's a wiki implemented in Camping:http://code.whytheluckystiff.net/camping/browser/trunk/examples/tepee/tepee.rbHere's the latest post about Camping developments:http://redhanded.hobix.com/inspect/mosquitoAndDecamp.htmlThe original... Continue Reading →

You must be logged in to post a comment.