chriswailes / cars Goto Github PK
View Code? Open in Web Editor NEWChris's Advanced RPC Library
License: University of Illinois/NCSA Open Source License
Chris's Advanced RPC Library
License: University of Illinois/NCSA Open Source License
Chris's Advanced RPC Suite (CARS) is a fast RPC package for Ruby. It was motivated by the fact that the xmlrpc library that is currently in the core distribution uses WEBrick and REXML, both of which are slower that alternatives such as Mongrel and ruby-libxml. The use of these faster libraries has resulted in a speedup of 4x to 7x. While Mongrel and ruby-libxml are the preferred (and default) choices for the HTTP server and XML parser, CARS is written in a modular way and can support other server and parser back ends. Currently there is support for the WEBrick server, and planned support for the REXML library. CARS offers several other advantages over the standard xmlrpc library as well. The first of these is that CARS understands more ISO 8601 time formats and is therefor able to work with a wider variety of clients. Another advantage is that CARS can compress the output of both its client and server. Because these are XML documents, which compress very well, a lot of bandwidth can be saved in this manner. Both the level of compression and the size at which documents start to be zipped are configurable for the server and the client. One of the major features of CARS is the ability to define wildcard procedures. These in no way interfere with the XML-RPC standard and are only an alternative way of defining functions. They work by defining procedures with wildcards in there names as one of the sections between periods such as such as *_.list*. If the server receives a call for a procedure that isn't explicitly defined it will search for any wildcard procedure that works. In this case a call for the *people.list* procedure would be passed to the block of the wildcard procedure with 'people' as the first parameter. CARS also supports before and after block chains. These are proc objects that are run before and after all procedure calls, and are passed the RPC object that represents the current call as well as the HTTP headers from the HTTP server as parameters. If they return `true` the server will immediately stop evaluation and return the current `result` value of RPC object. Uses for these features include access control, pre-processing of parameters, and post-processing of return values.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.