Welcome Guest, Not a member yet? Register   Sign In
Views as data injectable structures?
#1

[eluser]kyleect[/eluser]
What I'm interested in doing is using a view as a structure. Lets use a blog for an example. Each post would have a view "/views/structures/blog/post". I would then call this view in a for each statement, passing each posts information in to the view. How much of a performance hit is this? Is there a better way of doing this? The advantage is that all posts across the site will have the same html and its updated in one file.
#2

[eluser]Colin Williams[/eluser]
That's sort of the whole idea! Build it right, then address any performance issues with caching, etc.




Theme © iAndrew 2016 - Forum software by © MyBB