Details

Title: Клиентская часть литературного портала на базе Android: выпускная квалификационная работа бакалавра: направление 09.03.04 «Программная инженерия» ; образовательная программа 09.03.04_01 «Технология разработки и сопровождения качественного программного продукта»
Creators: Шушарин Андрей Викторович
Scientific adviser: Тышкевич Антон Игоревич
Organization: Санкт-Петербургский политехнический университет Петра Великого. Институт компьютерных наук и технологий
Imprint: Санкт-Петербург, 2023
Collection: Выпускные квалификационные работы; Общая коллекция
Subjects: kotlin; retrofit; activity; fragment; viewmodel; android application
Document type: Bachelor graduation qualification work
File type: PDF
Language: Russian
Level of education: Bachelor
Speciality code (FGOS): 09.03.04
Speciality group (FGOS): 090000 - Информатика и вычислительная техника
DOI: 10.18720/SPBPU/3/2023/vr/vr23-3294
Rights: Доступ по паролю из сети Интернет (чтение, печать, копирование)
Record key: ru\spstu\vkr\22687

Allowed Actions:

Action 'Read' will be available if you login or access site from another network Action 'Download' will be available if you login or access site from another network

Group: Anonymous

Network: Internet

Annotation

Данная работа посвящена реализации удобного и функционального Android приложение, которое будет приятно в использование и для авторов, и для их читателей. В ходе выполнения работы с применением языка Kotlin, HTTP-клиента Retrofit и GoogleSignIn была реализована клиентская часть для литературного портала в качестве android приложения. Для своей работы клиентская часть обращается к серверной посылая Http запросы. Сохраняет полученные данные в ViewModel’s. Для каждого экрана приложения разработана связка классов – фрагмент, ViewModel. При создании фрагмента он подключается к своей ViewModel  и подписывается на данные, получаемые ей. Фрагмент создаётся, когда пользователь должен перейти на другой экран, а ViewModel при первом подключении к ней. После создания фрагмент добавляется в активность, показываясь пользователю, заменяя предыдущий фрагмент, который удаляется. ViewModel удаляется, когда уничтожается активность, то есть когда закрывается приложение. Для реализованного приложения было проведено модульное тестирование с покрытием кода более 80% процентов 62 теста, интеграционное тестирование  в виде 9 сценариев взаимодействия с серверной. Тестирование End-to-end количеством в 18 сценариев. Реализованные сценарии были успешно пройдены.

This work is devoted to the implementation of a convenient and functional Android application, which will be pleasant to use for both authors and their readers. In the course of the work using the language Kotlin, HTTP-client Retrofit and GoogleSignIn the client part was implemented for the literary portal as an android application. For its work the client part accesses the server part by sending Http requests. It saves the received data in ViewModels. For each screen application developed a bunch of classes - a fragment, ViewModel. When a fragment is created, it connects to its ViewModel and subscribes to the data it receives. The fragment is created when the user needs to go to another screen, and the ViewModel when it first connects to it. Once created, the snippet is added to the activity, showing to the user, replacing the previous snippet, which is deleted. The ViewModel is deleted when the activity is destroyed, that is, when the application is closed. Unit testing was performed for the implemented application with over 80% code coverage of 62 tests, integration testing in the form of 9 server-side interaction scenarios. End-to-end testing in the form of 18 scenarios. The implemented scenarios were successfully passed.

Document access rights

Network User group Action
ILC SPbPU Local Network All Read Print Download
Internet Authorized users SPbPU Read Print Download
-> Internet Anonymous

Usage statistics

stat Access count: 1
Last 30 days: 0
Detailed usage statistics