K2 (25%) Interaction & Compatability Of Code On Different Platforms Flashcards
What is a stack?
A stack is a solution or software stack, a set of components required to create a complete platform.
What is the LAMP stack?
LAMP stack is a web service stack.
Named after the four original open-source components:
- Linux (operating system)
- Apache (web server)
- MySQL (relational database management system)
- PHP (server-side scripting language)
It can be used to build dynamic websites and web applications.
What is linux?
Linux is a family of free and open-source operating systems.
Common distributions include Ubuntu, Debian and Fedora
Commonly used as server operating systems.
Operating system is software that manages computer’s hardware and software resources as well as the platform the user used to interact with computer.
In LAMP stack, linux is used as operating system on the web server.
What is Apache?
Apache HTTP server is a free and open-source web server.
Currently the most popular web server software in use & often runs on Linux distributions.
Primary function of web server is to store, process and deliver web pages to clients.
What is MySQL?
MySQL is an open-source relational database management system
Purpose of the database is to store information eg user info, login details, web page content, images and videos
What is PHP?
PHP (Hypertext Preprocessor) is a server-side scripting language designed for web development.
Can also be used as general purpose programming language.
The code is interpreted by web server which results in web page.
It can be embedded into HTML code or used in conjunction with content management systems & web frameworks
PDF = Portable Document Format
A file format used to present documents in a manner independent of software, hardware or operating systems.
Extension is .pdf
Many applications have ability to create pdf’s including most operating systems. Pdf viewer are generally provided free of charge. Most common is adobe acrobat.
HTML file format
HTML = Hypertext markup language
A file format used to present web pages
Extension is .html or .htm
The docs can be opened using text editors and then viewed or edited. But must be opened using a web browser to be viewed as a webpage
Image file formats
There are numerous file formats used to present images
Most common:
- GIF (Graphic Interchange Format)
- JPEG / JPG
- PNG ( Portable Network Graphics)
GIFs
GIF images are compressed using lossless data compression (no loss of quality) and supports small animations but have palette limitations
Thus are suited to images with simple graphics or logos with solid areas of colour rather than gradients
Extension .gif
JPEG / JPG
Joint Photographic Experts Group
JPEG images are compressed using lossy data compression ( quality is affected)
File type is well suited to realistic images eg photos but less suited to line drawings and textual or iconic graphics.
Most commonly used image file type for web pages where it is important to reduce amount of data on a page
PNG file type
Portable Network Graphic
PNG images are compressed using lossless data compression (no loss of quality)
The PnG file type was developed for transferring high quality images on the internet and is most widely used lossless image compression format online.
Video / Mpeg
Mpeg = moving Picture Expert Group
File format used for compressed audio and video for digital storage
Files are usually compressed using MPEG-1 or MPEG-2
Popular for online distribution as can be streamed or downloaded quicker than other video formats
Extension is .mpg , .mpeg or .mpe
BUT as MPEG also refers to form of compression it can also have file format that reflects the compression codec eg .mp2 or .mp4 (Others can include .xvid, .mv4 etc)
In order to play MPEG, you need to use player with corresponding codec for the files compression method.
Most common video players will have code a for MPEGs already installed
Audio / MP3
Audio coding format for digital audio
Originally derived rom the mpeg standard audio format but later extended
MP3 files use lossy compression meaning some quality loss but vastly reduced file sizes.
Small file size makes the perfect for online sharing and in 90s peer to peer file sharing software combined with ease of transferring mp3 files resulted in widespread copyright infringement.
Development cycle - what are the stages?
Analysis Design Development Testing Evaluation