COMP 7480
Chuck的复习手记
MEAN mongodb, Express, AngularJS, Node
LAMP linux, Apache, MySQL, PHP
DOM document object model
ORM object-relation mapping
URL Uniform Resource Locator
HTML Hyper Text Markup Language
- define the content of a document.
CSS Cascading Style Sheets
- defines the style and formatting
HTML block level or inline elements:
block element :
- takes up the full width available
- line break before and after it.
inline element :
- takes up as much width as necessary
- not force line breaks.
The HTML DOM is a standard for how to get, change, add,or delete HTML elements
IP Addresses : unique
so that communications can be routed to the correct computer.
Domain Names
- The Domain Name System (DNS) convert a domain name into a valid IP address.
- Easier to remember and the names reflect the identi ty of the owner.
- The DNS consists of a number of dedicated servers that maintain naming information for different zones.
- The mapping between domain name and an IP address can change, so the same name can migrate between different host systems.
POST vs GET:
- Data in a GET string is limited to what we can stuff into the request line (URL)
- The total number of POST string can be arbitrarily large.
- GET string can be included in the URL (Hence, can be bookmarked)
- When using GET, all variable names and values are displayed in the URL
Database:
A collection of information that is organized so that it can easily be accessed, managed, and updated.
MVC Framework:
- Model (data)
- View (User Interface)
- Controller (Logic)
Object-Relation Mapping
- maps database rows to objects
- ORM abstracts everything from the database, and the application codes interacts only with their objects and methods.
- We can easily change our database implementation (e.g., MySQL, MongoDB), without the need of changing the code.
Node.js
- Node.js is good for IO heavy apps.
- Node.js is asynchronous (Non-Blocking)
- It won’t wait during IO operations.
CRUD (create, retrieve, update and delete) 所谓增删查改
AJAX (Asynchronous JavaScript and XML )
Update a web page without reloading the page.
- Git is a revision control system,a tool to manage the source code history.
- GitHub is a hosting service for Git repositories.
Sessions:
- The data is stored in the server side, in a session store database.
- Uses a cryptographically random session ID to identify a user.
Cookies:
- Basically, cookies are just text messages.
- A website can store one or more of them to the client machine.
- If you visit the website again, these cookies that were stored earlier can be read.