Tag: controller

62 votes
5 answers
2.6K views
Why split the View in MVC into a view class and a template

I'm relatively new to design patterns but I feel that I've got a good understanding of the MVC patte

avatar
Denese
0 1 0 9
asked 07 September, 2021
67 votes
1 answers
2.1K views
What are the differences between Joomla Model Types?

I'm trying to get to grips with the power behind Joomla (3.x)'s framework. I've noticed that th

avatar
Benton
0 1 0 9
asked 07 September, 2021
66 votes
3 answers
2.6K views
How does Joomla Model View Controller (MVC) work?

I am new to Joomla, I want to know how the Joomla controller passes data to the model, model to controller and

avatar
Suzan
0 1 0 9
asked 07 September, 2021
57 votes
4 answers
3K views
Does Drupal comply with the MVC paradigm?

Drupal is frequently referred as a Content Management Framework, does it comply with the MVC paradigm? If it d

avatar
Nereida
0 1 0 9
asked 07 September, 2021
54 votes
19 answers
2K views
Can an ASP.NET MVC controller return an Image?

Can I create a Controller that simply returns an image asset? I would like to route this logic through a cont

avatar
Basil
0 1 0 9
asked 07 September, 2021
62 votes
15 answers
549 views
RedirectToAction with parameter

I have an action I call from an anchor thusly, Site/Controller/Action/ID where ID is an int. Later on I need

avatar
Xavier
0 1 0 9
asked 07 September, 2021
59 votes
5 answers
640 views
Why the 20px gap at the top of my UIViewController?

The Problem Consider the following controller hierarchy: UINavigationController UIViewController UITableVi

avatar
Hilario
0 1 0 9
asked 07 September, 2021
69 votes
26 answers
2.4K views
Presenting modal in iOS 13 fullscreen

In iOS 13 there is a new behaviour for modal view controller when being presented. Now it's not fullscre

avatar
Joseph
0 1 0 9
asked 07 September, 2021
67 votes
17 answers
1.4K views
How to tell if UIViewController's view is visible

I have a tab bar application, with many views. Is there a way to know if a particular UIViewController is curr

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
59 votes
2 answers
834 views
Yii: Render action using different layout than controller's layout

In Yii, is there a way to render a single action using a different layout than that defined for the controller

avatar
Dorinda
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
3.1K views
How would I create a UIAlertView in Swift?

I have been working to create a UIAlertView in Swift, but for some reason I can't get the statement right

avatar
Nidia
0 1 0 9
asked 07 September, 2021
52 votes
30 answers
710 views
Passing data between view controllers

I'm new to iOS and Objective-C and the whole MVC paradigm and I'm stuck with the following: I have a

avatar
Vi
0 1 0 9
asked 07 September, 2021
63 votes
15 answers
2.3K views
How to use a filter in a controller?

I have written a filter function which will return data based on the argument you are passing. I want the same

avatar
Royal
0 1 0 9
asked 07 September, 2021