GithubHelp home page GithubHelp logo

Switch to Imagine about badge-poser HOT 8 CLOSED

pugx avatar pugx commented on July 20, 2024
Switch to Imagine

from badge-poser.

Comments (8)

liuggio avatar liuggio commented on July 20, 2024

Good idea I like Imagine project, but we have few calls to GD ... I'm not convinced... dunno is my response :)
how it could improve our OOP project?
@toretto460, @leopro what do you think?

from badge-poser.

giorrrgio avatar giorrrgio commented on July 20, 2024

I know maybe it's too much for the few GD calls, but ImageCreatorTest is filesystem based, and thus it's an integration test. ImageCreator should have a real unit test, but with explicit gd extension calls it's very hard to unit test it. With Imagine as an injected dependency instead, it would be very easy, with very little overhead. My 2 cents!

from badge-poser.

leopro avatar leopro commented on July 20, 2024

I think that @giorrrgio's idea is good and maybe we have also to mock the file system with https://github.com/mikey179/vfsStream

from badge-poser.

stefanosala avatar stefanosala commented on July 20, 2024

Take a look also to https://github.com/KnpLabs/Gaufrette for FS abstraction :)

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

good idea...
with the profiler the FS is really fast is nanosecs, the bottlen. is
packagist API of course

On Thu, Jun 6, 2013 at 10:55 AM, Stefano Sala [email protected]:

Take a look also to https://github.com/KnpLabs/Gaufrette for FS
abstraction :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-19032513
.

liuggio_______________

/|_ We reject kings, presidents and voting.
/o ) / We believe in rough consensus
)
v _/\ and running code (I.E.T.F. credo)


from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

@stewe do you have time to do some experiments?

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

:) thanks to @stewe we now (3 months ago) have imagine library..

from badge-poser.

odino avatar odino commented on July 20, 2024

Congrats :)

from badge-poser.

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.