Giter Site home page Giter Site logo

Comments (7)

burzum avatar burzum commented on June 2, 2024 1

I've started to work on a complete new library that is going to be similar to this one based on its terminology and functions but is going to be complete angostic to any framework. It will be easy to plug it into Cake with a behavior.

This allows me to drop all the legacy from this library and write a much better implementation from scratch. 😃 I'll leave another comment here when I publish the first code.

from cakephp-file-storage.

isseium avatar isseium commented on June 2, 2024

@nlangel
I have a same issue.
Thank you for your workaround!
composer require cakephp/cakephp:"4.0.6 as 4.x-dev ( I changed version 4.0.4 => 4.0.6 )

Dear committer,
I am waiting for production release targeted CakePHP 4.x.

from cakephp-file-storage.

burzum avatar burzum commented on June 2, 2024

If anyone of you would like to finish this PR I'll tag a 4.0 version #203. @skie doesn't respond anymore and at work we'll stick for some more time to Cake3.

I personally have move to Laravel, Cake has failed to go with the time for me and I genuinely think that Laravel is the better choice these days. So basically all my Cake packages get only attention when one of them is needed at work, one of my private projects that still depend on Cake needs it or if I'm getting paid to work on the libs. I'll continue to do open source but framework agnostic libs under the @Phauthentic org account. I might provide a framework agnostic solution in a few weeks that is also switching from Gaufrette to Flysystem for the underyling storage abstraction.

@ravage84 do you want to become the new maintainer of this lib?

from cakephp-file-storage.

burzum avatar burzum commented on June 2, 2024

This is my working example of the new lib. The File object implements jsonSerialize() and toArray() so you can turn that object into something that can be saved in a DB. The lib doesn't take care of saving the file data in a DB, it just abstracts storage and creation of manipulated versions. Wrapping it in a behavior should be easy. Pretty much stuffing the code from the gist into it and done. But I'm not going to provide that behavior.

https://gist.github.com/burzum/f9d011b00b04e4b76d1319d3f5753da6

I'm going to make the new repo public as soon as I'm happy with the coverage and docs.

from cakephp-file-storage.

burzum avatar burzum commented on June 2, 2024

OK, the new library is here. There is still some work to be done but it works for me. Feedback is highly appreciated to figure out of the API works for everyone as good as I itended it. For the use with Cake it should be easy to wrap a behavior around it that will take care of the actual save and delete.

https://github.com/Phauthentic/file-storage

from cakephp-file-storage.

burzum avatar burzum commented on June 2, 2024

Maybe I'm going to release a new version for Cake that will drop all the legacy and is going to be a big BC breaking change. The new libs are almost ready and we started to use it at work, integrating it into Cake but keeping it very loose coupled.

from cakephp-file-storage.

burzum avatar burzum commented on June 2, 2024

Refs #208

from cakephp-file-storage.

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.