Seo Forum

Coding & Programming => Programming Forum => Topic started by: seoproM on 05-23-2010, 17:32:10

Title: JavaScript & PHP
Post by: seoproM on 05-23-2010, 17:32:10
I want to make dynamic websites and for that I am learning PHP/MySQL. But some one told me that I should learn Javascript as well.

Is it really important, also, if I learn simple Java, whats the difference.
Title: Re: JavaScript & PHP
Post by: oleshka on 05-27-2010, 18:15:28
If you are webmaster you must know javascript.
Javascript is client side web language.
Title: Re: JavaScript & PHP
Post by: coolrays on 06-01-2010, 02:24:14
Most of the video pages like youtube use javascript.  It makes the website lively.  In fact without javascript you cannot watch youtube video.
Title: Re: JavaScript & PHP
Post by: Vinil on 08-10-2011, 02:21:06
Java is web development language based on OOPs concepts while javascript is client side scripting language for making web applications attractive and user friendly.JAVA is used to build web applications,desktop applications etc.Both are like North and South direction i.e different to each other. !-!
Title: Re: JavaScript & PHP
Post by: sam on 02-09-2012, 21:54:20
What is Javascript? Javascript is rightly called the language of the Web. Each newer browser version pushes the bar higher in terms of JavaScript execution speeds. This is an important performance parameter these days as sites make extensive use of JavaScript. JavaScript led the Web 2.0 revolution with AJAX. Using JavaScript, sites can send HTTP requests behind the scenes and customize or update certain sections of the site, tailored to a particular user's needs. This does away with complete page refreshes and makes the user interface a lot more powerful and user friendly.
Hello World of JavaScript
The Hello World example is almost customary to include when talking about programming languages. So here we go
<script>
dоcument.write("Hello, World!");
</script>
You can also pop alert boxes just as easily with:
<script>
dоcument.alert("Hello, World!");
</script>
Title: Re: JavaScript & PHP
Post by: developers on 04-20-2012, 04:34:02
Javascript is a scripting language used to make HTML dоcuments more dynamic.for web developer they should have knowledge of javascript also.
Title: Re: JavaScript & PHP
Post by: kiash001 on 07-29-2013, 10:48:37
It's bater to know JavaScript. But as a new bies your learning flow must be this HTML & CSS --> PHP --> JavaScript --> others
I think it is the best flow.
Title: Re: JavaScript & PHP
Post by: Patrecia on 08-08-2013, 13:50:24
More you know the better it is and thus for your development of websites you have to know PHP as well as java script.Javascript is a object oriented scripting language making it a powerful tool for development ,when you already know PHP it becomes very helpful for developers.
Title: Re: JavaScript & PHP
Post by: Luca tall on 08-09-2013, 04:46:18
If you are a beginner just focus only on PHP and MYSQL. Once you are good in basic then you can start learning javascript which is also needed for making good dynamic website.
Title: Re: JavaScript & PHP
Post by: MarcoLeitner on 06-04-2015, 02:05:53
1.Php runs on server and the main function of php is to produce html code so that browser will easily read it where as javascript  can handle only local task.
2.Php does not execute with in a browser window where as javascript execute with in a browser window.
3.MYSQL database is used commonly in Php, but its not compulsory to use MYSQL database in javascript.
4.Php can only combined with HTML while javascript can combine with HTML,XML and AJAX.
Title: Re: JavaScript & PHP
Post by: SanviMalhotra on 08-18-2015, 00:02:43
1. Php is embedded only with HTML but with not XML where as javascript can be combined with HTML,XML and AJAX.
2.PHP doesn't execute with in browser window where as javascripts execute with in browser window.
3. In php code will be available only after the server interprets its where as javascript code can be viewed even after the output is Interpreted.