Pawel glowacki going_multi_tier

24
EMBARCADERO TECHNOLOGIES Going Mul77er with Delphi XE8

Transcript of Pawel glowacki going_multi_tier

EMBARCADERO  TECHNOLOGIES  

Going  Mul7-­‐7er  with  Delphi  XE8  

EMBARCADERO  TECHNOLOGIES  

Your  Speaker  

Paweł  Głowacki    Embarcadero  EMEA  Tech  Lead  for  Developer  Tools    [email protected]  h?p://community.embarcadero.com  

EMBARCADERO  TECHNOLOGIES  

“Fat  Client”  architecture  

EMBARCADERO  TECHNOLOGIES  

“Mul7-­‐7er”  architecure  

EMBARCADERO  TECHNOLOGIES  

Why  Mul77er?  

•  Scalability  •  High-­‐availability  •  Security  •  Fault-­‐tolerance  •  Monitoring  •  Messaging  •  Provisioning  

EMBARCADERO  TECHNOLOGIES  

Delphi  XE8  Mul7-­‐7er  Frameworks  

•  Client/Server  –  EMS  (Enterprise  Mobility  Services)  

–  DataSnap  –  SOAP  WebBroker  

6  

•  Client  Only  –  REST  Client  –  BAAS  –  CloudAPI  –  New  XE8  HTTP  Client  –  TIdHTTP  

EMBARCADERO  TECHNOLOGIES  

EMS  in  RAD  Studio  XE8  ConnecTng  mobile,  desktop,  and  IoT  

EMBARCADERO  TECHNOLOGIES  

What  is  EMS?  Enterprise  Mobility  Services  A  turnkey  middleware  server  enabling:  •  User  management  and  authenTcaTon  •  Loadable  modules  for  custom  APIs  over  REST  •  Enterprise  SQL  database  access  through  •  Mobile  embedded  and  server-­‐side  SQL  data  storage  •  Web  console  for  user,  device,  and  API  analyTcs  

EMBARCADERO  TECHNOLOGIES  

Why  EMS?  

•  Mobile  soluTons  require  strong    backend  for  enterprise  focus  

•  Advantage  of  turn-­‐key,  cloud-­‐ready  soluTon,  fast  and  easy  deployment  

•  CriTcal  for  enterprise  acceptance  –  Shared  customers  backed  for  a  VAR  

EMBARCADERO  TECHNOLOGIES  

EMS  as  Enterprise  Private  Cloud  

EMBARCADERO  TECHNOLOGIES  

EMS  is  Mul7-­‐Tier  

11  

•  EMS  Clients  use  REST  API,  embed  local  secure  database  

•  EMS  Servers  hosts  plug-­‐in  packages,  uses  EMS  DB  

•  EMS  Packages  communicate  with  enterprise  databases,  cloud  data  

EMBARCADERO  TECHNOLOGIES  

EMS    Analy7cs  

12  

EMBARCADERO  TECHNOLOGIES  

EMS  in  Prac7ce  •  Use  RAD  Studio  to  build  –  server  modules  –  mobile/desktop  clients  

•  Self  Hosted  –  Personal  cloud  or  tradiTonal  server  

•  Licences  –  Per  user  fee,  unlimited  apps  and  calls  (and  push…)  

EMBARCADERO  TECHNOLOGIES  

New  Features  in  EMS  for  XE8  

•  Integrated  Push  NoTficaTons  •  External  credenTals  support  –  Demo  showing  AcTveDirectory  integraTon  

•  Database  connecTons  pooling  •  Export  Data  from  Web  Console  –  Improved  users/groups  analyTcs  

•  Client  console  for  managing  user  accounts  and  more  14  

EMBARCADERO  TECHNOLOGIES  

What  are  Push  No7fica7ons?  

•  Mechanism  to  send  noTficaTons  to  (mobile)  devices  •  App  on  mobile  needs  to  signup  and  authorize  •  Can  receive  noTficaTons  while  app  is  not  running  

•  Core  providers  •  Android:  Google  Cloud  Messaging  (GCM)  •  iOS:  Apple  Push  NoTficaTon  (APN)  

   

EMBARCADERO  TECHNOLOGIES  

Push  in  RAD  Studio  

•  Permissions  to  receive  Push  NoTficaTons  •  Android:  App  permission  •  iOS:  EnTtlement  file  

•  BaaS  –  Parse,  Kinvey,  (App42)  

•  EMS  –  Direct,  integrated  support  –  Broadcast  and  subscripTon  based  noTficaTons  

   

EMBARCADERO  TECHNOLOGIES  

EMS  and  Push  

   

REST  call  

Push  NoTficaTon  

APN  /  GCM  

EMBARCADERO  TECHNOLOGIES  

EMS    Push  

18  

EMBARCADERO  TECHNOLOGIES  

EMS  Push  Demo  

EMBARCADERO  TECHNOLOGIES  

IoT  for  Enterprise  

20  

EMS  Server  •  User  Auth  •  API  HosTng  •  Enterprise  Data  Access  •  Data  storage  •  IOT  Device  Access  Control  •  Wifi/Bluetooth  Bridging  •  Push  NoTficaTons  

Things  near    your  user  

Things  near  your    EMS  Server  

Any  Cloud  service  Or  API  

Any  Enterprise    Data  or  Service  

Things  near  a  computer  

EMBARCADERO  TECHNOLOGIES  

RAD  Studio  XE8:  Enterprise  Ready  

Build  industrial  strength  and  business  ready  soluTons  

21  

EMBARCADERO  TECHNOLOGIES  

Resources  •  RAD  Studio  XE8  Help  •  „RAD  in  AcTon:  Mobilizing  your  Business  with  Enterprise  Mobility  Services  Middleware”  whitepaper  by  Cary  Jensen  

•  „Preview:  EMS  Push  NoTficaTons  with  Marco  Cantu”  youtube  Skills  Sprint  

•  „EMS  AuthenTcaTon  and  AuthorizaTon”  CodeRage  9  session  replay  by  Jim  Tierney  on  youtube  

22  

EMBARCADERO  TECHNOLOGIES  

Ques7ons?    

EMBARCADERO  TECHNOLOGIES  

24