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.

20 Neighs about “FlashPress Feature Requests?”



Burn Neighed:

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 :)

freddy Neighed:

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.

jeff Neighed:

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.

Dale Neighed:

@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.

j Neighed:

this is great. Yeah I agree, focus on zend. im anxious. when you think this’ll be up? keep on.

Ronaldo Neighed:

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.

Jeff Neighed:

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…

Dale Neighed:

@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.

Dale Neighed:

@j,

Not for a few weeks, as I’m about to go surfing in Morocco.

j Neighed:

hah! understood man. have fun.

Robotlegs and flashpress (noponies) | NoisyDesign.com Neighed:

[...] 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 [...]

ninja Neighed:

Dale, make sure you check out Taghazout, though I am sure you will, there are so many killer spots there.

have a great time!

Dale Neighed:

@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.

Peter Neighed:

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!

roo Neighed:

where is this muthah?? whens it comin out??

Dale Neighed:

@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.

stowns Neighed:

sounds great…can’t wait for the release!!

yumyum Neighed:

Me too :)
Thanks Dale for your researchs.

yumyum Neighed:

Cool, amfphp is light and easy.

Leave a neigh?