CH 2 Programming for the web Flashcards
What makes up the appearance of a website?
This is the visible part of the website. This includes the content, layout and applied styling. Often referred to as front end and is built using languages such as CSS, HTML, and JavaScript.
What makes up the logic of a website?
This dictates what content to show to the user and when. Often referred to as the back end. Its created using languages such as Ruby, Python, and PHP. These languages can modify the front end languages that is displayed to the user.
What makes up the storage of a website?
Storage saves ANY data generated by the site and its users. Data such as user generated content, profile data and preferences. This is part of the back end and is stored in data bases such as MongoDB and MySQL.
What makes up the infrastructure of a website?
Infrastructure delivers the information from the server to the client machine, or user. This is hardly noticed by the user. However this can be affected by high traffic or natural disasters. This is built by languages such as Apache or Nginx.
Define what a web application is.
A web application is a website that you might visit using a web browser on any device.
Define what a mobile web application is.
These are websites that are optimized for use on mobile device. These are built using HTML, CSS and JavaScript. Used to build more simple applications like schedules. They have more performance issues an load more slowly that native apps
Define what a native mobile application is.
A native mobile application is an app that is designed to run on a specific device such as an iPhone or an Android tablet. These cannot be viewed using a web browser. Built using Objective-C or Swift for Apple, and Java for Android. Used to build more complex applications like messaging and social media. These are more expensive and take longer than mobile apps
Why are web applications easier to build than mobile applications?
Generally these require little to no additional software to develop and test, to run on all devices. This includes desktops, laptops, and mobile devices.
What is a hybrid approach?
This involves building an app using HTML, CSS, and JS that utilizes a “wrapper” and then running it inside a native mobile app container.
Why use a hybrid approach?
It can allow access to device-level functionality not normally accessible to mobile web applications.