http://bitemyapp.com/posts/2014-08-22-url-shortener-in-haske...
Polr – A modern, minimalist, and lightweight URL shortener in PHP
11–20 of 28 posts
Re: Polr – A modern, minimalist, and lightweight URL shortener in PHP
#12I'm always amazed to see minimalist used to describe a dozen placeholder directories and files. That said, the code is clean and modern php.
Minimalist in regards to its design, perhaps not the code structure :) In contrast to other projects such as YOURLS, Polr tries to be minimalist by avoiding heavy graphs or unnecessary bloat.
Re: Polr – A modern, minimalist, and lightweight URL shortener in PHP
#13Yes, 4192 files and 32MiB, quite minimal.
Honestly though, this is the largest and most complex URL shortner that I can ever recall seeing.
Re: Polr – A modern, minimalist, and lightweight URL shortener in PHP
#14Two random'ish selections...
Re: Polr – A modern, minimalist, and lightweight URL shortener in PHP
#15Wouldn't a minimalist implementation just look up shortened URLs in a map and spit out a redirect to the original URL? Seems like that could be done in a few KiB.
Re: Polr – A modern, minimalist, and lightweight URL shortener in PHP
#16Re: Polr – A modern, minimalist, and lightweight URL shortener in PHP
#17Why is the entire vendor directory in github? I'm fairly certain some of those packages cannot be redistributed like that.
Re: Polr – A modern, minimalist, and lightweight URL shortener in PHP
#18Re: Polr – A modern, minimalist, and lightweight URL shortener in PHP
#19Yes, 4192 files and 32MiB, quite minimal.
Re: Polr – A modern, minimalist, and lightweight URL shortener in PHP
#20Why is the entire vendor directory in github? I'm fairly certain some of those packages cannot be redistributed like that.
Agree. What is the point of using composer or any dependency manager if you check-in the vendor folder?
Of course a dependency manager is still very useful to setup a new project.