Questions tagged as 'view'

2
answers

What is the View in the MVC standard?

I started in 2016 to use MVC standard, the concept of Model and Controller perfectly understand, / em> intrigues me. What is the View in an MVC template? I know what the client sees (data representation) , but what can be understoo...
asked by 28.11.2016 / 12:42
2
answers

Where should exception handling be performed to display to the system user?

What is the best place to handle an exception and send a message to the system user in a desktop application? In the controller, in the view or elsewhere?     
asked by 11.12.2015 / 00:34
1
answer

Parameter passing with Asp.Net MVC

In asp.Net MVC . What's the difference between using ViewBag, ViewData e View Tipada ? And when should we use them, is there any specific situation? Is there a performance difference between them?     
asked by 29.08.2016 / 14:36
1
answer

Is it wrong to use the facades in the laravel view to display elements to the master user?

I wonder if it's problematic to do this type of validation in Laravel views. Example: Only one master user can delete a certain record, so I have the delete button only if the user is master (logically validating the deletions in...
asked by 10.01.2017 / 17:15
1
answer

What is Partial View?

Using the Controller I can return a Partial View , JSON, string and other things. What is a Partial View? Is it heavily used in projects? Why use it?     
asked by 18.10.2015 / 08:57
2
answers

View or temporary table?

Looking at a code problem I came across different approaches to similar problems, where one has a view for data access, and another uses a > temporary table . I've been searching and found this question that deals specifically with...
asked by 10.09.2018 / 18:41
1
answer

onclick on dynamic button causes error "Can not resolve constructor Intent"

I'm trying to create a dynamic button, and put the click function on it. Button btnJogarNovamente; btnJogarNovamente = new Button(this); btnJogarNovamente.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, Fram...
asked by 17.07.2015 / 15:38
2
answers

How to Generate Thumbnail from a Video for Android?

I'm developing an android application, one of the screens of it should generate thumbnails of videos and display them in a list. Like the image below. Iwasabletogeneratethumbnailsofimages,butI'vetriedseveralwaystogeneratethethumbnailsofthevideo...
asked by 18.02.2016 / 19:20
1
answer

Create View in MySQL through Laravel

How can I create a view in the MySQL database through migrations of Laravel? I did not find anything in the documentation.     
asked by 26.09.2016 / 19:35
2
answers

Open View with Parameters [duplicate]

I have this script: $('#Musico').change(function () { var id = $(Musico).val(); var url = '@Url.Action("Votar","Chamada")'; var tipo = 1; $(function ChamaVotar() { $.post(url, { id: id, tipo: tipo }); });//Functi...
asked by 25.11.2016 / 00:31