DAILY DIARY (March-May 2013)

DD(6 months Industrial Training)

March, 2013


2-3-2013

Today, I started with login page and also handling information in database. Login class is used to create login page and providing security to seating plan projects.


4-3-2013

Today, I had given presentation on Doxygen. It was interesting presentation from my side. I also learn new things while preparing this presentation like we can create man pages using Doxygen.


5-3-2013

Today, I get following errors:

  • database.cc: In member function ‘std::string Database::SelectQuery(std::string, std::string)’:
    database.cc:82:1: error: control reaches end of non-void function [-Werror=return-type]
    cc1plus: all warnings being treated as errors
    make[1]: *** [database.o] Error 1

    Its a warning and I used -Werror flag which converts all warnings into error and don’t let to compile code with warnings. I had removed this error by adding return statement in SelectQuery() function.

  • Second error was about linking ie undefined reference to files. Then I did some changes in Makefile and it worked well.

6-3-2013

Today, I am getting error of comparison b/w signed and unsigned variables. This is solved by adding ‘unsigned’ with variable error occurs. I also learnt vectors in C++. I am also able to use them as call by reference and it worked as I need them to fulfill my requirement.


7-3-2013

Today, I did work from home as I’m not feeling well. I learned new thing i.e. finding string in vectors using find function of algorithm header file. Also implemented in my project for comparing user email id with email id in database. This section is working fine and also updated that on experimental. Its working on exp too without any error.


8-3-2013

I added registration and login feature in BaKaPlan. Today, I gave presentation on OOP’s using Slot Machine.


9-3-2013

I completed with password encryption and session logging in BaKaPlan using CGI and C++.


11-3-2013

Today, I designed logo for BaKaPlan. Then, created next pages for getting input from user and store them into database. Also writing user documentation of strategies for generating seating plan.


12-3-2013

Today, I changed logic for checking user is registered or not as it checks for email id and logged in if password is wrong. I just added new if-else condition for checking password. I did changes in projectdetail.cc file for this.

Then, I set the value of all input field names in inputfieldname.cc file. I also added logout.html page for log-out session.


13-3-2013

In morning I had some work at home and reached TCC at 1:15 pm. Then I added functions for inserting data into tables. database.cc and database.h files are used for database connectivity.


14-3-2013

After long time, I know why cgicc error occurs. When getElement(fieldName) function doesn’t finds field to read value then it shows error. Secondly, if we are adding any input field outside form and reading that field then also same error occurs. Today, I solved this and also write code to split string into sub-string.
SplitSubject() function is for splitting string and used that in RollNoDetail Class.


15-3-2013

Today, I did coding for reading room details and store them into database. I almost completed front end pages for reading input details and storing them into database, only few part of room detail is left.


16-3-2013

Today, I completed page for getting room detail from user and storing that information into database. Also edited code of registration section as condition for matching password was incorrect. I solved this issue and also able to read cookies and removing session info from database using log out page.


18-3-2013

I’m working on strategy page and removed unwanted hidden field i.e. emailId as session problem is solved. Now I have started backend processing for expanding roll nos, arranging, sorting, etc. For this I created InputFile class which is used to create I/P files by reading data from database and each file has project Id in its filename. I am using files as I/O files at backend.


19-3-2013

Today, I’m working on backend processing of bakaplan. I am getting error in that and now I’m finding solution for that. I created InputFile Class for creating I/P files but its not required as it can be done while reading data from I/P fields. By doing this my problem was solved.


20-3-2013

Today, I completed front end connectivity with database and back-end working of BaKaPlan. Although their are some limitations but I will remove them too.


21-3-2013

Today, I made new function for creating a unique project name and store that in database. Each user will create new project with unique name.


23-3-2013

Today, I am creating simple example for using Makefile, Doxygen and also writing GD coding standards.


25-3-2013

I did wireframing of BaKaPlan’s layout and changed code of input flow. Also using swSMTP C++ library for sending mails to user.


26-3-2013

Today, I’m working on input work flow of BaKaPlan. As now I am adding Date sheet and generating seating plan according to that.


28-3-2013

Today, I changed I/P flow BaKaPlan. Firstly user select total branches/trades/classes for seating plan then he/she will fill branch/trade details. After that fill subject codes, roll no for each trade and then fill date sheet for seating plan. After this, he/she will fill room details which include total centres, rooms, room nos, and rows and columns in each room.


29-3-2013

Today, I discuss problem with sir and all about work flow of seating plan. The code will be changed for adding date sheet section and I am doing that.


30-3-2013

I create small example of sending email link to user after registration. I will add this in BaKaPlan. I used jwSMTP library in C++ for sending mails.


April, 2013


1-4-2013

Today, I did coding of backend processing. I created classes for reading input files and then expanding roll no, sorting them and removing rollno which are not required for seating plan.


2-4-2013

Today, I did work from home. For adding datesheet content in bakaplan, I created Datesheet class which reads datesheet and add roll nos with exam code in datesheet. O/P of these functions will written in datesheet.out file. Also completed the rest of code i.e. class for generating seating plan and Strategy class for checking that selected strategy is valid or not.


3-4-2013

I completed back-end processing of seating plan and working on front-end for taking I/P from user through browser.


4-4-2013

Today, I redesigned database of bakaplan and created tables for that. Also created class Database for database connectivity and different function for inserting data into tables.


5-4-2013

I completed Login and Registration part of bakaplan. For sending mail i used jwSMTP Library of C++ for confirming mail.


7-4-2013

Today, I created classes for different pages like ClassDetail for reading class information from user through browser. Also included function for adding new project for seating plan and using existing project for creating seating plan.


9-4-2013

Today, I added javascript functions for adding rows in table for taking class details. Also installed TCC automation software and understanding its working.


12-4-2013

Today, I helped Sandeep for adding details in database of TCC Automation software and created client register for displaying user detatils from database.


15-4-2013

Today, I write functions to read I/P details and store then into database. I completed class detail and roll no detail part.


16-4-2013

Today, I created payment register for TCC automation. Also completed datasheet page for bakaplan. This is for taking I/P from user and saving roll no detail into database.


17-4-2013

Today, I improved the code to solve problem of saving details of new project and old project.


18-4-2013

Today, i created room detail page for taking I/P from user and created a function of javascript for adding row in table. This func is for room, exam and strategy detail table only.


19-4-2013

Today, I did coding of bakaplan, created func. for room detail, corrected ReadRoomDetail func. Also worked on TCC Automation, added data in database.


20-4-2013

Today, I completed the forms for taking i/p from user and then write that i/p detail into files. Then that I/P files are used to generate seating plan. These I/P details also store in database.


21-4-2013

I combined backend code with frontend of bakaplan. Backend code means reading I/P files and then generate seating plan, read validation file and display that detail on browser. If condition for room and strategy is valid seat plan will be generated.


22-4-2013

Today, I gave presentation on bakaplan as launch day but due to some errors release of s/w is postponed.

23-4-2013

Today, I helped Sandy in her work and exploring server side validations in C++ using CGI.

24-4-2013

I did not work much, just prepared presentation on Virtual Classroom with the help of GD members.


25-4-2013 – 26-4-2013

Created performa bill register and solved some TCC automation issues.


30-4-2013

I did changes in BaKaPlan, added javascript functions for calender, improved add/delete row functions, removed project type option for new user.


May 2013


1-5-2013 – 6-5-2013

Preparing GSoC Proposal, changing user guide, adding validation for bakaplan. I have installed Ubuntu 13.04, so reinstalling BaKaPlan and listing all requirements for bakaplan. That improves my user guide and instructions for installation of BaKaPlan. Also doing TCC Automation work, solving issues in bill performa, client and payment register, Sandy helped me in that.


7-5-2013

In BaKaPlan, I have added validations on login, register, project detail pages. I’m using validate.js file for client side validations. Also solving error on backend.


9-5-2013

Today, I worked on validations for BaKaPlan. Fixing js error on class detail page.


10-5-2013

Today, I have not done much work of bakaplan as we are making presentation on ICT and Road Safety.


13-5-2013

Today, I did changes in Readme and installation instructions. I’m working on validations of BaKaPlan, also removed error while generating seating plan but few changes left.


14-5-2013 – 17-5-2013

In these days, We are making presentation on ICT and Road Safety. I’m trying cppcms for form validations on server side, created doc for BaKaPlan and handover my project to Avneet.


20-5-2013

Today, I did changes in BaKaPlan like changed room details format, added recover password option, created table for Valid Strategy details to remove error on validation page.


21-5-2013

Today, I removed bugs of bakaplan, also added add more rooms option.


Leave a Reply

Your email address will not be published. Required fields are marked *