Professional Documents
Culture Documents
I would like to dedicate my Industrial training report to GOD almighty who has
brought me this far and to my family for their continual prayers and support.
1
ACKNOWLEDGEMENT
I wish to register my profound gratitude to GOD almighty for his guidance and
grace throughout my SIWES program. I would like to extend special regards to
my amazing family who have been a great source of strength, may GOD
continually bless you.
2
ABSTRACT
This exercise involved a continual learning and project building cycle which
lasted for six months, where experience was gathered. Hence, this report contains
a comprehensive summary of all activities undergon
3
CHAPTER ONE
1.1 INTRODUCTION
SIWES was founded in 1973 by ITF (Industrial Training Funds) to address the
problem of tertiary institution graduates' lack of appropriate skills for
employment in Nigerian industries. The Students' Industrial Work Experience
Scheme (SIWES) was founded to be a skill training programme to help expose
and prepare students of universities, Polytechnics and colleges of education for
the industrial work situation to be met after graduation.
This system facilitates the transfer from the classroom to the workplace and aids
in the application of knowledge. The program allows students to become
acquainted with and exposed to the experience required in handling and operating
equipment and machinery that are typically not available at their schools.
Prior to the establishment of this scheme, there was a rising concern and trend
among industrialists that graduates from higher education institutions lacked
appropriate practical experience for employment. Students who entered Nigerian
universities to study science and technology were not previously trained in the
practical aspects of their chosen fields. As a result of their lack of work
experience, they had difficulty finding work.
The ITF (Industrial Training Fund) organization decided to aid all interested
Nigerian students and created the SIWES program. The federal government
officially approved and presented it in 1974. During its early years, the scheme
was entirely supported by the ITF, but as the financial commitment became too
4
much for the fund, it withdrew in 1978. The National Universities Commission
(NUC) and the National Board for Technical Education (NBTE) were given
control of the scheme by the federal government in 1979. The federal government
handed over supervision and implementation of the scheme to ITF in November
1984. It was taken over by the Industrial Training Fund (ITF) in July 1985, with
the federal government bearing entire responsibility for funding.
The Industrial Training Fund’s Policy Document No. 1 of 1973 which established
SIWES outlined the objectives of the scheme as:
Prepare students for the Industrial Work situation they are likely to
experience after graduation.
Make the transition from school to the world of work easier; and enhance
students’ networks for later job placements.
5
CHAPTER THREE
INDUSTRIAL TRAINING
6
programs to communicate with customers, sell products and improve work
processes. The main difference between a website and a web application is
that a website provides users with visuals and text content that can only be
read but not affected in any way while web applications are presents
contents that can be both viewed and manipulated by the user.
7
I.2 FRONTEND
The front-end of a website is the part that users interact with. Everything
that you see when you’re navigating around the Internet, from fonts and
colours to dropdown menus and sliders, is known as the frontend of a
website or web application.
I.2.1 HTML
HTML stands for HyperText Markup Language. It is a standard
markup language for web page creation. It defines the structure of the
contents on a webpage.
1. The opening tag: This consists of the name of the element (in this case, p),
wrapped in opening and closing angle brackets. This states where the
element begins or starts to take effect — in this case where the paragraph
begins.
8
2. The closing tag: This is the same as the opening tag, except that it includes
a forward slash before the element name. This states where the element
ends — in this case where the paragraph ends. Failing to add a closing tag
is one of the standard beginner errors and can lead to strange results.
3. The content: This is the content of the element, which in this case, is just
text.
4. The element: The opening tag, the closing tag, and the content together
comprise the element.
Attributes contain extra information about the element that you don't want to
appear in the actual content. Here, class is the attribute name and editor-note is
the attribute value. The class attribute allows you to give the element a non-
unique identifier that can be used to target it (and any other elements with the
same class value) with style information and other things. Some attributes
have no value, such as required.
9
Above is an image tag it contains two attributes, but there is no
closing </img> tag and no inner content. This is because an image element
doesn't wrap content to affect it. Its purpose is to embed an image in the
HTML page in the place it appears.
11
I.2.5 CSS
CSS stands for Cascading Style Sheets language and is used to stylize
elements written in a markup language such as HTML. It separates the
content from the visual representation of the site. The relation between
HTML and CSS is strongly tied together since HTML is the very
foundation of a site and CSS is all of the aesthetics of an entire website.
CSS uses a simple English based syntax with a set of rules that govern
it. Like we’ve mentioned before, HTML was never intended to use style
elements, only the markup of the page. It was created to merely describe
the content. For example: <p>this is a paragraph</p>.The syntax for
styling an element or elements in css includes a selector and a
declaration block.
You select an element and then declare what you want to do with it.
The selector points to the HTML elements you want to style. The
declaration block contains one or more declarations separated by
semicolons.
12
Below is an example illustrating styling in css
13
INTERNAL
An internal style sheet holds CSS rules for the page in the head section of
the HTML file. The rules only apply to that page, but you can configure
CSS classes and IDs to style multiple elements in the page code. A single
change to the CSS rule will apply to all tagged page elements.
Below is an example of internal styling in CSS
14
EXTERNAL CSS
An external stylesheet is a standalone .css file linked from a web page.
Using external stylesheets, you can apply rules to multiple web pages. If
you ever need to make widespread changes to your website design, a single
change in the stylesheet can be applied to all linked pages, saving lots of
time and effort.
Below is an example of internal styling in CSS
15
I.2.8 JAVASCRIPT
The initial versions of the scripting language were for internal use only.
After Netscape submitted it to ECMA International as a standard
specification for web browsers, JavaScript pioneered the release of
ECMAScript.
It was a general-purpose scripting language to ensure web pages’
interoperability across different browsers and devices.
16
JavaScript has continued to grow alongside new browsers like Mozilla
Firefox and Google Chrome since then. The latter even started developing
the first modern JavaScript engine, called V8, which compiles bytecode
into native machine code.
Today, JavaScript has plenty of frameworks and libraries to simplify
complex projects, such as AngularJS, jQuery, and ReactJS.
JavaScript can be placed on the webpage the same way the CSS is placed
on the web page except it is written differently. See the following
illustrations for linking JavaScript to the HTML document.
I. INLINE-SCRIPTING
17
III. EXTERNAL SCRIPTING
18
III.3 BACKEND
. The back- end of a website consists of the server, application logic and database.
III.3.0 NODE.JS
Node.js lets developers use JavaScript to write command line tools and
for server-side scripting. The functionality of running scripts server-side
produces dynamic web page content before the page is sent to the user's web
browser. Consequently, Node.js represents a "JavaScript everywhere"
paradigm, unifying web-application development around a single
programming language, rather than different languages for server-side and
client-side scripts.
19
III.3.2 EXPRESS.JS
Express is a minimal and flexible Node.js web application framework that
provides a robust set of features to develop web and mobile applications. It
facilitates the rapid development of Node based Web applications. Following
are some of the core features of Express framework −
III.3.3 MIDDLEWARES
Middleware functions are functions that have access to the request object
(req), the response object (res), and the next middleware function in the
application’s request-response cycle. These functions are used to modify req
(request object) and res (response object) objects for tasks like parsing request
bodies, adding response headers and more.
CRUD OPERATIONS
CRUD (create, read, update and delete) refers to the four basic operations a
software application should be able to perform.
In such an application end users must be able to create data and save data to
the storage or database, access data (read or retrieve data from the database),
update or edit data within the storage or database and delete data from
storage or database.
Each letter in the CRUD acronym has a corresponding HTTP request method.
20
CRUD OPERATION HTTP REQUEST METHOD
Create POST
Read GET
Update PUT or PATCH
Delete DELETE
Below are snippet of codes that illustrate CRUD operations in mongodb using
mongoose
CREATE
This adds new data to the mongodb database using the create keyword.
READ
21
DELETE
UPDATE
22
This updates data in the mongodb database using the
findOneAndUpdate keyword.
Pug
Blade
HandlebarsJs
Jade
Ejs
The code below illustrates how to use the EJS template engine
23
III.3.5 DATABASE
24
3.4.0 COLLABORATION TECHNOLOGIES
While working on projects we had to learn the soft skill of communication and
got introduced to technologies like Git, Github and medium.
Git is a version control system that you download onto your computer.
It is essential that you use Git if you want to collaborate with other
developers. Version control is a system that records changes to a file or
set of files over time so that you can recall specific versions later.
3.4.2 MEDIUM
25
CHAPTER FOUR
The main problem I encountered was transportation seeing that the internship was
unpaid and my house was quite far from my IT placement.
4.1 RECOMMENDATIONS
26
27
28