(a.k.a. I'm cheap when it comes to hosting my hobby sites; I'd like to use Rails, but PHP on shared hosting is much cheaper and less work; suggestions?)<p>I've recently been working on a small, "hobby" web app - http://yoyocase.net. It's been a chance for me to scratch an itch (I want to show off my collection) as well as to learn Rails.<p>Finding hosting for my app has been challenging, though. I don't plan on monetizing this, so I really can't justify "expensive" web hosting. Nor do I want to go with a VPS - I don't want to play sysadmin in my spare time.<p>So, I've also been porting my code to PHP (not raw; CodeIgniter!), and plan to put it on my shared hosting account. Am I shooting myself in the foot?<p>Alternatively, do any of you know where I could find relatively cheap "shared" Rails hosting - a place where I wouldn't have to setup my own virtual server(s), keep all the software/packages up to date, etc.?
About 18 months ago I came to the realization that Rails just wasn't required for the projects I was using.<p>I jumped on the Rails band wagon early and loved all the syntatic sugar that comes from Ruby, and I'd never really developed with an MVC pattern.<p>Like you, I gradually realized I was spending more time as a sysadmin or bashing my clients' commodity hosting into submission than actually building sites. I felt like I was cheating when I finally went back to PHP (CodeIgniter, also).<p>It wasn't til I rsync'd the PHP site I was working on to the prod server and saw it <i>just work</i> that I started feeling a bit better. Since then, I've been totally happy using simple but solid PHP frameworks.<p>So, I think you're on the right track. Admittedly, I'm a little out of date on the state of Rails deployment. But if you're productive in PHP, go for it.
Shameless plug: <a href="http://www.asmallorange.com/hosting/shared/" rel="nofollow">http://www.asmallorange.com/hosting/shared/</a> We host Rails with mod_rails/Passenger, so it'll run with minimal fuss. Works really great so far.<p>But honestly, it's whatever language works best for you. If you've got a good framework in front of it that's helping to keep you from making dumb mistakes, then that's all that really matters.
As some commentars said, choose the language/framework that suits the problem.<p>That said, I have experienced and heard that the time made up by using Rails/Ruby, is much less than the time it takes to customize a Rails app to get it to do what you want. Especially when there's a lot of customization. What I like about PHP and frameworks like CodeIgnitor, is that customization is dead easy. You only write code for what you want to achieve, you don't need to work around the framework's preset functionality.<p>Short answer, it depends. A lot of customization, use PHP, something that fits with Ruby/Rails, use that.
You could try out webfaction.com;
It offers a control panel where you can add as much apps as you want (including Django, RoR, static PHP, Worpress, etc.). The only 'real' limitation you have is memory usage. I have about 15 different apps running on the smallest webfaction acocunt and it works great; comes cheap too and you don't have to update it because it's a virtual server but it is maintained by webfaction (not your version of RoR, but the system itself). If you take the cheapest package the price is between $5.50 and $9.50 a month depending on how long you want to use it.
This doesn't address your original question, but when I visited your site, I immediately thought of my college years (early '90s) when my dormmates and I took up yo-yo-ing (sp?). We had a blast showing off our newly learned tricks. In fact, I hadn't thought much about that time until I saw your site.<p>Now that I have small children (3 and 2 yr/olds) it makes me want to take up the hobby again to show them the fun in it. So, think about ways that your site could grow into something that you hadn't originally thought of. Example: if you had instructions/videos demonstrating yo-yo tricks. A searchable, fun way for people to show off their hobby.<p>So, if you had the desire to monetize this one day, you may actually have some interest from people. This is just to say that maybe you shouldn't keep a tight lid on your ideas.<p>Good luck!
Definately try <a href="http://heroku.com" rel="nofollow">http://heroku.com</a>. They have an excellent free plan that is perfect for smaller projects and development.<p>Also, if you use git, it's really easy to deploy an app by just pushing up to Heroku.
I have a shared plan on mediatemple. I am not a ruby man yet am 100% you can run rails. Then you can demonstrate both your ruby skills and your new found php skills.
More a note to myself than anything: check out <a href="http://news.ycombinator.com/item?id=1112543" rel="nofollow">http://news.ycombinator.com/item?id=1112543</a>
First off, smart change! (see: <a href="http://www.canrailsscale.com" rel="nofollow">http://www.canrailsscale.com</a>).<p>Second, there is surely alot of rails-hosters out there, keep looking if you want to build your app with pure ror.But the beatuy of php is what you already have seen; it just works!