![]() |
Programmers: do you code with Ruby ?
or Ruby on Rails or whatever it's called ?
if you had any of the specified choices for coding small things (e.g: retrieving some data from an SQL server database and generating HTML from it) which one will you choose ? leave fucking .NET and java for a second |
|
You tend to use what you know. Ruby's great for some things, shitty for others. Same for Perl and PHP. You either use the language you have, or you're proficient enough to do what you want with the language available.
That said, I'm a bit disturbed by how quickly I can shit out "throwaway" or simple things in PHP these days |
the thing is I just can't see what Ruby is doing better than PHP when it comes to the small things.
but then again I don't know much about ruby |
PHP and MySQL is a good combination for small up to bigger web projects.
|
Ruby is to slow. The only thing Ruby would be good for is administrative , non-high-traffic backends. I have myself moved completely away from PHP for much more robust and faster languages.
|
Quote:
I'm thinking that next year I'd like to expand and would love some suggestions feedback on where best to set my sights. |
Quote:
As far as what I recommend I have switched to Python. Python runs much faster than PHP, and instead of loading,parsing each PHP page on each request you can run Python in an application server. This way all the code is loaded into memory 1 time at start. Not to mention its threading. It has just become a much better system to use, while its not as easy to deploy etc., the code is faster. The biggest problem with Python itself is the fact that most hosts don't support it (unless you have a dedicated server). I have seen to many changes in PHP, and their lack of wanting to be backwards compatible is frustrating. 5.x is not compatible with 4.0 and it appears that possibly future 5.x versions wont be compatible with previous 5.x versions. Most of the last sentence is rumor mostly, so take it with a grain of salt. |
I have nothing against RoR, but I must admit I'm a big PHP adept :)
This is an interesting article: 7 reasons I switched back to PHP after 2 years on Rails |
Quote:
Thanks for the suggestion, I hadn't even considered python before to be honest. Not sure why but I'm going to do some reading and keep it in mind when I finally do have the time. :thumbsup |
just use mysql and php
|
Quote:
never really looked into ruby AT ALL yet, this was an interesting read, which makes me want to at least investigate the language. Although I'm diving into SQL and XML at the moment (and PHP as a core language.) I want to learn a little of everything. So far I've used: logo, basic, C++, html, CSS, JavaScript, PHP, and SQL. PHP is my favorite language out of these. Quote:
|
I use php and mysql because it's what I know and it's readily available at every host. I've been looking into python and it seems easier to structure a large program and has a much better built in library, but I can't really see myself moving away from php at this stage... Too much work already invested in a php platform.
|
Quote:
|
php because it has a much larger community. You can also use cakephp and get a lot of the same functionality of the ruby on rails framework.
|
I use Perl for any kind of parsing or back end script/admin script. I use PHP for dynamic content. I toyed with Ruby earlier this year and really wasn't a fan. Python looks promising but I honestly haven't jerked with it much. I think if I wanted to branch out I would go with Python.
|
Quote:
I use PHP/Mysql for adult projects on linux servers In terms of big business I use windows servers and ASP.NET with sql 2005 servers. It's easier to structure your code correct if it's a huge complicated system. Designpatterns are much easier integrated. Typically .NET applications are strong when you use Facade with Interfaces and Gateway patterns to make a clean cut to the Database and seperate business layer and UI. Summery of my use: PHP/Mysql - for small projects - Big projects on Linux ASP.NET - Huge commercial applications with maybe 7-15 solutions and 200+ codefiles. Ruby: - I only use it for fun so far. Perl: - Never learned it properly. |
This thread made me decide to mess with Python today. It's cold and shitty outside and I don't have anything to do. I've been messing with Python for about an hour now and so far I am digging it. If you're a programmer, check it out. It's surprisingly fun in a geeky kind of way.
|
I did a couple of small projects in the RoR framework (two websites and a WAP CMS and site creation utility) and was amazed at how fast it was to setup: Run a command that builds the application folder structure and framework. Model your database and setup connection parameters. Run the scaffold command and voila - you've got basic views and controllers accessing your database without coding a thing. Never tested the projects in a high-availability website, but it seems you can just cluster a couple of mongrel servers front-ended by apache's mod_proxy to properly handle requests.
Anyway, that's what I got out of that. At least for prototyping, I liked it a lot. *shrug* |
Quote:
http://www.timestretch.com/FractalBenchmark.html |
Quote:
|
All times are GMT -7. The time now is 05:56 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123