SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 111 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


We don't need to check in the record because the save() method in the model
automatically does this for us.
Finally, we set up a redirect; this will be used to redirect the browser to a new
location. This does not immediately redirect the browser, it just sets the redirect URI
for when we execute the controller's redirect() method.
Notice that we don't call the parent display() method. This is because we want to
separate out each task. We could have next decided to display a view, but this would
mean that a refresh of the page would execute the save method a second time!
The use of redirects is considered unnecessary by some developers, who
believe that we should instead invoke other controllers and controller
methods. However, many of the core Joomla! components use redirects.
Building an MVC Component
Knowing how to build each element of an MVC component is only the beginning.
We need to know how to put all of this into practice! Planning your component is
crucial because so many of the MVC elements are interdependent.


Pages:
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6