[Info-vax] User Interface Design, Implementation
Arne Vajhøj
arne at vajhoej.dk
Sat Jun 8 19:46:58 EDT 2019
On 6/7/2019 9:56 PM, Richard Maher wrote:
> On 8/06/2019 7:37 am, Arne Vajhøj wrote:
>> On 6/7/2019 5:35 AM, Richard Maher wrote:
>>> On 7/06/2019 8:54 am, Arne Vajhøj wrote:
>>>> On 6/6/2019 6:45 PM, Richard Maher wrote:
>>>>> On 5/06/2019 6:59 am, Arne Vajhøj wrote:
>>>>>> There are probably way less GUI frameworks available on VMS than
>>>>>> the more popular platforms.
>>>>>>
>>>>>> But if the GUI framework is available on VMS, then it should
>>>>>> support MVC just as well as on any other OS.
>>>>>>
>>>>>> Various Java frameworks (Swing, Struts 1, Struts 2, JSF, Spring MVC).
>>>>>>
>>>>>> Various PHP frameworks (Laravel, CodeIgniter, Symfony, ZF, CakePHP).
>>>>>>
>>>>>> Maybe RoR and Grails would run as well.
>>>>>
>>>>> I and most others now use mvC or just "C"ontrollers for RESTful
>>>>> APIs. Any language could support this.
>>>>
>>>> Without M then I would consider it to be a very trivial application.
>>>>
>>>> :-)
>>>
>>> Please explain. JSON in, JSON out,
>>
>> M in MVC represent/expose the business logic - the data and the rules
>> in the application.
>>
>> No M (or equivalent of M in non-MVC context) means no data and no
>> business rules.
>
> Try looking at any PWA or SPA sans bloatware (React/Angular) and also
> reflect on why SOAP is dead.
>
> The business rules are in the "business" layer and the data layer. The
> Controller and it's methods enforece the business rules.
The controller does not enforce business rules.
Business rules are enforced in the business logic layer.
The controller reside in presentation layer or service layer
or control layer.
Model is either the business logic layer or (better IMHO)
a facade for the business logic layer residing in
presentation layer or service layer
or control layer.
Arne
More information about the Info-vax
mailing list