5 ms·
I have to say, I code in .NET during the day and have been considering ruby / python for my own projects because the hosting costs are a lot less. I used to do
by smiler 16y ago
I have to say, I code in .NET during the day and have been considering ruby / python for my own projects because the hosting costs are a lot less. I used to do a lot of PHP and I keep thinking I should just stick with that.
Although it feels 'dirty', the only thing I consistently read about ruby & python web apps are deployment issues and exactly the best way to deploy those apps.
With PHP it seems very straight forward and an easy way to avoid all those issues.
- Tichy 16y agoI don't know, PHP used to be a security nightmare (or rather, it would encourage bad security flaws - I assume it is possible to write reasonably secure PHP web apps). Has that improved much? Yes, getting a site up and running is fast. Making it secure might be a lot less simple.
- rubinelli 16y agoYou can write secure apps in PHP. What I find unforgivable about PHP is that most of the code examples you will find on the web or in books is outdated and insecure. For example, a newbie looking for how to make a DB connection is much more likely to stumble on the mysql_* functions than on PDO.
- forensic 16y agoASP.NET has always been the cleaner, nicer-to-use alternative to PHP. If you're already good at .NET i see zero advantage to saving the few dollars here and there that PHP would bring. Your time as a human is far more valuable than the extra cost of an IIS server. Ruby and Python actually offer some language advantages tho. Personally if I coded .NET in the day I would be looking at F# for webapps.
- sp4rki 16y agoDeployment issues? Are we back in 2008? Don't tell me that Ruby doesn't scale or that developing in Python on a Mac is impossible because of the default version that ships with OSX.
- smiler 16y agoDid I mention anything about either of those? Firstly, entire companies have been created specifically for ruby / rails hosting. Secondly, and this is my biggest bug bear, I know nothing about Python on a Mac and OS X. I am a Windows fan through and through, I love Windows 7 and I love the .NET ecosystem. Please don't assume that everyone on HN uses OS X / *nix
- sp4rki 16y ago"Did I mention anything about either of those?" Yes you did ("the only thing I consistently read about ruby & python web apps are deployment issues"). That was the reason I used them as my examples. On your second point, I never assumed anything. I used two examples of common things that where said a few years ago about both languages. It had nothing to do with what you use, more power to you if you use windows7 and .net, it had to do with the fact both where misconceptions that where later proved to be non issues. I didn't mean to be patronizing or anything, I guess what I really wanted to say is that if you keep reading that Ruby and Python have all this massive issues, you're probably reading articles from 2008 ;)
- trustfundbaby 16y agoI consistently read about ruby & python web apps are deployment issues --------------------------- Thats news to me ... if anything deploying Ruby on Rails apps has become much much easier over the years with the advent of Phusion Passenger, Enterprise Ruby, cheaper VPS's, Heroku etc