Hi All,

In an attempt to get to grips with Flex 2 and AMFPHP after following 
Mike Potter's tutorial here 
http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP 
I've built a Restaurant Finder based on Christophe Coenraets' Flex 1.5 
example found here http://coenraets.com/tutorials/restaurant/ 
Christophe's tutorial was originally about well architected 
applications, but I couldn't work out how to migrate his good structure 
to Flex 2!  :-/

Anyway here's the outcome 
http://www.abdn.ac.uk/diss/ltu/pmarston/flex/CafeFinder/ - a bit ropey 
in places (the dragable rectangle can go off the map) but generally 
works.  The source is here 
http://www.abdn.ac.uk/diss/ltu/pmarston/flex/CafeFinder/srcview/ (I'd 
really appreciate an heads ups to glaring errors) and if you want to 
play with it yourself, you'll need the sql and service files located 
here 
http://www.abdn.ac.uk/diss/ltu/pmarston/flex/CafeFinder/srcview/RestaurantSQL.zip
 
and here 
http://www.abdn.ac.uk/diss/ltu/pmarston/flex/CafeFinder/srcview/RestaurantService.zip
 
- put the php file in your amfphp services directory and use the sql to 
set up your mySQL tables (obviously you'll also need to set the gateway 
url in CafeFinder.mxml and the database details in the service file.

I hope this is helpful to some of you and as I said I'd like any tips on 
how to make the code better or better ways of doing things.

Cheers,

Phil

-- 
______________________________________________________________ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
______________________________________________________________

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to