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
php -S localhost:8080
(Please set document root at/
instead of/fyp/2018/fyp18005
)- Browse http://localhost:8080/fyp/2018/fyp18005/
Develop
Adding New Subpages
- Insert new sidebar item in /store/sidebarItems.json
- 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.