3. Agenda
•
What's coming in Drupal 8 for…
o
o
o
•
•
•
o
End users and clients?
Site builders?
Designers and themers?
Developers?
...where possible, with live demos! :)
When can I use it?
What can I do now to prepare?
Tuesday, 10 December, 13
65. GETting data out of Drupal:
RESTful Web Services module
Tuesday, 10 December, 13
66. GETting data into Drupal: Guzzle
$client = Drupal::httpClient();
$config = Drupal::config('3rdparty.settings');
// Format arguments for passing in URL.
$arg = urlencode($argument);
// Pull data from 3rd party's REST API.
$api_key = $config->get('api_key');
$request =
$client->get("http://3rdparty.com/$arg/?key=$api_key");
// Get the response and do something with it.
$response = $request->send();
$json = $response->json();
...
Tuesday, 10 December, 13
73. When is "When it's ready?"
•
•
•
When we have 0
critical issues, we roll
a release candidate.
When we’ve shipped
a release candidate
that didn’t add new
criticals, we ship 8.0!
Hoping for 8.0
mid-2014, but still
lots to do.
Tuesday, 10 December, 13
74. Where do we need help?
•
•
•
•
•
•
•
•
Finish API conversions
Performance
Developer Experience
Migration path
DOCUMENTATION!
EXAMPLES!
TOOLS!
TESTING, TESTING,
TESTING!
https://drupal.org/contribute
Tuesday, 10 December, 13
75. When should I use Drupal 8?
Keep your eyes on https://drupal.org/project/usage/drupal:
Module Developer
Alphas, aka *right now*!
(still have time to
fix APIs!)
Tuesday, 10 December, 13
Early Adopter /
Launch in
mid-2014+
Late Adopter /
Launch in late
2014+
Betas/RCs
(~early-mid
2014)
Once these lines
cross
(~2015)
Conservative
Platform’s proven,
but community’s
looking forward to
Drupal 9.
76. New release proposal (in progress)
https://drupal.org/node/2135189
Tuesday, 10 December, 13
77. What about the upgrade path?
•
•
•
•
•
Work actively ongoing to add content migration
path from both D6 and D7 to D8 ("Migrate in
core"): https://groups.drupal.org/imp
To check status of contrib module upgrades,
see: https://drupal.org/project/upgrade_status
For help w/ custom module upgrades, see:
https://drupal.org/project/coder
To avoid upgrade pain, stick to well-vetted
contributed modules over custom code.
Other tips: https://www.acquia.com/blog/
getting-your-site-ready-drupal-8
Tuesday, 10 December, 13
78. D8 Readiness Resources
•
D8 Blogs – With “how-to” topics ranging from “This week
in Core”, OOP in D8, Migration, Spark and much more!
http://www.acquia.com/blog/drupal-8
•
D8 Webinars – Learn more about Multi-lingual, OOP etc in
D8 http://www.acquia.com/resources/recorded_webinars
•
D8 Live Panel Discussions with Google Hangouts – http://
•
D8 Updates – Get the latest and the greatest in D8 on our developer
page –
http://www.acquia.com/drupal-developers
www.acquia.com/resources/podcasts/acquia-podcast-93-power-php-meetmichelangelo-van-dam
65
Tuesday, 10 December, 13