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

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-22-2007, 12:15 AM   #1
Zester
Confirmed User
 
Zester's Avatar
 
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
__________________
* Mainstream ? $65 per sale
* new male contraception
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2007, 04:47 AM   #2
Zester
Confirmed User
 
Zester's Avatar
 
Industry Role:
Join Date: Jul 2003
Posts: 5,344
__________________
* Mainstream ? $65 per sale
* new male contraception
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2007, 04:49 AM   #3
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
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
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2007, 06:27 AM   #4
Zester
Confirmed User
 
Zester's Avatar
 
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
__________________
* Mainstream ? $65 per sale
* new male contraception
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2007, 04:56 PM   #5
FlowerKid
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.
__________________
FlowerKid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2007, 05:15 PM   #6
AcidMax
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
AcidMax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2007, 05:19 PM   #7
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by AcidMax View Post
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.
Which do you prefer and why?
I'm thinking that next year I'd like to expand and would love some suggestions feedback on where best to set my sights.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2007, 05:29 PM   #8
AcidMax
Confirmed User
 
Join Date: May 2002
Location: MI
Posts: 1,827
Quote:
Originally Posted by StuartD View Post
Which do you prefer and why?
I'm thinking that next year I'd like to expand and would love some suggestions feedback on where best to set my sights.
Just read your thread, man you got alot going on. Good luck to you.

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
AcidMax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2007, 05:44 PM   #9
sysk
Confirmed User
 
sysk's Avatar
 
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
__________________
icq: 612510168 / email: [email protected] / php ninja 4 hire
sysk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2007, 05:58 PM   #10
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by AcidMax View Post
Just read your thread, man you got alot going on. Good luck to you.

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.
Thanks.. yeah, at the beginning of the year I was all gung-ho about trying to branch out.... it obviously didn't happen. So now I'm thinking once we get the routines down with the newborn and my wife is back on her feet, I can take up the charge once again.

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.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2007, 08:36 PM   #11
draude
Confirmed User
 
draude's Avatar
 
Join Date: Nov 2006
Location: ...
Posts: 1,214
just use mysql and php
__________________
Web Developer
draude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2007, 08:55 PM   #12
justFred
Confirmed User
 
Join Date: Mar 2007
Posts: 922
Quote:
Originally Posted by sysk View Post
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

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:
PROGRAMMING LANGUAGES ARE LIKE GIRLFRIENDS: THE NEW ONE IS BETTER BECAUSE *YOU* ARE BETTER
heh, yeah. true in both cases.
__________________
Vote Bill Cosby 2012
justFred is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2007, 09:24 PM   #13
kovacs
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.
kovacs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-24-2007, 02:10 AM   #14
Zester
Confirmed User
 
Zester's Avatar
 
Industry Role:
Join Date: Jul 2003
Posts: 5,344
Quote:
Originally Posted by AcidMax View Post
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.
I thought you were talking about Ruby being slow ? how did PHP get in the negative side of the picture ?
__________________
* Mainstream ? $65 per sale
* new male contraception
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-24-2007, 08:06 AM   #15
teg0
Confirmed User
 
teg0's Avatar
 
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.
teg0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-24-2007, 08:32 AM   #16
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
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.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-24-2007, 08:46 AM   #17
polle54
Confirmed User
 
Join Date: Jul 2004
Location: The Beach
Posts: 4,626
Quote:
Originally Posted by FlowerKid View Post
PHP and MySQL is a good combination for small up to bigger web projects.
I second that

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
polle54 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-24-2007, 09:48 AM   #18
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
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.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-24-2007, 12:46 PM   #19
psili
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.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2007, 04:24 PM   #20
AcidMax
Confirmed User
 
Join Date: May 2002
Location: MI
Posts: 1,827
Quote:
Originally Posted by Zester View Post
I thought you were talking about Ruby being slow ? how did PHP get in the negative side of the picture ?
Because , compared to Python, PHP is slow. Out of the only languages I consider viable for web use (c can be, same with java but compiling is annoying), Python is the fastest.

http://www.timestretch.com/FractalBenchmark.html
__________________
Latest MMA news. http://www.mmawrapup.com
AcidMax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2007, 02:00 AM   #21
Zester
Confirmed User
 
Zester's Avatar
 
Industry Role:
Join Date: Jul 2003
Posts: 5,344
Quote:
Originally Posted by AcidMax View Post
fuck me php is slow...but Roby IS slower...
__________________
* Mainstream ? $65 per sale
* new male contraception
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.