Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant