Skip to content

Dynamic web app built with native PHP, JS, HTML, and CSS to fetch book data from the OpenLibrary API (Wayback Machine) and present it in a user-friendly format. Features include pagination, search functionality by author name, and the ability to save fetched book data as JSON files.

License

Notifications You must be signed in to change notification settings

shgnplaatjies/OpenLibrary

Repository files navigation

OpenLibrary PHP Website

A dynamic web application built with native PHP to fetch book data from the OpenLibrary API and present it in a user-friendly format. This application offers features such as book pagination, search functionality by author name, and the ability to save fetched book data as JSON files.

Table of Contents

  1. Overview
  2. Design Considerations
  3. Installation
  4. Usage
  5. Credits
  6. License

Overview

The OpenLibrary PHP Website provides a seamless experience for users to explore books by their favorite authors without the need for complex authentication processes or database management. By leveraging the simplicity of native PHP and the OpenLibrary API, this application eliminates unnecessary overhead, making it lightweight and efficient.

Design Considerations

Simplified Development Process

  • No Database: By excluding database management, the application reduces complexity and overhead, allowing for faster development and deployment.
  • No User Authentication: Without user authentication steps, users can immediately access and interact with the application, enhancing user experience and fostering trust.

Streamlined User Experience

  • Ease of Use: With a clean and intuitive interface, users can quickly search for books by author name and navigate through paginated results without encountering unnecessary barriers.
  • Trustworthiness: By focusing on providing accurate book data from a reputable source like OpenLibrary, the application builds trust with users, ensuring a positive experience.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have a basic understanding of PHP.
  • You have PHP installed on your local machine.
  • You have access to the OpenLibrary API.

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/shgnplaatjies/OpenLibrary.git
  1. Start a PHP server:
php -S localhost:8000
  1. Open your web browser and visit http://localhost:8000 to view the website.

Preview

iPhone-13-PRO-projects pixelscape co za

Galaxy-Tab-S7-projects pixelscape co za (1)

Usage

  1. Enter an author's name in the provided input field.
  2. Optionally, specify entry limit and offset.
  3. Click the "Search" button to fetch and display books by the author.
  4. Use pagination to navigate through multiple pages of books.

Credits

Developed by Shagan Plaatjies.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Feel free to customize and use this project according to your needs. If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request on GitHub.

About

Dynamic web app built with native PHP, JS, HTML, and CSS to fetch book data from the OpenLibrary API (Wayback Machine) and present it in a user-friendly format. Features include pagination, search functionality by author name, and the ability to save fetched book data as JSON files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published