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,279 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
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
9,279
On SlideShare
0
From Embeds
0
Number of Embeds
6,171
Actions
Shares
0
Downloads
89
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • Welcome ... I’m Stefaan Lesage and feel free to get a hold of me / talk to me during the course of the day. You can find me on Twitter @StefaanLesage\n
  • Our own Company, Software Development (mostly Delphi), but from time to time we also do some stuff with Media (Screencasts ...)\n
  • Our own Company, Software Development (mostly Delphi), but from time to time we also do some stuff with Media (Screencasts ...)\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Topics we will be discussing today\nMention that we will cover this shortly but use demos to show everything.\n
  • Topics we will be discussing today\nMention that we will cover this shortly but use demos to show everything.\n
  • Topics we will be discussing today\nMention that we will cover this shortly but use demos to show everything.\n
  • Topics we will be discussing today\nMention that we will cover this shortly but use demos to show everything.\n
  • Topics we will be discussing today\nMention that we will cover this shortly but use demos to show everything.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Some of the Advantages.\n
  • Some of the Advantages.\n
  • Some of the Advantages.\n
  • Some of the Advantages.\n
  • Some of the Advantages.\n
  • Bullet point 1 - Data-Aware controls ... explain that those don’t exist in FireMonkey\n
  • Bullet point 1 - Data-Aware controls ... explain that those don’t exist in FireMonkey\n
  • Bullet point 1 - Data-Aware controls ... explain that those don’t exist in FireMonkey\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Source = Where do we get our Data From\nSource Expression = How do we get that data from the source\nControl = Where doest our data need to go\nControl Expression = How do we get our data where it should go.\n
  • Source = Where do we get our Data From\nSource Expression = How do we get that data from the source\nControl = Where doest our data need to go\nControl Expression = How do we get our data where it should go.\n
  • Source = Where do we get our Data From\nSource Expression = How do we get that data from the source\nControl = Where doest our data need to go\nControl Expression = How do we get our data where it should go.\n
  • Source = Where do we get our Data From\nSource Expression = How do we get that data from the source\nControl = Where doest our data need to go\nControl Expression = How do we get our data where it should go.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Unmanaged = Old DataAware like binding ... Handled Automatically \nManaged bindings require that the LiveBindings engine by notified that a change has occurred, and this does not happen automatically. \n\n
  • Unmanaged = Old DataAware like binding ... Handled Automatically \nManaged bindings require that the LiveBindings engine by notified that a change has occurred, and this does not happen automatically. \n\n
  • Unmanaged = Old DataAware like binding ... Handled Automatically \nManaged bindings require that the LiveBindings engine by notified that a change has occurred, and this does not happen automatically. \n\n
  • Unmanaged = Old DataAware like binding ... Handled Automatically \nManaged bindings require that the LiveBindings engine by notified that a change has occurred, and this does not happen automatically. \n\n
  • The system is hard to explain, but everything will become a lot clearer with a few examples ....\n
  • The system is hard to explain, but everything will become a lot clearer with a few examples ....\n
  • The system is hard to explain, but everything will become a lot clearer with a few examples ....\n
  • The system is hard to explain, but everything will become a lot clearer with a few examples ....\n
  • The system is hard to explain, but everything will become a lot clearer with a few examples ....\n
  • The usual FishFacts demo.\n
  • The usual FishFacts demo.\n
  • In this demo we will use trackbars to spin a 3D image and use expressions to display values in a TLabel.\n
  • In this demo we will use trackbars to spin a 3D image and use expressions to display values in a TLabel.\n
  • Some of the functions you can use in expressions.\n
  • Some of the functions you can use in expressions.\n
  • Some of the functions you can use in expressions.\n
  • Some of the functions you can use in expressions.\n
  • Some of the functions you can use in expressions.\n
  • This is an experimental demo, since I’m not quite sure yet that this is the best approach.\n
  • This is an experimental demo, since I’m not quite sure yet that this is the best approach.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • 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 ?

    ×