• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple CMS - .htacces file

#1
[eluser]skiter[/eluser]
Hi.

It was while ago when i was use CI ... and while ago i was use PHP at all!

Anyway, after readings how to create simple cms i found directory solution fit to my idea:

http://stackoverflow.com/questions/78471...ve#tab-top

But what i don't know is, how to write .htaccess file?, or use routing to get to this folders and use them as in example.

After that, if i will use HMVC, will be another problem.

What i like to create is:
Code:
[system]
index.php

[controllers]
   [admin](backend)
   [frontend]

[models]
   [admin](backend)
   [frontend]

[views]
   [admin](backend)
   [frontend]

[modules]
   [news]
      [controllers]
      [models]
      [views]
      info.php
   [blog]
      [controllers]
      [models]
      [views]
      info.php

[skin]
   [admin]
   [frontend]
   [css]
   [js]
That view will be perfect for me, where in 'backend' i can read all folders, contain info.php, read from that file all infos (or just use XML), about views an other, and list them in admin panel.

What i like to do i write 'mini version' of bonfire cms Smile

I didn't found any tutorials about this subject.

Many thanks for any advice.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.