#141 - Directory Restructure and File Cleanup Plan Part 2Open

  • Move Modals out of /ajax into /modals strip off the prepended ajax_
  • strip off the appended _modal
  • Group the prepended admin_ modals into admin/modals folder and strip off the prepended admin_
  • Group modals into each entity into its own folder example /modals/clients/add_client.php, edit_client.php etc
  • In ajax folder create entity groups clients, invoices, assets, etc
  • migrate ajax requests from ajax.php into /ajax and admin/ajax folder/entity
  • move /scripts/* to /cron
  • move update_cli.php to /scripts
  • move setup_cli.php to /setup/
  • create directory called /assets
  • move /css, /js into the /assets dirextory
  • move and rename plugins to a directory called /assets/libs
  • move /admin_* to /admin
  • move /post/admin to /admin/post
  • move and rename admin_side_nav.php to /admin/includes/side_nav.php
  • move db connection from config.php to /includes/db.php
  • rename check_login.php to auth.php
  • rename ajax_header.php to modal_header.php
  • rename ajax_footer.php to modal_footer.php
  • move functions.php to /includes
  • create directory /setup
  • move and rename setup.php to /setup/index.php
  • move and rename db.sql to install.sql
  • move report_ files to new folder called /reports
  • move user_ items to /user directory

133 files Currently total in /
45 items admin_* move to /admin
4 items user_* move to /user
15 items report_* move to /reports
functions.php, post.php, ajax.php, db.sql, setup.php, keepalive.php, get_credential.php 7 items delete / move

Milestone:
No milestone set
Assigned To: =^_^=Johnny
Created Date: 2025-07-26 01:02:19
Discussion Link:

No Comments