Den 7/1/2014 15:53, Matthew Jones skrev:
Kim Madsen wrote:
kbmMW contains extensive support for REST.
Thanks, I've had a whizz around the site (that's a review thing, not
like the Bear Whizz Beer I hear is sold in the US!) and it makes me
think. I have to work out what I'm really going to do here. Am I
exposing a database (or rather, many databases), or am I wanting to
have something do the work for me in parsing the parameters and the
like?
Does kbmMW have any assistance for the latter?
Matthew
Yes, absolutely!
Its a misunderstanding that kbmMW is database centric. Its not. If
anything, kbmMW is SOA (service oriented architecture) and RPC (remote
procedure call) oriented.
If one boils kbmMW's down to its core, it contains no DB related code
what so ever, but focus solely on serving requests with 0-n arguments
(and optional stream) and returning a response with an optional response
stream.
The db parts are optional and are based on that core.
The core is also what contains all sorts of features for handling HTTP
headers, JSON and XML documents, encryption, authorization, object
serialization/marshalling etc.
But all is optional, and do not link in to your application if not used.
kbmMW is actually a very capable and complete web server in its own, and
lets you fiddle with post/get/head etc. in the smallest detail if you
want to, while at the same time providing you all the tools needed to
make simple URL rewriting, HTTP template macro replacements etc.
And the cool (Im biased... but I personally think its cool ;)) is that
it gives you the option to separate your functionality away from the
chosen user access method, in such way that you can build web clients,
native mobile clients and think pc clients accessing the same server at
the same time, having the bulk of the code exactly the same.
However thats also an option, and you can choose to go right to the
metal and just code directly for web clients only.
As an example of the flexibility of kbmMW, I can mention the latest
release also supports hosting FastCGI servers. In other words you can
use kbmMW to host your preferred PHP/Perl/Ruby/Python based CMS system,
and plugin your own Delphi/c++ code as you see fit, all under the full
control of kbmMW.
best regards
Kim Madsen
C4D
Connect with Us