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

  • SEARCH
  • Home
  • 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 7667473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:06:43+00:00 2026-05-31T15:06:43+00:00

After a few native iOS/Android projects I’m now on a CakePHP project. On this

  • 0

After a few native iOS/Android projects I’m now on a CakePHP project. On this project I’ve learned to keep the main part of the model specific code inside the model itself. This worked great, because of the cleaner controllers.

Today I’ll start on a native iOS/Android project which retrieves it’s main part of the data from a web service. Now I’ve questioned wether to put the download specific code inside the model or just create some kind of download helper. In CakePHP all the retrieval of the data was done inside the model. It made the code quite silk and smooth 🙂 What’s your opinion?

  • 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-05-31T15:06:44+00:00Added an answer on May 31, 2026 at 3:06 pm

    In my apps (both android and ios – same functionality, two platforms), I created a “download helper” class, whose job is to marshal requests from app to the server and then parse the responses into a format that the app’s model can understand. Technically it’s still part of the mode, if you’re after a clean separation, but it provides a nice layer between the actual “model” and the raw data, so that I can modify just one class if the source or the format of the data changes.

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

Sidebar

Related Questions

After a few harsh lessons I now always use OrdinalIgnoreCase when comparing Strings in
This is my first bash at using extJS, and after a few hours of
I have had the problem a few times now while working on projects and
I have a file that I checked out from SVN and now after few
After few weeks break, I'm trying to expand and extend my knowlege of templates
After a few tests, I'm starting to reach the conclusion that a browser does
So after a few hours, I discovered the cause of a bug in my
When my program runs it closes form1 after a few seconds. Depending on what
I am getting back into a bit more .NET after a few-years of not
Alright, so after a few hours of me playing around to no avail, I

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.