Design details updated with data models for User Page feature of the project. State charts for workflow to be added soon.
diff --git a/SocialFeaturesMelangeGSoC2010.wiki b/SocialFeaturesMelangeGSoC2010.wiki index d67ce3b..8ecc8fe 100644 --- a/SocialFeaturesMelangeGSoC2010.wiki +++ b/SocialFeaturesMelangeGSoC2010.wiki
@@ -37,6 +37,27 @@ ===Data Models=== +*User Page* + +This will be the master model for this feature which will enclose the three tabs that make up this feature. + +Data Model for User Page + * user_page.py + +Properties of user_page.py + * user - *ReferenceProperty* + * user_profile.py - *ReferenceProperty* + * user_project.py - *ReferenceProperty* + * user_stuff.py - *ReferencePropoerty* + * user_page_status - *StringProperty* + +The User page feature should be in one of the following states implied by the user_page_status property of the model. + * Uninitialized - This state occurs after the user is accepted into the program but has not yet made his first visit to his user page. Hence, no information is seen by visitors to his page. + * Initialized - This user_page is in this state when the user has entered the user page and authorized to display his basic user information already in the GSoC system. + * Updated - The user has entered or changed existing information in his user page. + * Deactivated - The user account has been terminated. + + *Profile Tab* The additional data model for this feature will be user_profile.py, which will extend the existing user.py model in the soc_core famework. This model will contain additional properties on top of those in the user model. User information such as educational background, professional background, technical skills, interests, hobbies, etc. will be contained in this model. @@ -47,7 +68,7 @@ * job.py Properties of user_profile.py - * user - *ReferenceProperty* + * user_page - *ReferenceProperty* * email – *StringProperty* * phone_number – *IntegerProperty* * address - *StringProperty* @@ -63,14 +84,14 @@ * last_modified - *DateTimeProperty* Properties of education.py - * user - *ReferenceProperty* + * user_profile - *ReferenceProperty* * college_name – *StringProperty* * major_name – *StringProperty* * start_date – *DateProperty* * end_date – *DateProperty* Properties of job.py - * user - *ReferenceProperty* + * user_profile - *ReferenceProperty* * employer_name – *StringProperty* * position_name – *StringProperty* * start_date – *DateProperty* @@ -88,13 +109,14 @@ * user_project_comment.py (Nice to have, if time permits) Properties of for user_project.py - * user - *ReferenceProperty* + * user_page - *ReferenceProperty* * student - *ReferenceProperty* * organization - *ReferenceProperty* * mentor – *ReferenceProperty* * project_details – *ListProperty* Properties for user_project_details.py + * user_project - *ReferenceProperty* * project_title - *StringProperty* * languages – *StringProperty* * apis_frameworks – *IntegerProperty* @@ -107,13 +129,12 @@ * past_project - *BooleanProperty* Properties of for user_project_update.py - * user - *ReferenceProperty* + * user_project_details - *ReferenceProperty* * update_text – *StringProperty* * update_time – *DateTimeProperty* * user_project_comment – *ListProperty* (Nice to have, if time permits) Properties of for user_project_comment.py - * user – *ReferenceProperty* * user_project_update - *ReferenceProperty* * comment_text – *StringProperty* * comment_time – *DateTimeProperty* @@ -129,7 +150,7 @@ * user_stuff.py Properties of for user_stuff.py - * user – *ReferenceProperty* + * user_page – *ReferenceProperty* * feed_url - *LinkProperty* ===State Diagrams===