My vote for layout by default!

Regards,
Saša Stamenković


On Wed, Sep 16, 2009 at 10:16 AM, aoohralex <[email protected]> wrote:

>
> Matthew:
> ok - I needn't register to download ZF, but I didn't see these links at the
> bottom of page and I thought that I must register to download ZF.
>
> You have given me link:
> http://framework.zend.com/wiki/display/ZFDEV/Configuring+Your+URL+Rewriter
> http://framework.zend.com/wiki/display/ZFDEV/Configuring+Your+URL+Rewriter
>
> very often we can't modify httpd.conf so we must create .htaccess and based
> on above site - .htaccess should look:
> RewriteEngine on
> RewriteBase /
> RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ index.php
>
> .htaccess should look (or something like that - $1 is very important):
> RewriteEngine On
> RewriteRule ^(.*)$ /name_project/public/$1 [QSA,L]
>
> Unfortunately it doesn't work !! Because index.php is in
> /name_project/public/index.php - ZF always generate files in folder
> 'name_project' and 'index.php' is always in folder 'public' so this
> rewriterule is bad ! Somebody should correct this rewriterule.
>
> About connect to database - I will see B-)
>
> Carlton:
> Not everybody needs layout ? :O Then somebody can delete 1 folder + 1 line
> of code - I think this is faster than create folder + write 1 line. What is
> more - in Symfony Framework or in ASP.NET - we have layout !! In ZF we
> don't
> have layout - we must create layout.......
>
>
> Matthew Weier:
> In my country it is normal that users can't modify httpd.conf to add
> Virtual
> hosts and we can only create .htaccess file so in tutorial somebody should
> write about rewriterule.
>
> About Symfony - yes it can generate many things but I don't use Symfony for
> generate these things - I like write everything by myself :-P
>
> joedevon:
> I agree with You :D
>
> swilhelm:
> I wanted only write about some uncomfortable things in ZF - I would like to
> download ZF and started writing - I hate configure anything.
> I know little ZF, I used it little 1 year ago, but then somebody has given
> me fully configured ZF. Now I would like to do everything by myself from
> start to the end.
> --
> View this message in context:
> http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25467897.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to