Tuesday, September 23, 2008

the report..

TORProject plan
individual timelog 1-5
Test plan, test results
Minutes of meetings
Self reflection
user guide
research documentations

Thursday, September 4, 2008

Report Generator, Navigation, Leonard's problem solved.

Making up the Navigation diagram took the whole day..
this is the navigation diagram so far..
it is done is Microsoft Visio.
I also done all the video recording & Narration Script yesterday, but Leonard failed to find a mic.


I have solved Leonard's problem, the display article in frame + asp.net codes
I have made a Report Generator program to auto generate essential documentations
for the major project. Lets take a look, This program add and manages the files.


Then, It gathers all the Form Designs and requirements. It takes in Methods, Variables and Components. and record it for that particular file.


Here it does the magic, a nice report is generated from the program. It gives a very detailed information on the particular file, which explain what is this file used for, what are the implicated file name and class file.
  1. It displays the Component used such as Label, Textbox, etc. and what are the names for these.
  2. It shows a simplified Class Diagram of the variables and attributes used.
  3. It shows Method name, it's uses and activated by public, button, pageLoad or class method.


It should saves alot of time for processing the report. Because our project is large scale, and there is only 2 person. so we have to organize well, So i programmed my own project forms report generator.

Tuesday, September 2, 2008

Task to be done

Register - create another registeration page for external user

Reputation - How to allocate or add reputation

Review/Tutorial - check the points whether awarded
- Make html appear in frame

Classified - increase the number of days the item expire

Forum - integrate in the site



Report - Video (To be submitted this fri)
- Technical deisgn
- ERD
- Database schema

Sunday, August 31, 2008

The updates so far

Spending alot time on fixing leonard's pages.
Completing UI and layout, and fix alignment errors on his pages.
went through leonard's page and try to integrate them

- Done the flash Banner
- Done the New Groups Announcement tab box
- Done the search Engine
- Done the Main page, Admin Main page and Loggedin page
- Done alot of data binding on featured items
- Spent about 10hours styling up leonard files and integration

Overview..
- Project is almost completed, left some errors to fix
- Forum integration

I will be trying to take a break soon, I been lacking of sleep doing about 16hours of project everyday. I had insomnia and cant sleep for days because everytime I try to sleep I think of codes and logics. I hope We get through this soon..

Friday, August 29, 2008

Awaiting for leonard files..

Things updated..

Done more testing on my pages
Announcement Function
level access system (restriction of classified)
done some style up on the gridview themes
spent about 10hours doing all these..

All my files are ready for Beta deployment
now awaiting for leonard's files.

Things to be done
- Flash Design
- Tab News control
- Integrate leonard files
- Search function

Thursday, August 28, 2008

it's 4am again..

it's 4am but the blog time is not set to local time. Leonard, when u are free set it.

Things I have done..
- went through some testing on all pages
- add a background(TP image) on every page
- Added Back buttons on most pages (95%)
- Added Age system (calculate datetime.today.year - ddlYear)
- display age on profile and listing
- Revised Admin security (cannot ban or punish Admin usergrp)
- Done Main/Admin page U.I (70%) waiting for leonard's part
- Added Titles and instructions for some pages
- Profile edits now can edit birthdate
- more than 30 minor fixes

Things left to be done (functions based)
- Go through few more rounds of testings
- Design Flash intro on first page
- Design tabbed Box (show latest news)
- Announcement Function
- level access system (restriction of benefits)
- View/Create Group myApps Function (if Enough Time)
- Theme skinning (if Enough Time)

Things to be done (waiting for leonard)
- Integrate Educational Module
- Add featured articles in Main page
- Search all function
- Community Forum
- Overall Fixes

Wednesday, August 27, 2008

4am in the morning..

Done all the Re-naming of Components(label,Textbox,etc..)
Also the Re-naming of Methods and Variables

All Renaming are done on the pages I'm working on only,
Leonard, if you must correct your naming too.

