I just stumbled upon a question at SO about PAC and got interested in the pattern. I'm wondering why it's not as widely used as MVC? What is the MVC benefits compared to PAC?
|
Technology becomes popular for three reasons:
Developers who are already happy with MVC-and-friends are unlikely to go looking for alternatives unless they see flaws in their existing approach. I assume MVC and its better-known variants already meets the need to separate concerns for many developers. Even if they go looking they are unlikely to find it unless others are using it and writing about it. In the case of PAC, I would guess that most develpers are simply unaware of the approach (I hadn't heard of it until I read this question). Even if they find it, they won't use it unless the benefits outweigh the costs of adoption. Numerous frameworks aleady incorporate an MVC-based approach, making that cost quite high for many developers. There you have it: people don't use PAC because it lacks marketing. |
|||
|
|
|
MVC is more popular because of supporting frameworks Most people knocking out a web application these days will be following a well-trodden path using design decisions provided by the designers of some web framework or other. In the Java world SpringMVC is a popular choice (perhaps because there is no alternative, PAC or otherwise to muddy the waters). Other developers understand and are happy with the benefits provided by this approach and don't really see a need to change. MVC works well, is easy to understand and, when used effectively, reduces the complexity of the web application code. |
|||
|
|
Simplicity. For vast majority of projects PAC would be total overkill, while MVC fits them quite nicely. |
|||
|
|
|
I hadnt heard of PAC before this but it seems to be exactly the same as MVC
|
|||||
|
|
Having a glance on the provided link, it seems to me that-
|
|||||||
|