Live data from Hacker News

Ask HN: Am I crazy to port my Rails app to PHP?

news.ycombinator.com

11–20 of 22 posts

Re: Ask HN: Am I crazy to port my Rails app to PHP?

#11
As some commentars said, choose the language/framework that suits the problem.

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.

Short answer, it depends. A lot of customization, use PHP, something that fits with Ruby/Rails, use that.

Re: Ask HN: Am I crazy to port my Rails app to PHP?

#15
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.

Re: Ask HN: Am I crazy to port my Rails app to PHP?

#16
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.

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.

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.

Good luck!

Re: Ask HN: Am I crazy to port my Rails app to PHP?

#18
post #7

Shameless plug: http://www.asmallorange.com/hosting/shared/ We host Rails with mod_rails/Passenger, so it'll run with minimal fuss. Works really great so far. 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.

Looks interesting, and in the price range for a hobby site. Thanks!

Re: Ask HN: Am I crazy to port my Rails app to PHP?

#19
post #16

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. 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 i…

Oh, there are already many discussion/tutorial sites about yo-yoing. I don't intend to replace them, but to offer something they don't: a single place to coherently store pictures of, and more importantly, data about, your yoyo collection. Most of the message boards allow photo uploads, and you can always write descriptions in the posts, but that data is scattered.

I have thought some about montization (mostly in the context of "If this thing grows, how will I pay for hosting beyond my own personal/hobby threshold?"), and have two ideas:

1) fremium - subscriptions for the "serious" collector (more data fields, etc.)

2) ads from yoyo manufacturers/organizations (there aren't many, hence I don't think AdSense would really draw much revenue; plus, I actually have a few contacts at Duncan)

If I had to pick one of those, I'd rather pick #2 - I can't imagine this site, as I currently plan to build it, would add enough value to justify subscriptions.

Anyway, if you want to pick it up again, I recommend: - http://www.theyo.com/yoyo/ and http://www.theyostore.com/ - http://www.yo-yoing.com/news/ - http://www.yoyonation.com - http://yoyowiki.org

Re: Ask HN: Am I crazy to port my Rails app to PHP?

#20

Earlier quoted context omitted.

What pattern do you develop with?

Not sure I understand the question... I use CodeIgniter whenever we're building a bespoke site. It uses a Model-View-Controller pattern, like Rails. Is that what you were asking?

I thought you comment said your don't use the MVC pattern.
Post reply on HN