FlashPress Feature Requests?
I’m currently re-writing my Flash press PHP service.
I’ve moved it to using the Wordpress api as opposed to working on the database directly.
Most methods are complete, with some no longer needed. For instance, all posts / pages can be returned with a simple ‘getContent” method, but would you rather have seperate, ‘getPost’,’ getPosts’, ‘getPage’, ‘getPages’ etc methods?
What additional features would you like to see in this service? Remember, that the service has access to most of the Wordpress API. There is no point recreating each an everything method, but there might be some methods that are more useful than others. I’ve also added in two methods for calling Wordpress methods beyond what the service supports, one for the Wordpress API and one that handles SQL requests, channeled through the Wordpress API.
Anyway, let me know your thoughts, if you have any.
At the moment, I’ve only supporting ZendAMF but will test out AMFPHP if I get the chance.
Update:
I’ve got it mostly completed. Just have to work on documentation and some examples. I’ve got reading and writing to the Wordpress database for posts / pages and attachments. And reading support for most other Wordpress features.
To get Write support for attachments (image resizing) you will have to require admin.php, but as you have to require a Wordpress file to get access to the Wordpress API anyway, I’m sure thats not a problem for anyone. Let me know if it is.
Update 2:
I’ve finally managed to get AMFPHP up and running again and have the various methods working through the services browser. I added in a new method to get the attachments from a post, which was a requested feature. I’ve also re factored some of the code.
The current available methods are:
callWpMethod – call any available Wordpress method
getUserByLoginName
getUserMetadata
getUserById
getComments
getPostMeta
findTerms (taxonomy method)
getTagCloud
getTerms
getCategories
getCategoriesByPostId
getTagsByPostId
getBlogInfo
getBookmarks
getAttachments
deletePost
getPostOrPageByTitle
getPosts
getPost
countPosts
insertAttachmentAsByteArray
insertAttachment
insertPost
I may rename some, or drop some methods. Note that “posts” is used to mean posts and pages.

December 11th, 2009 at 11:10 pm
[...] FlashPress Feature Requests? http://www.blog.noponies.com/2009/flashpress-feature-requests/ [...]
December 12th, 2009 at 12:27 pm
Dale, probably the only thing I want to see is more samples using the service , including flash cs3/cs4 and flash builder. 10x for all man, you are the best
December 12th, 2009 at 1:11 pm
Hi,
One thing that I was obliged to do to work with a flex textfields is to separate the images of the text when requesting a page / post … this could be added as an option.
December 15th, 2009 at 6:45 am
Glad to hear you are doing this as I was going to take a stab at it.
My vote would be to just focus on Zend.
December 15th, 2009 at 12:03 pm
@Jeff,
Ahh, ok. It’s getting there. AMFPHP looked like it was dead, but some new contributors have been added to the project, mostly to maintain it I think.
December 17th, 2009 at 6:36 pm
this is great. Yeah I agree, focus on zend. im anxious. when you think this’ll be up? keep on.
December 22nd, 2009 at 8:38 pm
Nice work!
Glad to see more PHP CMS and Flash integration.
I’m currently implementing drupal api with flash, not as a lib or anything, just for my personal projects for now.
But I would suggest using Zend AMF instead since AMFPHP is discontinued.
December 24th, 2009 at 6:48 am
What about some form of ‘integration’ with a framework like gaia? I have not used it specifically but it would be cool as your method + a framework would be a great place to start for a fully flash website.
Maybe that would be a 2.0 release.
No complaints from me for editing images via the admin page.
Also in a getPosts method it would be cool to be able to pass in a number for the amount of posts you wanted to get etc…
December 24th, 2009 at 12:55 pm
@jeff,
GetPosts supports all the arguments available here: http://codex.wordpress.org/Template_Tags/get_posts. With the exception of a couple of methods, the entire package acts as a proxy for the Wordpress API. And if the built in methods that I’m providing are not enough, then you can call whatever Wordpress method you like.
I’ve not thought about integrating with any other frameworks as of yet.
December 24th, 2009 at 12:56 pm
@j,
Not for a few weeks, as I’m about to go surfing in Morocco.
December 30th, 2009 at 3:41 pm
hah! understood man. have fun.
January 3rd, 2010 at 7:48 pm
[...] api to communicate with the database -both ways- without having to directly query the database (more info here). So I guess I’ll hold out and check that out before gettin too much further with the old [...]
January 6th, 2010 at 5:51 am
Dale, make sure you check out Taghazout, though I am sure you will, there are so many killer spots there.
have a great time!
January 6th, 2010 at 5:48 pm
@Ninja.
I stayed at Taghazout, and managed to get swell for the entire time I was there. Killer Point got up to about 10 foot, and out of control. Fun waves, I want to go back.
January 13th, 2010 at 2:05 pm
As I answered on the other post of flashPress
A way to get the caption data that comes from the text editor
so you can access the images & titles.
It might be possible already I just can’t find it.
I see all the data but if i want to display an image in a specific movieclip. I get stuck.
Thank you, big thanks for making this possible!
January 20th, 2010 at 9:21 pm
where is this muthah?? whens it comin out??
January 21st, 2010 at 10:31 am
@roo
When its done and I have time to finish the documentation. The php methods are all complete, sans a search method. But as the library is quite large, people will want some examples and documentation. Which I am yet to do.
February 15th, 2010 at 9:35 pm
sounds great…can’t wait for the release!!
February 23rd, 2010 at 10:23 am
Me too
Thanks Dale for your researchs.
March 8th, 2010 at 6:33 pm
Cool, amfphp is light and easy.