New Features in XE8
Marco Cantù
RAD Studio Product Manager

Marco Cantù
• RAD Studio Product Manager• Email: marco.cantu@embarcadero.com@marcocantu• Book author and Delphi guru
• blog.marcocantu.com
2

Agenda• New in XE8– Compilers– Libraries: FireMonkey, RTL, Database Access, VCL– AppAnalytics• Developer productivity– IDE, editor, GetIt, unit testing, and more

3

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

New Features in XE8

COMPILERS

4

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

RAD Studio XE8 Compilers and Toolchains• Object Pascal and C++ Compilers• Windows 32‐bit and 64‐bit• Mac OS X
• Android ARM v7• iOS Armv7, Arm 64‐bit, and iOS Simulator (Object Pascalonly)• Total: 7 OP and 6 C++ compilers
5New in XE8: iOS 64‐bit Compiler and Toolchain• New iOS 64bit Object Pascaland C++ Compilers– Including linkers and tools– Separate iOS 64 target• Support for Apple Universal apps
– Both binaries in single IPA• Required for App Store– 64bit target can embed 32bit binary
6New Features in XE8

FIREMONKEY

7

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

The FireMonkey Platform• Single‐source multi‐device architecture– Including user interface controls, which canbe styled or platform native– Multiple compilers for the different
platforms, all producing native code

• RAD, with a strong OOP architecture• For Windows, OS X, Android, iOS
8

FireUI Multi‐Device Designer• Shared master and specific views• Visually customize forms for different platforms andform factors• Introduced in XE79

FireUI in XE8
Designer Previews• Live Previews formobile and desktopplatforms• Preview the UI on
different form factorsas you create it10

FireMonkey New XE8 Mobile Features• New MapView component– Android Google Maps
– iOS MapKit• More iOS platform controls– TMemo, TListView, TSwitch (plus TEdit, TCalendar in XE7)
– Z‐order improvements mixing platform and styled control

11Other FireMonkey XE8 Features• Desktop browser components for Windows and OS X
– Mapped to platform browser components• New ImageList component– Desktop and mobile• Enhanced multimedia and camera
support12

New Features in XE8RTL

13

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

The Run Time Library (RTL)• Available for both VCL and FireMonkey• Core runtime: memory management, files and streams,threads, encodings and formats…
• Hooks for platform specific API / SDK calls• Introduced in XE7: Parallel Programming Library14

XE7 Parallel Library

15

RTL Connectivity and IoT in XE8• AppTethering– Protocol enhancements and encryption hooks• TBluetooth component– Matching existing TBluetoothLE component• TBeacon component– iBeacons and AltBeacons16Add Physics with Box2D• Library distributed with C++– http://box2d.org/• Object Pascal headers and ready‐to‐use demos• Add physics to your desktop and mobile applications– Great for games, but not only

17

HTTP Client Library• Platform native HTTP and HTTPS support– Uses platform SDK services on each platform– Hassle‐free deployment, relies on platform security• Rather than OpenSSL– For Windows, Mac, iOS, Android– Works also in VCL!

• NetHTTPClient and NetHTTPRequest components– System.Hash with hash functions for HTTP
18

New Features in XE8APPANALYTICS

19

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

AppAnalytics• Capture anonymous usage
stats from your customers,
understand users behavior– No tracking of user data
– Used also by RAD Studio IDE• Hosted by Embarcadero as
pay‐per‐use service (SaaS)– appanalytics.embarcadero.com
20TAppAnalytic Component(s)• VCL and FireMonkey– Same component name, different implementations• Captures application
startup, form activation,exceptions, controls focus• Developer can add
custom events of any
type and group them
21

AppAnalytics Sample Data22

New Features in XE8DATABASE ACCESS23

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

What’s new in Database RTL• TField read/write performance optimization– For all TDataset descendants– Customer reported 25%
increase in ClientDataSet
performance comparedto XE724

What is FireDAC?
• High‐performance, easy‐to‐use,enterprise database connectivity• Universal data access with database specific features• No drivers required and full source code provided (inEnterprise edition)
Database applications development
is fun again with FireDAC

What’s New in FireDAC• New in FireDAC– Teradata database driver, based on ODBC driver– Support for InterBase Change Views• Details in the InterBase XE7 section– Change notifications– dbExpress to FireDAC migration tools– Enhanced SQLite v3.+ database support, with smart datatypes and both static and dynamic linking
26

FireDAC and InterBase XE7 ChangeViews• Query database for changes, merge with current dataset– MergeDataSet method with dmDeltaMerge paramWhat is EMS?
• Mobile solutions require strong
backend for enterprise focus• Advantage of turn‐key, cloud‐readysolution, fast and easy deployment• Critical for enterprise acceptance– Shared customers backed for a VAR• Introduced in XE7, covered in my IoT
session, later

New Features in EMS for XE8• Integrated Push Notifications• External credentials support– Demo showing ActiveDirectory integration• Database connections pooling• Export Data from Web Console– Improved users/groups analytics• Client console for managing user accounts and more29

What’s New in VCL in XE8? Summary• Building on a very solid foundation– Fonts scaling and other improvements• Connectivity– Bluetooth and AppTethering extensions– HTTP client library• AppAnalytics– Track applications usage with little effort• And many developer productivity features in the IDE, with theaddition of GetIt, DUnitX, Mercurial
30

Plus, New VCL Styles in XE831

Aside: What’s Coming in Windows 10• XE8 VCL and FireMonkey applications work just fine
• Microsoft at BUILD conference just announced– “Project Centennial”:
Host Win32 app in Windows 10 Store, First class– “Project Astoria”:
Run Android APKs on Windows 10 Phone

32

New Features in XE8

DEVELOPER PRODUCTIVITY

33

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Developer Productivity Enhancements

34

Developer Productivity Enhancements• IDE and editor extensions• Initial Castalia integration– Some overlapping feature disabled– Still a separate menu, will be merged• IDE features– Project statistics information, clipboard history, multi‐pastesupport
35

New Editor Features• Shared– Stack bookmarks, smart keys, parenthesis
matching, code structural highlight• Object Pascal only
– Castalia refactorings, Editor selection expansion,
Flow controls highlighting, Code navigation
toolbar, Smart symbol search– Code analysis to track quality
36

GetIt Package Manager• Easy libraries discovery and one‐click installation• Hosting both VCL and multi‐device libraries• Includes all TurboPack projects• “GetIt Library Manager for easy discovery, download andupdate of source code libraries, components, and otherfeatures from Embarcadero GetIt servers”

37

GetItPackage
Manager38

DUnitX Support• DUnitX– Modern Delphi unit testing framework– github.com/VSoftTechnologies/DUnitX• Integrated support with wizards– Console and FMX runners– Delphi and C++• DUnit runtime still in the product39Version Insight• Enhanced Subversion support– Change list labels, SVN merge dialog, braches switching• Enhanced Git version control integration– Push and Pull changes to and from remote repositories• New Mercurial version control integration– Cloning your remote repository, commit changes locally,show log data40

Migrate IDE Settings• In Bin folder, migrationtool.exe• Migrate configurations from older versions of the IDE– If installed on the same machine, registry to registry– If different machines, export to/import from XML• Copy configurations of same version between different
installations (via XML)• User can pick specific groups of settings41More New XE8 IDE Features• Android Java libraries manager• CHM help is back• Start here page redesign• Improved installation experience and reduced
installation footprint (removes temporary files)

42New Features in XE8QUESTION?

43

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Thank you!