开发者

What are the current choices for Delphi Web & Web Service Development

I'm toying around with Delphi. Most of my desktop development is done in .Net, and embedded systems with C. I've done some web development in RoR & Python (Django, CherryPy) I am interested in taking a crack at a project that would be a web service (REST or SOAP) with a native client and a web client.

Because I've recently been re-inspired to learn Delphi, I'm curious what the options are to build the web service and web client with Delphi. Most of the Delphi documentation is a little dated but so far I've found these choices:

  • DataSnap开发者_如何学C
  • WebSnap
  • WebBroker
  • IntraWeb
  • Data Abstract and RemObjects SDK from RemObjects

I get the impression that WebSnap is dead, but the other technologies are still being developed. Is there any guidance about which technology to investigate?

p.s. I realize that Delphi isn't a wildly popular choice for web development, but I'm curious to try since I've been having fun learning the VCL.


You could perhaps add our Synopse SQLite3 Framework to your list.

There is some interresting features:

  • ORM approach to manage your data (i.e. define and access your data as regular Delphi classes), on both Server and Client Side - similar to ActiveRecord in RoR ;) ;
  • Multi-tier architectured;
  • no database or dll to deploy (uses embedded SQLite, without any external dll) - you can even not use SQLite, but a simple and fast in-memory database written in pure Delphi (I've begun a fork of Zeos, to be database independent);
  • Very optimized HTTP/1.1 multi-threaded Server (but you can communicate via other protocols, or even purely locally within the same process, without any Client/Server);
  • Data transmission uses standard JSON, so you can receive the same data in either a Delphi client, either an AJAX client;
  • Client/Server is RESTful and written in very optimized Delphi code (some part were even written in asm after profiling, for speed and low memory use);
  • Can also be used to define DataSnap-like Client-Server JSON RESTful Services, if the RESTful approach is not enough for you;
  • Full Open Source, compiles and work from Delphi 6 up to XE (with full Unicode support for all versions, because it's based on UTF-8 from the engine core).


Web Service Toolkit is a web services package for FPC, Lazarus and Delphi; “Web Service Toolkit” is meant to ease web services consumption and creation by FPC, Lazarus and Delphi users. Better check out from svn as the 0.5 release is actualy outdated.


RESTful server side method calls hosted as an ISAPI dll or just use the Indy HTTP Server component. It's really a quite simple and powerful approach and lets you get started quickly without a big learning curve.


DelphiMVCFramework is a powerful RESTful framework used also for website development https://github.com/danieleteti/delphimvcframework

DMVCFramework features

  • RESTful (RMM Level 3) compliant
  • Fancy URL with parameter mappings
  • Server side generated pages using Mustache templates
  • Messaging extension using STOMP and Apache ActiveMQ or Apache Apollo (beta)
  • Can be used in load balanced environment using Redis or MySQL as state server
  • Integrated RESTClient
  • Works with DelphiXE3 or better
  • Integrated Logging System
  • It is really simple to use. You can be productive in minutes!

Here's the DMVCFramework Developers Guide https://danieleteti.gitbooks.io/delphimvcframework/content/

If you need support, there is the official facebook group with more than 600 users https://www.facebook.com/groups/delphimvcframework/

I'm the main developer but there are more than 6 active contributors.


WebHub is another well established, though lesser known third party Delphi web framework.


Couple other choices that can be used to build a webservices server, somewhat simlar to datasnap or remobjects/dataabstract, are below. I did some work years ago with kbmMW and it's a solid library. I think both kbmMW and RealThinCLient have free and/or open source versions:

RealThinClient

kbmMW


We have a web front end for our Delphi server app written in Delphi Prism/ASP.NET. It works great and allows us to leverage our Delphi language skills in a .NET environment.


This one is very old,but a lot of things have changed,I myself had left Intraweb and gone to UNIGUI,since its based on EXTJS and produces single page applications.


Well Its been two years since I left my last message on this posts, although uniGUI is still the only solution already made for creating SPA in Delphi,it seems that IW17 will be a real cutting edge,an waters divisor in the history of Delphi.Client side rendering without needing server communication,Wordpress integration,no need to write a single line in javascript like other frameworks,websockets,fibers,our "Delphi React".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