Introduction
Javascript is run on the client side. For this reason, the visitors using your website can easily open, analyze & even manipulate your script with the use of firebug or the url address bar. It's main use is to execute any type of code which one would want to make use of without reloading the web page. Web pages has developed over the years and have become more usable for the user. It is why most web developers use javascript in the first place. This is why it adds alot of functionality to a web page.
With the development of the methods, it has become an even more powerful tool, for example ajax allows a javascript script to request data from a server without refreshing the page and make it accessible to the client. Some recent ajax developments have allowed functions such as: autocomplete, updating data without refreshing a page, storing data in the database and many more.
Security
Since the javascript files are visible to the visitors, some may obfuscate their coding which scrambles all the human readable coding into alot of garbage which still works but hardly readable. Altough javascript is a very useful tool, one must not overdo javascript because of these reasons:People do navigate the web with javascript disabled,It slows your web page, makes your website more vulnerable.
Affect on web
With the use of javascript, most of the modern web sites substitute flash with javascript for obvious advantageous features especially SEO related.
Task
Our task today was to download an html page with a javascript integrated and do these tasks:
1. Change Style
2. Add More information
3. Apply a discount
4. add new feature
In the screenshot below, you can see the how the page changed with the new style and added information

Something new that I learned today is JsFiddle.net which is a nice online tool to manipulate html, Javascript and Css. The interesting thing is that it does this by allowing you to choose a Javascript framework, how cool is that?
Javascript is run on the client side. For this reason, the visitors using your website can easily open, analyze & even manipulate your script with the use of firebug or the url address bar. It's main use is to execute any type of code which one would want to make use of without reloading the web page. Web pages has developed over the years and have become more usable for the user. It is why most web developers use javascript in the first place. This is why it adds alot of functionality to a web page.
With the development of the methods, it has become an even more powerful tool, for example ajax allows a javascript script to request data from a server without refreshing the page and make it accessible to the client. Some recent ajax developments have allowed functions such as: autocomplete, updating data without refreshing a page, storing data in the database and many more.
Security
Since the javascript files are visible to the visitors, some may obfuscate their coding which scrambles all the human readable coding into alot of garbage which still works but hardly readable. Altough javascript is a very useful tool, one must not overdo javascript because of these reasons:People do navigate the web with javascript disabled,It slows your web page, makes your website more vulnerable.
Affect on web
With the use of javascript, most of the modern web sites substitute flash with javascript for obvious advantageous features especially SEO related.
Task
Our task today was to download an html page with a javascript integrated and do these tasks:
1. Change Style
2. Add More information
3. Apply a discount
4. add new feature
In the screenshot below, you can see the how the page changed with the new style and added information

Something new that I learned today is JsFiddle.net which is a nice online tool to manipulate html, Javascript and Css. The interesting thing is that it does this by allowing you to choose a Javascript framework, how cool is that?
0 comments:
Post a Comment