Will be complete all the functions by this week
Preparing reports and Presentation soon.

Additional Overall Reports Consists of
- Navigation Diagram
- Schema and ERD*(if time is enough for ERD)
- U.I Designs Perspective
- User Guide
- etc.. to be discussed once all functions are completed

Recommended Report Standards for each form Consists of
Page Purposes (what it does), UI Design
use-case, UML, test plans executed
Scenario and error Handling (worst case, good case)
Class Diagram table (Passed-in-Variables, Variables, Methods, Component used)
ScreenShot of UI
step by step component algorithm and coding label
aspx.cs Codes

Page handling Guidelines
Variables, Methods, Components naming convention
Session should be "studentSession" instead of "s"
label1 should be lblSomething
textbox1 should be tbxSomething
button1 should be btnSomething
ImageButton1 Should be ibtnSomething
linkButton1 should be lbtnSomething
dropDownList1 should be ddlSomething
etc..
Method name examples
resizeh = resizeH
newheight = newHeight
Commenting
//should be used on more complex codes

Tuesday, August 26, 2008

3.30 am in the morning..

it's 3 am, after doing some fixes on the project. the updates..
- Started Main page UI
- Done the expanded Chat room

Spent almost 8hours researching on
- Flash VOIP using Adobe Flash 10, Adobe Air and Flex
(plans are aborted, as there are few setbacks in cost, and time)
- RTMFP (Real Time Media Flow Protocol)
- Voice conversion Codec, RED5, etc..
- Researched on DBML system in VSWD for SQL schema markup
- Fixed Reserved words issue in SQL using identifier delimiter (\")
- Fixed Default enter button on asp.net (declare default on html sided)
- Tested some Web.config

My researches on Code Walkthrough
  • Waived: Code walkthrough is waived due to a very simple algorithm change (or configuration file), and not in a critical point in the code.
  • Informal: Code is presented to the reviewer who simply reviews it "on-the-spot". This is reserved for simple, confined, and non-critical changes.
  • Formal: Code is presented to the reviewer and the reviewer examines the code and algorithms for proper style, format, and technique. This is reserved for complex code changes of a critical nature and those changes that may impact multiple subsystems.
Code walkthrough is to ensure that the requirements are met, coding is sound, and all associated documents complete. The 5 major sector of code walkthrough which includes.. Design, Coding, Documentation, Test Plan and Released Notes to ensure program completeness and readibility.

Code is reviewed for the following:
  • Clarity and Readability
  • Requirements Met
  • Performance
  • Algorithms and Error Situations
User documentation, if appropriate, is examined for:
  • Existance, for the functionality implemented.
  • Clarity and Readability
  • Completness
Researches done on:
http://www-md.fsl.noaa.gov/eft/developer/CodeWalkthroughGuidelines.html


I have decided to use a program called debutsetup from NCH Software. It is free and highly suitable to record our presentation of our project.

Monday, August 25, 2008

Project TPVT Module

Completed with TPVT (Virtual tour project module)
used Flash Toolkit extension
Fixed some advance featured program
waiting for leonard's Educational Module to Complete project

Sunday, August 24, 2008

More Advance Features

My roles has advanced to the advance features already
- written code for Datalist paging
- done some refactoring on heavy coded pages
- designed TPVT (TP Virtual Tour)

Saturday, August 23, 2008

The Secret Plans unleashed

I been working on the special functions now, here's a preview on the secret plans.

I have integrated the system similarly to facebook. The Function of adding/remove applications and having the choices of application the user likes. Currently I have 2 sub-Application built. These are the default app for the Major project. In future, I will be developing more prospective apps. However, I will not disclose any of these functions yet.

Things added
- MyApps (Special Feature)
- Updater Panel (show latest updates on user, e.g. Edited profile, etc)
- Changed and improved CSS and UI on Profiles, ProfileMain

Friday, August 22, 2008

A fruitless day..

- Went to MP/SIP/IP briefing till evening
- whole day wasted in school again, nothing done today.

Thursday, August 21, 2008

RichText

- RichText HTML Editor successfully implemented
- Able to write HTML using aspx pages and export into .htm
- Recorded in DB for article contribution (Author, Time, category)
- generate unique .htm filename and link recorded in DB

Wednesday, August 20, 2008

Wasted some time on NUS

- Met Mr.Tang and Leonard for meeting
- Fixed Masterkey Issue
- Went to NUS for computer talks on walkers/Spider trap
- Do some research on RichText editor
- MP Students don't require to attend such a talk, it wasted our 4hours in travelling and the talks instead of time doing project. Because it's not our scope in project or studies.

Tuesday, August 19, 2008

Admin Control 90% completed

Usergroup & Admin Functions
codes and pages I have completed, alot alot codings, but all done

Admin - Control all groups, AdminPro, AdminAccess, AdminKey
Moderator - Admin Control Access
- AdminBasics
- Advertisement manager
- Articles control (not completed)
- Profile control
- Report control
- Remove Banlist
- Classified control
External - Authorised Non-student user, (leveling unlocked)
e.g. Sponsor who wishes to upload classifieds.
e.g. Alumni students / Teachers
Student - Most basic user


How to Ensure Codes Reliability
- Beta Testers (End users evaluation)
- Rational Tester software or Macro program
- Error Handling

Black box testing - Funtionality test, test the features and usability
White Box Testing - tester has access to the internal data structures and algorithms

code coverage - creating tests to satisfy some criteria of code coverage. For example, the test designer can create tests to cause all statements in the program to be executed at least once

Alpha testing is simulated or actual operational testing by potential users/customers or an independent test team at the developers' site.

Beta testing comes after alpha testing. Versions of the software, known as beta versions, are released to a limited audience outside of the programming team.

* Readability
* Ease of maintenance, testing, debugging, fixing, modification and portability
* Low complexity
* Low resource consumption: memory, CPU
* Number of compilation or lint warnings

Error Handling and user report error page with own error page.

http://en.wikipedia.org/wiki/Error_handling
http://en.wikipedia.org/wiki/Software_testing
http://en.wikipedia.org/wiki/Software_reliability

Monday, August 18, 2008

update for education part

I finish all the slides and replan the whole education points allocation.

I also replan the ranking system for the exp to level up.

Finally back to coding. It was good, more challenging and not as boring as doing all the slides. Doing the slides was hell for me.
Pages that i have code..
Template points allocate for the slides that are access. Points will not be given to slides that have been accessed before.

currently doing to check the people doing the same tutorial.

All tasks given are solved

Today's Special =)
Offensive Words Filtering system
Shoutbox with auto-refresh
Bigger shout box and fixed align
Fixed Avatar UI (with SpryAssets DropPanel UI)

Advertisement Managing
-DB for dynamic ad changing

SQL Password Encryption
-encrypted by Triple-DES, and DES
-Symmetric Key and Certificate encryption
-SQL statements for encryptions

Auto-Image Resize Thumbnail
-Profiles
-Listprofiles
-view Friends
-Managefriends
-ProfileMain
-Classified

Sunday, August 17, 2008

Admin system, User reporting system

Report User button
Report user page (w/ types)
User reputation system
User reputation Guideline

Admin System page

Admin Report Control
-Control reports
-Deduct reputation points
-Actions in Remove profile, pic, classified
-Show full report and archieve

Admin Profile Control
-add/Deduct reputation points
-Actions in Remove profile, pic, classified
-view profiles summary
-Send message function

Admin Classified Control
-Remove Classified
-View Classified Summary

Auto-Ban System (based on reputation)
Ban list DB
Remove Ban system (As ban duration up)
Ban/Rep reset system
Ban page with reason + Ban release date
Basic Admin Security 1.0

Thursday, August 14, 2008

Profile, Topranking & Classified Officially Finished

Designed Classified Banner
Designed Some buttons for classified
Manual Delete Function
Auto-Delete on expiry items
View classified item system
View friend album system
Add Classified UI
Top Ranking (Auto generate increament rank level)
Top Ranking page

Fix all Profile pages
- Button fixes (Customised buttons)
- Send/inbox UI
- Update photo UI
- Message inbox UI
- ProfileMain UI
- Fixed search query

Classified Search Engine
- Item search
- User search

Tuesday, August 12, 2008

The updates & File managing

Today's Updates
Designed Classified Banner
Designed Some buttons
Manual Delete Function
Auto-Delete on expiry items
View classified item system
View friend album system

Hi-lights
Profile code is all completed, left with some layout designs and testing
Classified codes is all completed, also left with some testing and designs

Analysis on the File Managing(Overwriting, version, release control)
I couldn't find any resources from the internet on this topic, so I have to describe the approach that our team will use in order to make a successful file management project.

Solution - Centralised computer
There will be only one computer that compiles the up to date version of the project, because our team consist only 2 members, thus the management is very easy. Since the centralised computer has the most updated version, add on given by the 2nd member will be instantly update on the latest version. It will be 100% risk free.

If there are more members, the person compiling the project must ensure that files are updated batch by batch according to time and task allocated. Meaning that overwritting of wrong files is unlikely to happen, as different members are doing different sections.

Things to take note
Each member has a specific folder
naming convention must be embed with datetime
Backup copies should be made in .zip so that files wouldnt be taken off, or messed up
Always confirm with team members of their updates
test run the overall system after every updates

Monday, August 11, 2008

Classified Section almost Completed

Completed Add item form
(used alot of datetime manipulation techniques)
(Comes with upload picture, and full-featured)
Completed List category item form
Completed Classified DB
Written short condition guide
Fixed proicons sets (CMYK - RGB bugged on IE)
Re-aligned Uploadphoto.aspx
Re-Designed UploadPhoto.aspx
Re-Coded 90% of the Upload.aspx
(removed redundant codes from leonard file)

Updated Sections
Books / Textbooks
Clothings and wearable
Electronics & Computer
CCA/Sports Equipments
Collectables & hobbies
Services
Others
Part-Time Jobs
Full-Time Jobs
Temporary Jobs
PProjectZero Event
School's Event
Show Your Blog
Personal Ads
Lost and Found

Sunday, August 10, 2008

My working plan for this week

Finally i have read finish all the content that we have compiled during the Xsite competition. Tough days because there are too many things to read and boring but I learned quite a lot.
Now I am starting to do the slides for the education. I have finish the first slide but more to come. I think i can finish all of them and make the quiz as well.

Saturday, August 9, 2008

National Day is no holiday~

Re-fixed index.aspx links to all
created logged page (after log in)
logout button clears the session
fixed view profile's friend list
Started Classified pages
Designed some basic layout and graphics for classified
Fail page setup with notify & login
created null session redirection mechanism

targeted sections:
Buy & Sell
Books
Clothings and wearable
Collectables
Electronics & Computer
Entertainment
Handphones & accessories
Music Instruments
Sports Equipments
Toys & hobbies
Services
Others
Jobs & Career
part time jobs
full time jobs
Internship jobs
Announcement
events, etc..

Thursday, August 7, 2008

Profile section is 90% completed

Created Friends DB (Flist, conn1, conn2, verification)
Created Add friends function
Created Manage Friends Function (View and delete)
Created (auto-detect friend) function on profile
Restricted adding ownself as friend
Fixed some sessions errors
Refined ProfileMain page (integrated search)
Refined ProfileMain page (Featured/new member profiles)
Done some minor linkings
Fixed Registration attributes (initiate avatar and default pic)
Fixed The Regular Expression with (0|1)[\d]0\d{4})([a-z]|[A-Z])
(allowing low/upper case, and 1/0 options for over 10th batch)
Completed 90% of the friend function

Aug08(3am)
Completed the friend verfication system
pending and approved status
sub pages for add friend and delete friend
Done friend request approval page

tested Friend system features reviews
when friend is added, both user and friend can see the connections

Fixed more links within profile management pages
created new banner for friends managment
created new navigation bar for profile
fixed some errors on ProfileMain
Profile section is 90% completed

Profile section overview
I have done the follow main features for profile
- Some Registrations profile changes
- ProfileMain (Profile control panel)
- View profile page (view self, view friends)
- Profile Advance Search(search,List)
- Profile Message system(send,delete)
- Profile Friends system(add,del,request,view)
- Some Profile Edit system
- Profile Avatar System
- And many many sub functions


Waiting for leonard
- Upload picture page (waiting)
- profile registration (recieved)
- profile edit (recieved)

Finally(update from yesterday and today)

Yesterday
Meet with Mr Tang in the morning to discuss about the project. I realize that we did not complete some forms and documents. We were not told by Mr Goh about these documents. The meeting was good for us because Mr Tang actually told us some common problems that most of the students will face which is file management. He also talk to us some other problems related to our project.

Today
I have finish the Photo Upload function and it will be tested after it has integrate with the site. The displaying of photo has been solve. The problem is caused by spacing in between the folders. I do not know whether it is the real problem because I still face the problem in my own computer but in school I manage to figure and solve the problem. Nevertheless, I will test on other computers as well to ensure that the photo can be properly displayed. Right now I am doing the learning materials for the education part. Now I know why the lecturers always get headache whenever they are asked to prepare learning materials. Will update more after i have done more of the slides.

Tuesday, August 5, 2008

Completed Advance Search Profile Function
Solved the multi-attribute search issue
Create Dataset pages for search results
started initial plannings for Friends List
Designed Default image for photo album
Went thru the Project plan with Leonard

Further Problems analysis by Vyane
1.Web Hosting
Resolutions for the hosting issues, It will be the best if the school is able to sponsor or allow us to host the application in the school server. However, that is unlikely to be successful. We intend to purchase a dedicated hosting for our deployment. I had source for few hosting companies and found that the average price is $149/per year which supports ASP.NET and comes with 2 MSSQL Server DB. Results taken from (http://www.netsarius.com/web-hosting-windows.html) It also comes with a 20GB Bandwidth per month. As time goes by, if we are able to find our sponsorship the cost will be covered by it's sponsor revenue.

2.Maintenance Cost and Manpower
In estimation, Not more than 2 people is need for the code-based maintainence. And less than 24-36 hours used per week. Based on market standards, these 2 personel should be paid for est $480 a month. Additional Members will be promoted as threads moderator or adminstration groups to manage members and answer queries. These will be volunteers from the community.

3.Competitors with the same concept
Concurrently, there are no Poly having a online community as ours. We can actually bring students together in terms of learning and cohesion. It always acts as a school alumni system as well. External competitors will be Facebook and Friendster, these 2 applications are more well estashblished, however individual will have their own interest groups. For example, clubsnap.com is a photography club which have their own community. I think that if our community reach it's purpose of a hub that communicates between students, students will be loyal and stick onto this at least as a second choice for online community.

4.How to make students aware of the site
Basically it can be done by publicity. Emails will be sent, posters, mouth of word, thru OLE, teachers, etc etc.. We can even create sub-pages for CCA groups so that people will be interested to use our forum and community as their online discussion board. Students who are graduating and wished to form a community base, they can actually follow up in this website and build their own profile so that classmates can keep in contact.


-2.30am now, time to sleep..

Monday, August 4, 2008

Completed the message box function, Inbox and deleting msg function
Completed the profile controls page
Created additional icons sets for the profile controls
Detect and read number of inbox message

Things added:
Select Count statement on ASP.NET using cmd.ExecuteScalar

Updates:
Fixed Photo upload functions from leonard, it can display picture but leonard never get the file from me!
Started Search Profile Page

PS:
Leonard, 你要加油!

Sunday, August 3, 2008

Photo Upload and Updates

Done with the Photo Upload section.
- Upload and add description to the picture.
- Delete the photo also
- Added a table call PictureAlbum(use to store info of the pictures)
- Attributes of table (PicID,StudentID,PicSlot,Description,Image)

Current Problem
- Photo cannot be display.( will solve)

Updates
- Created my own regular expression to check for Matric Number in the registration (there are no existing regular expression that can check so I had to create myself)

Saturday, August 2, 2008

Functions update on Profile



Added some additional functions
Started Messaging system (Send and receive message)
Started Message Inbox with Data binding
Added MessageSys Table with att (MsgId, Sender, Reciever, Msg, MsgTime, Sname)

Thursday, July 31, 2008

Shoutbox and major alignment with index.aspx


Fixed some issues on alignment again!! many alignment bug by VSWD
Added Shoutbox function as displayed, allows shouting
add Shoutbox table in DB
re-organized index page because of shoutbox function

Continue with forms coding

Ranking.aspx
Search Profile Function

Integrate the forms into the main project.

Profile Controls

continue with profile control page
fixing Edit Profile page (SERIOUS alignment and CSS bug)
Additional coding on profile compatibility

SUB Function of Profile controls (Haven't start)
- Search profiles
- Add friends
- View album and photo
- Upload album and photo
- Edit Profile
- Personal Message Box
- Lecture Progressions

Wednesday, July 30, 2008

Meeting With Mr Tang(Project Supervisior)

Meeting with Mr Tang

The discussions
- Issues and problems
-Web Hosting
-Maintenance Cost and Manpower
-Competitors with the same concept
-How to make students aware of the site

-Suggestions and comments for the project
-Using existing community API such as Facebook
-How to make the project more operational and live with wow factors

Did some updates on the TOR and Project Plan

Meeting and fix errors

Meeting with Mr.Tang
Fixed Firefox and IE alignment error for index page
Complete Profile page (Profiles.aspx)
Started Profiling control page (ProfileMain.aspx)

Tuesday, July 29, 2008

Major update on avatar pages


Template sliced and transported into Aspx pages.
Fixed Image Maps and Backgrounds
added basic forms for search
Added Login and fixed codes
Detection and split Gender for avatar
Updated DB and forms, registration, class file for Gender
Fixed session and DB binding of avatar
Merged Registration page from Leonard
Re-Configured Web Config

Monday, July 28, 2008

Created Avatar and refined designs


Designed Avatar set (6 male, 6 female) 84 avatars
Refined Web Template design
programmed Avatar setting page

Sunday, July 27, 2008

Continue with Forms

Forms
-ChangePassword.aspx
-ForgetPassword.aspx

Template and story plot planning

Template designed confirmed
story plot for campaign mode

Thursday, July 24, 2008

Design forms

Design and Code the following form and class
-Registration.aspx
-EditProfile.aspx
-Member.cs

The forms are tested and working.

DB, Login and profile skeleton

Designed and confirmed DB Schema
Programmed skeleton of Login page
Programmed skeleton of Profile beta

Tuesday, July 22, 2008

Research on File Upload

Reseach on File Upload

Results :
- Allow user to upload only picture with the file extension. jpg and gif
- Limit the file size of the upload
- Design and code a template for file upload
- Tested and the code works

Beta 1 Design completed


Completed Template beta1 design
Designed TP abstract art

Monday, July 21, 2008

Designing Beta

Designing Template beta 1 on PSD and Illustrator

Friday, July 18, 2008

Research on SMTP

- Did research on SMTP.

Results:
- Allow to send a email automatically which can be useful for some forms such as contact us
- Design and code a skeleton code for SMTP
- Tested and works.

Resource Gathering Phase

Resource gathering and design concept planning
Identify elements that can be re-used for Major Project