Giter Site home page Giter Site logo

What is the usecase? about macroable HOT 2 CLOSED

spatie avatar spatie commented on May 25, 2024
What is the usecase?

from macroable.

Comments (2)

freekmurze avatar freekmurze commented on May 25, 2024

Keep an eye on my blog, I'll write about about the use case at https://murze.be soon.

Shortly said this package is targeted at package maintainers that want to enable their users to add new methods without changing the package itself.

from macroable.

drupol avatar drupol commented on May 25, 2024

Hi Freek, Robbert,

I've discovered this way of working very recently, when I started to use peridot-php/leo.

I was looking into the library to see how they did and I discovered all of this, this is why I had, just like Freek, to create such a library. But I'm not here to promote it of course.

Leo's extending mechanism is very nice and doesn't force you to create and object and inject it in it to use it. Each Leo's library's method is actually stored in a variable (quickly said). You can modify them and extend it by adding dynamic methods.

I'm still discovering all of this and I'm sure that it will have a lot of applications very soon :-)

Have a good day fellas!

from macroable.

Related Issues (8)

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.