Open 0x-r4bbit opened 10 years ago
Thanks @PascalPrecht! This is indeed much smarter.
Before I will refactor the code I want to make it run: Implement caching and update the Readme with a easy to understand How To.
If you'd like to help, I would appreciate it.
So how do you plan to implement caching? What kind of caching?
In a first version file based, later I could image other caches like APC or DB. But that depends on people are using this Class.
I opened an issue for that topic to not pollute this one.
Hey there! :)
Just overlooked your code and was wondering, if would be cooler, to have a factory, that returns a photo album for a specific provider. So the syntax could look like this:
Then you could have a much more appropriate API:
What do you think? :)