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)
