Using the Remobject SDK

Source: Internet
Author: User
Tags soap web services xml parser msmq
text / Huang Zhong Cheng   EMail: code6421@pchome.com.tw Preface
DELPHI's 3rd-party components, far more than other development tools, can be used to create unprecedented records. This also allows DELPHI programmers to save a lot of time to re-create the wheel, so that the system can be developed at a faster rate, reducing the increase in the actual number of bugs and increasing the wrong rate. Unfortunately, the VCL components seem to have a common problem, is the lack of complete the said files! Many VCL components and even a few examples are poor, fortunately, the VCL component has an unwritten habit, that is, many will be attached to the complete source code, this point can be slightly reduced to say that the lack of the image. Even so, it is not enough for the user to be bothered by the old, the time is money, when the designer to explore the original code, a little bit of loss. This article introduces the RemObjects SDK (hereinafter called RO) is no exception, because this component has only two developers, so the state is always a shortage, and some places even describe the wrong situation, but these shortcomings can not cover its brand new creativity and high ductility of the design concept, This is also the main reason why this article is present in the eyes of the reader, RO is the only one who has seen the canary in the VCL components, of course! This is only a person's sense of the pen, the reader is not seen so, but more understanding of something, and you what damage?? So, taste it!! PS:This article omits the basic Knowledge section of Web services, and if the reader is unfamiliar with Web services, it is possible to refer to a few other articles of the pen.
References
Electronic Business New century Yuan
Electronic Business New century-lost chapters
Interface Designing
How to obtain RO?      The reader can obtain a test version of the http://www.remobjects.com, the official version of the price is 229 EUR, the future Enterprise version of the price is 603.90 EUR, both versions are accompanied by the full original code, the current remobjects En Terprise SDK version is still in Beta, this version has a lot of new features, in addition to the enhanced RO 2.0 There is also an abstract Data abstraction component of the access, to help debug debugging Server tools, and completely use C # to write the ro.net The Client SDK. PS:The test version can only be run in the DELPHI IDE, and readers can use Project Group to help run server-side and client-side programs. PS2:The RO 1.x supports Delphi 5, 6, 7 Professional (Datasnap part requires Enterprise), Kylix 3 for Delphi. What ' s remobjects SDK     With the strong backing and marketing of the various vendors, Web services he become the mainstream structure of the future decentralized system, but Web services still have some problems, some of which are in the form of the problem, some of which are the limitations of the sky, many using Web services The people who develop the system have a disturbance, that is inefficient, the reason is very simple, the XML itself is a pure text form, coupled with the need to rely on XML Parser parsing xml file, both in the translation and translation is the cause of inefficient, this is the inherent limitations of Web Services, is also for the compatibility of the price paid. Of course! If the network is wide enough and the computer is fast enough, these are not problems. But the reality is that the current bandwidth and the speed of the computer are not enough to win, which makes web Services to reduce the use of the surface, so a lot of web servcies development tools will provide a solution to the SOAP message compression, thereby reducing the network time. The other problem is that Web Services must be dependent on Internet messaging, in today's case, the Web Services are being mainstreamed in either HTTP or TCP, and if the customer wants to install the system on a computer (for whatever reason, or perhaps because of money savings), it needs to be It's not really a big problem to take a port, but it's not much better if you don't take the port wouldn't?? RO is such a set of components, first! The RO supports two message standards, one soap (that is, Web services) and the other binary (binary message), which enables soap to be used by other WEB services-supported development tools by the SOAP RO Server to support Binary allows the RO Client to communicate with the RO Server at a faster rate, which is much more efficient than passing SOAP compression, and even more exciting is that the RO allows the designers to mix the two messages, that is, to write a Server and put the two message components, this Server can use the client side of SOAP and Binary messages. Interesting?? The more interesting things are back, RO supports HTTP, TCP, Windows Message, DLL, UDP (2.0), MSMQ (RO Enterprise), and allows the designers to mix them (DLL is the exception), simple Say! is to write a Server Could this Server be more interesting when the client side was linked by HTTP, TCP, Windows Message, UDP, MSMQ, and the two previous messages?? Oh! Not finished, RO not only equipped with these features, but also allow the designers to write their own message agreement and the message, the steps are not complicated, these are the main reason for ro excellent. In addition, RO also supports Kylix 3 for DELPHI, which represents the use of RO to write Linux server/client, Windows server/client, and the RO Client sdk.net support. NET Fra Mework, Mono, Ractor, and the Compact Framework, can you imagine this situation??   PS:TCP and Windows messages can only support a single Message format, such as SOAP or Binary, because these two agreements do not have the concept of a similar URL, HTTP is not limited, and the RO Enterprise SDK will support. NET Bina Ry (. NET Remoting) and RO Binary two formats. first try remobjects SDKTalking about so many empty words, now is the ability to try RO, in this section with a simple computer example (Ah!!), it is RO sent, not all can not do ...), after the installation of RO on the plate will appear remobjects SDK page, as shown below: Among the five categories, see the following table:
Components function category
TROBINMESSAGW , Trosoapmessage Message components, which are used to handle messages. Messages
Troindyhttpserver , Troindytcpserver , Trobpdxhttpserver , Trobpdxtcpserver , Trowinmessageserver Server-side components, used to receive messages, support HTTP, TCP, Window Message and DLL (DLLs do not need components, just export a function) Server category
Troindyhttpchannel , Troindytcpchannel , Trobpdxhttpchannel , Trobpdxtcpchannel , Trowininethttpchannel , Trodllchannel The client side component, which is used to send messages to the Server side, supports HTTP, TCP, Windows Message and DLLs. Client category
trodatasnapconnection , Trodatasnapproviderpublisher Supports DATASNAP components, yes, the RemObjects SDK allows the use of datasnap. DATASNAP Support
Trowebbrokerserver Web Broker support allows any Web program that is built on a website broker to directly download the remobjects SDK Server. WEB Support
The components mentioned in the table are in addition to the BPDX (this is a group of Internet components, called Dxsock, and Indy have the same function, but in a more efficient and stable than Indy, but the ease of use is far less than Indy, and she belongs to the commercial components, but when the reader to buy the RO and not to pay extra Webbrokerserver, Dllxxx, and others will be used in this article.) After having a rough understanding of these components, you can now start writing a simple program, first open the New Dialogs, and switch to the RemObjects SDK page, which has a few Wizard to help designers quickly produce skeleton programs: The following table is a few of these wiza, which is the Rd is simple to say:
Wizard explain

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.