Server ScriptingServer scripting via ASP, PHP, Perl ,CGI can be used to create Hypertext Markup Language (HTML,XHTML) pages on the fly on the Web server that are then sent to the browser. For example, you can use server scripting to query a database and format the results into an HTML page that is then sent to the user as a static page. All server scripting processing takes place before the page is sent to the browser. The browser sees pure HTML/XHTML and not the script itself. This can be seen quite easily if you view the source code of the web page. All you will see is HTML/XHTML code. How Server Side Scripting WorksHowever, you can use server scripting to create pages that can reach
any browser with just pure HTML as the script is processed on the
server.
Sever Side Scripting LanguagesScripting languages have grown up around the two major operating systems Unix (Linux) and Microsoft Windows. Therefore your choice of web hosting server means that you are limited to languages running on that platform. There are four popular scripting languages (PHP, Perl, ASP, JSP) used to write server side scripts the one I prefer and use is PHP because it is supported on both Microsoft and Linux web servers. ASP with VBscript is also a popular choice for people from a windows programming background. However if you are using this you should choose a windows hosting package. Perl is being replaced by PHP and so is not a consideration and JSP is the preserve of large corporates and it is not the choice of small/medium website designers. You can find more detail on the languages in website FAQs
Getting Server ScriptsThere are two ways of obtaining scripts:
Other Useful Resources |
||
|
|