Web News

Waze for Android Auto now works on your smartphone's display - Roadshow

Webware - Thu, 07/19/2018 - 7:34pm
Drivers who prefer to use Android Auto on their phone's display can now choose Waze for navigation.
Categories: Web

Comic-Con 2018: All things DC, from Aquaman to Wonder Woman - CNET

Webware - Thu, 07/19/2018 - 7:31pm
With Marvel having a relatively minor presence at San Diego Comic-Con 2018, it was DC's time to shine.
Categories: Web

George R.R. Martin's Nightflyers Comic-Con trailer full of space screams - CNET

Webware - Thu, 07/19/2018 - 7:24pm
Coming from the mind of George R.R. Martin, you know this new SyFy TV series he calls "Psycho in space" isn't going to be a serene mission.
Categories: Web

Confirmed: 2018 MacBook Pro keyboard resists dust -- to a point - CNET

Webware - Thu, 07/19/2018 - 7:22pm
Even though Apple told us differently.
Categories: Web

Report: Why Amazon crashed on Prime Day and how it responded - CNET

Webware - Thu, 07/19/2018 - 7:17pm
The company couldn't handle the surge in traffic during its biggest shopping event.
Categories: Web

Facial recognition helped identify suspects in Novichok poisoning case - CNET

Webware - Thu, 07/19/2018 - 7:04pm
The controversial tech may be useful in chasing criminals.
Categories: Web

New Doctor Who era will be more inclusive, cast says at Comic-Con - CNET

Webware - Thu, 07/19/2018 - 6:37pm
At Comic-Con 2018, the Doctor Who cast and showrunners emphasize this Doctor is for everyone.
Categories: Web

CNET Member Asks: Would you consider a BlackBerry phone today? - CNET

Webware - Thu, 07/19/2018 - 6:16pm
Longtime BlackBerry user and CNET member Nate650 wants to know whether or not you would consider using a BlackBerry phone today.
Categories: Web

Comic-Con 2018: Star Trek Discovery costumes, weapons and art - CNET

Webware - Thu, 07/19/2018 - 6:11pm
Brace yourself for Star Trek Discovery's second season with a look back at some (spoiler-filled) costumes from the Mirror Universe and beyond.
Categories: Web

How Facebook operations got 10 times faster while getting 10 times bigger - CNET

Webware - Thu, 07/19/2018 - 5:53pm
Turns out it's hard to run a social network with 2.2 billion people.
Categories: Web

Attackers used phony Microsoft site to target 2018 political candidates - CNET

Webware - Thu, 07/19/2018 - 5:50pm
But Microsoft says it saved the day.
Categories: Web

Marvel's Spider-Man on PS4: Everything we know about Spidey's new game - CNET

Webware - Thu, 07/19/2018 - 5:41pm
The PlayStation 4-exclusive Spider-Man game looks amazing, and you'll be playing it this September. Here's what you need to know.
Categories: Web

CNET Member Asks: Submit your questions to be featured on our site - CNET

Webware - Thu, 07/19/2018 - 5:36pm
Have some questions that just need answering? Submit them here and have the CNET community respond.
Categories: Web

CNET’s 12 favorite Twilight Zone episodes - CNET

Webware - Thu, 07/19/2018 - 5:26pm
The original Twilight Zone aired 156 episodes between 1959-1964. Here's a good place to start.
Categories: Web

How to get caught buying drugs on Venmo: This Twitter bot - CNET

Webware - Thu, 07/19/2018 - 5:01pm
Follow @venmodrugs.
Categories: Web

Drupal blog: How Drupal continues to evolve towards an API-first platform

Web - Thu, 07/19/2018 - 3:10pm

It's been 12 months since my last progress report on Drupal core's API-first initiative. Over the past year, we've made a lot of important progress, so I wanted to provide another update.

Two and a half years ago, we shipped Drupal 8.0 with a built-in REST API. It marked the start of Drupal's evolution to an API-first platform. Since then, each of the five new releases of Drupal 8 introduced significant web service API improvements.

