MSFN Forum: Programming - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Programming Rate Topic: -----

#1 User is offline   Torner 

  • Group: Members
  • Posts: 3
  • Joined: 28-December 07

Posted 28 December 2007 - 06:28 AM

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?


#2 User is offline   Idontwantspam 

  • Nerd-in-Chief
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,063
  • Joined: 25-February 07

Posted 28 December 2007 - 11:37 AM

-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.

#3 User is offline   mschol 

  • Group: Members
  • Posts: 8
  • Joined: 25-December 07

Posted 29 December 2007 - 09:39 AM

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.

#4 User is offline   ripken204 

  • The Hardware Guy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 6,311
  • Joined: 23-December 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 December 2007 - 09:10 PM

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 :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy