Flashpress 0.9 Released

Go here to see the small write up and get the files.

http://thereformation.co.nz/amfphp/flashpress-0-9-released/

I’ve moved Flashpress off this blog, to its new home on my NZ based design company site, http://thereformation.co.nz. Over time, all content here will migrate to that location.

Flashpress 0.9 Comments

I’m just finishing off the next version of FlashPress.

Apart from some bug fixes, the main change is the addition of a postComment, userLogin and userLogout methods.

Changes:

  • New postComment method
  • New getPostTems method (this depreciates getCategories)
  • New userLogin method
  • New userLogout method
  • Addition of customTax property on PostVO object, to handle custom taxonomies on post objects
  • Slight changes to TermVO object properties. One additional property added
  • Bug fixes for getPost method
  • Bug fixes for getUser methods and WpUserVO object
  • Adjustments to the search method so it searches custom post types as well as built in

Some thoughts about the postComments method.
This is currently working fine in dev. I’m curious as to how you would like this method exposed. It does write to the DB, so I’m in half a mind to wrap it within the current writeable variables. However, in doing so, you make available the rest of the writeable methods, which might not be that desirable to all users. I’m hesitant to go down this path.

So, what about a new global constant that either allows/ restricts comments? Or I can simply hook into the wordpress options and check what is set within the ‘Discussion’ panel and on a per post basis and allow / restrict comments based off that?

At the moment the method does not validate against users. Any new comments are placed into the moderation queue. A subsequent comment from a commenter that has an approved comment is automatically approved. Which is left up to the wordpress commenting mechanism.

Commenting really requires basic user management. Do you want to see this in FlashPress. Something like a login / logout method? Which I’ve added.

Commenting now hooks into the WordPress options settings, honoring either the blog wide and or individual post commenting settings.

Any other methods that you think should be in? If not, I’ll freeze the API and just clean up the classes documentation, fix bugs and roll out a version 1 release along with some examples. Happy times.

FlashPress needs a new name

There is another, seemingly dead WordPress – Flash project out there called FlashPress.

I’ve never gotten around to coming up with another name for what I’m doing.

Anyone got any ideas?

Flashpress 0.8 Released

Changes

1 / Changes to WpPostVo Object

  • a / If the post has a featured image, the URL to it is included, otherwise its an empty string
  • b / The posts tags are listed (if it has any) as an array of TermVo Objects
  • c / The posts categories are listed (if it has any) as an array of TermVo Objects
  • d / The posts attachments are listed as an array of their URLS

2 / Changed inheritance of WpPostVo and WpSearchVo. Inheritance chain is as follows: WpPostbase->WpPostVo->WpSearchVo. Reason for this change is that the WpSearchVo only differs from the WpPostVo in its use of the ‘score’ attribute. Also, it makes sense that the WpSearchVo object returns as much information as a standard WpPostVo object.

3 / Fixed an variable type issue with searching that meant that only integer based score results were returned. This has been changed to a Number.

4 / Rejigging of internal helper methods

5 / Removal of two redundant VoObjects, which had been replaced by WpTermVo.

6 / Package name of the actionscript demo has changed from ‘noponies’ to ‘com.reformation’. This is due to the slow move of this blog to a new location.

Let me know how performance is with this release. The internal post retrieval method is now doing more work, but should save you having to make extra database requests. I’ve tested it with a request for 100 posts and its quick. But let me know. Let me know if you encounter any bugs etc.

I’ve not had time to finish the more full featured demo, but its coming.

Download here: Flash Press 0.8 (764)

Flashpress 0.8 Features

I’m currently rebuilding my noponies illustration site with Flashpress and of course a WordPress backend.

I’ve added in some new features to Flashpress as I’ve worked through the site, these are related to the data returned by each PostVO object, I’ve tried to make it a little simpler to get what you need from this object, without needed to go back to WordPress for simple stuff, like a posts tags.

So, I’ve added in the following to the post vo object:

1 / If the post has a featured image, the URL to it is included, otherwise its an empty string
2 / The posts tags are listed (if it has any) as an array of TermVo Objects
3 / The posts categories are listed (if it has any) as an array of TermVo Objects
4 / The posts attachments are listed as an array of their URLS.

The addition of tags and categories makes filtering the returned data quite easy.

Are there any other features that people want? I was looking at the user authentication aspect of WordPress at work last week, and was wondering if people have the need to be able to authenticate users? Possibly useful for adding comments etc?

1/ I think I’ll add a user authentication method, it wont really log a user into wordpress, but it would be useful for testing user access rights etc. Thoughts?

Once I finish my noponies illustration site, I’ll release the source files, so that there are some richer examples of what can be done with Flash and WordPress.

FlashPress 0.7 Released

Small update to FlashPress.

I’ve added in the ability to get a posts ‘Featured Image’, which was introduced in WordPress 2.9.

At the moment it simply returns the thumbnail size. If there is any desire for the feature, I can add in the ability to get other sizes?

Source Files
Flash Press 0.7 (1208)

FlashPress 0.6 Released

OK, I finally had some time to tidy this up a little.

So, here it is, FlashPress 0.6.

Supports both ZendAMF and AMFPHP. Supports WordPress 3.0.

This version of FlashPress uses the WordPress API rather than directly working on the wordpress database. It also includes write support for some methods. This is experimental and you should test this fully before deploying it. There is also an experimental search method, that will probably change internally as I get my head around the SQL required.

This is a beta, so let me know how you get on with it, and post any bugs etc so I can look into them.

The example file is minimal, with just a listing of the various method calls and their parameters. As I get time (unlikely) I’ll add to the examples. I’ll add the method lists to this post as I get some more time.

Note: I’ve tested this release against WordPress 3.0, and it seems to be working fine. Let me know if you enounter any issues.

Source Files
Flash Press 0.6 (853)

Next Page »