DotKernel PSR-7 Middleware Applications

URL pattern

This post refers to DotKernel 1, based on Zend Framework 1.
If you are looking for DotKernel 3 related posts, go here.

In DotKernel, we don’t use GET parameters in links or GET methods in forms.

For the default modulefrontend – all URL’s have this format:

Let’s take this link as an example:

module = frontend - by default
controller = article
action = list
var1 = categoryId
value-of-var1 = 7
var2 = page
value-of-var2 = 3

For other modules, the URL has this format :

For example, the admin module has this:

module = admin
controller = user
action = logins
var1 = id
value-of-var1 = 1
var2 = page
value-of-var2 = 2

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>