100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Web Programming: Ajax and Front End Libraries Lecture Notes

Rating
-
Sold
-
Pages
7
Uploaded on
05-01-2025
Written in
2024/2025

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.

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Unknown
Course

Document information

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

Subjects

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
$6.95
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
ileniamaiettabusiness

Document also available in package deal

Get to know the seller

Seller avatar
ileniamaiettabusiness Queen Mary, University of London
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
11 months
Number of followers
0
Documents
10
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

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

Student with book image

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

Alisha Student

Frequently asked questions