Code Monkey home page Code Monkey logo

Comments (6)

mtdowling avatar mtdowling commented on June 3, 2024

I don't really think the feature makes that much sense now that PHP has generators, which is why I left it out. I didn't really like how it was implemented either, so I'm not sure what the best design for it would be if it were brought back in some way.

On Jul 26, 2014, at 5:43 PM, Graham Campbell [email protected] wrote:

When will these be returning to guzzle 4? Could you suggest an alternative that would work with guzzle 4?


Reply to this email directly or view it on GitHub.

from guzzle-services.

GrahamCampbell avatar GrahamCampbell commented on June 3, 2024

Generators aren't an option for me since I need to support users on php 5.4. How will the new aws sdk be handling this?

from guzzle-services.

mtdowling avatar mtdowling commented on June 3, 2024

We will be using a very specific data driven iterator approach for AWS. We've found that implementing a specific iterator class for AWS rather than trying to fit iterator logic into an abstracted iterator class (ala Guzzle 3) has yielded far simpler code. We are going to release code later this year once we have more of the release strategy worked out and get Guzzle commands stable.

from guzzle-services.

GrahamCampbell avatar GrahamCampbell commented on June 3, 2024

Cool. Thanks.

from guzzle-services.

Spea avatar Spea commented on June 3, 2024

Are there any news about this? Would really appreciate it, if you could share some information about the iterators for AWS.

from guzzle-services.

mtdowling avatar mtdowling commented on June 3, 2024

The AWS SDK iterators can be found here: https://github.com/aws/aws-sdk-php/tree/v3/src/Common/Paginator. Iterating over resources is going to be vey application specific. If there is a way to describe this in a general-purpose way that works for multiple services, then I would suggest that it should part of a separate package that uses a client rather than be part of the client itself.

from guzzle-services.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.