![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
View Poll Results: what's better for the mentioned small things ? | |||
Perl |
![]() ![]() ![]() ![]() |
3 | 10.71% |
PHP |
![]() ![]() ![]() ![]() |
20 | 71.43% |
Python |
![]() ![]() ![]() ![]() |
1 | 3.57% |
Ruby / Ruby on Rails |
![]() ![]() ![]() ![]() |
4 | 14.29% |
Voters: 28. You may not vote on this poll |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
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
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Sep 2005
Location: Zurich
Posts: 1,045
|
PHP and MySQL is a good combination for small up to bigger web projects.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: May 2002
Location: MI
Posts: 1,827
|
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.
__________________
Latest MMA news. http://www.mmawrapup.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: May 2002
Location: MI
Posts: 1,827
|
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.
__________________
Latest MMA news. http://www.mmawrapup.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Aug 2007
Location: Montreal
Posts: 1,005
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
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. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Nov 2006
Location: ...
Posts: 1,214
|
just use mysql and php
__________________
Web Developer |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | ||
Confirmed User
Join Date: Mar 2007
Posts: 922
|
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:
__________________
Vote Bill Cosby 2012 |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
So Fucking Banned
Join Date: Nov 2007
Posts: 248
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
I thought you were talking about Ruby being slow ? how did PHP get in the negative side of the picture ?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Jan 2006
Location: Gringo in Puerto Rico
Posts: 4,204
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
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.
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Confirmed User
Join Date: Jul 2004
Location: The Beach
Posts: 4,626
|
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.
__________________
ICQ# 143561781 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
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 like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
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*
__________________
Your post count means nothing. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Join Date: May 2002
Location: MI
Posts: 1,827
|
Quote:
http://www.timestretch.com/FractalBenchmark.html
__________________
Latest MMA news. http://www.mmawrapup.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |