Phlickr Todo List

Development on Phlickr is directed by two things: code I need for my projects and your requests. If there’s something you need let me know.

This is a rough list of changes and additions I’d like to make to Phlickr. There’s also this list that’s generated from the PHPDoc comments in the code.

Phlickr_Photo

  • findByUrl()

Phlickr_AuthedPhoto

  • addTo(group/photoset)
  • removeFrom(group/photoset)

Phlickr_Photoset

  • findByName()
  • findByUrl()
  • sort(Phlickr_Framework_IPhotoSortStrategy)

Phlickr_GroupList

  • getGroups() if userid matches Api::getUserId() then return AuthedGroup(s) instead.

Phlickr_Uploader

Phlickr doesn’t currently allow the user to find out how how much they’ve uploaded and are allowed to upload.

  • upload() should check that the filesize is less than the file size limit
  • getFileSizeLimit() return the current filesize limit
  • getUploadLimit() return the users’s upload limit
  • getUploadedBytes() return the number of bytes uploaded
  • getUploadedPercent() return a float with the percentage of the upload limit already used.

Separating GETs and POSTs

Currently everything is POSTed even if it’s something that could be submitted as a GET. I’d like to split the two types of requests out so that the GETs could be cached more agressively and the POSTs could be ignored by the cache.

  • Phlickr_Request need to add a get method to complement the post. posts shouldn’t be added to the cache.
  • Phlickr_Api execute() needs to take a parameter to detmine if it’s a GET or POST

I'm thinking about adding notes

Phlickr_NoteList

  • add(text, x, y, h, w)
  • delete($id)

Phlickr_Note

  • getId()
  • getUserId()
  • getUserName()
  • getText()
  • getCoordinates()
  • edit()

Phlickr_Photo

  • getNoteList()
 
todo.txt · Last modified: 2006/04/09 12:20
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki