Week 7 - Dynamic Web Content Flashcards
Describe what a Dynamic web page is?
- Pages that contain content that change automatically.
* Shopping websites where users upload their products e.g. Amazon, ebay.
How is a Dynamic web page created?
• Some kind of processing performed by the server or client’s machine.
What are the 2 types of scripting for Dynamic web pages?
- Server-side scripting
* Client-side scripting
Describe what Server-side scripting is?
• Page requests are fulfilled by running a script directly on the web server to generate dynamic HTML page.
What are 4 Server-side scripting technologies?
- php
- ASP.Net
- Python
- JSP
Describe how php technology is used for Server-side scripting?
- Script is embedded into page along with HTML and run.
- Created by Rasmus Lerdorf in 1995.
- Open source, cross-platform & free.
- Only parses code within tags.
Describe how ASP.Net (active server pages) technology is used for Server-side scripting?
- Microsoft technology enables dynamic web pages using VB script of C#.
- Server executes when lifts page off disk.
Describe how JSP technology is used for Server-side scripting?
- Serperates page logic from static elements to help HTML be more functional.
- Is an extension to Java servlet.
Describe how Python technology is used for Server-side scripting?
- Interpreted high-level programming language for general purpose programming.
- Requires a web framework such as Django, Flask.
What CGI as a Server-side application?
• Common Gateway Interface defines a standard interface between Web server & independent application.
How does CGI work?
- Has to launch application independently for each request.
* No convenient place to store state info between web requests.
Name 5 Server-side applications?
- CGI
- Perl
- Java
- C++
- C
State 4 problems with running separate applications for the Server-side?
- Start & stop application.
- Passing data from client to application.
- Passing data from application to client.
- Status & error reporting.
Describe what Client-side scripting is?
- Programs run in browser on clients machine.
- Small programs in form of interrupted language are embedded into web page.
- Browser has built-in interpreter which reads script code & runs it.
Describe what a plug-in is used for?
- Add-on software which permits software developers to add new capabilities to browser.
- Ability to add new type of data instead of running separate application.
- Is javascript based.