Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

MVC Pattern

deshack edited this page Oct 18, 2014 · 1 revision

When we first wrote KYSS, we tried to make it easy to work with, but we had some constraints and not that much time. The result was quite clean, but not extensible at all. So, we are now rewriting its code to make it follow the MVC pattern.

We are still working on the base rules for the new design pattern. Here are some considerations.

Goals

KYSS should be:

  • Modular
  • Lighweight

Assumptions

Targeted dependencies

The output of every page is the result of the execution of a controller's action (method). In order to make KYSS lightweight, every controller (or, more specifically, every action) should load its own dependencies, and we should avoid global dependencies that, together, make the application heavy on every page load.

Clone this wiki locally