Jump to content

Recommended Posts

Posted

What Is Harder, JavaScript Or PHP?

сообщ. Hey all,

Maybe seems like an odd question to ask but the reason I ask is because I am learning JavaScript which I find fairly hard to pick up and I am going to start learning PHP soon and so I wondered if I am going to find it easier or harder than JavaScript?


Posted

-where to begin, where to begin :unsure: -

JavaScript and PHP are very, very different things. JavaScript is a client-side language, it is interpreted by the browser, and also depends on the browser being able to use javascript and having it turned on. It can be used to manipulate HTML directly, which is called dynamic HTML.

PHP is a serverside language. It runs on the server, and the browser only sees the HTML that PHP serves it; it never sees the PHP itself. PHP can be used for very basic things, or can be immensely complex. It cannot interact directly with the page, e.g. you cannot call a PHP function from clicking a button.

Learn your HTML, CSS and JavaScript first, once you understand them well, move on to PHP. You will need webhosting that supports it, or else have to set up your own webserver.

Posted

first try to get used to scripting with javascript

php is fairly easy to learn but its also VERY easy to make applications with HUGE security holes in it.

Posted

they really are different in how you code them to react with things. they do have similarities with how you can write functions for them.. but also you can use php to interact with databases, that is where php gets fun :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...