London: (+44) 020 3239 8323 - Roma: (+39) 06 4781 8408 - Email: info@adamkey.com
  • EnglishEnglish
  • ItalianoItaliano

My CMS

  • Home
  • Servizi
    • Web Marketing
    • Web App
    • ANDROID – iOS App
    • AS400 App
    • Street View Business
  • Prodotti
    • TRUSTY DEMO
    • WMCOMMERCE DEMO (soon)
  • Articoli
  • Contatti
0
giovedì, 12 Maggio 2016 / Pubblicato il Tutti gli Articoli

MVC – Model View Controller

MVC o Model – View – Controller è una soluzione progettuale molto diffusa (un pattern architetturale molto diffuso) nello sviluppo di applicazioni object-oriented.

Al di là dei termini abbastanza incomprensibili per chi non è un tecnico del settore il concetto è che vengono divisi i compiti tra i diversi componenti dell’Applicazione come potete vedere nella figura sottostante…

Quindi un Utente attraverso un URL, cliccando su un link o inserendo dei dati in una pagina fa partire una classica richiesta (HTTP Request) ad un’azione specifica che viene gestita dal Controller (in Italiano Controllore – è un pò il centralinista dell’Applicazione),…

…il quale appunto controlla se il Model (in Italiano Modello – si occupa esclusivamente della comunicazione con il DataBase) ha dei dati nel DataBase che fanno riferimento alla richiesta dell’Utente e lo comunica nuovamente al Controller,…

…a questo punto la View (in Italiano Vista – la parte grafica che vedono gli Utenti) s’incarica di visualizzare i dati forniti dal Controller ed elaborati appunto da un opportuno Model,…

…quindi la View non è altro che un Template (grafica, testo, css, ecc…) che visualizza i dati inviati dal Controller ed elaborati dal Model, e comunica nuovamente al Controller quale template grafico usare per la visualizzazione finale,…

…infine il Controller risponde (HTTP response) all’iniziale richiesta dell’Utente fornendo gli esatti dati e veste grafica per per la richiesta iniziale dell’Utente.

Naturalmente il discorso è stato semplificato al massimo perchè questo articolo non è indirizzato a Sviluppatori Esperti ma ad Utenti che vogliono comprendere il vantaggio di un’Applicazione realizzata con questo approccio di sviluppo.

Ma alla fine quali sono i Vantaggi dell’ MVC?

  1. Si seguono degli standard di programmazione internazionali che consentono ad altri sviluppatori di comprendere facilmente il codice e al Cliente di poter cambiare agenzia in qualsiasi momento.
  2. Modifiche più rapide perchè posso cambiare facilmente una particolare richiesta al DataBase agendo solo sul Model appropriato, o posso cambiare la Grafica di una sezione agendo solamente sulla View.
  3. Possibilità di sviluppare un’applicazione Modulare.
  4. Software più flessibile, manutenibile, aggiornabile nel tempo.
  5. Costi di sviluppo Ridotti, grazie alla separazione dei compiti e alla possibilità di operare su un singolo componente indipendente.

Che altro puoi leggere

eCommerce, mai come ora, sarà così integrato con il tuo gestionale AS400
Il Magazzino: cuore della logistica di ogni azienda
Meglio essere in prima pagina su Google

CERCA

Categorie

  • Tutti gli Articoli

Ultimi Articoli

  • Quando nasce la LOGISTICA

    Siamo in Italia (ma anche in molti altri paesi ...
  • Meglio essere in prima pagina su Google

    Tutte le aziende si pongono il problema di come...
  • eCommerce, mai come ora, sarà così integrato con il tuo gestionale AS400

    Vorresti che la tua azienda vendesse anche quan...
  • Il Magazzino: cuore della logistica di ogni azienda

    Il magazzino rappresenta da sempre il cuore del...

ADAM KEY GROUP

  • Home
  • Servizi
  • Prodotti
  • Articoli
  • Contatti

Tecnologie

Info

London: (+44) 020 3239 8323
Roma: (+39) 06 4781 8408

Email: info@adamkey.com

  • SOCIAL

© ADAM KEY GROUP - All rights reserved

TORNA SU
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessario
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurataDescrizione
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Pubblicità
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Analisi
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Funzionale
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Altri
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
Prestazioni
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
ACCETTA E SALVA