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 92 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


The controller and view can both be considered as part of the presentation layer,
while the model could be considered as a fusion between the business logic and
data-access layers.
Chapter 4
[ 69 ]
There is a similar pattern to the MVC called 3-tier architecture. It
is important that we do not confuse the two. 3-tier architecture is
more concerned with the data layer; the MVC focuses more on the
presentation layer. It is quite likely that we will find ourselves using a
combination of the two. For more information about 3-tier architecture,
refer to
http://en.wikipedia.org/wiki/Multitier_architecture.
Each part of the MVC is represented in Joomla! by an abstract class: JModel, JView,
and JController. These classes are located in the joomla.applictaion.component
library. This diagram shows how the classes relate to one another:
The model is used to handle data. In most cases, the data will be sourced from the
database; however, we can use any data source. A single model is designed to work
with multiple records; in other words a model does not represent a single record.


Pages:
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6