Page 1 of 1

YACMS question

Posted: Fri Jun 30, 2006 3:38 pm
by alex.barylski
:P

I know you all hate me already...

In designing or beginning building of version 2.0 my primary intentions have changed...

1) Use a database (adodb) to store article content
2) Use LDAP for authentication/group details
3) Allow CMS to be used on many domains using single centralized installation
4) Use mod_rewrite to redirect web page requests, etc...
5) Use Smarty to generate views

Code: Select all

$res = _select_article($_GET['idx']); // Pull article title, content, etc...

$smarty->assign('title', $res['title']);
$smarty->assign('body', $res['body']);

echo $smarty->fetch('tmpl/default.tpl');
Considering that every page would be generated from something like the above and I want to use static Smarty templates (in the sense their hardcoded by programmer) all within a single index.php?idx=233

How would you propose integrating advanced functionality into the CMS such as a realty listing module???

Hacking the realty module into the index.php is an option, albeit not a very good one...

What do you think?

What are some features, suggestions, etc you would have for a CMS???

Posted: Fri Jun 30, 2006 3:41 pm
by RobertGonzalez
Use your page as a controller and pipe modules through it using _GET. Hide the get with mod_rewrite. That is what I am doing for my daughters swim league site right now. One page, many modules and pages, all piped through the one page.

Posted: Fri Jun 30, 2006 4:32 pm
by MrPotatoes
Everah wrote:Use your page as a controller and pipe modules through it using _GET. Hide the get with mod_rewrite. That is what I am doing for my daughters swim league site right now. One page, many modules and pages, all piped through the one page.
that's exactly what i'm doing with myfront controller minus the mod re-write.

i'm looking to be able to redo the full URL in a certain way but it's a little beyond my abilities currently (not for long MUHAHAHAHAHAHAHAHA!) so i gotta wait and get other things finished first

anyways, what they said