Questions tagged as 'mvc'

3
answers

What does the term "routing" mean in the context of MVC architecture?

I'm starting to study this architecture and came across this term: routing . edit Do I need some framework to build on this architecture?     
asked by 17.11.2016 / 19:04
2
answers

In an MVC structure, can we create a model that represents a View (SQL)?

I was arguing with a friend of mine about using views (say MySQL, not the pattern MVC). A question arose in the following way: A Model serves to represent a data structure, being able to read and write data in a table through it. So, co...
asked by 14.09.2015 / 19:12
1
answer

What does the namespace really look like? [duplicate]

I would like to realize the great need and utility of namespaces in the MVC architecture. In what circumstances does the use of namespaces become indispensable? Give an example of a concrete case if possible.     
asked by 07.04.2017 / 15:43
1
answer

In Ruby on Rails is the business rule in the model?

In Java the business rule stays in the controller , but I heard a speaker saying that in Ruby on Rails the business rule stays in model . Does anyone confirm this?     
asked by 17.11.2016 / 09:05
1
answer

Should a user model have all the actions that involve it?

When I search, I see that in MVC we should separate the models so that it becomes more organized and easier for an upcoming developer to understand the system. I have the basic actions like login, registration, logout. Would it be correct,...
asked by 18.10.2017 / 13:17
1
answer

MVC Folder Structure

Hello. I'm trying to build my own application using the MVC standard. I understand the separation of each item (Model, View and Controller). However, I want to do some sort of separation between Front-end and Back-end, since some Backend Control...
asked by 08.09.2015 / 20:04
1
answer

How to implement a login system in an MVC standard? [closed]

I'm studying about mvc with php , I managed to make a simple start system, but I was left with doubts on some points, such as can I implement my login system? where I should "get" the values of POST and / or GET where I should t...
asked by 03.04.2014 / 01:11
1
answer

How to implement a Route System in MVC?

I'm creating an MVC framework (more for studies), and I'm trying to implement a route system , but I'm not sure how to execute the routes. So I would like to know if there is any execution flow for an MVC project. Mine looks something like t...
asked by 16.06.2016 / 15:01
1
answer

Upload Gif while site loads!

I am developing a site (MVC), where there is a user's option to select an Excel file, and all the data in the table is sent to the database and only then a warning of success or failure appears when writing the data . This task takes some tim...
asked by 05.06.2017 / 17:48
1
answer

Ajax running Controller (MVC, PHP)

I've just started to study mvc, and I have a question. How to make my ajax execute certain method of my controller. Note: I am not using any framework, here is the code below. View <div class="form-cadastro"> <input type="text...
asked by 06.05.2017 / 14:37