What is view.php - Revisited
Permalink 1 user found helpful
For many newbie developers the Concrete5 system is something we want to understand.
With so many occurrences of view.php I soon asked - What exactly is view.php?
After a search there was this answer: "It is used to display single pages". But that seemed to be a somewhat short answer to the question... although it is correct!
Here is a suggestion from one newbie to other newbies. Read the entire section in documentation called pages. Starts with overview.
http://www.concrete5.org/documentation/developers/pages/overview/...
Save some time to read and follow the next arrows through all the topics. It is not specifically about view.php but I think the concept of view.php will make more sense. Personally, I was doing a lot of fumbling around until I read that section of documentation.
Don't worry if you are not a php programmer. You can just slide past all the "Methods" until you get to the section "Themes Standards". That gets back to more normal non-programmer language. It doesn't hurt to glance at the "Methods" too because you may run across them in some of the files you visit. When you see a method you can flip back to the documentation and see what purpose that method serves.
I hope this post helps. For the experienced programmers this may be obvious and for people not interested in php it may be too much. For others, like me, it is all about putting the pieces together. My philosophy is that sharing makes us all better!
With so many occurrences of view.php I soon asked - What exactly is view.php?
After a search there was this answer: "It is used to display single pages". But that seemed to be a somewhat short answer to the question... although it is correct!
Here is a suggestion from one newbie to other newbies. Read the entire section in documentation called pages. Starts with overview.
http://www.concrete5.org/documentation/developers/pages/overview/...
Save some time to read and follow the next arrows through all the topics. It is not specifically about view.php but I think the concept of view.php will make more sense. Personally, I was doing a lot of fumbling around until I read that section of documentation.
Don't worry if you are not a php programmer. You can just slide past all the "Methods" until you get to the section "Themes Standards". That gets back to more normal non-programmer language. It doesn't hurt to glance at the "Methods" too because you may run across them in some of the files you visit. When you see a method you can flip back to the documentation and see what purpose that method serves.
I hope this post helps. For the experienced programmers this may be obvious and for people not interested in php it may be too much. For others, like me, it is all about putting the pieces together. My philosophy is that sharing makes us all better!