- Delphi Programming Projects
- William Duarte
- 540字
- 2021-06-24 14:27:06
Mindset difference between desktop and mobile
When smartphones became essential and the emergence of the three major mobile OS competitors (iOS, Android, and Windows phone—this last one has been discontinued) took shape, developers were confused. After all, who was not accustomed to responsiveness or smaller screens? Before diving into this new world, you need to understand some important things.
Developing for the Windows desktop, we have some benefits—available memory, ease of interface design (usually in resolutions of at least 1,024 x 768), and others. Most of these features make the programmer's life much more focused on the logic of the application without worrying too much about available computer resources or the like.
When web applications began to emerge with their HTTP protocol in the best request-response style, a new concept of development was created. The programmer had to adapt to the new markup languages (HTML and CSS) and had to separate their application in what we call the server/client side. So, anyone who previously programmed into a single programming language (such as Java or C#) had to adapt to learn markup languages. And, with a need for insertion in the web world, the programmer needed to deal with screen sizes. On the other hand, the applications should be more and more responsive to work more in the varied sizes of screen, from tiny phones to tablets and desktops; not to mention the limitations of the hardware, since they have less processing power and memory than desktop computers.
Mobile has combined the advantages of the previous two along with their disadvantages. If it was said in the web application that everything was on the web, that is to say, for any user access just entering the site, the mobile brought back the desktop concept. The application is installed in the device, and, if you have to upgrade the application, you have to do so for each device. We return to the same situation as desktop applications.
Having limited hardware, including reduced screen size and the absence of peripherals means that the challenge for the mobile developer is more complex
Before you start reading into this topic, you must abandon certain preconceptions, such as the idea that developing for mobile is the same as doing so for web or desktop. No, it's not! Remember that your user is on a limited device and does not have any peripherals for assistance, such as a mouse or keyboard.
Follow these steps to learn about viewing for different screen types:
- Open the Delphi IDE and create a Multi-Device Application. Note that different screen types will have different viewing characteristics:

- Select one Android or iPhone view.
When you work with a different view of the master, Delphi will create a new .FMX file in your project folder. This file will contain the positions of the components for that particular screen format. The paradigm shift is not just about the size or the screen format, but the Delphi IDE helps us identify those nuances.
- WindowsServer2012Hyper-V虛擬化部署與管理指南
- 開源安全運維平臺OSSIM疑難解析:入門篇
- Implementing Azure DevOps Solutions
- 混沌工程:復雜系統韌性實現之道
- Docker+Kubernetes應用開發與快速上云
- 數據中心系統工程及應用
- 嵌入式實時操作系統μC/OS原理與實踐
- Mastering Reactive JavaScript
- 云原生落地:產品、架構與商業模式
- Hands-On UX Design for Developers
- Red Hat Enterprise Linux 6.4網絡操作系統詳解
- Windows 7使用詳解(修訂版)
- Linux網絡配置與安全管理
- Advanced Infrastructure Penetration Testing
- 大學計算機應用基礎實踐教程(Windows 7+MS Office 2010)