Flex / Flash Front End For Gallery
mikeypotter
Joined: 2006-02-22
Posts: 12 |
Posted: Tue, 2006-06-06 14:10 |
(Updated to fix broken links) I have (finally!) got around to publishing the source code for my PHP Gallery / Flex integration. You can see it in action at http://www.wickeddemo.com/flex_gallery/FlexGallery.html . NOTE: You need Flash Player 9 ( http://labs.adobe.com/technologies/flashplayer9/ ) to view this site. Flash Player 9 is currently in beta. The Flex / Flash front end to Gallery is at http://www.wickeddemo.com/flex_gallery/FlexGallery.html . The PHP code is at http://wickeddemo.com/amfphp/services/embededGallery.phps . For those of you unfamiliar with Flex, it is essentially building Flash applications in Eclipse, as opposed to Flash authoring. Flex 2.0 applications require Flash Player 9 to run, as they compile into ActionScript 3. Mike Potter |
|
Posts: 32509
nice proof of concept.
you didn't pass the g2 coding style review though ;)
the amfphp link is also pretty interesting. we'll probably use all that for a flash based slideshow.
the requirement of flash player 9 is a real problem though. basically that means that noone can use flex for websites within the next 2 years without having either a non flash version available or a flash < 9 version available as well.
Posts: 12
Not to sound too much like an Adobe kool-aid drinker, but the most recent version of Flash player is distributed much more quickly than 2 years. Flash Player 8 hit 70% distribution in the US only 6 months after being released (http://www.adobe.com/products/player_census/flashplayer/version_penetration.html) Plus, newer versions of Flash Player allow it to be upgraded on the same page, so you can easily prompt people to upgrade to the latest version, without having to leave your website.
So, if Flash Player 9 comes out in July of this year, you could reasonably expect 70% of your website visitors to have access to it by December of this year, which I think is a reasonable requirement.
Mike
Posts: 32509
yep, Flash is sure special in that regard. so anyone targeting for a new website launch in fall of this year can start coding g2 / flash stuff based on flex now.
i'm sure your example will be very helpful once we get a little closer. a flash based slideshow ranks pretty high on the desired features list.
Posts: 8339
Should not be too hard
I'll look into it, but I too would have to put my Flex away for awhile. This app is fantastic! Or is it the Kool-aid?
Though I have not looked at the current slideshow, I'm assuming there is an easy way to generate an array of images from an album as to keep away from rss.
-s
Posts: 8339
@mikeypotter,
Have you tried this with the FABridge?
I've got it kinda working, it seems much faster without AMFPHP.
-s
Posts: 4
Hey folks,
Just spent the afternoon playing around with a class to act as a data service for Gallery2. I packaged it up today for free use. I hope it helps a lot of people get the data they need.
http://fundamentalflaws.com/Gallery2/Gallery2.mxp
This component comes with 2 modified rss.php files named rss1 & rss2 that I jsut hacked around with to get them returning what I wanted using the Gallery API. It would be really cool if someone better at PHP could help me coombine them into 1 file that you can call in both ways needed.
1. to get album listing
2. to get specific album
The plugin handles this but would be nice to not have my 2 clunky files....anyways this should work in Flash 7 Player ans is published in AS2. If anyone wants the source jsut decompile or drop me a line..
Posts: 8339
Can you fix the link?
Posts: 8339
Ok, where do I get the rss files?
Thanks,
-s
Posts: 4
The get installed into your:
c:/Documents and Settings/[local user]/Local Settings/Application Data/Macromedia/Flash/en/Configuration/Libraries/RSS
Also, I haven't updated Gallery in over 6 months so I hope they still work! I will update my server tonight and do some testing as well. Thanks for your interest suprsidr
Posts: 32509
Hi Mike,
I was reading a few things about Flex today and it looks very promising. Building the frontend and fast client-server communication could be a breeze with Flex Builder. While I see that one can do Flex development with free tools (flex sdk), it seems that without the Flex Builder it's not so much fun. Productivity is much lower without the Builder and a graphics design guy needs a WYSWYG tool anyway.
Is Flex Builder free for FLOSS projects?
Or is there a massive discount for non-profit / FLOSS developers?
--------------
Enter the Gallery 2 Theme Contest today!
Posts: 12
Sorry, there currently isn't a program for Flex Builder and free or open source projects. Its an interesting idea, but we don't have anything like that currently.
Mike
Posts: 2
Hi~
I guess this might be a little bit off topic...
But I am currently working on the second release of a Flex-based WYSIWYG web building tool - FLABER 2
The first version is open source and based on Flash 8.
If you are interested you can check out our WIKI.
http://www.cubeforge.net/flaber/wiki
Or play around with the developing version 2
http://www.cubeforge.net/current_projects/flaber2/flaber.html
Sorry if these links cause any violation to forum rules~
Cheers
Vicker
Posts: 32509
vicker
what does it have to do with Gallery?
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 2
valiant,
Is just because I see you talking about WYSIWYG tools, then I posted.
Sorry to be off topic~
Posts: 1
HI,
/sorry for my bad english/
I have installed Gallery2 and AMFPHP after executing instructions on http://blogs.adobe.com/mikepotter/ i build flex app but cant load any data from gallery2
any ideas ?
Posts: 1
Is the demosite still online? When I click the link, a french site with advertisement opens. I have this on different pc's, so I don't think it's mallware/hijack on my side.
Posts: 22
I contacted mikeypotter, and he informed me that the code is no longer available. Did anyone happen to download it? If so, could someone make this available somewhere? I'd like to use what he did as a starting point for my project.