Ⅰ 市面上哪款APP是Delphi写的呢
企业软件里有很多。
一般人理解的软件,可能是面象大众的那些APP,这些APP里,Delphi开发占比可能非常少,毕竟Delphi是用框架开发的,APP的体积会大一些,面对大众的APP,各个细节往往都有要求,所以一般用Java开发android,IOS类同。
但是,更多更广泛的软件,其实是各企业的应用软件,这种软件只运行在特定场所,与大众无关,其数量远远超出大众APP的数量。
由于手机的广泛使用,在这些企业ERP软件中,将终端延伸到手机也是很自然的,手机成为PC的补充。由于企业ERP对开发成本敏感,所以要求快速开发,此时Delphi就有了优势。体积大一点没什么关系。
Delphi发展到XE,其核心有两点,一是全平台开发,通过FireMonkey框架,同样的代码,可以直接给不同的平台用。另一个是DataSnap中间件技术,DataSnap可以容易地实现三层数据库结构,并且同时支持TCP/IP、HTTP协议和Rest协议。现在RESTful在跨平台方面不是正流行吗?DataSnap早就支持它。
Ⅱ delphi的特性
Delphi发展至今,从Delphi1、Delphi2到Delphi XE3,不断添加和改进各种特性,功能越来越强大。Delphi5开始添加了对IDE(集成开发环境)的很多改进新特性,扩展了数据库支持(ADO和InterBase数据库),带有Internet支持的MIDAS改进版,TeamSouse版本控制工具,转换功能,框架概念以及很多的新组件与新特性。
Delphi 6.0是Borland公司推出的一套无论是界面还是功能都近乎完美的应用程序开发工具。与以前的Delphi版本相比,Delphi 6.0使用更简便,效率也更高。
Delphi 7.0使用更简便,效率更高,最稳定的一个版本,被称为开发人员的工具之最,也是Borland产品最顶峰时期,更是风靡全球。
Delphi2010内置的Direct 2D模块及开发库,其新加的功能:拥有一个能同时运作于x86和x64的IDE,在此IDE下将会有跨平台编译器,能够编译用于linux和MAC的应用程序;将会支持windows7下的触摸式编程;强化的DataSnap;将支持云计算;将支持函数式编程,这需要很多时间,据David估计是2011会实现。
Delphi XE2实现了跨平台通用开发,通过Delphi XE2所带的FireMonkey平台,Delphi可以开发跨平台应用程序,并原生编译到Windows和Mac OS X平台。FireMonkey还可以为iPhone、iPod Touch和iPad创建iOS应用,并分发到苹果公司的应用商店。Delphi的FireMonkey应用程序拥有完全的硬件加速。
Delphi XE3 可以发布不同平台的产品,包括Windows 7和Mac OS,未来还要支持手机版本的Android和IOS。
(1)直接编译生成可执行代码,编译速度快。由于Delphi编译器采用了条件编译和选择链接技术,使用它生成的执行文件更加精炼,运行速度更快。在处理速度和存取服务器方面,Delphi的性能远远高于其他同类产品。
(2)支持将存取规则分别交给客户机或服务器处理的两种方案,而且允许开发人员建立一个简单的部件或部件集合,封装起所有的规则,并独立于服务器和客户机,所有的数据转移通过这些部件来完成。这样,大大减少了对服务器的请求和网络上的数据传输量,提高了应用处理的速度。
(3)提供了许多快速方便的开发方法,使开发人员能用尽可能少的重复性工作完成各种不同的应用。利用项目模板和专家生成器可以很快建立项目的构架,然后根据用户的实际需要逐步完善。
(4)具有可重用性和可扩展性。开发人员不必再对诸如标签、按钮及对话框等Windows的常见部件进行编程。Delphi包含许多可以重复使用的部件,允许用户控制Windows的开发效果。
(5)具有强大的数据存取功能。它的数据处理工具BDE(BorlandDatabaseEngine)是一个标准的中介软件层,可以用来处理当前流行的数据格式,如xBase、Paradox等,也可以通过BDE的SQLLink直接与Sybase、SQLServer、Informix、Oracle等大型数据库连接。Delphi既可用于开发系统软件,也适合于应用软件的开发。
(6)拥有强大的网络开发能力,能够快速的开发B/S应用,它内置的IntraWeb和ExpressWeb使得对于网络的开发效率超过了其他任何的开发工具。
(7)Delphi使用独特的VCL类库,使得编写出的程序显得条理清晰,VCL是现在最优秀的类库,它使得Delphi在软件开发行业处于一个绝对领先的地位。用户可以按自己的需要,任意的构建、扩充、甚至是删减VCL,以满足不同的需要。
(8)从Delphi8开始Delphi也支持.Net框架下程序开发。
当前DELPHI 已经成为一个品牌,而不仅仅是一个开发平台或开发语言的名称。当前DELPHI产品已经由CodeGear公司继续发展,该公司是BORLAND公司的全资子公司。当前,CodeGear为广大开发者提供了DELPHI FOR PHP,以高度可视化的方式全面支持面向对象的PHP网站开发,大大提高了PHP开发网站的代码复用程度,成为WEB应用开发的新利器。
Ⅲ delphixe android mssql services datasnap 哪个好
觉得Delphi最强大的的功能之一就是开发数据库三层应用的DataSnap,在Android上的实现,首先是完成服务器的设计:
(1)利用向导完成DataSnap服务器的框架,如下图:
由于是实验,所以选择VCL程序,如果是实际应用,建议Service程序
我习惯使用TCP/IP作为通讯协议,简单且速度快,Sample Methods是演示和测试用
缺省211端口
使用TDSServerMole作为数据服务提供主体,非常方便变更为Service应用服务
(2)设置服务器数据
在TDSServerMole中设置数据,为简便起见,采用BDE引擎的DBDEMOS下animals.dbf数据库,有文字也有图片,如下图:
放置一个TDataSetProvider连接该数据源,如下图:
服务器至此设计完成,没有编写一行代码,只是调整了部分控件和窗体的名称。手动启动该应用服务程序。
(3)新建Android客户端程序
新建一个android客户端程序,在工程中增加一个TDataMole模块,用于放置与应用服务器的连接和数据,在模块窗体上放置TSQLConnection、TDSPProviderConnection、TClientDataSet三个控件,如下图:
其中TSQLConnection的属性设置中LoginPrompt要设为False,TDSPProviderConnection的属性设置如下:
其中ServerClassName是指应用服务器上作为数据服务提供主体的TDSServerMole的实例类名称,在这里我习惯性地重新命名了,缺省一般是TServerMethods1。TClientDataSet的设置如下图:
为实现应用服务器上Sample Methods在客户端的调用,需要创建服务类在客户端的实现类,右键点击TSQLConnection选择生成,如下图:
新生成的类定义如下:
以上过程完全同Windows下的DataSnap客户端开发。
(4)Android界面显示数据
Android下对数据的显示,与Windows下开发最大的区别是,无法使用TDBEdit一类的数据感应控件,取而代之的是标准控件,通过LiveBindings技术实现数据感应。要实现该过程,首先是在窗体上放置用于数据展示的标准控件,这里采用了TListBox和TGrid,通过TTabControl分开,如下图:
IP和Port输入框是为了更灵活地连接服务器,下面的按钮OnClick事件代码如下:
procere TfrmMain.Button1Click(Sender: TObject);
var
dm : TdmServerMethodsClient;
begin
try
//连接指定IP和Port的应用服务器
dmMain.SQLConn.Close;
dmMain.SQLConn.Params.Values['HostName'] := edtIP.Text;
dmMain.SQLConn.Params.Values['Port'] := edtPort.Text;
try
dmMain.SQLConn.Open;
try
//创建应用服务器上的Sample Methods在客户端的实现类
dm := TdmServerMethodsClient.Create(dmMain.SQLConn.DBXConnection);
//执行服务器上的方法
ShowMessage(dm.ReverseString(edtIP.Text));
finally
dm.Free;
end;
//开启客户端数据集
dmMain.cdsanimals.Close;
dmMain.cdsanimals.Open;
except
on E: Exception do
ShowMessage(E.Message);
end;
finally
dmMain.SQLConn.Close;
end;
end;
Ⅳ DELPHI XE5中编辑出错,请问可能是什么原因
最近在学习DELPHI XE5,在学习datasnap时做好了服务器,在写客户端程序时编译出现下列错误提示:
[DCC Error] E2597 e:\\program files\\embarcadero\\rad studio\\12.0\\lib\\Android\\Release\libmidas.a(alchemy.o):(.data.rel.ro+0x8): undefined reference to `__cxa_pure_virtual'
e:\\program files\\embarcadero\\rad studio\\12.0\\lib\\Android\\Release\libmidas.a(alchemy.o):(.data.rel.ro+0x14): undefined reference to `__cxa_pure_virtual'
e:\\program files\\embarcadero\\rad studio\\12.0\\lib\\Android\\Release\libmidas.a(alchemy.o):(.data.rel.ro._ZTV13IClassFactory[_ZTV13IClassFactory]+0x8): undefined reference to `__cxa_pure_virtual'
e:\\program files\\embarcadero\\rad studio\\12.0\\lib\\Android\\Release\libmidas.a(alchemy.o):(.data.rel.ro._ZTV13IClassFactory[_ZTV13IClassFactory]+0xc): undefined reference to `__cxa_pure_virtual'
e:\\program files\\embarcadero\\rad studio\\12.0\\lib\\Android\\Release\libmidas.a(alchemy.o):(.data.rel.ro._ZTV13IClassFactory[_ZTV13IClassFactory]+0x10): undefined reference to `__cxa_pure_virtual'
e:\\program files\\embarcadero\\rad studio\\12.0\\lib\\Android\\Release\libmidas.a(alchemy.o):(.data.rel.ro._ZTV13IClassFactory[_ZTV13IClassFactory]+0x14): more undefined references to `__cxa_pure_virtual' follow
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
Failed
Elapsed time: 00:14:00.9
求高手解答,程序内容完全按照该博客介绍进行http://www.cnblogs.com/ChinaEHR/p/3373364.html,不知道啥原因。
Ⅳ 求救,这个delphi xe8要怎么破解
A Complete List of What's new in RAD Studio XE8
Key New Features
Benefits
INTEGRATED COMPILERS AND TOOLCHAINS
New in XE8!iOS 64 bit Object Pascal compiler and toolchain
New in XE8!iOS 64 bit C++ compiler and toolchain
New in XE8!Support for iOS Universal Apps (including both 32 bit and 64 bit binaries in an app bundle)
FMX APPLICATION PLATFORM (FIREMONKEY)
New in XE8!FireUI Mobile Previews
New in XE8!Multi-Device Preview
New in XE8!Extended Multi Device Designer views styling, including universal styling and Windows styles customization
New in XE8!FireUI Device Manager, to edit the specifications of the available devices and add more
New in XE8!Memo platform controls for iOS
New in XE8!ListView platform controls for iOS
New in XE8!Calendar platform controls for iOS
New in XE8!Switch platform controls for iOS
New in XE8!MapView component for mobile platforms (iOS and Android) supporting platform specific interactive mapping libraries (respectively, by Apple and Google)
New in XE8!WebBrowser component for Windows
New in XE8!WebBrowser component for OS X
New in XE8!Improved mixing of platform and styled components, with new platform styling options for iOS and controls Z-order improvements (with ControlType property for non-platform controls)
New in XE8!ImageList component for FireMonkey
New in XE8!Enhancements in FireMonkey multimedia support
New in XE8!Support for higher resolutions in Camera components
New in XE8!Android Lollipop specific style enabled by default (Android only)
New in XE8! FireMonkey Applications Analytics Support*
* Requires a specific contract and by-volume fee for storing run-time analytics data and accessing it
New in XE8!App Tethering extensions and protocol enhancements
New in XE8!Bluetooth framework improvements and new TBluetooth component for classic Bluetooth
New in XE8!Proximity support based on the "beacons" technology (including the iBeacon and AltBeacon standards) for iOS, Android, and OS X
VISUAL COMPONENT LIBRARY (VCL)
New in XE8!VCL Font Scaling improvements
New in XE8!VCL Applications Analytics Support*
* Requires a specific contract and by-volume fee for storing run-time analytics data and accessing it
New in XE8!VCL App Tethering extensions and protocol enhancements
New in XE8!Bluetooth framework improvements and new TBluetooth component for classic Bluetooth
LANGUAGE AND RUNTIME LIBRARY FEATURES
New in XE8!Simplified array initialization and construction for C++ Clang-based compilers
New in XE8!iOS 64-bit API headers and RTL integration for Delphi and C++
New in XE8!Box2D physics engine
New in XE8!Object Pascal interfaces for the Box2D physics engine
New in XE8!New System.Hash RTL unit, with hash functions to support the new HTTP framework
New in XE8!New HTTP client framework, mapped to platforms libraries on all supported platforms
New in XE8!New NetHTTPClient and NetHTTPRequest components, offering easy access to the HTTP client framework
New in XE8!Support for native HTTP(S) client libraries on Windows
New in XE8!Support for native HTTP(S) client libraries on OS X
New in XE8!Support for native HTTP(S) client libraries on mobile platforms (iOS and Android)
PERSONAL DEVELOPER PRODUCTIVITY
New in XE8!GetIt Package Manager for easy discovery, download and update of source code libraries, components, and other features from Embarcadero GetIt servers
New in XE8!Configuration settings migration tool, to migrate configurations of older versions of the proct to a newer version, or between different installations of the same version
New in XE8!Start Here page improvements
New in XE8!extra code refactoring, live syntax checking, metrics, and more integrated right into the IDE
New in XE8!Project Manager enhancements, with the support for adding database files and simplifying their deployment
New in XE8!Improved installation experience and reced installation footprint
New in XE8!Virtual form positioner for FireMonkey designer
New in XE8!Project Statistics provides developers with a clear picture of team proctivity with activity tracking.
New in XE8!Clipboard History keeps a record of clipboard contents so developers can paste content previously copied.
New in XE8!Multi-Paste Support performs the same paste operation on multiple source code lines at once.
New in XE8!Modeless and Context-Sensitive Refactoring support which includes: renaming variables, classes, field and properties, inlining, introcing and splitting local variables, removing unused variables, eliminating with statements, extracting methods, adding parameters, and moving classes to a different unit (Object Pascal language only).
New in XE8!Stack Bookmarks improves code navigation.
New in XE8!Parenthesis Matching provides a visual queue to keep code clear.
New in XE8!Flow Control Highlighting provides visual representation of flow jumps in code directly in the editor.
New in XE8!Structural Highlighting
New in XE8!Code Navigation Toolbar places classes and methods into a drop down box for easy in-code navigation (Object Pascal language only).
New in XE8!Smart Keys and Smart Symbol Search (Object Pascal language only)
New in XE8!Code Analysis tracks code quality with several code statistics like length parameters, nested statements, and cyclomatic complexity (Object Pascal language only).
SOURCE CODE MANAGEMENT
Enhanced in XE8!Version Insight – Integrated framework for supporting source code management tooling inside the IDE
Enhanced in XE8!Subversion integration into the IDE, including change list labels, SVN merge dialog, branches switching and more
Enhanced in XE8!Git version control integration into the IDE, now including authentication, Push and Pull changes to and from remote repositories
Introced in XE8!Mercurial version control integration into the IDE (supports cloning your remote repository, commit changes locally, show log data)
INTEGRATED UNIT TESTING
New in XE8!Integrated unit testing with the DUnitX testing framework
Updated in XE8!Unit test wizards for quick and easy unit test and unit test project creation
DATABASE
New in XE8!Core DB.PAS TField optimizations
FIREDAC MULTI-DEVICE DATA ACCESS LIBRARY
New in XE8!FireDAC Teradata database support, based on the Teradata database ODBC driver
New in XE8!FireDAC support for XE7 Change Views
New in XE8!FireDAC support for change notifications
New in XE8!Improved FireDAC updates management
New in XE8!Tools and scripts to help migration of dbExpress code to FireDAC
Updated in XE8!iOS and Android mobile database support, including SQLite, InterBase ToGo and IBLite
Updated in XE8!Comprehensive support for SQLite v3.+ database, including "smart" data type recognition, supporting both dynamic and static linking
ENTERPRISE MOBILITY SERVICES
New in XE8!FireDAC / EMS integration improvements, specifically focused on updates management
New in XE8!EMS Push Notifications server support for iOS and Android
New in XE8!EMS external credentials support
New in XE8!Extended EMS Administrative API, now with EMS Installation and EMS Push Resources
New in XE8!Database Connection Pooling and other EMS optimizations
New in XE8!New EMSClientAPI component to simplify EMS client side development
Enhanced in XE8!User, groups, sessions, and API calls analytics and reporting using a web based interface using the EMS Console
New in XE8!Ability to export data from EMS Console to .CSV files
New in XE8!Improved analytics for users and groups
New in XE8!EMS client application to manage user accounts
DATASNAP CONNECTORS
Enhanced in XE8!DataSnap mobile connectors for ObjectiveC, supporting iOS 7 and iOS 8 SDKs
INCLUDED DATABASES
Enhanced in XE8!InterBase XE7 Developer Edition – up to 20 users and 80 logical connections
LICENSING AND TOOL MANAGEABILITY
Enhanced in XE8!Earlier version licenses included in network licenses (Delphi 2007- XE7, C++ Builder 2007-XE5, HTML5 Builder XE3, RadPHP XE2). Delphi 7 and C++Builder 6 available separately