AmfPHP is free and open source software, and an essential brick - TopicsExpress



          

AmfPHP is free and open source software, and an essential brick for the development of Applications that need to communicate with the Internet. AmfPHP is used in projects that cover a wide spectrum, from games to business applications. The role of AmfPHP is to provide a really simple way of connecting a client with a server. Applications no longer run only on desktops, but must also be available on a variety of smartphones and tablets. It is becoming increasingly complex to code with the diversity of technologies used in these terminals. AmfPHP is the best solution for creating accessible services to all terminals. Developers can focus on features unique to their projects, regardless of the communication between client and server. Use AmfPHP to enable your server side app with webservices Test your services as you develop them with the Service Browser Start your client development with a fully functional client project using the Client Generator You’re a designer, you’re a UX expert, or you’re a project manager Here’s an example of what AmfPHP can do for you: You have a web page, a tablet app and a smartphone app, and they all want to access some shared data, for example a list of emails. This list of emails is in the cloud, and you have a PHP developer whose job it is to make this list available to the apps and the webpage. Without amfPHP, there would be one code for the web page, another for the smartphone app, and maybe another for the tablet app. With AmfPHP, there would only be one code! AmfPHP is aimed at developers. However if you fit one of the titles we just mentioned, you probably work with a developer. So the next time your developer tries to get rid of you with some techno babble involving words like “incompatible” and “protocol”, ask them: “Yes, but did you try with AmfPHP?”. You don’t speak PHP? You guessed, AmfPHP is for PHP developers. But if you just need a bit of server side intelligence for your client, AmfPHP is a good place to start. AmfPHP works as an entry point for your client. Your client sends a request to a PHP script on your server where AmfPHP is loaded. It parses the request, loads the requested service, calls it, and returns the answer accordingly. You have a class that you want to call remotely. Here’s a simple one: 1 2 3 4 5 6 7 class ExampleService { public function returnOneParam($param){ return $param; } } Without AmfPHP, you would need a script to call it. Something like this: 1 2 3 4 $param = $_GET["param"]; $exampleService = new ExampleService(); $ret = $exampleService->returnOneParam($param); echo $ret; With AmfPHP, you don’t need this script, because it’s done for you. This case is fairly simple, but what if you have complex data, not just strings? What if you need to do this with multiple protocols? Your script would quickly get pretty complex and unmanageable. But with AmfPHP you just write the service class, and AmfPHP will make sure it gets called and that the client gets the return data in a language it understands. Characteristics • PHP 5 • Communication between PHP and your web and mobile applications • Talk native flash/flex as2/3 • Talk native javascipt/html/ajax • Easy install • Plugins o AMF, JSON, (XML, XML RPC, SOAP, RSS, custom formats are on the way) o Security, user roles o Logging o Service Browser for debugging o Charsets o Client Code Generation • Most active community • Simplest and most efficient • Modular and light • Short learning curve, many tutorials • Free and open source • BSD license First stop is the users forum silexlabs.org/groups/amfphp/amfphp-users/ . Please read the guidelines before posting. Feedback Downloads Media amfPHP documentation Getting Started What is Inside Installing amfPHP Using the Back Office Client Generator Service Browser Your first Project using amfPHP Deploying amfPHP Security Best Practices for Long Term Projects Configuring amfPHP Upgrading from amfPHP 1.9 Known Issues Troubleshooting and Debugging your Project AMF Data Types Typed Objects Using the Forums External Links Getting Help Using Alternative Data Formats(JSON, etc.) Client Generators Android Flash Creative Suite Flex Haxe html ios Writing you own Client Generator Accessing AMF Data from your services Plugins Plugins Distributed with amfPHP Authentication Charset Converter Custom Class Converter Discovery Dummy Error Handler Flex Messaging GET Included Request JSON Logger The Plugin System in amfPHP Developing Plugins Naming Conventions and Coding Guidelines Optimizing amfPHP Using a Packet Sniffer Profiling AmfPHP Community News Services
Posted on: Mon, 22 Jul 2013 19:18:05 +0000

Trending Topics



Recently Viewed Topics




© 2015