My favorites | Sign in
Logo
                
Search
for
Updated Nov 22, 2008 by k00pa.pelikoira
Labels: Phase-Requirements, Phase-Implementation
UrlStructure  

#How burstcms handles URL structures

Introduction

This page shows haw burstcms handle urls. Apache mod rewrite is recommended.

Details

Sample url

http://www.example.com/module/variable1/variable2/variable3/...

Also POST method may be used.

"module" is name of the module that needs to be loaded, example it could be "blog", "forum", "links"

Variables

Module gets variables as follow:

$burst_variable['0'];
$burst_variable['1'];
$burst_variable['2'];

// and so on...

Alias

If someone just wants to have blog, and don't want "/blog/" to url, or want that it is "articles", it is possible via alias.

example alias: /community -> loads module -> "forum"


Comment by possible248, Nov 23, 2008

Hmm. The variable structure is a good idea, but I think that a key->value pair might work better. The key->value thing would work like:

http://www.example.com/module/variable1_key/variable1_value/variable2_key/variable2_value/

I think that the key->value system would work better because then the below URL would work:

http://www.example.com/module/variable2_key/variable2_value/

and the system wouldn't think that variable2 is the same thing as variable1 (because sometimes, a person just wants variable1 to go to the default).


Sign in to add a comment
Hosted by Google Code