Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Add routing and add ajax validation #308

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

edsaur
Copy link
Contributor

@edsaur edsaur commented May 9, 2024

Hello!

I have started making the project better by applying routing methods and applied AJAX.

ROUTING SYSTEM

This addition fixes the routing in the path from a lengthy one and has the file_name to a short one (example: localhost/customerSide/home/home.php to localhost/home)

  • in the .htaccess file I included a configuration where the Apache checks the index.php to what webpage should be opened. In the index.php I've used the switch-case condition to check whether where is the requested page.

THIS IS STILL A WORK IN PROGRESS SINCE the HOME and REGISTER PAGE HAVE BEEN WORKED ON.

AJAX VALIDATION

  • To proper have a registration validation without reloading the whole page to process, AJAX has been added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant