Category Archives: Uncategorized

Adding the Error Notifications

Error page is required whenever a user who has not logged in wants to view the services.
There are two users : Job Seeker and Employer. So if a recruiter tries to use the services provided to job seekers, then also error page should open up.
Same is the case for Job seekers.
Some more validations were added on the registration page. The Mobile number cannot contain alphabets. Also, profile picture can only be of jpeg or jpg or png format. The user cannot select any other format.

Adding Alerts

Alerts were added at the time of registration, login, resume generation, certificate generation. For this, sweet alerts have been used.
SweetAlert was created by Tristan Edwards. These alerts are very easy to use.
SweetAlert also comes with some simple methods that you can call: setdefault, close, showinput error, enable and disable buttons.
Initialize the plugin by referencing the necessary files:

http://dist/sweetalert.min.js

Call the sweetAlert-function after the page has loaded

swal({
title: “Error!”,
text: “Here’s my error message!”,
type: “error”,
confirmButtonText: “Cool”
});

Including PDF Document Importer

The format of the certificate was not according to the requirements. The certificate was a simple HTML form with only two colors used. So it was decided to generate a colored certificate in pdf format.
But got another problem. First the pdf is to be loaded as a simple template and then candidate’s name is to be written over it.
After searching, it was found that fpdf and fpdi can be used for it.
FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.
FPDI is a tool that lets you import an existing PDF document as a template for generating another PDF document with FPDF. Put simply: it generates PDF files based on an existing PDF template.

Testing Phase

We started with testing phase of the software development.

Started with the Unit Testing. I started with the testing of Employer Module. In the Employer Module, it was found that the profile picture of the user was not being displayed. So the module was modified to display the profile picture as well.

When the modules were integrated, it was found that format of certificate was not according to the requirements. The problem was detected and it was solved by using the correct condition. The application now works correctly.

Modifications In The Homepage

Got an unexpected problem in the Homepage. The jQuery used for the homepage was creating many problems. Not getting the required font and sometimes the background was not getting loaded. So I changed the script. Now, the script works fines.

Also completed the first four pages of the homepage.

Also added animations. Modified the ER Diagram as new tables were added after the Certificate Generation Module.

Making Report

This week, I made Flowcharts and Data Flow Diagrams for the website. A data flow diagram (DFD) is a graphical representation of the “flow” of data through an information system, modelling its process aspects. A DFD is often used as a preliminary step to create an overview of the system, which can later be elaborated.

For making DFDs I installed Dia Software. Dia is free(open source) drawing software.

The NewsLetter Service

Started with the News Letter Module. The news will be delivered using RSS feeds. So by this the users will actually be able to apply for the real jobs.

Got problem in sending the mail to the user. First, sendmail was installed for this. But mail cannot be sent to a gmail id using sendmail, reason being that it does not make localhost the smtp server.

Then I used postfix. Through postfix, we were able to send but gmail requires some certificates. The postfix does not provide ca certificate. So we used msmtp which provides all the certificates- ssl and ca.

Continuing With the Resume Creation Service

After solving the problem of profile picture in resume creation, next problem occurred in saving the resume.  For saving this file, output buffer was used. It was ob_start(). This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer.  Output buffers are stackable, that is, you may call ob_start() while another ob_start() is active.

Again got problem in saving the profile picture. The problem got solved by fetching the picture using $_FILES[‘file_name’][‘tmp_name’]

Got problem in database connectivity. So I revised the queries.