Welcome to your place for tech questions! ( Log In or Join today ) Get answers from experts today. (it's 100% free) Virus removal forum
![]() ![]() |
Sep 25 2010, 03:23 PM
Post
#1
|
|
|
Silver Member ![]() ![]() ![]() Group: Authentic Member Posts: 331 Joined: 5-September 09 From: Delhi, Noida Member No.: 87,735 Operating System: Windows Xp |
|
|
|
|
Oct 15 2010, 12:28 PM
Post
#2
|
|
|
Silver Member ![]() ![]() ![]() Group: Authentic Member Posts: 331 Joined: 5-September 09 From: Delhi, Noida Member No.: 87,735 Operating System: Windows Xp |
Can anyone please answer this?
I will ask the specific query after the response to this post. |
|
|
|
Oct 16 2010, 12:43 AM
Post
#3
|
|
|
SuperMember ![]() ![]() ![]() ![]() ![]() Group: Visiting Tech Posts: 2,056 Joined: 11-October 10 From: Abingdon, uk. Member No.: 94,698 Operating System: suse linux |
i would of said programming languages control the hardware and scripting tells the program language what it needs done, so scripting is a layer above the programming language, so slightly slower, to the end user, there is no difference tho.
but i found a link that i think explains things much better than i could. :- http://www.killersites.com/blog/2005/scrip...e-a-difference/ |
|
|
|
Oct 16 2010, 09:34 PM
Post
#4
|
|
|
Silver Member ![]() ![]() ![]() Group: Authentic Member Posts: 331 Joined: 5-September 09 From: Delhi, Noida Member No.: 87,735 Operating System: Windows Xp |
Thanks terry for the response..i have a query regarding the usage of scripting language. Scripting language is generally used for some automation work. It is valid as per your above post that it controls programming language..
Scripting language is also used in both client and server side programming. The rationale for using client side scripting is: we don't want browser to send request to server for everything so we embed script in html for some actions which don't require browser to contact server and be executed at the client side, thus faster. For example: select all checkbox, all the states of U.S. are populated in the state drop down after selecting U.S. in the country drop down. Similarly, i just want to know the rationale for using server side scripting? Also, please let me know if i am wrong any where. |
|
|
|
Oct 16 2010, 10:40 PM
Post
#5
|
|
|
SuperMember ![]() ![]() ![]() ![]() ![]() Group: Visiting Tech Posts: 2,056 Joined: 11-October 10 From: Abingdon, uk. Member No.: 94,698 Operating System: suse linux |
this is way out of my comfort area, but will try and answer..
lets use your example and the web page needs to know where your located, now the web page designer, might use a script on the server side to use that information provided by you to change what he can lawfully send you. so if your in the u.s. you would see a video when you click on a link, but if you were anywhere else you would get a message saying sorry copyright laws prohibit us from showing you this video.(they would actual use different methods of getting your location tho so in other words they would use a script to automatically change what location on their servers they will get the information you see in your web browser. the programming at their end handles the technical details of how data is passed from them to you and the scripting handles exactly what that data is that you finally see as a web page. hope that helps answer your question. |
|
|
|
Oct 16 2010, 11:16 PM
Post
#6
|
|
|
Silver Member ![]() ![]() ![]() Group: Authentic Member Posts: 331 Joined: 5-September 09 From: Delhi, Noida Member No.: 87,735 Operating System: Windows Xp |
Thanks Terry for the quick response. Though I understood what you are saying but not very clear. I will try to explain it more clearly where is the problem:
I understood this "if your in the u.s. you would see a video when you click on a link, but if you were anywhere else you would get a message saying sorry copyright laws prohibit us from showing you this video.(they would actual use different methods of getting your location tho)" I did not get the bolded portion when you say this " in other words they would use a script to automatically change what location on their servers they will get the information you see in your web browser. the programming at their end handles the technical details of how data is passed from them to you and the scripting handles exactly what that data is that you finally see as a web page." |
|
|
|
Oct 17 2010, 12:20 AM
Post
#7
|
|
|
SuperMember ![]() ![]() ![]() ![]() ![]() Group: Visiting Tech Posts: 2,056 Joined: 11-October 10 From: Abingdon, uk. Member No.: 94,698 Operating System: suse linux |
ok,
QUOTE technical details of how data is passed they way computers talk to one another never changes, they send and receive packets of data(0's and 1's), so it's the programmes job to establish this connection, interpret the data received then send back data when needed/requested, so "technical details". QUOTE what location on their servers computers are computers no matter cost/where they are and everything has to be stored in a certain order/place if a server(computer) needs to send you the "video" data it will be in one place/file if it needs to send you the "sorry notice" data that will be in a different place/file. QUOTE what that data is that you finally see as a web page now when web browsing this forum, it's always the same programme that sends/receives you/r data but it's the scripts that go off and find what data(0's and 1's) it needs to send to you, what data is needed depends on which link you have clicked on, and is stored in a different place, this is then passed to the programme to be sent to you. each page is seen by you has something different, a black line, picture or a letter but to a pc it is all seen as the same thing, lot's of 0's and 1's, it's just the order of those numbers change, depending on what page your looking at. what you see on a screen looks nice and can be understood but to a pc it's just a lot of lights that it needs to turn on or off depending on what order the 0's and 1's are received in. 0 being off and 1 being on. that better?? This post has been edited by terry1966: Oct 17 2010, 12:25 AM |
|
|
|
Oct 17 2010, 03:54 AM
Post
#8
|
|
|
Silver Member ![]() ![]() ![]() Group: Authentic Member Posts: 331 Joined: 5-September 09 From: Delhi, Noida Member No.: 87,735 Operating System: Windows Xp |
Ok....what I infer now is how the data is sent is handled by the protocol, that is HTTP, how the data will look to the user on the computer after opening the website is defined by the programming language, that is HTML and which data will be shown/response will be given to the user based to user's ip address/input etc is defined by the scripting langauage that is used at the server side, for eg: CGI.
Please let me know if I understood it correctly. |
|
|
|
Oct 17 2010, 01:04 PM
Post
#9
|
|
|
SuperMember ![]() ![]() ![]() ![]() ![]() Group: Visiting Tech Posts: 2,056 Joined: 11-October 10 From: Abingdon, uk. Member No.: 94,698 Operating System: suse linux |
sounds about right to me.
but don't forget it's a lot more complicated in reality, not least because programming/scripting are more or less the same. |
|
|
|
Oct 17 2010, 01:20 PM
Post
#10
|
|
|
Silver Member ![]() ![]() ![]() Group: Authentic Member Posts: 331 Joined: 5-September 09 From: Delhi, Noida Member No.: 87,735 Operating System: Windows Xp |
thanks terry for the response!!
|
|
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
0 | ozyank | 590 | 15th September 2006 - 05:17 PM Last post by: ozyank |
|||
![]() |
3 | bilal | 1,383 | 21st October 2005 - 03:43 PM Last post by: HappyShiner |
|||
![]() |
3 | taxer | 1,264 | 21st October 2005 - 03:04 PM Last post by: taxer |
|||
![]() |
2 | wingmeng | 1,723 | 4th November 2006 - 08:19 AM Last post by: Susan528 |
|||
![]() |
10 | devonrexcatz | 1,308 | 24th October 2006 - 08:20 PM Last post by: Doug |
|||
|
Time is now: 21st May 2013 - 06:14 PM |