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 8262351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:43:51+00:00 2026-06-08T03:43:51+00:00

I have an interesting decision I would like some help with. I am forming

  • 0

I have an interesting decision I would like some help with.

I am forming a request to my DB from a view where I select several (18) values (not all are required to be selected), these values will then be sent from my view to my request variable where I put the parameters into an XML request.

So I am wondering do I create a method with 18 parameters that are not necessarily all required!?? or create a single parameter out of all of the possible variables, send the data over to the destination then decode there?

example of how this is going to work.

  • UIViewController, select all values needed.
  • Hit send button which has a method attached to it, then sends all the values off to my requestController
  • request controller then sends XML to DB as a request.

so my question is whats the best way to send my values from one method to another.
Any help would be greatly appreciated.

  • 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-08T03:43:52+00:00Added an answer on June 8, 2026 at 3:43 am

    Especially if it’s going to become xml eventually, an NSDictionary is probably your best bet. Fill it with keys – which can eventually become your xml tags – and the values collected by the view. It’s one param to pass, and a missing key/value is a zero overhead way to send an optional param that isn’t present.

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

Sidebar

Related Questions

I'm haiving an interesting discussion with an esteemed colleague and would like some additional
I have an interesting result and don't understand why. SELECT * FROM items im
I have some interesting problem for an hour.. In my flex project, all width
I have an interesting SQL problem that I need help with. Here is the
I have seen it asserted several times now that the following code is not
These are the options we have out of the box: I would like a
This is an interesting conundrum. We have a WPF app that has a Vista-like
Have an interesting situation: I have a foreign key from a.name (child table) to
I have some interesting notice with scrolling performance on UITableView with cornerRadius , borderWidth
I have an interesting problem here... <cfloop from=1 to=#form.countField# index=i> <cfif isdefined('form[semester#i#]')> <cfquery name

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.