Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Hey guys, I know nothing about MVC but I'm pretty good at good old web pages. Does MVC eliminate the need of traditional web pages?

user-image
Question ajoutée par Murad Bin Makhashin , Software Developer , Dar Al Tamleek
Date de publication: 2013/04/14
Sohaib AlZyoud
par Sohaib AlZyoud , Senior Software Engineer , Secured Services Systems (SSSIT)

not really, MVC is just another approach (design) of isolating the code, as i understand from your that your are using old approach (native asp.net), so probably you are using three layers (or multi tear) design (UI layer, Business logic layer, Data Access Layer) MVC is similar Model is equals to your data access layer View is Equals to your UI layer Controller is equals to your business logic layer

Hazem Salama
par Hazem Salama , Senior Member of Technical Staff , Verizon Communications

MVC has nothing to do with your web pages, it is merely a design pattern that has existed for decades.
Microsoft has just made it easy for you to use that pattern with their ASP.NET MVC implementation.
They do a lot of the wiring in the backend so you can link your views, controllers, and models together via the use of conventions.
Ruby on Rails has been doing the same much earlier.

ridha azri
par ridha azri , ridha , etudiant

bonsoir, je suis encore nouveau sur de site.
mais j'ai toujours tendance ç répondre à un certains nombre de question que vous proposer et tres géniale de trouver un communité comme ce site qui partage des questions dans le but d'apprentissage collectif.
entout cas.
Premiers pas: mise en place d'une situation ; examen de ce que nous pouvions faire découverte du pattern.
Ici, nous procéderons autrement : puisque le pattern MVC est plus complexe à aborder, nous allons entrer directement dans le vif du sujet.
Le schéma présenté à la figure suivante en décrit le principe ; il ne devrait pas être étranger à ceux d'entre vous qui auraient déjà fait quelques recherches concernant ce pattern.
Le modèle Le modèle est l'objet qui sera chargé de stocker les données nécessaires à un calcul (nombre et opérateur) et d'avoir le résultat.
Afin de prévoir un changement éventuel de modèle, nous créerons le notre à partir d'un supertype de modèle : de cette manière, si un changement s'opère, nous pourrons utiliser les différentes classes filles de façon polymorphe.
le controleur Celui-ci sera chargé de faire le lien entre notre vue et notre modèle.
Nous créerons aussi une classe abstraite afin de définir un supertype de variable pour utiliser, le cas échéant, des contrôleurs de façon polymorphe.
Que doit faire notre contrôleur? C'est lui qui va intercepter les actions de l'utilisateur, qui va modeler les données et les envoyer au modèle.
Il devra donc : agir lors d'un clic sur un chiffre ; agir lors d'un clic sur un opérateur ; avertir le modèle pour qu'il se réinitialise dans le cas d'un clic sur le bouton reset ; contrôler les données.
:la vue c'est le plus le plus facile à développer et ce que vous devriez maîtriser le mieux… La vue sera créée avec le package javax.swing.
Je vous donne donc le code source de notre classe que j'ai mis dans le package

Chamseddine Chelly
par Chamseddine Chelly , Développeur web , Evolutive Group

The MVC design pattern is a set of rules as best solutions for reoccurring problems of application development.
It literally cut the application into separate layers, here in outline what is required by MVC: * the model layer: contains business logic * the view layer: interact with the user, visualize the model and communicate to the user * the controller layer: acts as the traffic cop, controls interaction with the layers and delegates work to the model and view layers

Zeeshan Munshi
par Zeeshan Munshi , Senior Software Developer , MAXVAL TECHNOLOGIES Pvt. Ltd

I will suggest you please go through my following explanation.

My suggestion will to keep yourself updated & open to learn any new things that will help you stay in the competition & i can assure you that once you get hands on MVC you will really like developing things in it & it will be your most preferred one.

 

Each can be the “best choice” for a particular solution depending on the requirements of the application and the background of the team members involved. What to choose and when has more to do with business prospective than which one is better than other. When facing a decision to choose between ASP.NET Web Forms or ASP.NET MVC it is important to know that neither technology is meant to replace the other.

Two important factors you should consider while making the choice is

  1. Rapid application development - If you want to develop anything rapidly ASP.NET Web Forms is the only chance you are having, you can’t even consider for ASP.NET MVC for RAD.  (Reasons for RAD may be anything like client is not paying too much, or application is going to be used for only one or two months and won’t require much maintenance.)
  2. Unit Testing - If automatic unit testing is most important factor for you MVC will be best for you.

Other than these, what you can do is, write down all your project requirement and try to compare them with Pros and Cons of both Web Forms and MVC and if possible try to ask yourself following questions and point MVC and Web Forms accordingly

  1. Does your team have good experience with Web Forms or Windows Forms?Well, if yes then probably learning ASP.NET MVC is going to be a tedious task for team, because developers have been used to with ViewState and event driven programming by now and migration is going to be a difficult task.1 point to Web Forms.
  2. Does your team have good experience with ASP.NET MVC?If yes ASP.NET MVC get1 point 
  3. Does your team have experience on ASP or non-Microsoft technologies such as android, ios, JSP, ROR, PHP?If you have been JSP or ASP developer prior then you might be familiar with HTTP get and Post and even u might have hands on with MVC because most of them use MVC by default. It gives1 point to ASP.NET MVC.
  4. Is JavaScript going to be used extensively?If Yes, MVC gets the point because you get complete control over HTML.1 point ASP.NET MVC. 
  5. Looking for good performance?With no support for ViewState ASP.NET MVC provides good performance gain over traditional ASP.NET Web Forms.1 point ASP.NET MVC. 
  6. Planning to reuse the same input logic?If yes stick with MVC.

Clara James
par Clara James , CEO Office Manager , Sonatrach

REAL LOVE SPELL CASTER PRIEST WISDOM THAT HELP ME SAVE MY RELATIONSHIP.TEXT OR ADD HIM UP ON WHATSAPP: +2348124644470 My name is CLARA JAMES .I want to give thanks to PRIEST WISDOM for bringing back my ex husband.No one could have ever made me believe that the letter I’m about to write would actually one day be written. I was the world’s biggest skeptic. I never believed in magic spells or anything like this, but I was told by a reliable source (a very close co-worker) that Trust is a very dedicated, gifted, and talented person,It was one of the best things I have ever done. My love life was in shambles; I had been through two divorces and was on the brink of a third. I just couldn't face another divorce, and I wanted to try harder to make our relationship work, but my husband didn’t seem to care. and he broke up with me again . I was confused and did not know what to do again, rather they got in contact with PRIEST WISDOM. He did a love spell that made my husband come back to me. We are now very much happy with ourselves. PRIEST WISDOM makes him realize how much we love and need each other .This man is for REAL and for good . He can also help you to fix your broken relationship. I had my husband back! It was like a miracle! He suddenly wanted to go to marriage counseling, and we’re doing very, very well , in our love life . contact email or text or add him up on whatsApp at: +2348124644470 his web page https://supernaturalspell21.blogspot.com/ or go to his page https://web.facebook.com/watch/PRIESTWISDOM11/

Waqas Ahmed
par Waqas Ahmed , Tech. PM / Software Designer , Aga Khan University Hospital

No it doesn't. Microsoft is moving towards one ASP.Net in which they have given equal importance to both of the flavours. This can be seen in Visual Studio2013 edition.

Diane Jones
par Diane Jones

Indeed spells work. I wanna express myself on how this psychic priest Ray saved my marriage from divorce. Myself and my husband were having some misunderstanding and it was tearing our marriage apart to the extent my husband was seeking for a divorce and during that time he left home and I was really devastated I cried day and night I was searching about love quotes online I saw people talking about him and his great work whose case was similar to mine they left his contact info I contacted him told him about my problems he told me that my husband will return back to me within 24hrs i did everything he asked me to do the next day to my greatest surprise my husband came back home and was begging for me to forgive and accept him back he can also help you if you have same marriage issues contact
psychicspellshrine@gmail.com
Website: https://psychicspellshrine.wixsite.com/my-site

More Questions Like This