Python Final
Python Final
Musayev Abdusamadjon
Unit 7: Python
Learner declaration
I certify that the work submitted for this assignment is my own. I have clearly
referenced any sources used in the work. I understand that false declaration is a form
of malpractice.
1.0. Introduсtion...................................................................................................................1
2. P 1...................................................................................................................................2
3. P 2...................................................................................................................................9
2. M 1................................................................................................................................15
3. D 1................................................................................................................................31
5. СonсIusion.....................................................................................................................41
Referenсe Iist.....................................................................................................................42
Introduction
With the rapid evolution of the web development industry in this digital era, a
the task of developing a dynamic and information-rich website for one of our clients.
The project requires not only building a user-friendly interface but also taking care of
the website content to be effortlessly manageable and updatable from an admin panel.
The project deals with making a company-based website with the help of Python and
the Django framework. Python is a language known for its simplicity and readability;
hence, it is pretty apt for web development. Django is a high-level Python Web
Among others, it will include some key features on the webpage: company logotype,
1
Besides the purely technical side, this project aimed at assessing how the purpose of
the website and user needs influence the development process. In this respect,
understanding these factors shows how current web technologies influence design and
implementation, so that the end product will meet both the requirements of the client
This introduction gives the basis upon which the project is founded and on which the
Activity 1
A.P1 Explain how a web site's purpose and user needs affect its design and functionality.
How the Website's Purpose and User Needs Affect Design and Functionality
A website's design and functionality are majorly varied by their purpose and their user
needs. Knowing these elements is crucial to creating a successful and helpful web
A website's purpose answers to its core objectives and aims. This general intent then
acts as a guide towards design decisions and into the technical implementation.
2
1. Purpose of the Website
Informational Websites: These sites majorly focus on the delivery of content and
information to a user. The design has to emphasize readability and easy navigation.
content, and accessibility features to make sure that all users can access the
information.
way of showcasing products, and smooth checkout. Core functionality includes secure
Social Networking Sites: The primary objective of such sites is to reconnect people
and bring them together in some manner. The design elements should, therefore, be
3
made more engaging through user profiles, messaging, and activity feeds. The
2. User Needs
User needs can be defined as all those requirements and preferences expressed by the
target audience. Understanding these needs is crucial to designing websites that are
Usability: A website should be easy to work with. This involves ease of navigation,
users will always find what they look for with the least effort.
4
- Mobile Compatibility: With the increasing use of smartphones, a website needs to be
responsive, smoothly transitioning from screen size to screen size and device to
- Performance: People want to load pages fast. This means compression of images,
- Security: The users need to feel their data is secure. Key steps in the implementation
this trust.
- Purpose: The purpose of the website is to give full information about the company
dynamically. This requires designing, in which information about the company should
be provided in an orderly fashion, with different pages that include the company logo,
5
- User Needs: The website must be user-friendly for both the end-users, who access
the information, and the admin, who updates the information. This involves:
- Make the admin panel as user-friendly as possible, so that even nontechnical staff
- Give the possibility for security measures not only with users' data but also to
effectiveness, ease of use, and security to meet the client's requirements and make
This website is built to sell all things. You should buy and use it very easily. It is not
6
Our website acts as the dynamic hub for all information pertaining to our company.
Functionality and user experience considered, this site is built using the extremely
powerful Django framework to keep the content current and fully manageable.
Key Features:
1. Company Information:
- Company Logo: This provides the visual identity of our brand through an official
logo.
Company Activities: Familiarize yourself with our company's various activities and
projects. In this section, find comprehensive descriptions and updates on our ongoing
2. Employee Directory:
- Profiles: Let us introduce you to our working family! Below, one will find
pictures, names, surnames, and positions in regard to all employees. Each and every
7
Dynamic Updates: With the use of our admin panel, the updating process becomes
Technical Highlights
Responsive Design: Our website is fully responsive, assuring the best experience on
desktops, tablets, and smartphones. No matter what device you are using, our site will
- User-Friendly Navigation: A neat, intuitive layout that makes looking for the
required information easy and hassle-free. In designing the structure of our menu, we
made sure that every single part of this website would be accessible without any
problems.
- Secure and Reliable: We take serious consideration for our users' data security. The
site is built with HTTPS, where any information transferred from you to our website
Dynamic Content Management: The website is built using Django, an efficient admin
interface wherein our team can handle the contents, ensuring that information is
8
Take a tour of our site to get yourself updated on who we are, what we do, and the
fantastic team that makes it all possible. Our commitment is to make sure that every
A.P2 Explain the impact of current technologies on web design and implementation.
The unending evolution of Web technologies has gradually changed the way Web
Websites and improving the user experience. Some of the main technologies and their
Better Multichannel Support: HTML5 has introduced new tags, including <video>,
external plugins. Hence, user experiences have become richer, and contents are going
`<article>`, and `<section>`, which really fleshed out the structure and accessibility of
9
web pages. In short, this makes websites much more SEO-friendly and accessible to
Responsive Design: Media queries through CSS3 made responsive design techniques
possible. Websites can automatically respond to the size of different screens and adapt
- Interactivity and Performance: React, Angular, and Vue.js are some of the
frameworks that have reshaped front-end development. They introduce a set of tools
required for the creation of highly interactive and dynamic user interfaces. This hence
SPAs can also be developed using JavaScript frameworks. In them, contents get
updated dynamically and without page reloads. This, in turn, provides faster and
3. Backend Technologies
10
The Server-Side Frameworks: Modern server-side frameworks such as Django for
Python, Node.js for JavaScript, and Ruby on Rails for Ruby go hand in hand to make
the development process easier by providing a full stack of built-in features while
databases like MongoDB and traditional ones like PostgreSQL. This provides scalable
and flexible ways of data storage and management, handling huge volumes of data
11
4. Cloud Computing and Deployment
Scalability and flexibility: The cloud platforms AWS, Azure, and Google Cloud are
providing scalable infrastructure and services to deal with the fluctuating traffic level
of a website. They also provide deployment, monitoring, and management tools for
by CI/CD pipelines in the test and deployment process enables faster and more
reliable releases. These continuous integrations and deployments have been facilitated
by tools such as Jenkins, Travis CI, and GitHub Actions, which team up with
12
5. Web Performance Optimization
- Content Delivery Networks: These distribute content across multiple servers around
the globe. In this manner, latency gets reduced and users experience better load times
compression, lazy loading, and code minification. These features reduce the size of
web assets for further assurance in maximizing page load times and providing the best
user experience.
6. Security Enhancements
HTTPS and SSL/TLS: Adoption of HTTPS and SSL/TLS certificates has become a
13
Security Practices: Periodic updates and patches are the current security practices.
web application firewalls that protect against common threats such as SQL Injection
- HTML5 and CSS3 introduce a responsible, accessible design in this regard, friendly
- Use JavaScript frameworks like React or Vue.js to render dynamic content more
- Django acts as the backend framework-a robust base when working with data for
serving content.
ensure scalability and reliability. We will make use of Web performance optimization
techniques in order to ensure that the load times are very fast. An HTTPS/secure
safety.
14
Thus, with their contribution, we will be in a position to design a state-of-the-art,
efficient, and secure website according to the client's needs, which will show a great
Analyze how the web site's purpose and user needs influenced its
A.M1
development process
Analysis of How the Website's Purpose and User Needs Influenced Its Development
Process
Website Description
Overview
The news website is for a smooth and interactive news experience. It features a clean,
Key Features
15
1. Homepage:
- The homepage greets its visitors with a highlighted message: "Django makes it
easier to build better web apps more quickly and with less code.".
There are "Login" and "Sign In" buttons for managing user accounts.
2. News Section:
The news page of this news company has items for sale that are well-arranged and
organized in a very attractive manner. The exact description of how it looks, in terms
Atributes
1. Title of Section:
16
* It has a title naming the section "News" and is located at the top to indicate
the purpose.
2. Product Lists:
The results are presented in card format. Each card conveys the summary information
Image: A large image for the news forms the focal point of the card. This visually
1. Grid Layout:
News items will be in grid display for balanced and neat listings. This would make it
The grid display is responsive and reacts well with screen sizes, maintaining neatness
2. Styling:
17
Lists: Lists are housed in a light background with a subtle shadow to outline a shallow
Card Interior Padding and Rounded Corners: These elements have been added to
Category Buttons: Colors and a border differentiate these elements in order to raise
Functional Aspects
1. News Information:
News details are clearly presented to the user for informed read decisions.
Login Page:
18
1. Background Color: The page has a bold blue background that covers the entire
2. Login Box:
- Shape and Style: The login box is a white rectangle with rounded corners, making
3. Typography:
- Title: The top of the login box has "Login" in simple bold text, pretty much telling a
- Input Fields: Two input fields labeled "Username" and "Password". The labels are
Password Field: Displays a masked password and ensures indications of privacy and
security.
4. Buttons:
- Login Button: The "Login" button should be aligned directly beneath the password
input field, rectangular-shaped with rounded corners, and colored in a soft shade of
19
SignUp Link: There is a "Sign Up" link beneath the "Login" button; new users can
join by signing up. It is styled to be plain and look like a button for a choice by users
5. Usability Features:
- Field Focus: It appears that the username field is active or in focus, a good usability
- Visibility: The text should be readable in contrast to the background colors, blue
and white.
This design uses great space to develop an intuitive interface that keeps the user in
typography and large spacing creates a very clear and direct experience for the users.
20
Sign up page:
* The sign-up form is centered on the page and has lots of white space around
it, which draws the attention to the fields of the form. Centered alignment is in
* Vertically aligned form fields assure clarity and organized flow in data
entry.
21
• The top of the page boasts a big, bold header called "Sign Up," immediately
Description beside each input field is meant for requirement and guidelines, which
greatly enhances the user's understanding and reduces errors; for instance, in the
username field, it would be specified that only 150 characters or less, letters, digits,
3. Input Fields:
- The form would have some of the needed fields for creating a new account:
- The "Username" and "Email" fields have the marking "Required," which
consequently shows that these are fields that must be filled in for advancement.
- The password field will have a set of criteria for the creation of a secure password,
including minimum length, limitations against being too similar to your personal
information, etc.
4. Buttons:
There is a pair of buttons down the bottom of this form. The first is the primary
button, "Sign Up," which would submit the form. This button is presumably
- A secondary button or link "Login" will redirect to the login page in case any user
22
5. Color Scheme and Design:
- Plain color form and background with light and darker hues, respectively, for
maximum readability.
- The design for input fields and buttons is minimalistic, with no excessive styling,
which may help the user stay focused on their task without several elements
distracting them.
- The page follows all the standard security measures: a strong password that also
• The password requirement informational bullet points are directly underneath the
password field-a very good design for quick reference at the exact moment when the
It is a good example of the signup page, considering usability factors. This, in turn,
should yield good results for user experience because the chance of confusion or
errors has been minimized, an important factor for user registration flows.
1. Website's Purpose
information about the company that can be easily managed and updated by
administrators. This purpose dictated several key aspects of the development process:
23
Dynamic Content Management: It was necessary to use the Django framework since
the site is in need of dynamic content, so with this powerful admin interface, it will be
able to let administrators add, update, and delete information about the company, its
structured way. Different pages were created for the company logo, activities, and
employee details so that each information would have its own space for better
Scalability: The website was designed to be scalable for further growth. Due to the
modular architecture of Django, adding new features and pages becomes pretty easy
2. User Needs
These are many aspects dictated by the needs of the visitors and the administrators
Usability - it has to be friendly for the end-user. That translated into a design that
enshrined simplicity. There is a clear menu structure and, therefore, easy navigation
because all the critical information will be obtainable in just a few clicks for visitor
convenience.
24
RESULTS.
Responsiveness: Since mobile devices have turned out to be a prevalent medium for
surfing the internet, it was quite an important aspect that the website was responsive.
With the usage of CSS3 media queries, the website will work responsively well on
Accessibility: All users, including those with physical disabilities, were catered for by
making the accessibility features. Semantic HTML5 elements improve the structure of
the website, while ARIA attributes enhance compatibility with screen readers.
Security: Users would want to feel that interaction with the website was secure. This
would be achieved by using HTTPS and the most secure way of authenticating users
that would protect sensitive data. Mcao also planned regular security audits and
Visual Design: The visual design was clean and professional, hence reflecting the
image of the corporation. The same branding elements were used in all the pages for
establishing consistency in branding, such as using the company's logo and color
scheme.
25
Layout of Content: It is a layout that effectively brought out the key information. For
instance, the layout for employee profiles includes pictures and details in a card
with other front-end frameworks like React or Vue.js. This would include, but not be
limited to, dynamic forms for contacting the company and dynamic maps to show
office locations, among other elements that will enhance user interaction.
Backend Development: Django was chosen because of the rich set of features it
inbuilt admin interface for content management, and a very secure feature set. This
helped speed up the development process and also ensured that the site could manage
content. The models defined the Company model, Employee, and Activities so that
Deployment and Hosting: Cloud platforms such as AWS or Heroku were put into
26
platforms offer automated backup, load balancing, and monitoring, which play a great
Conclusion
balances the perspectives of modern design with decent functionality. The webstore
allows for smooth user journeys: easy navigation, responsive design, and
Fundamentally, it may be said that every step involved in the process of development
was influenced in depth by the purpose of the website and its users. Right from
technology selection to appropriate user interface design and security, the driving
factor remained directed toward these core considerations. This has aligned the
development process with the website's goals and the needs of its users, making sure
the final product is able to cater to the client's requirements without affecting the
Evaluate how the website's purpose and user's needs have affected the
A.D1
effectiveness of its development.
27
This is a simple and functional page, designed in such a way to ease the input of data
for a new employee. The detailed aspects of design and layout are given here:
1. Header:
* The title of the page goes as "Add New Employee," placed at the top in
bigger and bold fonts, to be very clear about the purpose of the form.
2. Form Fields:
Photo Upload: This is the first input on the form, which involves uploading a photo; it
starts with "Photo:", followed by a button that says "Choose File", and then an
28
indicator text that no file has been chosen as yet. It is usually used to upload a picture
Text Entries: Below the photo upload, three text entry fields are labeled "First name:",
"Last name:", and "Position:". These fields are quite normal to capture personal and
associating an employee with a company from a list set up previously. This would
ensure the integrity and consistency of data in the form, thereby making it easier to
3. Submit Button:
The "Add Employee" button is probably at the form bottom for the submission of the
data filled out on the form. This button is wide and matches the width of the form
fields above it. This follows good UX practices in terms of visibility and accessibility.
differentiate it from the rest of the background of the page (which is not shown here,
- All the fields and labels are lined up vertically in an orderly and clean manner. The
29
- There is appropriate spacing between elements; hence, the interface is uncluttered,
user-friendly, and easier to interact with for devices with touch interfaces.
- The form is designed in a simple, easy-to-use way where fields are well-marked and
-This structure suggests that the form is probably responsive-it would adjust well to
different screen sizes down to the size of mobile devices, though this aspect does not
On the whole, the form "Add New Employee" is functionally designed with a focus
30
concerning an employee, and is likely to ensure speedy data entry with few errors.
The form in the provided screenshot is simple and well-structured, meant for adding a
new post to some platform or system. A detailed breakdown into elements and layout
follows.
-Title: The form has a clear title at the top, "Add New Post," that is prominently
Form Fields
-Title Field:
31
These will include the following: -
Title: This is the first input field, and it is labeled "Title"; this is where the user is
supposed to input the title of his post. It is a simple text input field for direct entry.
Content Field:
- Content: Below the title field is an input area much larger titled "Content." This is
where the main text of the post goes, and as such, it holds much more text than the
Title field.
- Image Upload:
Image: Choose File No file chosen This is where the image that may relate to the post
Button
- At the bottom of the form, there is a button labeled "Add News Post." This would
most likely be for submitting the entered data to the server. It is wide to match the
width of the form fields, following modern UX practices for the ease of interaction.
- Layout:
• The form elements are aligned vertically for a clean and easy-to-follow layout. Such
is the case because, through this kind of alignment, users will get a chance to logically
32
go step by step in completing a form from the title to the content and finally adding an
image.
• Visual Design:
• The form has an extremely simple color scheme with a white background and very
minimalistic styling on the input fields and button. This helps to minimize irrelevant
• Spacing:
There is enough breathing room between them. This keeps the interface clear of
clutter and allows the interactive elements to stand out easily for users' reach.
Functionality Overall
It's a functional form, easy to use, where the fields are clearly labeled and the layout is
straightforward. The assumption here would be that users on any level of skill would
be able to understand and use it. Indeed, the focus here rests on functionality and ease
of use, hence assurance in making users complete their goal of posting content
This form will be a good example of best practice in form design since intuitiveness
and clarity, together with the minimal input, make it more usable and accessible.
33
This interface is very simple and user-friendly, put together with the aim of making
- Title: The title "Edit News Post" boldly sits at the top of the form, indicating the
Form Fields
34
- Title Field:
- It gives a user the opportunity to rename the post title; it currently has in it "911" as
- Content Field:
- Below the title field, there is a larger text area labelled "Content". Pre-filled with
some text "Terack to America World bank system" which should indicate it is to be
The form shows a pre-set image for the post (`news/911.jpg`) just to effectively give
removing the current image, and a "Choose File" button for uploading a new image,
Buttons
Save Changes:
A "Save Changes" button will be placed at the bottom of the form and will serve to
submit the form to save changes made on the post. This is considered a very important
Usability Features
35
The elements of the form are logically laid out in the order of workflow-first is the
title, followed by content, and then the associated image. This logical flow helps in
• The input fields and text areas are of a proper size to hold the usual lengths of the
Aesthetic
• The minimalistic design helps keep the user's focus on the task of editing without
distractions.
The vertical format has made every field clear and accessible; fields are spaced well
Overall Functionality
This form appears to be part of a content management system whereby users can
easily create news posts. The presence of essential functionalities, such as image
management right from within the form itself, makes the tool pretty robust for
editorial work.
36
This is the hallmark of user-centered design for interface design in web-based content
This form is designed to change the details of an already existing employee in the
system. Detailed features and design elements of this page are as follows:
At the top of the form, in bold and clear words, appears the title "Edit Employee,"
Form Design: The form is in a straightforward, vertical format and easily traceable. It
is ideal for quick changes and updates in the information about the employee.
Form Fields:
Photo Section:
37
It contains an area for a current photo along with a filename. It shows the idea of
associating a photo with an employee's profile. The length and complexity of the
-The "Choose File" button is included to upload a new photo, with a checkbox option
to clear the existing photo; this provides flexibility in the management of the
employee's image.
-Fields for "First name", "Last name," and "Position" are prefilled with existing data,
Each field has a proper label given, and the existing information shows that the form
Dropdown Menu
• Company: with various options; this depicts how an employee can be attached to
Button
Save Changes
This is the button at the bottom of the form where one submits all the changes done
about the employee's profile. This button is clear, and its denomination is simple,
38
Aesthetic and Usability
Color Scheme: The color pattern is simple. The background of this form is white with
Typography: The font is highly readable, therefore making it more usable in filling
out the form. The text size and font type allow for quick, accurate reading and input.
Spacing and Alignment: There is enough spacing between fields to prevent clutter and
help a user move through the varying elements of the form more smoothly .
Functionality:
This form probably connects to a database or even a backend system where data about
employees is kept, providing real-time updates, which are important for keeping
In short, the "Edit Employee" form is well-designed with user-friendly features that
allow for easy editing of information concerning employees. Its clear lay-out and
The evolution of prevailing technologies and their impact on the design and
implementation of the Web has been a transformational force that deeply changed
how websites are created, function, and ultimately interact with users. Some of the
39
Impact: Due to the increase in mobile devices, web design went mobile-first.
Responsive design ensures that web content is looking good and works properly on
everything from the small smartphone screen to big desktop monitors. In such a way,
usability and accessibility are improved, as is being found by search engines like
- Impact: On top of JavaScript, these frameworks and libraries pioneered a new way
in which developers created rich, interactive, and dynamic Web applications. They
provide the possibility to create SPAs and give extensive assistance in building quick,
responsive, and captivating user interfaces, which can also be used to handle state
management and integration with APIs, enhancing the ability to handle complex
- Impact: With PWAs, you can offer a native app experience on the web by leveraging
the advanced capabilities of the web. Offline functionality and fast load times are
some of the exciting features of PWAs, along with push notifications. The technology
closes the gap between the web and mobile apps by letting users have a continuous
and integrated experience without downloading anything from any app stores.
40
4. API-First Design
across multiple platforms, API-first design has become critical. This means that APIs
should be developed before the frontend to ensure different systems can talk easily to
one another and work in harmony. It allows for more flexible development of user
5. Cloud Technologies
- Impact: The cloud platforms have indeed empowered the developer community of
the web to push scalable applications with more flexibility and at low cost. They also
offer a suite of powerful tools to handle databases, serverless computing, and hosting
services that allow the developers to pay more attention to building great products
automating customer support with the help of chatbots, and analyzing predictively.
analytics.
41
- Technologies Used: HTTPS, SSL/TLS, CSP.
Impact: The more sensitive information web applications store, the more concern
there is for security. Modern security protocols and encryption standards have grown
to become an integral part of web development for ensuring data integrity and secure
Impact: With new web standards and tools, the focus has shifted towards making the
web accessible for everyone, including persons with disabilities. This includes
technologies like ARIA for making Rich Internet Applications more accessible and
internationalization libraries that make sure web applications can support a global
diverse audience.
Each of these technologies has an influence not only on how websites are being
designed and built, but also on how users experience and interact with the online
platforms. Given the rate at which technology is evolving, the update on these trends
is essential for the developer of modern, effective, and secure web applications.
Conclusion
The purpose of the site and the needs of its users influenced the development of the
website so much that it has turned out to be dynamic, user-friendly, accessible, secure,
42
and scalable. Since these aspects were taken into consideration with every step
involved in the development of the website, the site meets the desired goals with ease
and ascertains a good user experience. With this aspect in consideration, such an
analysis depicts understanding and integration of the website purpose and user needs
as crucial for the successful development and effectiveness of any web project over
References
2. Monocubed, 2024. 8 Reasons Why Django Web Framework is Best for Web
3. Django Stars, 2024. Top 14 Pros of Using Django Framework for Web
4. Built In, 2020. Why You Should Use Django to Develop Web Apps. Available at:
https://builtin.com/software-engineering-perspectives/why-use-django-develop-web-
https://www.pluralsight.com/paths/building-web-applications-with-django [Accessed
21 May 2024].
https://www.geeksforgeeks.org/python-web-development-with-django/ [Accessed 21
May 2024].
11. IEEE Xplore, 2024. Django: Developing web using Python. Available at:
12. Udemy, n.d. Learn Django Web Development With 5 Real World Projects.
at: https://tillerdigital.com/an-introduction-to-web-development-technologies/
44
14. Global Media Insight, 2024. 40+ Latest Web Development Trends in 2024.
45