GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP guys / programmers... general question (https://gfy.com/showthread.php?t=218286)

Trax 01-08-2004 03:26 AM

PHP guys / programmers... general question
 
if someone asks you (like me) why you recommend somebody to learn php instead of java or delphi

what would you answer?

this is like all the pros but also the cons of PHP

let me know as much shit as possible :)
thanks

toddler 01-08-2004 03:30 AM

java is bloated and overly complex for what it is. if you are building a game for browsers, do it in java or flash. if you
are building a web site that requires
dynamic content, do it in php+mysql.

jsp pages tend to be rather slow as well, same goes for cfm(cold fusion). I strongly, STRONGLY dislike jsp and cfm.

I've ported a few java apps to php w/o
a problem at all. (with some perl thrown in for preparsing).

hth...t

Trax 01-08-2004 03:36 AM

Quote:

Originally posted by toddler
java is bloated and overly complex
offers dynamic content

thats the only thing i can use
i wanna know all the pros and cons of PHP
security for example
speed
complexibility
and stuff like this

i am no programmer... so :)
thanks
keep it coming

Rorschach 01-08-2004 03:49 AM

It's kind of comparing apples to oranges because java is a full blown high level programming language and php is basically a scripting language that is aimed at doing web stuff, although there is a lot of other stuff you can do with it.

PHP is pretty simple, it plays well with mysql and is pretty fast for most things you want to do with it. I use it for a whole bunch of things, but I also use perl for a lot of things because it is more flexible for a wider range of stuff (eg server admin stuff) and because I like to run things from the command line (although php also has a command line version).

Java is very powerful but you are looking at having a whole bunch more to learn, and every java app I've seen has been a bit clunky for whatever reason. If you really need to make a blazingly fast app then I'd use C.

If you are looking for a first language to learn then PHP is a good one, it is very "clean" to learn and write and you can do a hell of lot of cool stuff with it. Once you are used to the act of programming and especially programming theory (from more complicated languages) then it is pretty easy to learn any language, you just have to adapt to the new syntax and adapt what you already know to the new system.

pornanza 01-08-2004 07:49 AM

I'd tell them to learn Pascal, it's a language developed for teaching a language. It's structured, it is nice, simple and will give you a good footing to move onto various other languages.

The majority of users web programming problems are down to the fact the have no knowledge of programming, they don't know what indentation is, they don't know anything about local and global variables, they know very little about the basics, and this causes lots of problems (from what i see).

When it comes down to it, each language has a purpose, each task is more suited to a specific language :)

ryan

extreme 01-08-2004 08:17 AM

Quote:

Originally posted by Trax


thats the only thing i can use
i wanna know all the pros and cons of PHP
security for example
speed
complexibility
and stuff like this

i am no programmer... so :)
thanks
keep it coming

PHP is has a very bad security rep. Both in terms of easyness to write insecure scripts and regular exploitable vulns in PHP itself. They've worked some on that lately though.

If you're gonna make a dynamic webpage, php/mysql is prob. what you want.

Trax 01-08-2004 08:25 AM

thanks
got my question answered
no more information needed

thanks again :)

KobyBoy 01-08-2004 09:33 AM

I'm working on a farily large project right now (not porn related). The backend of this project is written in Java. For the frontend I decided to use Serverlets, Struts and TomCat along with a Linux box and apache. About two weeks into working on the frontend I noticed that I was spending more time configuring and fixing my servlet container and Struts that I was barely getting enough coding done. I decided to ditch all that hoopla and went with PHP. Within two weeks the front-end is almost done and I'm not having any problems. I would say unless you are developing an Enterprise class application use PHP.

fuzebox 01-08-2004 10:10 AM

I'm sorry... did you say Delphi?

Jace 01-08-2004 12:05 PM

Quote:

Originally posted by fuzebox
I'm sorry... did you say Delphi?
haha, i think he did...

JSA Matt 01-08-2004 12:08 PM

qbasic is the way to go these days... :helpme

Trax 01-08-2004 12:24 PM

yes
delphi was the only language my friend can code
he showed me some basics
thats it already hehe

wouldnt touch it
its shit


All times are GMT -7. The time now is 09:02 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123