031: Software Development and Web Technologies Flashcards
What kind of program can be used to edit source code?
Any program capable of editing plain text.
What kind of tool helps to integrate the work of different developers into the same code base?
A source or version control system, such as Git.
Suppose you want to write a 3D game to be played in the browser. Web apps and games are
programmed in JavaScript. Although it is possible to write all the graphic functions from
scratch, it is more productive to use a ready-made library for this purpose. Which third-party
libraries provide capabilities for 3D animation in JavaScript?
There are many options for 3D graphics libraries for JavaScript, such as threejs and BabylonJS.
Besides PHP, what other languages can be used on the server side of a web application?
Any language supported by the HTTP server application used on the server host. Some
examples are Python, Ruby, Perl, and JavaScript itself.
A programmer normally develops an application by writing a textual description, called
source code
The source code is in a carefully defined “programming language” that represents what the computer can do in a high-level abstraction humans can understand.
programming language
In the case of source code, the “reader” is the machine, so the text cannot contain
ambiguities or inconsistencies—even subtle ones
What is described as plain text files
source code
Common File extensions
C
Python
JavaScript
.c
.py
.js
Alternate way to edit source code that provides a text editor along with toos to help the programmer avoid syntactic errors and obvious inconsistencies.
VS
Eclipse
Xcode
Integrated Development Environment (IDE)
Allow each developer on the team to work on a copy of the source code files without interfering with the work of the programmers
Git
Version Control
Programming languages are distinguished from eachother by deep conceptual approaches they represent known
paradigms
Paradigms define the premises on which a progamming language is based, especially concerning how the source code is
structured
instructions presented in the source code are executed in sequential order like a movie script
procedural
Main characteristic is the separation of the program state into independent sub-states
OOP
Object Oriented Programming
The sub-states of OOP have more or less independent existence within the program and because they have specific purposes.
Objects
Introduces the definition of an object that contains variables and subroutines
class
Also known as an attribute
variable
Also known as a subroutine
method
receives a copy of all the information necessary for its execution and always produces the same result for the parameter, regardless of changes that happen outside of the function’s scope
function
Describes the states you want the system to be in and can figure out how to achieve the specified states.
Declarative languages
Universal language for querying databases is known as a declarative language although it occupies a unique niche in the programming pantheon
SQL
Web browsers are also known as
client side
or
front end
This end of the application handles requests FROM the browser and is normally programmed in a different language like PHP
server side
or
back end
Regardless of paradigm each language has these incorporated into code
pre-built libraries of functions
Allow among other things the incorporation of pre-compiled features in machine language and compiled libraries
Compiled Languages
compiled languages the produce a program in a format generally called - not a platform-specific language and it requires an interpreter program that translates into machine language.
bytecode
interpreter programs are also known as
runtime
Bytecode is closer to machine language than source code so its execution tends to be comparatively faster
than source code
In interpreted languages such as JavaScript, Python, and PHP, the program does not need to be instead of compiling it the script is executed by an interpreter.
precompiled, making it easier to develop and modify it
Interpreter of a language is named after
python - python
javascript - node (outside of a browser)
the language itself
Nothing prevents the same app from having components written in different languages and can communicate through a mutually understandable
Application Programming Interface (API)