Binary studio academy 2013 php group (denis)

19
Binary Studio Academy 2013

description

Graduation project of Binary Studio Academy 2013. PHP group. Corporate social network Read more @ binary-studio.com

Transcript of Binary studio academy 2013 php group (denis)

Page 1: Binary studio academy 2013 php group (denis)

Binary Studio Academy 2013

Page 2: Binary studio academy 2013 php group (denis)
Page 3: Binary studio academy 2013 php group (denis)

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,

yii2 framework, MySQL, JavaScript and other opportunities of web programming.

Page 4: Binary studio academy 2013 php group (denis)
Page 5: Binary studio academy 2013 php group (denis)

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:

• user • administrator.

Page 6: Binary studio academy 2013 php group (denis)
Page 7: Binary studio academy 2013 php group (denis)

After authorization user sees his profile and posts he has created.

User can: • edit his personal data • upload and crop his avatar • change password, which will come to his email • view other users’ profiles.

Page 8: Binary studio academy 2013 php group (denis)

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 cloudinary.com.

Page 9: Binary studio academy 2013 php group (denis)

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.

Page 10: Binary studio academy 2013 php group (denis)

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 booked.

Functions such as searching, browsing books, sorting by tags, book adding directly in the table is implemented by using Backbone.js.

Page 11: Binary studio academy 2013 php group (denis)

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

Page 12: Binary studio academy 2013 php group (denis)

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 JobManager).

Page 13: Binary studio academy 2013 php group (denis)
Page 14: Binary studio academy 2013 php group (denis)

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

Page 15: Binary studio academy 2013 php group (denis)

• update, delete any post • give topical status to posts

Page 16: Binary studio academy 2013 php group (denis)

• CRUD tags

Page 17: Binary studio academy 2013 php group (denis)

• create new library’s books • delete, update information about books

Page 18: Binary studio academy 2013 php group (denis)

In the calendar administrator sees all active orders. Administrator can: • edit, delete any order • reserve book for any user in the system • "close" order when the book is returned.

Page 19: Binary studio academy 2013 php group (denis)

Thanks for attention