![]() ![]() ![]() The other thing is that it was hard to test the code. Quite annoying when really the code changes should have been minimal. Handling local files required a hacky behavior. If you wanted to upload a file to S3, that was impossible without further work. And anything advanced, like adding a watermark, was mostly impossible. ![]() Upload did it in a hacky way, with interpolated php logic coming from a regex-parsed string. There are plenty of awesome packages to handle this already. One thing I hated about the old plugin version is the fact that I was manually handling image thumbnails. But this post isn’t about the Proffer plugin, but rather the new version of my own upload plugin. If you need something more or less drop-in, I recommend looking into it. In my mind, the Proffer plugin is the spiritual successor to the 2.x Upload plugin. If you are using CakePHP 3, there have been a few different upload plugins. Until recently however, it supported only 2.x, and in this post-3.0 world, this just wouldn’t cut it. Something I took to heart when I worked on other alternatives, and when I finally wrote my CakePHP Upload plugin. Which ended up being a bad move for maintainability. CakePHP 1.2 users might remember MeioUpload - such a good plugin, it did all the things. I’ve been working for years on upload plugins. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |