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.
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:
Call the sweetAlert-function after the page has loaded
text: “Here’s my error message!”,
Added more functionalities to the Admin table. The admin can create new admin. Also,it is the responsibility of the Admin to send newsletter to all the subscribed candidates.
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.
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.
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.
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.
I began with certificate generation module. This is a service provided by the website. I was getting problem in setting the correct format of the text. It was not according to the requirements. So modifications were made. Now it works properly.
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.