Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
LiveBindings     in Delphi XE2
Hi! I’m Stefaan
Our company
Our companySoftware Development
Our companySoftware Development     & New Media    Technologies
You can find me here :
You can find me here : www.devia.be www.twitter.com/StefaanLesage www.linkedin.com/in/ stefaanlesage Stefaan_Lesage on Skype
Pens Down !!!
Pens Down !!!
Pens Down !!!• ‘White-Paper’
Pens Down !!!• ‘White-Paper’• 25 Pages
Pens Down !!!• ‘White-Paper’• 25 Pages• Text, Screenshots &  Code
Pens Down !!!• ‘White-Paper’• 25 Pages• Text, Screenshots &  Code• Links to resources
Pens Down !!!• ‘White-Paper’• 25 Pages• Text, Screenshots &  Code• Links to resources• ...
LiveBindings
LiveBindings What is LiveBindings ?
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?      How does it all work ?
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?      How does it all work ?   Managed vs Unmana...
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?      How does it all work ?   Managed vs Unmana...
LiveBindings
LiveBindings What is LiveBindings ?
What isLiveBindings ?
What isLiveBindings ?In short ... a technique to bind Data     to Objets or Components.
LiveBindings What is LiveBindings ?
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?
What can we useLiveBindings for ?
What can we use   LiveBindings for ?• Bind TDataSet data to a Component
What can we use   LiveBindings for ?• Bind TDataSet data to a Component• Bind data from one component to  another
What can we use    LiveBindings for ?• Bind TDataSet data to a Component• Bind data from one component to  another• Bind a...
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?      How does it all work ?
How does it Work ?
How does it Work ?  • Source
How does it Work ?  • Source  • Source Expression
How does it Work ?  • Source  • Source Expression  • Control
How does it Work ?  • Source  • Source Expression  • Control  • Control Expression
How does it Work ?
How does it Work ?SourceTPerson
How does it Work ?    Source    TPersonSource Expression   FirstName
How does it Work ?    Source          Control    TPerson          TEditSource Expression   FirstName
How does it Work ?    Source               Control    TPerson               TEditSource Expression   Control Expression   ...
How does it Work ?    Source                        Control    TPerson                        TEditSource Expression      ...
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?      How does it all work ?
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?      How does it all work ?   Managed vs Unmana...
Managed vsUnmanaged
Managed vs       Unmanaged• Unmanaged Bindings
Managed vs       Unmanaged• Unmanaged Bindings • Automatic
Managed vs       Unmanaged• Unmanaged Bindings • Automatic• Managed Bindings
Managed vs       Unmanaged• Unmanaged Bindings • Automatic• Managed Bindings • You need to inform the   LiveBindings engin...
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?      How does it all work ?   Managed vs Unmana...
LiveBindings      What is LiveBindings ?What can we use LiveBindings for ?      How does it all work ?   Managed vs Unmana...
Demo 1
Demo 1Binding data from a TDataSet     to Visual Controls.
Demo 2
Demo 2Binding properties from one  component to properties   of another component.
Expression ?
Expression ?• Functions
Expression ?• Functions • LowerCase(), UpperCase(), Round(),   FormatDateTime(),   StrToDateTime(), Format(),   ToVariant(...
Expression ?• Functions • LowerCase(), UpperCase(), Round(),   FormatDateTime(),   StrToDateTime(), Format(),   ToVariant(...
Expression ?• Functions • LowerCase(), UpperCase(), Round(),   FormatDateTime(),   StrToDateTime(), Format(),   ToVariant(...
Expression ?• Functions • LowerCase(), UpperCase(), Round(),   FormatDateTime(),   StrToDateTime(), Format(),   ToVariant(...
Demo 3
Demo 3 Binding properties of a TObjectdescendant created at run-time to  TEdit and TLabel components
What can we useLiveBindings for ?
What can we use   LiveBindings for ?• Bind TDataSet data to a Component
What can we use   LiveBindings for ?• Bind TDataSet data to a Component• Bind data from one component to  another
What can we use    LiveBindings for ?• Bind TDataSet data to a Component• Bind data from one component to  another• Bind a...
Stefaan Lesage
Stefaan Lesagewww.devia.bewww.twitter.com/StefaanLesagewww.linkedin.com/in/stefaanlesageStefaan_Lesage on Skype
Questions ?
BEDelphi - LiveBindings in Delphi XE2 - Devia
BEDelphi - LiveBindings in Delphi XE2 - Devia
BEDelphi - LiveBindings in Delphi XE2 - Devia
BEDelphi - LiveBindings in Delphi XE2 - Devia
Upcoming SlideShare
Loading in …5
×

BEDelphi - LiveBindings in Delphi XE2 - Devia

9,741 views

Published on

These are the slides for the presentation I gave on Livebindings in Delphi XE2 at the BEDelphi conference. Please also have a look at our website where you will find the WhitePaper which goes along with this session.

Published in: Technology
  • Be the first to comment

BEDelphi - LiveBindings in Delphi XE2 - Devia

  1. 1. LiveBindings in Delphi XE2
  2. 2. Hi! I’m Stefaan
  3. 3. Our company
  4. 4. Our companySoftware Development
  5. 5. Our companySoftware Development & New Media Technologies
  6. 6. You can find me here :
  7. 7. You can find me here : www.devia.be www.twitter.com/StefaanLesage www.linkedin.com/in/ stefaanlesage Stefaan_Lesage on Skype
  8. 8. Pens Down !!!
  9. 9. Pens Down !!!
  10. 10. Pens Down !!!• ‘White-Paper’
  11. 11. Pens Down !!!• ‘White-Paper’• 25 Pages
  12. 12. Pens Down !!!• ‘White-Paper’• 25 Pages• Text, Screenshots & Code
  13. 13. Pens Down !!!• ‘White-Paper’• 25 Pages• Text, Screenshots & Code• Links to resources
  14. 14. Pens Down !!!• ‘White-Paper’• 25 Pages• Text, Screenshots & Code• Links to resources• ...
  15. 15. LiveBindings
  16. 16. LiveBindings What is LiveBindings ?
  17. 17. LiveBindings What is LiveBindings ?What can we use LiveBindings for ?
  18. 18. LiveBindings What is LiveBindings ?What can we use LiveBindings for ? How does it all work ?
  19. 19. LiveBindings What is LiveBindings ?What can we use LiveBindings for ? How does it all work ? Managed vs Unmanaged ?
  20. 20. LiveBindings What is LiveBindings ?What can we use LiveBindings for ? How does it all work ? Managed vs Unmanaged ? Demos ...
  21. 21. LiveBindings
  22. 22. LiveBindings What is LiveBindings ?
  23. 23. What isLiveBindings ?
  24. 24. What isLiveBindings ?In short ... a technique to bind Data to Objets or Components.
  25. 25. LiveBindings What is LiveBindings ?
  26. 26. LiveBindings What is LiveBindings ?What can we use LiveBindings for ?
  27. 27. What can we useLiveBindings for ?
  28. 28. What can we use LiveBindings for ?• Bind TDataSet data to a Component
  29. 29. What can we use LiveBindings for ?• Bind TDataSet data to a Component• Bind data from one component to another
  30. 30. What can we use LiveBindings for ?• Bind TDataSet data to a Component• Bind data from one component to another• Bind a combination of data using expressions to a property of an Object
  31. 31. LiveBindings What is LiveBindings ?What can we use LiveBindings for ?
  32. 32. LiveBindings What is LiveBindings ?What can we use LiveBindings for ? How does it all work ?
  33. 33. How does it Work ?
  34. 34. How does it Work ? • Source
  35. 35. How does it Work ? • Source • Source Expression
  36. 36. How does it Work ? • Source • Source Expression • Control
  37. 37. How does it Work ? • Source • Source Expression • Control • Control Expression
  38. 38. How does it Work ?
  39. 39. How does it Work ?SourceTPerson
  40. 40. How does it Work ? Source TPersonSource Expression FirstName
  41. 41. How does it Work ? Source Control TPerson TEditSource Expression FirstName
  42. 42. How does it Work ? Source Control TPerson TEditSource Expression Control Expression FirstName Text
  43. 43. How does it Work ? Source Control TPerson TEditSource Expression Control Expression FirstName Text Engine
  44. 44. LiveBindings What is LiveBindings ?What can we use LiveBindings for ? How does it all work ?
  45. 45. LiveBindings What is LiveBindings ?What can we use LiveBindings for ? How does it all work ? Managed vs Unmanaged ?
  46. 46. Managed vsUnmanaged
  47. 47. Managed vs Unmanaged• Unmanaged Bindings
  48. 48. Managed vs Unmanaged• Unmanaged Bindings • Automatic
  49. 49. Managed vs Unmanaged• Unmanaged Bindings • Automatic• Managed Bindings
  50. 50. Managed vs Unmanaged• Unmanaged Bindings • Automatic• Managed Bindings • You need to inform the LiveBindings engine of Changes.
  51. 51. LiveBindings What is LiveBindings ?What can we use LiveBindings for ? How does it all work ? Managed vs Unmanaged ?
  52. 52. LiveBindings What is LiveBindings ?What can we use LiveBindings for ? How does it all work ? Managed vs Unmanaged ? Demos ..
  53. 53. Demo 1
  54. 54. Demo 1Binding data from a TDataSet to Visual Controls.
  55. 55. Demo 2
  56. 56. Demo 2Binding properties from one component to properties of another component.
  57. 57. Expression ?
  58. 58. Expression ?• Functions
  59. 59. Expression ?• Functions • LowerCase(), UpperCase(), Round(), FormatDateTime(), StrToDateTime(), Format(), ToVariant(), ToStr(), Min(), Max()
  60. 60. Expression ?• Functions • LowerCase(), UpperCase(), Round(), FormatDateTime(), StrToDateTime(), Format(), ToVariant(), ToStr(), Min(), Max()• Operators
  61. 61. Expression ?• Functions • LowerCase(), UpperCase(), Round(), FormatDateTime(), StrToDateTime(), Format(), ToVariant(), ToStr(), Min(), Max()• Operators • + - * / ! = <> < <= =>
  62. 62. Expression ?• Functions • LowerCase(), UpperCase(), Round(), FormatDateTime(), StrToDateTime(), Format(), ToVariant(), ToStr(), Min(), Max()• Operators • + - * / ! = <> < <= => • nil, True, False, Pi
  63. 63. Demo 3
  64. 64. Demo 3 Binding properties of a TObjectdescendant created at run-time to TEdit and TLabel components
  65. 65. What can we useLiveBindings for ?
  66. 66. What can we use LiveBindings for ?• Bind TDataSet data to a Component
  67. 67. What can we use LiveBindings for ?• Bind TDataSet data to a Component• Bind data from one component to another
  68. 68. What can we use LiveBindings for ?• Bind TDataSet data to a Component• Bind data from one component to another• Bind a combination of data using expressions to a property of an Object
  69. 69. Stefaan Lesage
  70. 70. Stefaan Lesagewww.devia.bewww.twitter.com/StefaanLesagewww.linkedin.com/in/stefaanlesageStefaan_Lesage on Skype
  71. 71. Questions ?

×