Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8274235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:40:29+00:00 2026-06-08T07:40:29+00:00

Im currently developing software as an intern at a VoIP company. I’m creating a

  • 0

Im currently developing software as an intern at a VoIP company. I’m creating a VoIP Client for iOS using the MVC pattern.

I’ve a pretty good grasp on MVC, and I’m aware of the fact that this question is asked a million of times, but I’m stumped as to where “intelligence” in my example should go.

Example: App ask for user credentials, stores these in model, lets say (bool)setUsername(string usr). Model saves username to NSUserDefaults, password to Keychain. Controller couldn’t be bothered where Model persists this data. Controller acts as latch for View and Model and also handles input events (eg button press).
Now, using this information, the app would like to register on a server and some time later make a call.

Where in the MVC would this functionality ( registerUser(), makeCall() ) go? My guess would be Controller, since Model is for persisting and computing on data and not for any other intelligent behaviour, but I’m still in doubt.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T07:40:30+00:00Added an answer on June 8, 2026 at 7:40 am

    My answer is also Controller. But sometimes you may feel confused when you use MVC pattern, because there is some code you do not know where to put. You can try MOVE pattern, Models (model), Operations (operations), Views (View) Events (event).Conrad Irwin’s blog shared some views on this pattern.http://cirw.in/blog/time-to-move-on

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently developing an ecommerce software using PHP/MySQL for a big company. There
I am currently developing a PUBLIC and OPEN SOURCE software using PHP/MySQL. I have
I am currently developing a piece of software using opencv and qt that plots
I am developing a software package that transmits messages. Currently I have a header
Currently developing an application using the newest version of symfony, obtained through PEAR. This
Im currently developing an In-House Enterprise application. I will publish the app using Apple
I'm currently developing a website. Every feature works fine. However, I'm using a lot
Introduction: I am currently developing a document classifier software in C/C++ and I will
I'm currently developing an ASP.NET Human Resources System. I'm using a layered architecture with
I am currently developing a piece of monitoring software that takes an input file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.