Skip to content

jamesli12/CascadeFallsLibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

Cascade Falls Library

The library application for the school "Cascade Falls" has the ability to allow students and teachers alike to log in, hold, and check out books. Using the application, it is also possible to see which books are due at what time, and to be able to find those books with a map.

alt text

Table of Contents:

Running the App

Browsing Books

Check Book Status and Due Dates

Library Map

Account Registration and Login

Social Media in the School Library

Bug Reporting

C# and Multiplatform Support

Viewing Code

Building Code

Code Commenting

Running the App

To use the prebuilt apk, download the apk on an android device. Make sure that "Allow applications from foreign sources" is enabled and simply install it. Once installed, the application should open. To install on iPhone, download Xcode from your computer and transfer it through there.

alt text

Browsing Books

The Browsing page allows users to see what books are available, which allows them to either check them out or place a hold on them. Although there aren't many books in the application, more books can be easily added when using the app beyond demonstration.

alt text

Check Book Status and Due Dates

The Manage page allows users to see which books they have on hold and/or checked out. It also allows the users to see how many books are due, alongside the due dates.

alt text

Library Map

The Map page allows users to see where each book should be as well as other remedies they may need.

alt text

Account Registration & Login

The library requires its users to have an account in order to check out and hold books. By providing details, teachers and librarians can know which student has which book, making it easier to manage.

alt text

alt text

There are various errors that may occur. If a user who is registering an account does not provide a username or password, the application will not allow registration. The same will apply if the user chooses a username which was already taken. If the login credentials are incorrect, the application will also reject the login.

alt text

alt text

alt text

Social Media in the School Library

The social media buttons below will redirect students and teachers to the respective social media website, where they can share their discoveries and see what their peers are reading.

alt text

alt text

Bug Reporting

If there is a bug in the application, users have an easy time reporting it. The bug report button is on the bottom-right corner of the application

alt text

C# and Multiplatform Support

Cascade Falls Library is coded in C# using the Unity Engine. The Unity Engine supports many platforms including iOS, Windows, and many more; this also means that the app can be built for iPhones, Windows, and many other devices. Only a pre-build apk file is provided for demonstration purposes.

Viewing Code

In order to view the code, Visual Studio 2010 or higher, is recommended, but any IDE that can open .sln works. You will also need Unity support for Visual Studio, and Unity 2017.3x. However, if you do not have a program that can open .sln files, the most important files are:

manage.cs

books.cs

book.cs

login.cs

Building Code

In order to build for android, ios, or other platforms, the Unity build package for that system is required.

Code Commenting

The coding within the application is done 100% via C#, is easy to understand, and is commented in much detail.

        for (int x = 0; x < transform.childCount; x++) //Has to clear all of the books first before placing a new list
        {
            Destroy(transform.GetChild(x).gameObject);
        }
        for (int x = 0; x < bookinfo.Count-1; x++) //Takes information from the php file
        {
            string temp = (bookinfo[x].ToString());
            string a = temp.Split('`')[4];
            if (a == "1") //If the book is still available
            {
                CreateBookObject(x); //Add it to the list
            }
        }

About

MD FBLA 2018 Mobile Application Development 1st Place

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages