Representational State Transfer (REST) is a new architecture for Web Services that is having a significant impact on the industry. Most of the new public web services from large vendors (Google, Yahoo, Amazon, now also Microsoft) rely on REST as the technology for sharing and merging information from multiple sources. Delphi XE supports REST through the DataSnap infrastructure, support for WebBroker integration, and the creation of JavaScript proxies for methods exposed by web service.

DataSnap XE is available exclusively in the Enterprise and Architect editions of Delphi XE, C++Builder XE and RAD Studio XE.

Featured Webinar

Marco Cantù presents: Building REST-based applications using DataSnap in Delphi XE

Join Embarcadero and Delphi expert Marco Cantù for an informative web seminar where you'll learn how to build web applications in Delphi XE with DataSnap, REST and jQuery.

DataSnap is a flexible multi-tier application development technology available in RAD Studio XE with options to create client applications in Delphi, C++, .NET, PHP and JavaScript.

This presentation focuses on a specific new feature of DataSnap in Delphi XE: the support for the development of REST servers with a JavaScript client.

getthewebinarreplay-btn

Topics covered in this webinar will include:

  • Creating a DataSnap server in Delphi and looking at the Delphi and JavaScript code produced by the DataSnap REST Application Wizard
  • A focus on some of the server features - the data types you can return, the session management, the authentication and authorization support, and the filtering mechanism
  • How we can expand on the client side by using the jQuery library
  • We'll also see how we can use the Delphi server to generate some JavaScript to speed up and simplify development."
Expert White Papers

REST Servers in Delphi XE Using DataSnap

getexpertwhitepaper-btn

Learn how to build REST servers using features available in Delphi XE, how to extend them with extra Delphi support code and how to take advantage of the jQuery library.

About the Presenter

marco-cantu-smMarco Cantù

Marco Cantù is the author of the best-selling Mastering Delphi series and in the recent years he has self-published Handbooks on the latest versions of Delphi (Delphi 2007 Handbook, Delphi 2009 Handbook, and Delphi 2010 Handbook).

Marco is a frequent conference speaker and teaches advanced Delphi classes (including Web development with Delphi) at companies worldwide. He also organizes public training classes in Italy through his company (Wintech Italia Srl) and has partnered with Cary Jensen to organize the Delphi Developer Days events in the US and Europe. Marco offers also consulting, mentoring, code review, and architectural review of Delphi applications.

Additional Free Downloads

Complete solution for Windows, .NET, PHP and Web application development.
download-btn-v1

More DataSnap videos and white paper

New to DataSnap? Check out Delphi Labs

Other "RAD in Action" topics including PHP and Facebook, database application development, and cross-platform .NET

Tutorial Videos

Click a video title to view the video:

REST Servers in Delphi XE Part I - Building a REST Server
Learn about REST technology, and see how to use the DataSnap wizard in Delphi to build a REST web application using JavaScript on the client side calling into a Delphi REST server. This video is presented by Delphi expert Marco Cantù.
REST Servers in Delphi XE Part II - Extending the REST Server
Learn how to extend the functionality of your Delphi REST server and make extensions to the web server created in Part I. Use LifeCycle management and session management, use authentication and authorization, and take advantage of method call features.
REST Servers in Delphi Part III - Extending the Client
Delphi expert Marco Cantù introduces the basics of jQuery and shows you how to use JavaScript and jQuery to build a client to access a Delphi REST server.

About RAD Studio XE

Embarcadero RAD Studio XE is a comprehensive application development suite and the fastest way to visually build GUI-intensive, data-driven applications for Windows, .NET, PHP and the Web. RAD Studio includes Delphi®, C++Builder®, Delphi Prism, and RadPHP™ enabling developers to deliver applications up to 5x faster across multiple Windows Web and database platforms. Learn more at http://www.embarcadero.com/products/rad-studio