What are complex views?
Asked by
Vincentt (
8094)
July 12th, 2007
Hey, I'm working with the Zend Framework in PHP, and I keep hearing how limited the View module is in regard to complex views. That got me wondering: what are complex views?
Thanks in advance.
Observing members:
0
Composing members:
0
4 Answers
I'm not familiar with the Zend Framework, but when people are talking about complex views, I think they're just referring to pages (views) with many different elements, possibly with multiple accesses to a database, and more complex relationships. For example, this page is relatively complex, especially when compared with something like our privacy policy (www.fluther.com/privacy/) which is very simple.
Well, the funny thing is - in the Zend Framework, Views aren't supposed to touch the database at all. But I can find myself in the complex relationships, e.g. "only display this element of the page if that element of the page has this and/or that set", etc. Thanks!
Weird they would choose a name that could so easily be confused with database terminology (ie. views, like a view on multiple tables). Vincentt, I develop on the symfony framework, I'd be interested to hear what you think of the Zend framework.
segdeha, I have a friend who develops with Symfony, so I have looked into it, but what I like best about the Zend Framework is that everything is so modular. I read that, with Symfony, you need to run a few commands to set it up, but with ZF, if you'd like, you can include only a single component and use that. Of course, for some it would also be positive that it's backed by Zend. However, I've only gotten into the whole framework stuff recently (like two weeks ago) so I'm not too much of an expert. ZF does seem to have a community of very talented coders backing it, but I'm sure you can say the same for Symfony.
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.