📜 ⬆️ ⬇️

Student Site 2.0

image
I think everyone who has received or is receiving a higher education has had situations where there was an urgent need for finished work. At the same time there were many small sites hosted by local "craftsmen." The idea of ​​creating a site that would collect all the files in one archive, and students in one community, literally floated on the surface. Therefore, it was decided to develop such a resource. He received name 4stud.org


Archive



In order to collect bit by bit what has been accumulating over the years in Runet’s bins, several classes of regular expressions were written that parsed data from different archives, separating the wheat from the chaff. Sergey Frolov implemented a special bot based on these classes, which was engaged in searching for the necessary information for the archive. Indexing took several days (time was reduced due to the fact that some resources were specified manually), after which the base was processed.
')
It was possible to collect data primarily for such universities as St. Petersburg State Electrotechnical University LETI, St. Petersburg State University, MSTU. Bauman, MATI, MSU, MIET, MIEM, SPSU ITMO, FINEK, REU them. G.V. Plekhanov, Eagle GTU, MTUCI, USATU

Users



When a person needs to urgently find something, he usually does not have time for tedious registration. Therefore, we made a simple registration - just one click. Nevertheless, we fully identify the user in the system, allowing you to track downloads, rating and other parameters.

We also added the ability to download paid files for users who earned their rating on free quality ones. The scheme here is approximately the following: if I study well and upload my works to the site, then after some time my rating (which is similar to the rating on the Habré — it is also determined by users of the resource) becomes sufficient so that I can upload files and set the cost of their download.

Community help



image
The needs of students are not limited to the mere need to download files. Many just need advice or a hint. Therefore, we implemented the service "Questions" . The user can ask any question, while using a special mathematical syntax, for example, to write an integral or a mathematical formula.

Technological substrate



Of course a few words about what interesting geeks. All this stuff keeps on the shoulders of memcache and a special caching script on node.js, the code of which is still hidden. But the code of the server of instant comments (based on COMET) and the pseudo-dropdown element on JS are open. Sources can be found in this repository . In the near future, we plan to publish in the open access some more interesting solutions that were implemented in the process of working on the service. This is primarily a remote input service CAPTCHA, complex caching in memcache and a special class that allows you to easily organize the organization of authorization through social networks.

With respect to the community, the 4stud.org team

Source: https://habr.com/ru/post/110082/


All Articles