Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Tech Answered Logo Tech Answered Logo
Sign InSign Up

Tech Answered

Tech Answered Navigation

  • Home
  • Tutorials
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us
Home / Questions /Q 594
Next
In Process
Hardik
Hardik

Hardik

  • India
  • 32 Questions
  • 41 Answers
  • 0 Best Answers
  • 121 Points
View Profile
  • 0
Hardik
Asked: September 1, 20202020-09-01T10:21:36+05:30 2020-09-01T10:21:36+05:30In: Programming Related

Which language should I learn first: JavaScript or PHP?

  • 0

So, I was wondering which language I should learn first PHP or JavaScript, if I would like to develop great applications like facebook, snapchat etc.

javaphpprogramming language
  • 2
  • 216
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • Which is better, XAMPP or WAMP ?
    • java. lang. NullPointerException
    • Which is the best programming language to learn right now?
    • what java is used for ?
    • which one of these is the most different? javascript php ruby python mysql
    • C++ Versus java which is better c++ vs java
    • There are large number of programming language available. How to select language for your application?

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. Ravi Ujjwal

      Ravi Ujjwal

      • India
      • 12 Questions
      • 65 Answers
      • 3 Best Answers
      • 201 Points
      View Profile
      Ravi Ujjwal
      2020-09-02T00:57:57+05:30Added an answer on September 2, 2020 at 12:57 am

      Hello,

      If you would’ve asked this question around two-three years ago, I would’ve said PHP. But now scenario has completely changed. There is huge growth of SPAs (Single Paged Application) which is purely based on JS (JavaScript). So, let’s dive into more details.

      PHP:

      PHP is old awesome and easy to code language. Almost 75% of websites on internet you visit uses PHP somewhere. In a previous answer the person has given more details about PHP. You can use this to develop any kind of websites, from WordPress site to landing pages to even Facebook like sites. You’ll be glad to know that FB is purely based on PHP. It is like C, an old and gold language.  To have a fully complete feature rich website in PHP you need to build on LAMP or LEMP stack. L is for Linux, A is for Apache, M is for MySQL, P is for PHP and E is for Nginx (pronounced as Enginx). So here you see, you’ll have to focus on four different platforms and languages.

      JavaScript:

      In my honest opinion, JS is a game changer in web-development field. Since it’s release, the popularity of the  language has been rising at a very fast rate. Why? Because of the flexibility. If you are solely making website based on HTML, CSS then JS can be used to add a lot of interactivity. The popularity of JS is also because it has a lot of libraries and framework in the market. If you want to develop feature riched website and only language you know is JS, then it is possible. Stacks like MERN, MEAN and MEVN are there in market. Read the documentation and start right now. M is for MongoDB, E is for Express, R is for React, A is for Angular, V is for Vue and N is for Node. Unlike LAMP and LEMP, JS stacks are only based on JS so you don’t need to learn any other language in depth. Just a basic will do.

      At the end choice is yours. PHP is better in some terms and JS in some terms. But with my experience I’ll say first start with HTML>CSS>Vanilla JS> (MERN/MEAN).

      Thanks!

      • 1
      • Reply
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    2. shiv

      shiv

      • India
      • 31 Questions
      • 9 Answers
      • 0 Best Answers
      • 44 Points
      View Profile
      shiv
      2020-09-01T18:01:03+05:30Added an answer on September 1, 2020 at 6:01 pm

      PHP is server side scripting language while JAVA script is client side language.

      Colleges usually teach you java first and then PHP but PHP is much easier to learn while java script is little difficult.

      Plus PHP is much better than JAVA script in many ways and functionality.

      Plus you can implement each and everything in java script is easily can be implemented in PHP.

      But to understand web better, one should learn both. So first go with PHP then jaba script.

      Hope this helps.

      • 1
      • Reply
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Choose from here the video type.

    Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs Ex: 'sdUUx5FdySs'.

    Sidebar

    Ask A Question

    Stats

    • Questions 661
    • Answers 784
    • Posts 7
    • Best Answers 29

    Related Questions

    • Which is better, XAMPP or WAMP ?

      • 0 Answers
    • how to set background image in html example program

      • 0 Answers
    • java error a jni error has occurred please check your

      • 1 Answer
    • which python interpreter should i use

      • 0 Answers
    • How to print all characters from a string in C.

      • 0 Answers
    • Recent
    • Comments
    • Tags
    • Android 11 OS Features List | All You need to know about ANDROID 11

      Android 11 OS Features List | All You need to

    • Things to consider when buying a AC

      Things to consider when buying a AC

    • Things to consider when buying a printer

      Things to consider when buying a printer

    ac buying guide android 11 android 11 os features android 11 release date best specs for new smartphone to buy buy best smartphone android features list of android 11 google news Google News App google search app how to find best smart phone key configuration for best laptop key points before buying ac laptop buying guide laptop buying key points laptop choosing points limit google news notifications new smartphone choosing guide new things on android 11 points to remember for buying laptop printer buying guide remove google news smart phone buying guide stop google news notifications things to consider before buying laptop turn off google news turn off google news notifications

    Recent Questions

    • Which is better, XAMPP or WAMP ?

      • 0 Answers
    • how to fix lag in pubg mobile really slow

      • 1 Answer
    • whatsapp or signal app which one is better

      • 0 Answers
    • how to show battery percentage on android with Number

      • 0 Answers
    • how to set background image in html example program

      • 0 Answers

    Explore

    • Home
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Recent Comments

    • sita on how to fix lag in pubg mobile really slow
    • jahnavi on java error a jni error has occurred please check your installation and try again
    • nora khan on how to contact youtubers to review your product
    • dynamicapps5 on How does signal app earns money
    • neha on How to solve null pointers should not be dereferenced sonar fix
    Ask A Question

    Questions Categories

    • Android
    • Animation
    • Artificial Intelligence and Machine Learning
    • AWS
    • C Language

    Archives

    • September 2020
    • August 2020
    • July 2020

    Social media

    Terms & Privacy policy
    © 2020 All Rights Reserved @
    Techanswered.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.