While I was an early advocate for adding web services to Drupal 8 five years ago, I'm even more certain about it today. Important market trends endorse this strategy, including integration with other technology solutions, the proliferation of new devices and digital channels, the growing adoption of JavaScript frameworks, and more.

In fact, I believe that this functionality is so crucial to the success of Drupal, that for several years now, Acquia has sponsored one or more full-time software developers to contribute to Drupal's web service APIs, in addition to funding different community contributors. Today, two Acquia developers work on Drupal web service APIs full time.

Drupal core's REST API

While Drupal 8.0 shipped with a basic REST API, the community has worked hard to improve its capabilities, robustness and test coverage. Drupal 8.5 shipped 5 months ago and included new REST API features and significant improvements. Drupal 8.6 will ship in September with a new batch of improvements.

One Drupal 8.6 improvement is the move of the API-first code to the individual modules, instead of the REST module providing it on their behalf. This might not seem like a significant change, but it is. In the long term, all Drupal modules should ship with web service APIs rather than depending on a central API module to provide their APIs — that forces them to consider the impact on REST API clients when making changes.

Another improvement we've made to the REST API in Drupal 8.6 is support for file uploads. If you want to understand how much thought and care went into REST support for file uploads, check out Wim Leers' blog post: API-first Drupal: file uploads!. It's hard work to make file uploads secure, support large files, optimize for performance, and provide a good developer experience.

JSON API

Adopting the JSON API module into core is important because JSON API is increasingly common in the JavaScript community.

We had originally planned to add JSON API to Drupal 8.3, which didn't happen. When that plan was originally conceived, we were only beginning to discover the extent to which Drupal's Routing, Entity, Field and Typed Data subsystems were insufficiently prepared for an API-first world. It's taken until the end of 2017 to prepare and solidify those foundational subsystems.

The same shortcomings that prevented the REST API to mature also manifested themselves in JSON API, GraphQL and other API-first modules. Properly solving them at the root rather than adding workarounds takes time. However, this approach will make for a stronger API-first ecosystem and increasingly faster progress!

Despite the delay, the JSON API team has been making incredible strides. In just the last six months, they have released 15 versions of their module. They have delivered improvements at a breathtaking pace, including comprehensive test coverage, better compliance with the JSON API specification, and numerous stability improvements.

The Drupal community has been eager for these improvements, and the usage of the JSON API module has grown 50% in the first half of 2018. The fact that module usage has increased while the total number of open issues has gone down is proof that the JSON API module has become stable and mature.

As excited as I am about this growth in adoption, the rapid pace of development, and the maturity of the JSON API module, we have decided not to add JSON API as an experimental module to Drupal 8.6. Instead, we plan to commit it to Drupal core early in the Drupal 8.7 development cycle and ship it as stable in Drupal 8.7.

GraphQL

For more than two years I've advocated that we consider adding GraphQL to Drupal core.

While core committers and core contributors haven't made GraphQL a priority yet, a lot of great progress has been made on the contributed GraphQL module, which has been getting closer to its first stable release. Despite not having a stable release, its adoption has grown an impressive 200% in the first six months of 2018 (though its usage is still measured in the hundreds of sites rather than thousands).

I'm also excited that the GraphQL specification has finally seen a new edition that is no longer encumbered by licensing concerns. This is great news for the Open Source community, and can only benefit GraphQL's adoption.

Admittedly, I don't know yet if the GraphQL module maintainers are on board with my recommendation to add GraphQL to core. We purposely postponed these conversations until we stabilized the REST API and added JSON API support. I'd still love to see the GraphQL module added to a future release of Drupal 8. Regardless of what we decide, GraphQL is an important component to an API-first Drupal, and I'm excited about its progress.

OAuth 2.0

A web services API update would not be complete without touching on the topic of authentication. Last year, I explained how the OAuth 2.0 module would be another logical addition to Drupal core.

Since then, the OAuth 2.0 module was revised to exclude its own OAuth 2.0 implementation, and to adopt The PHP League's OAuth 2.0 Server instead. That implementation is widely used, with over 5 million installs. Instead of having a separate Drupal-specific implementation that we have to maintain, we can leverage a de facto standard implementation maintained by others.

API-first ecosystem

While I've personally been most focused on the REST API and JSON API work, with GraphQL a close second, it's also encouraging to see that many other API-first modules are being developed:

  • OpenAPI, for standards-based API documentation, now at beta 1
  • JSON API Extras, for shaping JSON API to your site's specific needs (aliasing fields, removing fields, etc)
  • JSON-RPC, for help with executing common Drupal site administration actions, for example clearing the cache
  • … and many more
Conclusion

Hopefully, you are as excited for the upcoming release of Drupal 8.6 as I am, and all of the web service improvements that it will bring. I am very thankful for all of the contributions that have been made in our continued efforts to make Drupal API-first, and for the incredible momentum these projects and initiatives have achieved.

Special thanks to Wim Leers (Acquia) and Gabe Sullice (Acquia) for contributions to this blog post and to Mark Winberry (Acquia) and Jeff Beeman (Acquia) for their feedback during the writing process.

Categories: Web

Lullabot: Introducing Contenta JS

Web - Thu, 07/19/2018 - 11:37am

Though it seems like yesterday, Contenta CMS got the first stable release more than a year ago. In the meantime, the Contenta CMS team started using Media in core; improved Open API support; provided several fixes for the Schemata module; wrote and introduced JSON RPC; and made plans to transition to the Umami content model from Drupal core. A lot has happened behind the scenes. I’m inspired to hear of each new instance where Contenta CMS is being used both out-of-the-box and as part of a custom decoupled Drupal architecture. Both use cases were primary goals for the project. In many cases, Drupal, and hence Contenta CMS, is only part of the back-end. Most decoupled projects require a nodejs back-end proxy to sit between the various front-end consumers and Drupal. That is why we started working on a nodejs starter kit for your decoupled Drupal projects. We call this Contenta JS.

Until now, each agency had their own nodejs back-end template that they used and evolved in every project. There has not been much collaboration in this space. Contenta JS is meant to bring consistency and collaboration—a set of common practices so agencies can focus on creating the best software possible with nodejs, just like we do with Drupal. Through this collaboration, we will be able to get features that we need in every project, for free. Today Contenta JS already comes with many of these features:

  • Automatic integration with the API exposed by your Contenta CMS install. Just provide the URL of the site and everything is taken care of for you.
    • JSON API integration.
    • JSON RPC integration.
    • Subrequests integration.
    • Open API integration.
  • Multi-threaded nodejs server that takes advantage of all the cores of the server’s CPU.
  • A Subrequests server for request aggregation. Learn more about subrequests.
  • A Redis integration via the optional @contentacms/redis.
  • Type safe development environment using Flow.
  • Configurable CORS.
undefined

Watch the introduction video for Contenta JS (6 minutes).

Videos require iframe browser support.

Combining the community’s efforts, we can come up with new modules that do things like React server-side rendering with one command, or a Drupal API customizer, or aggregate multiple services in a pluggable way, etc.

Join the #contenta Slack channel if this is something you are passionate about and want to collaborate on it. You can also create an issue (or a PR!) in the GitHub project. Together, we can make a holistic decoupled Drupal backend from start to end.

Originally published at humanbits.es on July 16, 2018.

Categories: Web

Comic-Con 2018: Watch the first trailer for DC’s Titans - CNET

Webware - Thu, 07/19/2018 - 10:37am
Get your first look at DC’s latest Teen Titans adaptation, coming exclusively to its streaming platform.
Categories: Web

Comcast ends bidding war with Disney for Fox, will focus on Sky - CNET

Webware - Thu, 07/19/2018 - 10:26am
Fox has already agreed to Disney's $71.3 billion offer for its entertainment assets.
Categories: Web

Xiaomi Mi Max 3 goes bigger on battery and screen - CNET

Webware - Thu, 07/19/2018 - 10:23am
And dual cameras, too, of course.
Categories: Web

Pages