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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:42:57+00:00 2026-05-31T12:42:57+00:00

When using the AWS SDK for PHP with SimpleDB (a mouthful) the select section

  • 0

When using the AWS SDK for PHP with SimpleDB (a mouthful) the “select” section of the documentation ( http://docs.amazonwebservices.com/AWSSDKforPHP/latest/index.html#m=AmazonSDB/select ) has the option:

NextToken – string – Optional – A string informing Amazon SimpleDB where to start the next list of ItemNames

And provides some helpful code to handle this scenario.

But it seems to me that having to wrap all select statements in code that checks for a NextToken and appends the data is something that should be a basic function of the SDK, maybe as an option: do_auto_NextToken => 1

Am I missing some basic reason this isn’t the case?

And can anyone with more familiarity of the SDK tell me where the select handling is being done so I can see if it makes sense to patch the SDK myself to autohandle NextTokens ?

Thanks for your help and opinions!

Tosh

  • 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-31T12:42:58+00:00Added an answer on May 31, 2026 at 12:42 pm

    With the low-level structure of the current AWS SDK for PHP, it probably would not make sense to do this since each request returns the whole response as a simplexml object. If the nextTokens were used to make the subsequent requests automatically, it would make it difficult to expose the responses for each of the requests individually in a way that is consistent with how the rest of the SDK works.

    That being said, I think what you are talking about would be a great feature of a higher-level abstraction. In fact, the AWS SDK for Ruby is designed solely as a higher-level client, and does process the nextTokens automatically for you. Seeing higher-level clients added to the PHP SDK would be really useful.

    Instead of patching the SDK to handle nextTokens, I would consume it by a middle-layer library that your application can use. If you have specific questions about how the SDK works, you could always ask on the AWS PHP Development Forum.

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

Sidebar

Related Questions

I'm using the AWS SDK for PHP, specifically the Amazon S3 portion, and I'm
How do i start and stop an amazon EC2 instance programmatically using aws-sdk in
I'm trying to start a Amazon EC2 cloud machine with [startInstance][2] method using aws-sdk
I'm using AWS SDK for .NET to upload several images. Before making the PutObjectRequest,
i just installed the aws sdk on MacOs using the following command: sudo pear
I am using rails 3 and for dynamo db using 'aws-sdk' gem . And
I'm using the Amazon AWS .NET SDK v1.2.1. The following code throws an exception
I am using aws-android-sdk and on DroidX all was fine. But after last system
I'm using AWS' SimpleDB as intended for the most part, but also want to
I am using the AWS SDK for iOS to upload and download files to

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.