On 6/2/06, DJ Spark <[EMAIL PROTECTED]
> wrote:
They should put static pages in /views/pages/
/views/pages/home.thtml
/views/pages/contact.thtml
/views/pages/about.thtml
..
If you are using a framework, you should stick to its conventions, if
not, you are not using 100% of its power (and simplicity).
spark
On 6/2/06, franfran <[EMAIL PROTECTED]> wrote:
>
> Hi all expert in here:
>
> I know in CakePHP, the URL is in /controller/action/params. However, I
> have some question to ask when using CakePHP in a small project. In
> this project, 80% of the website are static content, only a few
> sections require php programming(e.g. search, news update). The
> enviornment is windows, so no mod_rewrite.
>
> 1. Our homepage is 100% static, is it possible to have our homepage
> named as index.html and store in webroot?
> 2. if yes in point 1 above, I have to rename index.php to somename.php?
> because all variables in the URL /controller/ation/params will pass to
> index.html instead of index.php
>
> you may wonder why I am asking this? Why not simply rename index.html
> as home.thtml and put it in the views folder? The problem is I am
> working with some traditional web designers and they refuse to work on
> the views folder and xxx.thtml files. They prefer putting everything
> in the webroot. and all files should be, e.g., whatsnew.php,
> products.php...etc.. It is easier for them to work in Dreamweaver.
>
> This post maybe a bit pointless since CakePHP is not designed in such
> enviornment. However, I want to know what others are thinking.
>
> Thank you very much.
>
>
> >
>
--
[web] http://synapsisdi.com.br
[livesets] http://djspark.com.br
--
Armando Sosa
www.nolimit-studio.com
www.dospuntocero.info
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---
