News for hackers. Stuff that matters.
Re:One benefit of a Lisp-driven website by michaelneale on Tuesday February 12, 2008 @03:11AM (#113880)
Huh? I have seen the same done with rails over and over. Well kind of.
Re:One benefit of a Lisp-driven website by cstejerean on Tuesday February 12, 2008 @03:17AM (#113883)
Really? You've seen folks running SSH into a server and firing up irb to add a blog post?
Re:One benefit of a Lisp-driven website by lojic on Tuesday February 12, 2008 @09:00AM (#113992)
"Couldn't you write some standalone scripts to run from the commandline to insert new posts into your blog?"

As someone mentioned in the comments on that site, there's no need to write special scripts for this - using script/console does the job nicely with Rails.

  script/console
  post = BlogPost.new("title", "body", ... )
  post.save
  ^d
You're modifying the database vs. in memory objects, but when you're scaling up via multiple app server instances, it's handy to store the info in the db.
Re:One benefit of a Lisp-driven website by michaelneale on Tuesday February 12, 2008 @06:37PM (#114447)
yeah thats what I meant. Not quite the same as the article, but to similar effect.

I do appreciate the "lisp" approach though, for sure.

Re:One benefit of a Lisp-driven website by mattjones on Tuesday February 12, 2008 @06:19AM (#113937)
As a primary interface for blogging, perhaps not. But using irb and your ORM as an admin interface to your database? Absolutely.