1- <h2 >MacroExpress
1+ <h2 >Macro XML-RPC
22 <img src="http://zeezide.com/img/macro/MacroExpressIcon128.png "
33 align="right" width="100" height="100" />
44</h2 >
55
6- A small, unopinionated "don't get into my way" / "I don't wanna ` wait ` "
7- asynchronous web framework for Swift.
8- With a strong focus on replicating the Node APIs in Swift.
9- But in a typesafe, and fast way.
6+ XML-RPC support for
7+ [ MacroExpress] ( https://github.com/Macro-swift/MacroExpress ) .
108
11- MacroExpress is a more capable variant of
12- [ µExpress] ( https://github.com/NozeIO/MicroExpress ) .
13- The goal is still to keep a small core, but add some
14- [ Noze.io] ( http://noze.io )
15- modules and concepts.
16-
17- MacroExpress adds the web framework components to
18- [ Macro] ( https://github.com/Macro-swift/Macro/ )
19- (kinda like ` Express.js ` adds to ` Node.js ` ).
20-
21- [ MacroLambda] ( https://github.com/Macro-swift/MacroLambda ) has the bits to
22- directly deploy MacroExpress applications on AWS Lambda.
23- [ MacroApp] ( https://github.com/Macro-swift/MacroApp ) adds a SwiftUI-style
24- declarative DSL to setup MacroExpress routes.
9+ This is covered in the
10+ [ Writing an Swift XML-RPC Server] ( http://www.alwaysrightinstitute.com/macro-xmlrpc/ )
11+ blog entry.
2512
2613
2714## What does it look like?
2815
29- The Macro [ Examples] ( https://github.com/Macro-swift/Examples ) package
30- contains a few examples which all can run straight from the source as
31- swift-sh scripts.
32-
3316``` swift
3417#!/ usr/ bin/ swift sh
35- import MacroExpress // @Macro-swift ~> 0.5.5
18+ import MacroExpress // @Macro-swift
19+ import MacroXmlRpc // @Macro-swift
3620
3721let app = express ()
38- app.use (logger (" dev" ))
39- app.use (bodyParser.urlencoded ())
40- app.use (serveStatic (__dirname () + " /public" ))
22+ app.use (logger (" dev" ), bodyParser.text ())
4123
42- app.get (" /hello" ) { req, res, next in
43- res.send (" Hello World!" )
44- }
45- app.get {
46- res.render (" index" )
47- }
24+ // TODO
4825
4926app.listen (1337 )
5027```
@@ -62,20 +39,19 @@ app.listen(1337)
6239
6340### Links
6441
42+ - [ Writing an Swift XML-RPC Server] ( http://www.alwaysrightinstitute.com/macro-xmlrpc/ )
43+ - [ MacroExpress] ( https://github.com/Macro-swift/MacroExpress ) .
6544- [ Macro] ( https://github.com/Macro-swift/Macro/ )
66- - [ µExpress] ( http://www.alwaysrightinstitute.com/microexpress-nio2/ )
67- - [ Noze.io] ( http://noze.io )
68- - [ SwiftNIO] ( https://github.com/apple/swift-nio )
69- - JavaScript Originals
70- - [ Connect] ( https://github.com/senchalabs/connect )
71- - [ Express.js] ( http://expressjs.com/en/starter/hello-world.html )
72- - Swift Apache
73- - [ mod_swift] ( http://mod-swift.org )
74- - [ ApacheExpress] ( http://apacheexpress.io )
45+ - [ XML-RPC Homepage] ( http://xmlrpc.com )
46+ - [ XML-RPC Spec] ( http://xmlrpc.com/spec.md )
47+ - [ XML-RPC for Newbies] ( http://scripting.com/davenet/1998/07/14/xmlRpcForNewbies.html )
48+ - [ Original site] ( http://1998.xmlrpc.com )
49+ - [ XML-RPC HowTo] ( https://tldp.org/HOWTO/XML-RPC-HOWTO/index.html ) by Eric Kidd
50+ - [ Python] ( https://docs.python.org/3/library/xmlrpc.client.html#module-xmlrpc.client ) Client
7551
7652### Who
7753
78- ** MacroExpress ** is brought to you by
54+ ** Macro XML-RPC ** is brought to you by
7955the
8056[ Always Right Institute] ( http://www.alwaysrightinstitute.com )
8157and
0 commit comments