PHP Frameworks - Layout Dynamic Menu -


I am developing a website in PHP and I would like to use an MVC framework to do this because I Want to gain experience PHP framework?

I have seen Zend, CakePHP, and CodeIgniter and I can not find an intuitive way to complete it.

What I need to do is the layout which will be for example:

  

I am looking for a framework that can do so without many hacks because it will be easy to complete with my perspective.

This will pull the menu, content, and ads with different controllers and ideas, and of course dynamic content. I do not want to put the menu view in every scene ...

Maybe it's easy and I'm going wrong about it?

Any help is appreciated.

Thanks

The symphony you can see is a mix of concepts to use.

  • Layout - This is the main frame used to decorate a page.
  • Template - This main view is linked to the URL Controller.
  • Pieces - Lightweight and uses the data you passed.
  • Component - If you need access to the model, the code is divided between the presentation and the argument.
  • Slot - Used to change a fixed section of the layout.

In your case, the layout consists of using the main template using the template logic, which is the main part of the view layer and the other item will be based on either the pieces or components, to how many models Access will be required.

There is full details on this.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -