Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In

Captcha Click on image to update the captcha.

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

Sorry, you do not have a permission to ask a question, 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
  • 126 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
  • 866
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • which computer language is easy to learn
    • Best Programming Language To Learn in 2021?
    • cookie program in php.
    • what are the 4 types of programming language?
    • java. lang. NullPointerException
    • Which is the best programming language to learn right now?
    • what java is used for ?

    2 Answers

    1. shiv

      shiv

      • India
      • 31 Questions
      • 9 Answers
      • 0 Best Answers
      • 41 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 Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. Ravi Ujjwal

      Ravi Ujjwal

      • India
      • 12 Questions
      • 68 Answers
      • 4 Best Answers
      • 242 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 Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    More Questions

    • SEO_BRISK

      What part does content play in SEO, and what impact

    • glenn

      code for matrix multiplication in c

    • sita

      How to add scrolling text in Blogger

    • dynamicapps5

      how to solve error illegal start of expression in java

    • sita

      write a program to calculate the electricity bill in java

    • Abrar

      What is mean by Java script and. How is it

    • kranthi

      which computer language is easy to learn

    • arslansaeed

      How to recover images from Google Drive.

    Stats

    • Questions 1,939
    • Answers 2,046
    • Posts 8
    • Best Answers 72

    Related Questions

    • kranthi

      which computer language is easy to learn

    • Vipinkv

      Best Programming Language To Learn in 2021?

    • Reshmi

      cookie program in php.

    • dynamicapps5

      what are the 4 types of programming language?

    • Namrata Podder

      java. lang. NullPointerException

    • harrywilson

      Which is the best programming language to learn right now?

    • Pooja Jakhar

      what java is used for ?

    • shree

      which one of these is the most different? javascript php ruby python

    Explore

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

    Footer

    Recent Comments

    • ethancargio on Which programming language should I learn?
    • glenn on How to stop windows 11 update permanently
    • glenn on How to fix the POS limit has been reached on windows 10 and saying your device need to install updates
    • Satish on YouTube offline video save to gallery app
    • glenn on where does youtube offline videos gets saved on Phone
    Ask A Question

    Archives

    Tags

    android 11 release date (1) Google News App (1) if x+y+z=0 show that x3+y3+z3 is equal to (1) if x+y+z=0 show that x3+y3+z3=3xyz (1) if x+y+z=0 show that x3+y3+z3=3xyz solution (1)

    Social media

    © 2021 @ Techanswered.com.
    Terms, Privacy policy & Sitemap.

    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.