/hkuf-intro-website

A Website to Introduce HKU Fellows

Primary LanguagePHPMIT LicenseMIT

hkuf-intro-website 𐄁

Introductory website of HKU Fellows, powered by Semantic UI, Less and jQuery.

Feature

  • PHP Routing for subpages — /index.php
  • Ajax on subpages and mainpage loading — /?*(...)
  • MVC as infrastructure

Run

  1. php -S localhost:8080 (Please set document root at / instead of /fyp/2018/fyp18005)
  2. Browse http://localhost:8080/fyp/2018/fyp18005/

Develop

Adding New Subpages

  1. Insert new sidebar item in /store/sidebarItems.json
  2. Structure new subpage in /store/article/*.json (Refer to other articles)

Paths

Root: /fyp/2018/fyp18005/

  • Controller: /controller/*.php
  • Model: /store/*.json
  • View: /view/*.php
  • Subpages view: /view/article/*.php
  • JavaScript: /static/script/*.js
  • Stylesheet: /static/stylesheet/*.css(.less)

License

MIT.