Social networking sites are most popular
for sharing information between friends,
relatives, teachers… etc.
The task was to create a corporate
social network which will be useful and
convenient. Our project was realized by using PHP,
other opportunities of web programming.
YII provides the ability to control access based on roles (RBAC). This feature is
used in the application.
At this moment there are two roles:
After authorization user sees his profile and posts he has created.
• edit his personal data
• upload and crop his avatar
• change password, which will come to his email
• view other users’ profiles.
Every user has his own gallery, where he can create albums and upload photos to
them(AJAX). We used some libraries to implement the gallery:
• viewing photos - "blueimp-gallery" library
• downloading photos - "fine-uploader" library.
"Jcrop" library helps crop the
pictures. User can upload photos
one by one or several, or simply
drag and drop photos onto the
page. The downloaded images are
stored on a clouded resource
Every user can view posts. He can also create, edit and delete his own posts. Every
post has likes (implemented by using AJAX technology). If some user enjoyed the
post, he can like it. On the top of posts feed there are topical posts.
User can delete posts just on the posts feed page.
User can see has he already liked post or not.
There is library in our project, where user can:
• view books
• search books by any word in the search box located in the top of the table
• order books
Books can be sorted by tags. User sees the status of the books: available, taken or
Functions such as searching, browsing books, sorting by
tags, book adding directly in the table is implemented by
It is possible to vote for book. Before that user sees books rating and voting form.
After voting user sees how persents voted for each mark.Voting was implemented by using AJAX technology
Book reservation is designed for ordering books from the library for the selected
time interval. User can order books browsing information about a particular book.
In the list user sees a list of orders and their status.
The calendar shows only active orders with the ability to filter
by year, month, week, day. To implement the calendar it was
used 3rd party library, which takes JSON data file and performs
display these data on the calendar.
Sending reminders to users is also implemented (by
Admin has all the abilities that user has. And of course he has some extra abilities.
Admin is only person who can:
• invite user to network
• edit any personal information about any user
• update, delete any post
• give topical status to posts