Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What to learn next ...

    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?

  • #2
    cfc
    cfc is offline
    Regular Coder
    Join Date
    Dec 2004
    Location
    Keswick, Ontario
    Posts
    251
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Last edited by cfc; 02-11-2005 at 02:58 AM.

  • #3
    Regular Coder
    Join Date
    Oct 2004
    Location
    England
    Posts
    282
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

    Depends on what you want to learn it for though

  • #4
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?
    Last edited by kwanbis; 02-11-2005 at 03:54 PM. Reason: more info

  • #5
    New Coder
    Join Date
    Jul 2004
    Location
    Azerbaijan
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #6
    New Coder
    Join Date
    Feb 2005
    Location
    Texas
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Binary Invisions
    Where the Webmasters Go.
    www.binvisions.com

  • #7
    Regular Coder
    Join Date
    Oct 2004
    Location
    England
    Posts
    282
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by OkIDaN
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •