PHP Classes

File: docs/MODERN_DEMO.md

Recommend this page to a friend!
  Packages of Adrian M   upMVC   docs/MODERN_DEMO.md   Download  
File: docs/MODERN_DEMO.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: upMVC
Pure PHP web development without other frameworks
Author: By
Last change:
Date: 3 months ago
Size: 1,009 bytes
 

Contents

Class file image Download

Modern UI Demo Instructions

This demo compares the original BaseView layout with the modern BaseViewModern layout.

1. Run the built?in PHP server

From the project root:

php -S localhost:8080

2. Visit the demo URLs

  • Classic layout: `http://localhost:8080/test`
  • Modern layout: `http://localhost:8080/test/modern`

If your document root is configured to public/, adjust the URL accordingly (for example http://localhost:8080/test still works because public/index.php is the front controller).

3. What to look for

  • Updated typography and spacing
  • Modern navigation and header/footer
  • Dark?mode?friendly colors
  • Responsive behavior on mobile vs desktop

The implementation behind the modern layout lives in src/Common/Bmvc/BaseViewModern.php.

For deeper architectural background, see: