RestFUL APIs Flashcards
MVC
Model
View
Controller
חלוקה רעיונית
AJAX
Asynchronous
JavaScript
And
XML
AJAX=
היא טכניקה ליצירת יישומי רשת אינטראקטיביים המבוססים על קוד המורץ במסגרת דף HTML בודד, ולא כיישום מרובה דפים, כמקובל בסביבת ה-Web
ASP.NET
ASP.NET=
היא טכנולוגית קוד פתוח ליישומי אינטרנט בצד השרת, שפותחה על ידי חברת מיקרוסופט
ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages
ASP.NET משלבת בנוסף טכנולוגיית MVC, שמאפשרת לפתח אפליקציות רשת במהירות ובקלות
ASP.NET MVC – allows for building web pages using the model–view–controller design pattern.
MVC/ Model View Controller
MVC/ Model View Controller=
תבנית עיצוב בהנדסת תוכנה המשמשת להפשטת יישום כלשהו
Model מודל
המודל הוא יצוג מסוים של המידע עליו פועל היישום
View תצוגה
ממיר את נתוני המודל לייצוג המאפשר למשתמש לבצע פעולה כלשהי
Controller בקר
תפקידו לעבד ולהגיב לאירועים המתרחשים בתצוגה, כתגובה לפעולה של המשתמש
ASP.NET Web API
API = Application Programming Interface is a
connection between computers or between computer programs.
ASP.NET Web API=
A framework for building Web APIs on top of the .NET Framework
Web API=
is an application programming interface for either a web server or a web browser.
A web API that obeys the REST constraints is informally described as RESTful. RESTful web APIs are typically loosely based on HTTP methods to access resources via URL-encoded parameters and the use of JSON or XML to transmit data.
Web API Server side
API = Application Programming Interface is a
connection between computers or between computer programs.
Web API Server side=
server-side web API is a programmatic interface defines request–response message system, typically in JSON or XML
exposed via HTTP-based web server
Web API Client side
API = Application Programming Interface is a
connection between computers or between computer programs.
Web API Client side=
client-side web API is a programmatic interface to extend functionality within a web browser or other HTTP client
REST
Representational state transfer
REST/ Representational state transfer=
software architectural style
that was created to guide the design and development of the architecture for the World Wide Web
A web API that obeys the REST constraints is informally described as RESTful. RESTful web APIs are typically loosely based on HTTP methods to access resources via URL-encoded parameters and the use of JSON or XML to transmit data.
It provides operations (HTTP methods) such as GET, POST, PUT, and DELETE as request, and response as: - 200 = ok - 404 = server not found - 500 = error
HTTP methods
request/ response
HTTP methods =
Request methods:
GET, POST, PUT, DELETE
Response status codes:
1XX (informational)
2XX (successful) request was successfully received, understood, and accepted
3XX (redirection)
4XX (client error) request contains bad syntax or cannot be fulfilled
5XX (server error) server failed to fulfill an apparently valid request
- 200 = ok
- 404 = website not found
- 500 = server error
HTTP
Hypertext Transfer Protocol
HTTP = Hypertext Transfer Protocol =
protocol used to transfer data over the web.
XML
Extensible Markup Language
XML=Extensible Markup Language=
markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.
JSON
JavaScript Object Notation
JSON - JavaScript Object Notation=
data interchange format
that uses human-readable text to store and transmit data objects,
common data format with a diverse range of functionality in data interchange including communication of web applications with servers
body html
body html=
element contains all the contents of an HTML document
HTML= hypertext markup language
HTML- hypertext markup language=
a formatting system for displaying material retrieved over the Internet.
is called hypertext markup language because it is a language that allows users to organize, improve the appearance of, and link text with data on the internet
What are the 10 basic HTML tags
What are the 10 basic HTML tags=
This is the root element tag. ... ... ... ... <h1></h1> ... <p></p> ... <a></a> ... <img>