...

View Full Version : What to learn next ...



kwanbis
02-11-2005, 01:01 AM
Hi, i'm mostly Delphi/Pascal, Lotus Notes, SQL programmer, and i want to learn new skills, im thinking in:

1. Java
or
2. PHP (Combined with MySQL)

The problem with PHP (and also the advantage), is that it only runs under a browser, while java can run stand alone ... the problem with java is that is propietary ... so, what would you do?

cfc
02-11-2005, 02:53 AM
How is Java proprietary? Java bytecode will run on all operating systems with a JRE installed; the only problem (other than having a slower runtime than C++ because of some overhead) is that there are different versions of the JRE available. Bundling the latest JRE is a popular way around this for Java applications, though, and you can also compile for earlier JREs if you write your code with earlier versions in mind. If you're talking server-side (if you're comparing Java and PHP in the same domain), then it won't matter as the browser never sees the server-side code anyway.

Server-Side Scripting:
Learn PHP if you're only looking to create server-side scripts. It's easier to learn and easier to run with Apache. If you won't be hosting the site yourself, there are also more PHP hosts available than Servlet/JSP hosts. On the other hand, if you're looking to create complicated multi-tiered web applications I've heard that Java Servlets are the way to go. JSP allows you to embed Java code in web pages just like PHP (pretty much only with <% instead of <?) but it still requires knowledge of how to program in Java.

Desktop Application Development:
Learn Java if you're interested primarily in desktop (standalone) application development or are interested in using one language for both. PHP-GTK is interesting, but I don't think it compares to Java yet (if ever). With J2ME, Java can also run on smaller devices (ie cell phones).

Python can also be used for both (though I haven't looked too deep into server-side scripting with Python) and is IMO easier to learn than Java. It can be either compiled into bytecode or directly interpreted and the interactive Python interpreter also makes a great calculator :thumbsup:

KeZZeR
02-11-2005, 10:22 AM
IMO, they're two different languages to do two different things. I concentrate on PHP and Java (Java because that's what my degree aims at, and PHP because i do a lot of web work)

Both are great languages and easy to work with. PHP's manual is stupidly easy to use also. Java is just generally quite an easy language with some nifty features and another upside is that it's an OOPL :thumbsup:

Depends on what you want to learn it for though :)

kwanbis
02-11-2005, 03:52 PM
thanks guys ... i was making the question more like ... what should be better for my carrer ... and by propietary, y mean that java is not open source.

edit: also, recommended books on Java, PHP, MySQL?

OkIDaN
02-12-2005, 06:54 AM
Why are people more intereted in career than knowledge? Yep, money - the satan.

Anyway, I would recommend learning both. PHP is a high level lang for web development, you will need it anyway. Java is deep. One of the most consistent programming lanugages these days. GL.

Kurt@BInvisions
02-12-2005, 07:33 AM
I'm in a continuing process of learning many languages. Java, Javascript, PHP, SQL, Visual Basic, CSS, HTML.. I just learn to learn, and code to code. I can take a look at code from any of these and have a general understanding, any usually edit it quite a bit. Some languages I know MUCH more than others, a few like Java and CSS I am just starting with.. but I like them very much.

I like being bi-lingual :)

KeZZeR
02-12-2005, 09:23 AM
Why are people more intereted in career than knowledge? Yep, money - the satan.

Anyway, I would recommend learning both. PHP is a high level lang for web development, you will need it anyway. Java is deep. One of the most consistent programming lanugages these days. GL.

That's exactly what i have a go at people about. I have many people on my course who are just in it for the money. Personally i wouldn't care if i didn't have a job at the end of my degree, i just want the knowledge.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum