Friday, May 27, 2011

OJT DAY 27

This day is an offsite duty at Marlon Dizon House, together with Veniza Joy Macaraeg and Marlon Dizon. As usual we are still continued working with the A.I.D.S-our second Project at the PGO. This day I got Back Pain and Headache (haha..) because all the time we are sitting in front of the Computer doing our codes for the System. But until this day we have not able to finished the project System. Raymond was Still doing with the Admin part of the UTI in offsite duty at there place, I think he almost done with it. Rea and Honey Lyn Toyorada was doing with CSS for A.I.D.S offsite at there home.  And Marlon Dizon have already finished the javascript and was partly integrated in the system during this day and as usual I was assigned in the database. :)

Thursday, May 26, 2011

OJT DAY 26

This day is an Onsite duty at the Philippine Global Outsourcing and I started at 10:30 a.m.. It seems that we only have few days to complete our 168 hours in On The Job Training  that is why we are in our busiest state  in our Project System- the Answering in The Distant System, and until this day we are still working  with that Project, the layout, CSS and Database are still in the Integration Mode, The javascript code are not yet implemented in the System. And I was still doing my task in CodeIgniter, coding for Inserting and Updating data for the user's input. The Designers was still doing their CSS and Interface Design for the  Answering In a Distant System (A.I.D.S). And we are still hoping that we can finished it.. :) 

Wednesday, May 25, 2011

OJT DAY 25

May 25, 2011 is another day in offsite mode in OJT. This day we are still continued coding in the database same as yesterday, together with Marlon Dizon we are still discussing about our database Structure for the A.I.D.S also known as Answering In a Distant System, Me and Veniza Joy Macaraeg started our offsite duty at 2:00 P.M at Marlon Dizon's House. Veniza do the layout for the System and Sends to Honey Lyn Toyorada and Rea Palmero for CSS Coding, then Toyorada and Palmero send the CSS codes and HTML code  to me, after that me and Marlon Dizon do the Integration of the Design and the PHP using the CodeIgniter Framework. The time we consumed for today seems working in one activity.. heheh.. Marlon also researching How to use and apply the javascript in CodeIgniter since the system required javascript code to perform the timer in every question list of our e-learning system. That's it for today!. Tomorrow we are working Onsite at Philippine Global Outsourcing. :)

Tuesday, May 24, 2011

OJT DAY 24

Today we are Onsite at the Philippine Global Outsourcing, we arrived at the office at 10:30 a.m, we plan this yesterday to have Onsite at the PGO so that we can ask sir Chris  regarding to our On the Job Training Requirements, particularly the Company History and Company Profile, and luckily sir Chris give us the Company Profile, but sir Chris said that we have the Company History on the Philippine Global Outsourcing Site, This day also, as usual continued our coding and creating the layout of the System, there are still a lots of things to do for the System, I was thinking that we are running out of time, since it was days to count before  the our On the Job Training ends. But, still hoping to finished the System on time..  :(

Monday, May 23, 2011

OJT DAY 23

This is my 23rd day in OJT and my 7th day in offsite at Boss Marlon Dizon House we started at 12 noon.. This day we just continued our second Project which is the A.I.D.S or the Answering In a Distant System, there are still many things to do in this System, the Layout was still working with the Designer (Veniza Joy Macaraeg, Honey Lyn Toyorada, and Rea Angelica Palmero) Me and Marlon Dizon are still working with the Database while Raymond Jay Rofuli was still updating the UTI System since sir Chris added the admin side of the System . This day also we are planning to merge the four table to make it one table, these include 'multiplechoice_table' , 'essay_table', 'identification_table', and 'trueFalse_table ' at first these table will hold the question for each question type such as multiple choice question and so on..  this table was combined and named questionlist_table, we are thinking that we can do this thing so that we can minimized the use of many tables in our database for the A.I.D.S. 
That's it for today and we are still hoping to finished this project before the end of OJT.. :)

Friday, May 20, 2011

OJT DAY 22

This is my 22nd day in OJT and my 6th day in offsite mode. I started at 1:00 p.m. First thing that I did this day was checking my email, where Honey Lyn Toyorada and Rea Angelica Palmero sends me the files which is the layout for the e-leaning project- the A.I.D.S or the Answering In a Distant System, I was planning today to create the code  and integrate the design they made for creating a quiz, but unfortunately, something happens in their designs,  about the css and pixels or the sizing they use for the page, So Veniza Joy and Honey Lyn still fixing this problem, and hopefully they well send me a file by tomorrow so that I can finally started the codes for creating a quiz and saving the quiz into the database. There are still a lots of design to work. Today also I was still trying to analyzed the database structure in our e-learning system, so that we could minimize the use of many tables in our database, yesterday we add one table which is the question_table which will hold the questions and the correct answer for that question..

Thursday, May 19, 2011

OJT DAY 21

May 19 ,2011 is my 5th day in offsite mode, and my 21st day in OJT .I arrive at Marlon Dizon House at exactly 1:30 p.m and ended at 7:00 p.m.We decided that the one who will work with the additional functions for the UTI system is Raymond Jay Rofuli, this function includes the Admin side of the System and some functions that need to be edited. In that case me and Marlon Dizon will be the one who will work with the database of this new system, and the designed interface will be done by Veniza, Honey Lyn, and Rea.. This day we are still waiting with css codes for the design, Rea and Honey Lyn was assigned with this task. And while waiting for the css, me and Marlon was still discussing for the database, since we are not yet finalizing the tables and fields for our database. "nahihirapan pa rin kami dahil mas maraming data na ang ilalagay at e-reretrieve sa bagong system" which we called A.I.D.S or Answering In a Distant System.. It seems that our System is more on the Disease name.. hahah.. as what our first System name (UTI)..
That's it for today.. Hopefully we could finished this System as soon as possible.. Good Luck to our Team!!! :)

Wednesday, May 18, 2011

OJT DAY 20

This is my 20th day in OJT I started at 1:30 p.m and ended at 7:30 p.m, this day also is my 4th day in offsite.. We are now working in our next project, the e-learning system. This we are still finalizing the database structure for the said system, together with Marlon Dizon, Veniza Joy Macaraeg, Honelyn Toyorada and Rea Angelica Palmero are still working with the interface for the e-learning system, Raymond Jay Rofuli is working with the UTI final clean up of codes.

Today also, Me and Marlon Dizon are started coding the codes for the database using the CodeIgniter Framework, but we need to wait for the design to finally created so that it would became easy for us to integrate directly the code from the CodeIgniter and the design as well.
That's it for this day!!. :)


Tuesday, May 17, 2011

OJT DAY 19 :)

Today is my 19th day in OJT and our third day in offsite mode, we started at 1:30 p.m and ended at 7:30 p.m. At this day we finally finished our integration in our UTI or the Universal Time Integration System, all the required task are already integrated, - the File Upload class for uploading the profile image of the users was done this day, the automatic logout for the users was also done!.. wew!..  :) although it takes a long time for us to integrate those task ("hindi kasi madali mag integrate, pag iba ang gumawa s isang task or functions for that certain task ")..

The registration form that was created by the system designer:

This are the codes for validating the users - Controller code:


Codes for the upload class:

Codes for the Model in CodeIgniter:


Above are the part of the code that I created for the file uploading and user validation.
And this are the default Profile Picture after the user Registered.

The page, when the user click the "Change Profile Photo"

After the user uploaded his/her profile photo it will redirected to his/her profile account.
That' it!!.. done!

 And today also, we are moving on to our next project System, this time we are still focusing on the database structure for the e-learning system, and the possible interface design and also the creation of the Logo and  the name of the e-learning System. Good Luck to us in this next System.. :)



Monday, May 16, 2011

OJT DAY 18 :)

May 16, 2011 is my 18th day in OJT and this day is our 2nd day in offsite mode.. hehe :)..Anyway we are still working on the "clean up" for the code in codeIgniter in our first Project -UTI System, at the same time we ( together with Veniza Joy Macaraeg, Marlon Dizon and Me ) are Planning with the database design for the next project  which is the E-Learning System, we discuss and come up with the table to use in the database, and we  consumed a lot of time in that discussion. 
This are the following tables to used in database.
Database: eLearning.db
Tables:
 Student Table, Instructor Table, Class Table, Quiz Table,QuizResult Table, Mulchoice Table, Essay Table, TrueFalse Taable, and Identification Table. 

More table compare to the first project, it means more code to work than the last project . hmmm.. :(
That's it for today!!! :)



Friday, May 13, 2011

OJT DAY 17:)

This day is my Day 17, sorry if I was not able to update my Blog due to Unexpected blog problems happens two days ago and yesterday :( 

This is our first time in Offsite mode in OJT, we dicided to have this offsite today as I said on my Last blog. This day we do our offsite work at the House of Marlon Dizon, since we need to discuss on what to do on our next project system.. But before that we still need to do our clean up of the codes from our first System. Me and Rofuli shares only one Unit (PC), at this time we don't need each of us to have computer, since we aready Integrate our codes last time, and we only need to  clean up those codes that we build a while ago, so it was efficient to do that together. Because there are some functions of the controllers and Model that I was the one who build up and others are created by Raymond Jay Rofuli. This day also was the plan to merge the profile class that I made to the Controller which I was assigned to do it, but unluckily my files are corrupted. And can not open it.. So I decided to create a new one by tomorrow, hopefully I can finished it. Good Luck to me!! :(

This day also, we (Together with Raymond) we discuss the Database structure for the new System ,
 the e-learning system, this includes the number of table to create for the system  database, and what to store in the database.

Thats it for today!!

Thursday, May 12, 2011

OJT DAY 16:)

May 12, 2010 is my 16th day in OJT.  But I was not able to update my blog during this day due to blog problem. . :( 
Anyway, As usual again, I arrived at the office  at 1:00 p.m , but unluckily we are not able to do our work at the office because when we arrive there are no vacant sets available and work area as well. ("Puno an office.." ) So we decided to go outside for a while, and after a while, we decided to ask sir Chris for another project to do with, Since our first project system was almost done, we only need to cleaned up our codes for effieciency, then that's it..! :)
Together with boss Marlon Dizon :)  we ask sir Chris about the details of the new Project System, Luckily sir Chris give us the E-learning System as our new project, some of the details of the system (for now..) are the following :
  •  The system should allow the user to register and login in the system.
  •  The system should allow the teacher to create examination questions through the system, and have the available choices for his/her exam type (multiple choice, essay and etc.. to be discuss more as we go on the system development...)
  • The system should allow the student to view and answer the question through the e-Learning System.
  • And the System should compute the average score of the Students.
  • Others, would be discuss soon as we go on our works in the New System.
Since, we don't have space for work area at the office, we ask sir Chris permission to have offsite by tomorrow, and luckily he did. So we decide to have offsite by tomorrow at Marlon Dizon's House.

That's it for today..!! Sorry for late updates!  :)


Wednesday, May 11, 2011

OJT DAY15 :)

This day is my 15th day in OJT. What we did this day was we still continued working with the code in our Project System which is the Universal Time Integration (UTI). We started at 1:00 p.m and ended at 7:00 p.m..

We Integrate the Database In the code Igniter,we help Raymond Jay Rofuli  together with our Boss - Marlon Dizon to integrate the system, and add some function in the Controller and Model in CodeIgniter, We add the computation of the time consume by the user to finished and continue his/her task, Session class for Login and Punch-in.It takes long process to build those functions since we need to search more about the timespan function in codeIgniter ( this will help us to compute the consumed hours of the user to finished the task ) . And hopefully we can made it by tomorrow.

But there are still some conditions to work as well, - the automatic logout if the user forget to logout, this conditions will be applicable if the time of the session are at 12:00 midnight, I do some of these research but, it is hard to find the function to this. Until at the end of the day we were not able to build this auto logout of the System.. We decided to continue by tomorrow. 
That's it for today..!!  :)

Tuesday, May 10, 2011

OJT DAY 14 :)

May 10, 2011 is my day 14 in OJT. As usual I arrived at 1:00 p.m and ended at 7:00 p.m..

What we did this day was we continued our Project - the Universal Time Integartion (UTI) System. I was still working the Integration of the CSS, HTML and PHP in CodeIgniter, at this time Rofuli was still fixing the database and I also tried to help him some of the codes, but my focus in this day was the Integration of the Registration Account of the user, I was still fixing on some of the errors until now. 

That's it for today!!! Hopefully we will finish it as early as possible.. :)
Good Luck to us!!!..

Monday, May 9, 2011

OJT DAY 13 :)

This day, May 09, 2011 is my 13th day in On-the-job-Training at PGO,  I Started  at 1:00 in the afternoon and ended at 7:00 P.M.. What I did this day was doing my task in our Universal Time Integration (UTI) System project. Supposedly I would help Raymond Jay Rofuli in the database as what we started and as  the task assigned  to us, I already finished the File uploading function for the registration of the user into the system, but since rofuli was still busy in his work (in database) we set aside first the integration of my file uploading function (the databse I made ) into the database that Rofuli made. And therefore, Me, Marlon Dizon and Rea Angelica Palmero decided to try to integrate first the login form, registration form and user profile that was made by the CSS designer ( Rea Angelica Palmero, HoneyLyn Toyorada, and Veniza Joy Macaraeg  ) . I was the one who integrate the code since I am familiar with the code from the database that was created by Rofuli, so it would not take time for me to read all the code and understand it ( since at first me and Rofuli are working with the CodeIgniter code) however with the help of Rea who is familiar with the CSS code it also became easy (for now! hehe...) to understand there CSS code and HTML code for the design of the UTI system.. And Marlon Dizon who help me on researching the code to integrate the CSS into the CodeIgniter and give some Instruction for the UTI. ..

That's it for today... :)

Learnings!!

I learned that it is true on what sir Chris said about the CodeIgniter, -that although you are not the one who made the code for php, but if you're familiar with the flow of the CodeIgniter( MVC framework) you can easily understand  and read the code..  XD..





Friday, May 6, 2011

OJT DAY 12

May 06, 2011 is  my day 12 in OJT. I arrived at the office at 1:00 p.m .. What we did this day was dividing the task in Task management or the UTI (Universal Time Integration)..Me and Raymond Jay Rofuli did the database of the system and Rea Palmero was assigned..  I think to the Registration form design, Veniza Joy Macaraeg did the Login and Profile design and Honey Lyn Toyarada... I think to DaskBoard design of the system.. (I am not really sure with there assignment since I was focusing on coding the database design. And Marlon Dizon will acts as the project manager.. heheh :) since he was the one who will integrate and manage all of our works from the database to the designs, in order to complete the system.

We don't really have many activities today because each of us was busy on the assigned task after sir Chris gives -not so exact but the possible designs and the system should have. We ended this day at 7:00 p.m..But there are still a lots of work to do in the next day aside from the UTI system..

Good Luck to us!!! :)



to be continued...

Thursday, May 5, 2011

OJT DAY 11 :)

May 05, 2011 is my 11th day in On the Job Training. I arrived at the office at 10:00 a.m. So early..heheh. but we plan this yesterday to go at the office early in the morning so that we can have the right choice of place to do our work, because we are expecting that there would be a lots of OJT from different school coming at the office, and we afraid that we don't have space if we arrive at the office in the afternoon..heheh

Anyway, what we did this day was we continued our database coding for the project system, which is the Task Management System also called the ( UTI ).. , and sir Chris also discussed again the description of the system, and to make it visually understand what would be the system looks like, he draw it in the white board and explained to us the tables that  the database should contain. We need to create five tables only, the users table, users_profiles table, dtr tables for   the login and logout, task table and task status table. This time we could make used all of the learnings from the previous task assigned to us by sir Chris using the CodeIgniter framework especially the use of the functions in php. 

Before the end of the day I coded some of  the functions of the class to use for the database, such function for validating the user input, restricting the user if the username he/she input is already in database, and the "sha1" function for encryption of the user password which need to be loaded from the encryption library to the controller, and etc.  

We ended this day at 7:00 p.m..And I think that's it for today!!!   :) 

Wednesday, May 4, 2011

OJT DAY 10 :)

This day is my 10th day in OJT at the Phillippine Global Outsourcing, as usual again I came at the office at 1:00 in the afternoon and ends at 8:00 pm.
Activities in this day!!
When I came at the office there are new students from the John Paul college of Davao, and they are applying for OJT in same company (Philippine Global Outsourcing ), during there discussion Sir Chris told us (together with Raymond Jay Rofuli ) to join them , sir discussed about the MVC framework, although we are familiar in some of the aspect  since we already doing and working with the same framework during  our OJT at the company which is the CodeIgniter which we used in PHP coding in some of the task which sir Chris give to us. MVC means Model, View and Controll..Model is  where you can make function and you then you will load  it to the controller then the controller will  load to the View, which it will display  the output.

After that sir chris give us the discription of the next task which is the task management system, it includes the an android appication, and the web server or the database system, and also a web designs and interface designs, these will be integrated after each of task assign to us was done, and as usual I and rofulli was assigned to the database side of the system since we know how to use to codeIgniter in php, hopefully we can finished it as early as possible..

After that we then start making our database "schema" (it includes the possible database table to use, database name, fields etc.) and then start coding the codeIgniter class and functions to use. That's it for today, we will continue our PHP coding tomorrow..
What I have learned this day was the MVC framework.. :)


 


Tuesday, May 3, 2011

OJT DAY 9

May 03, 2011 is my day 9 in OJT.. I started at 1:00 pm and ends at 8:00 pm..This day should be our checking on the task given by sir Chris, last day which is about OAuth.php which would be added in the library in the codeIgniter before you can used its function. But unfortunately I did not finished it yesterday, since I didn't know what sir Chris actually mean about the output. I was assuming that we need to create an application in the twitter and apply the OAuth in authentication for the user's when they allow the application.
 In short I didn't get the instruction since sir Chris discussed it  in the morning on our day 8- last day, and we came at the office at 1:00 p.m. And sir Chris said that we ask the UM trainees about it and what we are going to do in our next task in coding using OAuth.php library.

And when sir Chris told me that I will share the code and teach one of the student from UM (UM Trainees) about the code I made in File Uploading Class ( PHP )  in CodeIgniter, and after the short sharing of the code  and show the output of my File Uploading Class code,  I ask him (the UM trainee) which was also given in that task, he said that it does not neccessary to have a twitter application all we need to do is like to redirect the page to the site when the user logged in using the OAuth.php functions. And he also said that they used the  php.ini, which I think a built in function in XAMPP, but since I and Raymond Jay Rofuli doesn't know how to use the XAMPP, and we are only using the WAMP. Although they are the same but we are not familiar to use it. (hmmm... mag re-research again... hehe :) ..

By the way in this day also, sir Chris give me another task, the Encryption Class in the CodeIgniter, the task should have get the input from the user and display the encrypted value of that word. And I finished it in this day. nice one!!! haha.. XD..  Tomorrow would be another day for another task.. Good Luck to all of us..!!! :)
  

Monday, May 2, 2011

OJT DAY 8 :)

May 02, 2011 is my 8th day in OJT.. As  usual I started at  1:00 pm and it ends at 8:00 p.m. What we did today was sir Chris discussed about the OAuth.php to used in our next task, but unfortunately we are not able to join the discussion, since our schedule for our OJT is in the afternoon, and the lecture/discussion of the task for the PHP people in this day was discussed in the morning. Sir Chris discussed about our next task which is to use the OAuth.php and place it in the CodeIgniter Library and used its function. 

Using Twitter oAuth:

OAuth is an open protocol for secure user authentication across APIs. It allows users to gain limited access to websites by using their Twitter credentials. It's a very sound method of user authentication, and doesn't take too much work to get going. Twitter oAuth is used by hundreds of third-party Twitter clients and mashups.

How oAuth works:

Getting used to how Twitter oAuth works takes a little time.
When a user comes to your login page, you send a GET request to Twitter for a set of request codes. These request codes are used to verify the user on the Twitter website.
The user then goes through to Twitter to either allow or deny your application access to their account. If they allow the application access, they will be taken back to your application. The URL they get sent to will have an oAuth token appended to the end. This is used in the next step.
Back at your application, you then send another GET request for some access codes from Twitter. These access codes are used to verify that the user has come directly from Twitter, and has not tried to spoof an oAuth token in their web browser.

In this day, we create an Oauth and to do this we download first the OAuth.php and place it in CodeIgniter  library. And sir Chris said that he check our code by tomorrow and if one got the code correctly "librehon dw nya ug lunch" - thats what exactly what sir Chris said to us. At that time I was thinking that this task would be harder than our last task. hehe :).. 

That's it for today.. hopefully I could make the task correctly..not just for free lunch but also to learned something new..  hehe..good luck..!!!