Building Mobile Backends
In the mobile development world, it is common to have dedicated developers and teams responsible for just building mobile frontends (the actual app running on the device) and backends (web services for accessing data and hosting some of the business logic). For this reason, we also want to wear the backend developer hat and use Delphi to build modern, scalable, secure, fault-tolerant REST API web services with full database access. This chapter will cover the following points:
- Delphi and multi-tier architectures
- Working at a low level with WebBroker
- Do-it-yourself with DataSnap
The objective of this chapter is to get you to understand the different choices for backend technologies in Delphi and gain practical knowledge on how to build web services. There is one further web service technology in Delphi called RAD Server, which will be the topic of the next chapter.