From: David Masover Date: 2009-12-08T04:31:02+09:00 Subject: Re: Wordpress Port On Monday 07 December 2009 11:00:08 am hjast wrote: > Has there any been an effort to make a ruby Wordpress port? I am a > rails and ruby guy, and now have to do a blog in Wordpress. PHP is an > ugly langauge and I wish I could use ruby for extending and looking at > the architecture. If you're wanting a way to work with Wordpress, the PHP app -- for example, writing a Wordpress plugin in Ruby -- I don't think there really is one, though that's not entirely a bad idea. Just mostly a bad idea. If you're looking for an actual port of Wordpress, and I think this is what you want... > Since Wordpress is open source we could just > straight port a lot of the code from wordpress as it is. Well, code written in one language doesn't always translate directly into another language. I'm guessing the word press architecture isn't a good fit -- you could probably do something better starting from scratch in Ruby, which is why someone pointed you to Mephisto. > Someone could > even make a parser which makes php extensions or themes compatible. Well, probably not. You might be able to build a bridge (as the Phuby guy was jokingly suggesting), but short of that, no you couldn't. Keep in mind that a PHP extension or theme is still PHP code, not Ruby code. Translating one language directly into another, even when it works, usually leads to fairly ugly code. > I guess in general, this is a question about the lack of CMS's in > ruby. THe general comments usually are, why have a cms when we can > make it in rails so much fast? I don't agree with that, and I think a lot of the Merb people were thinking about ways to improve that situation, especially by stealing ideas from Django. And I definitely think Wordpress is not a good choice for a CMS. Drupal would be a much better choice.