symfony and immobilienscout24.de - Dennis Benkert

3,740 views
3,665 views

Published on

This is a presentation from symfony Day Cologne 09 which was held by Rob Bors and Dennis Benkert. It shows the slides of Dennis Benkert's part.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,740
On SlideShare
0
From Embeds
0
Number of Embeds
61
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • symfony and immobilienscout24.de - Dennis Benkert

    1. 1. symfony and immobilienscout24.de What I will show Dennis Benkert: What I will show 1
    2. 2. symfony and immobilienscout24.de What I will show • How we integrated the IS24 API Dennis Benkert: What I will show 1
    3. 3. symfony and immobilienscout24.de What I will show • How we integrated the IS24 API • How we used YUI to create an AJAXified interface Dennis Benkert: What I will show 1
    4. 4. symfony and immobilienscout24.de What we had Dennis Benkert: How we integrated the IS24 API 2
    5. 5. symfony and immobilienscout24.de What we had • The IS24 API is an XML RPC based service Dennis Benkert: How we integrated the IS24 API 2
    6. 6. symfony and immobilienscout24.de What we had • The IS24 API is an XML RPC based service • IS24 provides a SDK which runs in PHP 4 and 5 Dennis Benkert: How we integrated the IS24 API 2
    7. 7. symfony and immobilienscout24.de What we needed Dennis Benkert: How we integrated the IS24 API 3
    8. 8. symfony and immobilienscout24.de What we needed • The ability to use the API like we know it from symfony Model classes Dennis Benkert: How we integrated the IS24 API 3
    9. 9. symfony and immobilienscout24.de What we needed • The ability to use the API like we know it from symfony Model classes • An object representation like in Propel Dennis Benkert: How we integrated the IS24 API 3
    10. 10. symfony and immobilienscout24.de What we needed • The ability to use the API like we know it from symfony Model classes • An object representation like in Propel • Simplify the way queries are send to the API Dennis Benkert: How we integrated the IS24 API 3
    11. 11. symfony and immobilienscout24.de How we achieved it Dennis Benkert: How we integrated the IS24 API 4
    12. 12. symfony and immobilienscout24.de How we achieved it • Added a layer on top of the SDK Dennis Benkert: How we integrated the IS24 API 4
    13. 13. symfony and immobilienscout24.de How we achieved it • Added a layer on top of the SDK • Created a task to generate the Model classes from definition files. Dennis Benkert: How we integrated the IS24 API 4
    14. 14. symfony and immobilienscout24.de How we achieved it • Made use of the internal hydration process to push the data into our Model classes Dennis Benkert: How we integrated the IS24 API 5
    15. 15. symfony and immobilienscout24.de How we achieved it call (e.g. getExpose()) build query Interlutions SDK call (e.g. getExpose()) IS24 SDK Wrapper result object send result send query (XML) IS24 API Dennis Benkert: How we integrated the IS24 API 6
    16. 16. symfony and immobilienscout24.de How we achieved it The SDK uses it‘s own hydration call (e.g. getExpose()) build query Interlutions SDK call (e.g. getExpose()) IS24 SDK Wrapper result object send result send query (XML) IS24 API Dennis Benkert: How we integrated the IS24 API 6
    17. 17. symfony and immobilienscout24.de How we achieved it The SDK uses it‘s own hydration call (e.g. getExpose()) build query Interlutions SDK call (e.g. getExpose()) IS24 SDK Wrapper result object We create proxies to send result the result objects send query (XML) IS24 API Dennis Benkert: How we integrated the IS24 API 6
    18. 18. symfony and immobilienscout24.de How we achieved it SDK Wrapper object Dennis Benkert: How we integrated the IS24 API 7
    19. 19. symfony and immobilienscout24.de How we achieved it SDK Wrapper object SDK object Dennis Benkert: How we integrated the IS24 API 7
    20. 20. symfony and immobilienscout24.de How we achieved it SDK Wrapper object SDK object Dennis Benkert: How we integrated the IS24 API 7
    21. 21. symfony and immobilienscout24.de How we achieved it SDK Wrapper object getPrice() SDK object Dennis Benkert: How we integrated the IS24 API 7
    22. 22. symfony and immobilienscout24.de How we achieved it SDK Wrapper object getPrice() SDK object Dennis Benkert: How we integrated the IS24 API 7
    23. 23. symfony and immobilienscout24.de How we achieved it SDK Wrapper object getPrice() SDK object $price Dennis Benkert: How we integrated the IS24 API 7
    24. 24. symfony and immobilienscout24.de What we needed Dennis Benkert: How we used YUI to create an AJAXified interface 8
    25. 25. symfony and immobilienscout24.de What we needed • An interface to generate configurations to show resultlists and multi step searches Dennis Benkert: How we used YUI to create an AJAXified interface 8
    26. 26. symfony and immobilienscout24.de What we needed • An interface to generate configurations to show resultlists and multi step searches • An extendable solution that won‘t block us for new features Dennis Benkert: How we used YUI to create an AJAXified interface 8
    27. 27. symfony and immobilienscout24.de What we had Dennis Benkert: How we used YUI to create an AJAXified interface 9
    28. 28. symfony and immobilienscout24.de What we had • YUI for the JavaScript and AJAX part Dennis Benkert: How we used YUI to create an AJAXified interface 9
    29. 29. symfony and immobilienscout24.de What we had • YUI for the JavaScript and AJAX part • A symfony application Dennis Benkert: How we used YUI to create an AJAXified interface 9
    30. 30. symfony and immobilienscout24.de What we had • YUI for the JavaScript and AJAX part • A symfony application • And some HTML Code Dennis Benkert: How we used YUI to create an AJAXified interface 9
    31. 31. symfony and immobilienscout24.de How we achieved it Dennis Benkert: How we used YUI to create an AJAXified interface 10
    32. 32. symfony and immobilienscout24.de How we achieved it • Used the ysfYUIPlugin Dennis Benkert: How we used YUI to create an AJAXified interface 10
    33. 33. symfony and immobilienscout24.de How we achieved it • Used the ysfYUIPlugin • Used unobtrusive JavaScript Dennis Benkert: How we used YUI to create an AJAXified interface 10
    34. 34. symfony and immobilienscout24.de How we achieved it • Used the ysfYUIPlugin • Used unobtrusive JavaScript • Seperated code into Model, View and Controller logic like Jamal MVC does (not exactly MVC) Dennis Benkert: How we used YUI to create an AJAXified interface 10
    35. 35. symfony and immobilienscout24.de How we achieved it Controller Model View Dennis Benkert: How we used YUI to create an AJAXified interface 11
    36. 36. symfony and immobilienscout24.de How we achieved it Get Controller information from event Model View Dennis Benkert: How we used YUI to create an AJAXified interface 11
    37. 37. symfony and immobilienscout24.de How we achieved it Get Register Model Controller information method to from event AJAX Model View Dennis Benkert: How we used YUI to create an AJAXified interface 11
    38. 38. symfony and immobilienscout24.de How we achieved it Get Register Model Fire AJAX Controller information method to request from event AJAX Model View Dennis Benkert: How we used YUI to create an AJAXified interface 11
    39. 39. symfony and immobilienscout24.de How we achieved it Get Register Model Fire AJAX Controller information method to request from event AJAX Get data from Model response View Dennis Benkert: How we used YUI to create an AJAXified interface 11
    40. 40. symfony and immobilienscout24.de How we achieved it Get Register Model Fire AJAX Controller information method to request from event AJAX Get data from Call View Model response method View Dennis Benkert: How we used YUI to create an AJAXified interface 11
    41. 41. symfony and immobilienscout24.de How we achieved it Get Register Model Fire AJAX Controller information method to request from event AJAX Get data from Call View Model response method Get data View handed over by Model Dennis Benkert: How we used YUI to create an AJAXified interface 11
    42. 42. symfony and immobilienscout24.de How we achieved it Get Register Model Fire AJAX Controller information method to request from event AJAX Get data from Call View Model response method Get data View handed over by Alter DOM Model Dennis Benkert: How we used YUI to create an AJAXified interface 11
    43. 43. symfony and immobilienscout24.de How we achieved it Dennis Benkert: How we used YUI to create an AJAXified interface 12
    44. 44. symfony and immobilienscout24.de Questions? Dennis Benkert 13

    ×