1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hardest, PHP or JQuery?

Discussion in 'General Programming Chat' started by PHPDeveloper, Jul 20, 2015.

  1. PHPDeveloper

    PHPDeveloper Newbie

    Joined:
    Jul 15, 2015
    Messages:
    6
    Likes Received:
    0
    Hello guys. I have worked a very long time now and I master PHP and SQL very good now. Well I have though alot of doing cool effects on my sites and first language popped up in my head and it was JQuery. I have no idea how hard it is but compared to PHP which is harder and how much harder. Is there any other programming language that is relative easy compared to PHP that I should learn better except PHP, SQL, CSS and HTML?

    Thanks in advance :)
    /Oliver
     
  2. THUNDERELVI

    THUNDERELVI Elite Member

    Joined:
    Sep 12, 2009
    Messages:
    2,547
    Likes Received:
    2,200
    Gender:
    Male
    Location:
    W3
    Yep start learning JavaScript -> pretty powerful and relatively easy to grasp if you already have general programming knowledge and know OOP fundamentals.
     
  3. IMpossible

    IMpossible Supreme Member

    Joined:
    Apr 15, 2012
    Messages:
    1,344
    Likes Received:
    302
    Occupation:
    Internet Marketing Guru
    Location:
    Somewhere on earth
    jQuery is mainly used to manipulate the DOM. It's quite easy to grasp if you have solid knowledge of HTML and CSS since it uses css selectors like $("#div").click(function {});

    I hope you get the idea
     
  4. breck

    breck Registered Member

    Joined:
    Oct 10, 2011
    Messages:
    96
    Likes Received:
    12
    "Is there any other programming language that is relative easy compared to PHP?"

    Everything is easy compared to PHP. :D

    On a serious note: It depends on your goals, Javascript is nice for web developing but if you are into app creating for let's say Android then go with Java.
    If you want to develop for iOS then Objective C.

    jQuery can be useful too.
     
  5. PHPDeveloper

    PHPDeveloper Newbie

    Joined:
    Jul 15, 2015
    Messages:
    6
    Likes Received:
    0
    I am going for only web development
     
  6. breck

    breck Registered Member

    Joined:
    Oct 10, 2011
    Messages:
    96
    Likes Received:
    12
    I would go with Javascript then, it's really useful. :)
     
  7. haseeb007

    haseeb007 Registered Member

    Joined:
    Jul 15, 2011
    Messages:
    51
    Likes Received:
    7
    Wait, you have it all wrong.

    jQuery is a framework built in JavaScript for DOM manipulations.
    To do all the 'cool effects', you must first learn JavaScript and then referring jQuery documentation.
     
    • Thanks Thanks x 1
  8. IMpossible

    IMpossible Supreme Member

    Joined:
    Apr 15, 2012
    Messages:
    1,344
    Likes Received:
    302
    Occupation:
    Internet Marketing Guru
    Location:
    Somewhere on earth
    No, you must NOT first learn JavaScript to do DOM manipulation with jQuery.
    Source: myself ;)
     
  9. giovanni81

    giovanni81 Newbie

    Joined:
    Nov 12, 2014
    Messages:
    20
    Likes Received:
    7
    JavaScript is useful to know, and it's pretty much everywhere in some form or in another (it all started up many years ago with its ancestror called EcmaScript and it was running on Netscape Navigator).
    jQuery runs on top of it and it makes it more or less messy :p but it's useful to not have to worry about many stuff.
     
  10. SodaPopinsky

    SodaPopinsky Newbie

    Joined:
    Dec 8, 2013
    Messages:
    6
    Likes Received:
    1
    Occupation:
    Software
    Location:
    Believe not near you
    Home Page:
    I'd agree with most answers posted here. In the past it was more dificult to manipulate the DOM using javascript, thats why jQuery gained popularity. But today most of the dom manipulation functions of jQuery have been ported to javascript. Nevertheless, many great js libraries have jQuery as a dependancy so it's not a completly waste of time. Also, browser events such as click events, keyPressed are made easier with jQuery. Learning javascript and jQuery to the fullest is really hard. It has many quirks and non intuitive things such as variable scope and prototyping for OOP. Lots of patience my friend
     
  11. ekapek

    ekapek Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 2, 2010
    Messages:
    277
    Likes Received:
    48
    Home Page:
    JQuery is only library, I think you should go with AngularJS or smt similar - it's very perspective
     
  12. nocare

    nocare Junior Member

    Joined:
    Apr 29, 2013
    Messages:
    164
    Likes Received:
    81
    Location:
    Deep Code
    "Programming is a philosophy, everything else is just syntax" - a mentor.

    You can jump in an play around with javascript easier as all you really need is a browser.
    However, if you have truly "mastered" php and sql, you would not be asking this question.
    Implement a little javascript into your php projects, but you likely still have a long way to go with learning php still.