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.

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 05-21-2008, 06:01 PM   #51
ScriptWorkz
Confirmed User
 
Industry Role:
Join Date: Jul 2007
Location: Intraweb
Posts: 274
Quote:
Originally Posted by brandonstills View Post
I like the way you think and respond ScriptWorkz. I'm not intending this as a bash, I'm just pointing out what I don't like and wanting to find a better solution. So many people would take it as an insult to their favorite programming language and get defensive (as can be seen above). This could have easily escalated into a flame but I think both of us are only interested in exploring the options and learning from each other.

I'm not hating PHP, it's just that after you use other languages and get used to some of what they offer, it's a pain to go back to PHP. Many PHP programmers that learn Ruby feel this way. They don't want to go back because it feels like having to use a horse once you've driven a car.

I've recently been studying compiler design and comparing a lot of different languages. I want to write my own language as an exercise.

Actually, what I would really love to see is for something like Microsoft's dynamic language runtime or Sun's Da Vinci Machine project that can be written in any language and deployed to a server. Too many environments force you to use a language. They are going to compile to bytecode anyways, why not let you write your own bytecode in whatever language you want? The main problem is having a common open-source platform to deploy to.

I've also thought it might be cool to implement a virtual machine inside of PHP so you can run bytecode compiled in other languages. Obviously not ideal for performance, but for backend admin tasks you aren't submitting hundreds of forms per second.
No point in bashing / flaming in an argument that doesn't have any definite right answer.
Besides, not really that often there is a thread like this here.

There won't be any standardised system that lets us deploy anywhere with any language any time soon, but i guess one can dream.

I just mainly didn't want to see php get a bum rap in this thread, some people have different opinions on what a language should be and as you said everyone that works w/ code can be a little touchy about their personal favorite. As for me, i like the stricter syntax in php that you complain about, that structure allows me to ensure that things behave the way i meant them too.
ScriptWorkz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2008, 06:01 PM   #52
mrkris
Confirmed User
 
Join Date: May 2005
Posts: 2,737
Quote:
Originally Posted by brandonstills View Post
I'm not hating PHP, it's just that after you use other languages and get used to some of what they offer, it's a pain to go back to PHP. Many PHP programmers that learn Ruby feel this way. They don't want to go back because it feels like having to use a horse once you've driven a car.
Ding ding! I find it a pain to go back to PHP for this very reason. I love PHP for what it is, but doing stuff in a language that is as object oriented as Python/Ruby, makes other languages look like childs play.
__________________

PHP-MySQL-Rails | ICQ: 342500546
mrkris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2008, 06:09 PM   #53
ScriptWorkz
Confirmed User
 
Industry Role:
Join Date: Jul 2007
Location: Intraweb
Posts: 274
Quote:
Originally Posted by mrkris View Post
Ding ding! I find it a pain to go back to PHP for this very reason. I love PHP for what it is, but doing stuff in a language that is as object oriented as Python/Ruby, makes other languages look like childs play.
See i learnt ruby after php but with my mindset, i prefer to work w/ php, i don't like having too much control of the way things work taken from me, and i have my own standardised code library i use stuff from in most of my projects, so i already have a bunch of nice classes, functions, etc... that take alot of the heavy lifting out of the things i do all the time.
ScriptWorkz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2008, 07:54 PM   #54
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by brandonstills View Post
Functions are second-rate citizens in PHP. They can't be stored in variables and can't be passed as parameters.
Look into call_user_func();
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2008, 08:07 PM   #55
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by baddog View Post
Okay, yeah . . . the base is probably there, getting it to work is something else. One module needs another which needs three more, etc, etc
Yeah it can be a pain but it also depends on your host... Usually the only module(s) I need installed are the DBI/DBD:mysql ones.. The biggest problem these days is hosts that don't know what they're doing any more.. Was doing a script for someone and his host (isprime) got it wrong about 3 times before they finally got the proper modules installed.
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2008, 10:56 PM   #56
brandonstills
Confirmed User
 
brandonstills's Avatar
 
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
Quote:
Originally Posted by Tempest View Post
Look into call_user_func();
I've used PHP reflection before. It's not the same. Thanks though.
brandonstills is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2008, 11:28 PM   #57
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
wow this thread smells of geek - don't stab anybody with your slide rules if anybody loses their cool!

i keed i keed

i love programmers
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-22-2008, 05:21 AM   #58
ScriptWorkz
Confirmed User
 
Industry Role:
Join Date: Jul 2007
Location: Intraweb
Posts: 274
Quote:
Originally Posted by brandonstills View Post
I've used PHP reflection before. It's not the same. Thanks though.
call_user_func doesn't really have anything to do specifically with reflection, it's just a way to call variable functions (atleast that's the reason i'm assuming he mentioned it), http://us.php.net/call-user-func
ScriptWorkz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-22-2008, 05:24 AM   #59
nation-x
Confirmed User
 
nation-x's Avatar
 
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
If you work on CMS solutions alot and have time to learn Python then I highly recommend Django
nation-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-22-2008, 05:44 AM   #60
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
I cant belive nobody mentioned TCL yet
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-22-2008, 06:41 AM   #61
ScriptWorkz
Confirmed User
 
Industry Role:
Join Date: Jul 2007
Location: Intraweb
Posts: 274
Quote:
Originally Posted by KlenTelaris View Post
I cant belive nobody mentioned TCL yet
I can believe it, i dunno how many of the people in this thread have ever heard of TCL let alone used it. I myself have only played w/ it briefly, i think at the time i was screwing w/ a framework called wxWindows.
ScriptWorkz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-22-2008, 07:19 AM   #62
fhgmaster
Confirmed User
 
Join Date: Sep 2006
Posts: 187
If you want to write code that people can simply upload to a server, stick with PHP.

Frameworks like RoR, Django or other programming languages might be more fun or speed up your development, but you'll spend the time saved explaining your users/customers why they can't use your program with their hoster.
fhgmaster 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.