{"id":118,"date":"2007-01-06T16:18:57","date_gmt":"2007-01-07T00:18:57","guid":{"rendered":"http:\/\/www.ericfeminella.com\/blog\/2007\/01\/06\/amfphpremotegateway-api-update\/"},"modified":"2012-03-04T23:31:23","modified_gmt":"2012-03-05T04:31:23","slug":"amfphpremotegateway-api-update","status":"publish","type":"post","link":"https:\/\/www.ericfeminella.com\/blog\/2007\/01\/06\/amfphpremotegateway-api-update\/","title":{"rendered":"AMFPHPRemoteGateway API update"},"content":{"rendered":"<p>I have modified my AMFPHPRemoteGateway API to only support ActionScript implementations.<\/p>\n<p>The AMFPHPRemoteGateway class is now to be considered a base class, not necessarily a pseudo-abstract class, but rather a base class in which sub-classes can build on to implement specific remote method invocation. You can still use AMFPHPRemoteGateway directly as well for general purposes.<br \/>\nSub classes of AMFPHPRemoteGateway should now implement mx.rpc.IResponder and pass a reference of themselves to the new addResponder(); method.<\/p>\n<p>I have also added a generic DAO interface which implementors can utilize to perform typical create, read, update and delete (CRUD) operations on a persisted object. The new interface, IDAO, provides a default contract which can be implemented by AMFPHPRemoteGateway sub-classes for specific remote DAO invocation.<\/p>\n<p>I suggest that users create individual sub-classes of AMFPHPRemoteGateway for each domain object in which to perform CRUD operations on.<\/p>\n<p>You can view the <a target=\"_blank\" href=\"http:\/\/code.ericfeminella.com\/asdocs\/AMFPHPRemoteGatewayAPI-asdoc\/package-summary.html\">docs<\/a> as well as download the <a target=\"_blank\" href=\"http:\/\/code.ericfeminella.com\/apis\/AMFPHPRemoteGatewayAPI.zip\">swc<\/a>. There is also a project folder in the download which contains a basic usage example.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have modified my AMFPHPRemoteGateway API to only support ActionScript implementations. The AMFPHPRemoteGateway class is now to be considered a base class, not necessarily a pseudo-abstract class, but rather a base class in which sub-classes can build on to implement specific remote method invocation. You can still use AMFPHPRemoteGateway directly as well for general purposes. Sub classes of AMFPHPRemoteGateway should&#8230; <a class=\"read-more\" href=\"https:\/\/www.ericfeminella.com\/blog\/2007\/01\/06\/amfphpremotegateway-api-update\/\">Continue Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[9],"tags":[],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-news"],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":0,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}