You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model – ThinkUp’s model objects live in /thinkup/webapp/model/. Model object filenames start with the word class.. For example, the Post object is located in the class.Post.php file.
View – ThinkUp’s views are Smarty templates, files with the .tpl extension, located in the /thinkup/webapp/view/ directory. As a general rule, HTML markup should never appear in a PHP file; only in a template file.
Controller – ThinkUp’s controllers live in /thinkup/webapp/controller/. Each controller should extend either ThinkUpController or ThinkUpAuthController. Extend ThinkUpAuthController only if the user should be logged in to perform the action. The PHP pages which the user requests in the browser only instantiate the appropriate controller, and echo the results of its go() method.