Examples of Hierarchical-Model-View-Controller (HMVC)? [closed] - user-interface

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm interested in the Presentation-Abstraction-Control? (aka Hierarchical-Model-View-Controller (HMVC)) Architectural Pattern for constructing complex user interfaces (GUI or web) and was wondering if anyone was aware of any examples in the wild where I could read the code?
I'm aware of the JavaWorld article and associated letters cited in the Presentation-Abstraction-Control wikipedia article.

In the php world, I'm aware of a few methods that might qualify as HMVC. They all allow calling a controller and displaying the results from within a view. The calls can be nested infinitly creating widgets within widgets.
Zend Framework: Action View Helper
CodeIgniter: 3rd party Modular Extensions - HMVC
Kohana: 3rd party Component Edit: Kohana 3 now natively supports HMVC

I wrote an HMVC framework a while back for J2EE and FreeMarker:
http://www.neocoders.com/portal/projects/jandal
and recently another one for Javascript:
http://www.neocoders.com/portal/projects/subo
These are fairly 'experimental', but might be of some academic use.
cheers,
Lindsay

It's my understanding that the Cairngorm framework for Adobe Flex is just one example of an HMVC implementation. It's open source, so you can find out more information and download the code at Adobe's website.

The APF-Webframework - http://adventure-php-framework.org/Page/001-Home - uses HMVC since many years, and has a very experienced and engaged developer. Only the small community discourages a little bit.

I wrote an HMVC framework in PHP called Alloy:
http://alloyframework.org/
It's pretty lightweight and has a modular structure.

Related

A lightweight PHP frameworks that provides HTTP router and Access Control [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
As you know some well-known PHP frameworks have provide front-controller pattern and access control mechanism. Also there are some micro framework that provide front-controller pattern.
I have surveyed some such frameworks and yet could not make a decision, My concerns is:
Stability
Stability
Stability
Performance
Security
I do not expect any thing more form my core framework, I will use pure PHP or I may use specific module from various frameworks.
Currently I have experience in ZF 1.x, ZF 2.x, Phalcon frameworks. And I also read Lithium docs, but I found no one suitable for my project.
Also as per this, this, this and this pages ZF, Symfony, CakePHP, FuelPHP are not efficient frameworks (fat frameworks).
(image source)
Can you please suggest a suitable framework or a combination of moudules that satisfy such requirement?
Also see this related (but old) question.
In my opinion (because that's all that any answer could be here) the best, lightest weight framework is Kohana. It is very minimal and can integrate with whatever third party libraries you use (including ZF).
I always recommend the Yii framework.
It has great performance - http://www.yiiframework.com/performance/

The best Joomla forms module [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am just looking for some opinions on a preferable module to us efor Joomla. It must:
allow CMS users to edit fields etc.
store data in the database
not have excessive mark up
have easily editable themes.
I have used Breezing forms and some others, but they all seem a bit clunky and over kill for what is required.
I would like a fairly lightweight form module with easy customisation from a dev point of view.
You can use Fabrik extension. You can get it by go to this link
It's free and simple to use. Fabrik gives you the power to create forms and tables that run inside Joomla without requiring knowledge of MySQL and PHP. Then feed your data into Google Maps, Charts or an AJAX based calendar etc.It's my personal opinion, I have used this and found it interesting.
And others extension such as RSform ,Breezing forms, Red form etc. but these are commercial extension.
RSForm! Pro is the best form module.
http://www.rsjoomla.com/
RSForms Pro is a really good component for forms in Joomla. But it isn't really lightweight, it's fairly extensive. But still quite easy to use. ;)
I would recommend RSForms!
Well maintained
Easy to use and powerful
Theming engine
The price is low enough to avoid all the hassle "free" components can provide
Have a look at their website : http://www.rsjoomla.com/joomla-extensions/joomla-form.html

ASP.MVC 3 - good already? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am considering using ASP.MVC 3 in my project. I would like to ask experienced architects to share their opinion about it.
Is it good and relabiale already? What are biggest problems with it? Why would you not use it?
Thank you in advance for help
These questions have been asked a few times before so rather than regurgitating what has already been said here are some links that should give you all the information that you are after:
Biggest advantage to using ASP.Net MVC vs web forms
Comparing Web Forms And ASP.NET MVC - MSDN Magazine
http://blog.mikecouturier.com/2011/03/aspnet-web-forms-versus-net-mvc.html
But my thoughts very briefly are:
The MVC framework (asp.net) has been out since 13 March 2009 when the first stable release was.. well released.
Between then and now the team at microsoft have made a huge number of improvments and I'm sure into the future they will make even more.
They key point for me is testability of applications built in MVC. They are just easier to Unit test, this might not be important to you.. although it should be.
Dependency injection is another thing that is "baked in" with MVC 3, if you like the SOLID principles then DI will be something you are interested in.
Then there is the flexibility of it, This article talks about the 13 points of extension, It is a little out of date now, but still worth a read.
For me it's all about the benefits of MVC over webforms.
With all that said I have to ask you
Why would you not use it?
And I am aware that you might have a good reason not to, one example might be if you have a team of developers who are all control gymnasts with a love for viewstate and things webforms then a move to MVC might not be a good idea for you.
MVC pattern is very comfortable in big applications. It allows you to separate your application in parts: Models, Views and Controllers. So code is much more clear and understandable. I recommend to read this: http://weblogs.asp.net/shijuvarghese/archive/2008/07/09/asp-net-mvc-vs-asp-net-web-form.aspx

Theory on creating custom UI framework [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I was wondering if anyone knows a good book or series of articles I can read to get familiar with UI framework internals and how they are created?
Something around MVVM would be nice. To be precise, I want to know exactly how UI framework is being made from scratch.
It includes layouts, controls, rendering (drawing pixels or rendering into other language like HTML), interactions among all these elements, etc.
Any information regarding this is helpful!
Thanks!
Have a look at Prism 4. It's an MVVM UI framework. Also, the Prism 4 developers guide is the best reference on MVVM that I have found yet.
It is an excellent guide, even if you do not use prism, as it covers MVVM concepts such as using commands, handling dialog requests (interactions), and inter-viewmodel communication in depth.
You could take a look at this MIX presentation Build Your Own MVVM Framework. It's from the author of the Caliburn MVVM framework.

Advantages and Disadvantages of using MVC Design Pattern (Model View Controller) [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am at the point in my design where I am contemplating dropping the MVC design for performance reasons, not sure if straight out PHP pages with header/footer includes would out perform my MVC setup (using PHP/Zend). I have a feeling it would.
Comments?
What's the value of your time? Of your productivity? Of your code's maintainability?
vs.
What's the cost of an additional server?
It depends on what you're building. MVC can certainly be overkill for some things, and not even applicable to others. Weigh that against future maintenance, working with other developers, how much of the MVC design pattern are you going to be rewriting on your own, etc.
This article discusses MVC, and its inventor's new paradigm DCI that is possible going to be a challenger for traditional OO.
I'm familiar with MVC from its original Smalltalk-80 context. The decision on whether to use MVC or something else is about clarity of the code, not performance. If there are particular problems with the performance of MVC in PHP, I don't know about them.
But again, the primary reason to move toward MVC is that separation of concerns is an important value in ensuring that software is supportable and maintainable over time.

Resources