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.
Drupal Services
Gold Sponsor ofDrupalCamp Kyiv 2011
Silver Sponsors ofDrupalCamp Kyiv 2011
Presentation plan    What is Services for?    Resources out-of-box.    Services API    Building REST interface with Se...
Architechture
Services 3.x    resource oriented (CRUD = create, retrieve,    update, delete, index)    different formatters (php, json...
Services 3.x resources    Node resource    Taxonomy vocabulary resource (getTree)    Taxonomy term resource (selectNode...
Services 3.x resources    File resource (CRUD) (nodeFiles)
Services 3.x hook_services_resources
Services 3.x hook_services_resources
Services 3.x REST server formattershttp://<your_domain>/<your_endpoint_path>/<your_resource_path>.<formatter>Standard: php...
Build REST interface    Implement CRUD functionality.     Use actions, relationships    resource/node/X/comments    Use...
Future of Services    Context objects    Entities    Views    Core
Tools & Resources    Poster https://addons.mozilla.org/en-US/firefox/addon/2691    Services Handbook    http://drupal.or...
QuestionsВаша фотка   email: yuri.gerasimov@gmail.com             twitter: ygerasimov             skype: yuriy_gerasimov  ...
Upcoming SlideShare
Loading in …5
×

Yuriy Gerasimov. Drupal Services. Integration with third party applications. iphone, android etc. DrupalCamp Kyiv 2011

2,749 views

Published on

This presentation is about current state and usage module Services. Main aim of the presentation is to give overview of the API of Services module and available instruments to build API for connection from other third party applications.

I have already given talk about Services. You can review my slides on http://www.slideshare.net/ygerasimov/drupalcafe4-kiev-services, http://www.slideshare.net/heyrocker/drupal-services-3-drupal-dev-days-2011-brussels

I will also share my experience building interface for iPhone applications we have built.

Presentation is for beginner, intermediate level developers but can be interested for everyone.

Темой этой презентации является модуль Services (drupal.org/project/services). Этот модуль позволяет создавать интерфейс для взяимодействия с сторонними приложениями например написанные под iPhone или для Android. Я расскажу про возможности и уже реализованный функционал модуля и поделюсь опытом создания REST интерфеса для iPhone приложения.

Вы можете так же ознакомиться с уже существующими слайдами предыдущих презентаций на эту тему http://www.slideshare.net/ygerasimov/drupalcafe4-kiev-services, http://www.slideshare.net/heyrocker/drupal-services-3-drupal-dev-days-2011-brussels

Презентация расчитана на начальный и средний уровень разработчиков (на презнетации будет код). Но думаю, будет так же полезно послушать всем.

Published in: Technology, News & Politics
  • Be the first to comment

  • Be the first to like this

Yuriy Gerasimov. Drupal Services. Integration with third party applications. iphone, android etc. DrupalCamp Kyiv 2011

  1. 1. Drupal Services
  2. 2. Gold Sponsor ofDrupalCamp Kyiv 2011
  3. 3. Silver Sponsors ofDrupalCamp Kyiv 2011
  4. 4. Presentation plan What is Services for? Resources out-of-box. Services API Building REST interface with Services Future of Services
  5. 5. Architechture
  6. 6. Services 3.x resource oriented (CRUD = create, retrieve, update, delete, index) different formatters (php, json, jsonp, xml, ...) separate endpoints (exportable to features)
  7. 7. Services 3.x resources Node resource Taxonomy vocabulary resource (getTree) Taxonomy term resource (selectNodes) User resource (login, logout, register) Comment resource (loadNodeComments, countAll, countNew) System resource (no CRUD) (connect, get_variable, set_variable)
  8. 8. Services 3.x resources File resource (CRUD) (nodeFiles)
  9. 9. Services 3.x hook_services_resources
  10. 10. Services 3.x hook_services_resources
  11. 11. Services 3.x REST server formattershttp://<your_domain>/<your_endpoint_path>/<your_resource_path>.<formatter>Standard: php, json, jsonp, xml, yaml, bencode (see RESTServerViewBuiltIn)
  12. 12. Build REST interface Implement CRUD functionality. Use actions, relationships resource/node/X/comments Use aliases if needed. Write unit tests (TDD)
  13. 13. Future of Services Context objects Entities Views Core
  14. 14. Tools & Resources Poster https://addons.mozilla.org/en-US/firefox/addon/2691 Services Handbook http://drupal.org/handbook/modules/services Tests A future for Services. http://goodold.se/blog/tech/future- services-3x Groups http://groups.drupal.org/services
  15. 15. QuestionsВаша фотка email: yuri.gerasimov@gmail.com twitter: ygerasimov skype: yuriy_gerasimov d.o.: http://drupal.org/user/257311

×