0
I Use This!
Activity Not Available

Project Summary

What is “arpc”?“arpc” is an acronym for AJAX Remote Procedure Calls AJAX: Asynchronous Javascript and XML XML: Extensible Markup Language It is a tool that creates Javascript client stubs and PHP server stubs from an “.arpc” file for RPC’s (Remote Procedure Calls). The “.arpc” file contains all the data types (data structures) and remote procedure prototypes that you want for your web-app. Once you have created the “.arpc” file, you “compile” it with “arpcgen” (program/script) to create the required stubs (client/Javascript, server/PHP). The XML-RPC standard is used for communications between the client and server. This is why I called the tool “arpc”, the “X” from “AJAX” represents the “XML” in “XML-RPC”. Note: RPC calls from the client (Javascript) are asynchronous (the code that calls the stub is not blocked after the request is sent), this is a feature AJAX provides, this is an advantageous for longer requests. Why “arpc”?I wanted to use AJAX to access remote procedures on a server but I could not find any tools on the web that did what I wanted. So I decided to create my own tool, sure I could have hand-coded the client/server stubs, but this would not be reusable in future web-apps that I might create in the future. Basically, I want to use AJAX in my “12.0 Student” web-app. Most of the existing tools on the weren’t designed to exchange “data structures”, they basically just returned the string from the server and assigned in to a document element, so the server controlled the dynamic HTML on the page directly. With “arpc” the server and client code are completely isolated. So the person who is developing the client-side of the web-app, just needs to know what remote procedures the server provides and what they do. Similarly, the person who is developing the server-side of the web-app just need to know what functions they need to provide and what the functions should do. Since the XML-RPC protocol is used for communications, the server and client stubs do not need to be used together. You can use the client stub with an existing XML-RPC web service, as long as you know the procedure name and required parameters. Similarly, the server stub can be used to service existing XML-RPC clients. Why XML-RPC as the communications protocol? SOAP is the protocol used by most web-services nowadays, but the standard is much larger than XML-RPC (which is about six pages). It can do almost everything you need for simple RPC’s. Existing standard, I don’t have to “re-invent the wheel”. Simple protocol to implement, and I am the only person working on the tool at the moment! How does it work?Step 1: Design required remote procedures and create stubs. Step 2: Create remaining server/client application. Step 3: Use web-app.

Tags

ajax php xml-rpc

In a Nutshell, arpc...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Apache License 2.0
Permitted

Place Warranty

Sub-License

Private Use

Use Patent Claims

Commercial Use

Modify

Distribute

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

State Changes

Include License

Include Notice

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    search using multiple tags to find exactly what you need
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    check out hot projects on the Open Hub

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis