• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Class notes

Web Programming: Ajax and Front End Libraries Lecture Notes

Document preview thumbnail
Preview 2 out of 7 pages

In-depth notes about how to make Ajax requests on the front end, as well as different options to make requests from the front end to the back end. It also discusses the different type of front end libraries that are available, like Vue and R. It has a summary section on the left side of the page, following the Cornell note taking method, where the key points are summarised on the side of the noted.

Content preview

5️⃣
Ajax and Frontend Libraries
SUMMARY MAIN NOTES

Front-end libraries Contents
allow for: Front-end Libraries
Reactive Programming
separations of
Vue
concerns Ajax
freedom of XMLHttp Request
simplification Lifecycle and readyState changes
Fetch API
maintenance Promise API
of code Web Frameworks
Websockets
Separate style,


💡
logic and data

They follow the Use PEP8 style guide for Python
DRY principle by
https://realpython.com/python-
having a single
pep8/#maximum-line-length-and-line-
representation of
breaking
each function:
Python can also have type hints with the
reusable
typing library in the form of
components
and templates def greeting(name: str) -> str:
middleware for return name
common tasks

ORMs to
remove
boilerplate Front-end Libraries
routine Allows for separation of concerns (SoC):
separating a software in distinct section so each
Reactive
one addresses a separate “concern”.
programming is a




Ajax and Frontend Libraries 1

, declarative Allows for freedom of simplification and
programming maintenance of code
paradigm
More opportunities for module upgrade,
concerned with
reuse and independent development
data stream and
propagation of A website should be separated:
change style and presentation
e.g. Vue and business logic
React are
content i.e. the actual data
progressive
frameworks as Follows Don’t Repeat Yourself (DRY) principle,
they can be by having single representations of each piece
incrementally of knowledgeable. Done through:
adopted
reusable components and templates
Ajax is a way to
middleware to handle common tasks
make async
requests without ORMs to reduce boilerplate and improve
refreshing the code reuse
page and handling Routing as it is streamlined
them in the
Reactive library watches changes to the data
background
and refreshes the UI
A persistent
connection
between a client
and server,
💡 It only changes where the data changed

providing
bidirectional, full Reactive Programming
duplex
communication Declarative programming paradigm
channels over
concerned with data stream and the
HTTP through a
single TCP/IP propagation of change
socket connection.
Vue and React are known as progressive front-
end frameworks

They can be incrementally adopted




Ajax and Frontend Libraries 2

Document information

Study
Unknown
Uploaded on
January 5, 2025
Number of pages
7
Written in
2024/2025
Type
Class notes
Professor(s)
Paulo oliva
Contains
All classes
$7.67

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
10
Last sold
-




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions