21285 Posts in 5732 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 992 Views |
-
amfphp and silverstripe

26 December 2009 at 6:41am Last edited: 26 December 2009 6:44am
hello,
I would like to display data using flash. I know about the way generating xml output and then load the xml in flash.
interesting alternative would be amfphp. of course i could access the mysql database directly with amfphp. but can I somehow use the classes in mysite/code returning the data like this:
function GetData(){
$records = DataObject::get("Job");
return $records ;
}how can i make this returned data accessible to amfphp?
thanx,
florian -
Re: amfphp and silverstripe

27 December 2009 at 4:12pm
You can use SilverStripe's normal (XHTML) templating functionality to prepare your XML.
See http://code.google.com/p/google-highly-open-participation-silverstripe/issues/detail?id=127
Toby
-
Re: amfphp and silverstripe

28 December 2009 at 10:34am
he thanx toby, I know about that xml output functionality of silverstripe, but can I somehow use amfphp to access data returned by the silverstripe classes? greetz, florian
-
Re: amfphp and silverstripe

28 December 2009 at 4:31pm
I've had a quick look into AMFPHP and it looks like "probably".
Sounds like AMFPHP is "smelly", with some work underway to bring it up-to-date:
http://forum.sephiroth.it/showthread.php?t=9070
Also, see this post on the SS forums:
http://www.silverstripe.org/archive/show/83387?showPost=99383
Toby
| 992 Views | ||
|
Page:
1
|
Go to Top |

