Here’s a list of resources to get you started with DDEV and Drupal 9. As with setting up any new development (or production) environment there are a lot of moving parts and it take some time to get it all right. This list includes “HowTo” articles, tools, and documentation to get it all set up.
— After running ddev config and before running ddev start for the fist time use your favorite editor to edit .dev/config.yaml to the following:
This will setup DDEV with MySQL 8, PHP 8.1, Drupal 9, and Apache. This matches the dev environment that CALI is using for D9. Check the DDEV docs for more possibilities.
— The DDEV install includes the latest phpmyadmin to help with mysql admin. It’s available in a local browser at <projectName>.ddev.site:8036. Use phpmyadmin to load a dump of the D9 dev database.
— Once WSL2 is setup, use Ubuntu 20.04 to host DDEV.
— DDEV includes git so that’s a good way to manage Drupal. In the CALI world use git to grab a copy of the current D9 code base.
There’s plenty of articles out there explaining what the changes are (https://blog.chromium.org/2020/02/samesite-cookie-changes-in-february.html), why they’ve been done (https://www.troyhunt.com/promiscuous-cookies-and-their-impending-death-via-the-samesite-policy) and how to ‘theoretically’ fix them with simple code examples, but we haven’t stumbled upon many articles explaining ‘practical’ solutions to apply to a Drupal site to actually fix the issues that arise due to the stricter cookie policies implemented since the Chrome 80 release.
Source: How to fix the Chrome 80 cookies issue in Drupal
What a Drupal website for distance learning should be like? We will talk about technologies for students’ assignments, collecting statistics on the work done, functionality, Drupal modules, and distributions for its work.
Source: Drupal for e-Learning websites
Here’s a list of JS tour libraries that are open source and currently maintained. Tour libraries provide a way for site designers to create guides that will show the features of a website via a walk through of pop-up dialog boxes. They’re really handy for complex sites.
H5P empowers everyone to create, share and reuse interactive content – all you need is a web browser and a web site that supports H5P.
Source: Set up H5P for Drupal
Built on Drupal, the Getty Institute’s Getty Scholars’ Workspace provides a platform for art historians, and researchers in similar fields, to work collaboratively on multiple projects without having to use several different platforms.
A Drupal-based platform for collaborative research | Opensource.com https://opensource.com/education/16/3/getty-scholars-workspace
The platform includes scholar friendly features like importing Zotero files to create bibliographies and collaboration tools like forums and shared documents. If course it is Drupal so it’ll take some take configuration to get it going. With checking out.
Day 1 of DrupalCamp Altanta was a short day, just Friday afternoon, but there were plenty of excellent sessions on the agenda. I actually took a fair number of notes and picked up several ideas for making the Drupal sites I run, run better.
I started the afternoon with Building a Better Resource: Improving a Drupal Scholarly Journal Platform. This was a solid presentation by Dan Hansen and Jesse Karlsberg that covered a range of topics from migrating a legacy Drupal 6 site to Drupal 7 to capturing a scholarly journal workflow with the Maestro module. Of particular interest is some of the custom module work being done for the Southern Spaces site. These include a text section module that allows content creators to add section level navigation points into lengthy journal articles and juicebox inline that adds a WP-style shortcode for creating Juicebox Galleries easily. Finally work is being done to create a distribution for scholarly journals that would be useful for law reviews. Finally it’s worth noting that author’s submit articles to the journal via word processor files, not through the WYSIWYG editor.
Next up was Growth Hacking with Content, Marketing Automation & Drupal presented by Shellie Hutchens, the Director of Marketing at Mediacurrent. The focus here was on marketing automation and integrating Drupal sites with marketing platforms. The idea is to shape visitor experience on your site to engage the viewer and slowly gather information that can be used for highly targeted marketing whether it be sales, brand visibility, or higher levels of engagement. Mediacurrent supports the development of a number of marketing automation modules that tie Drupal to many popular marketing platforms.
to be continued…
Solr is an open source search server based on Apache Lucene. Lucene provides Java-based indexing and a search library, and Solr extends it to provide a variety of APIs and search functionality, including faceted search and hit highlighting, and handles Word and PDF document searching. It also provides caching and replication, making it scalable, robust, and very fast.
Happily, Solr also plays nicely with Drupal, the popular CMS platform. If you want fast and effective search on your Drupal site, installing Solr is a straightforward way of getting it quickly. Until this month, the Apachesolr Drupal module didnt support the current Solr 4.x schemas, but as of the very latest version of the Apachesolr module, 7.x-1.2, you can now set up Solr 4.x on your Drupal 7 site. This tutorial assumes that youre running Drupal 7.22 the most up-to-date version under Apache on a Linux box.
via How to set up Solr 4.2 on Drupal 7 with Apache.
If you running Drupal and have a lot of nodes to index and you’re not using Solr you’re missing out on a lot. Though it takes a bit of config to set up, using Solr to index and search your Drupal site is much better than the stock Drupal search.
These are my notes from dcATL.
- Josh Clark @globalmoxie
- The mobile future
- Mobile is a new platform. What do we do with the new platform?
- How do we do more with mobile?
- Sensors give us super powers.
- Mobile provides the opportunity to interpret the environment, think of augmented reality.
- Think of ways to use camera and audio in classroom, like prof mentions case and it pop ups on device.
- Table Drum app usess augmented audio.
- AnyTouch turns everyday objects into interface objects.
- Leap Motion moves touch interface into 3d space, natural gestures.
- Natural gestures are the next break through in interfaces.
- We need to design for natural gestures.
- Windows 8 is intended to work with any input interface. Hugely challenging.
- Medical field is using all sorts of special sensors with mobile devices to drive data collection.
- Personal sensors make sense of our environment.
- But we don’t need more operating systems, interfaces.
- Remote control is an answer.
- Ambiguous control among devices is coming, think of phones in cars. Your car rings. When you park the car, the interface follows you. Migrating interface.
- http://bit.ly/day-glass– A day made of glass from Corning.
- One smart device somewhere that is driven by ambiguous interfaces
- Wii U
- Grab Magic http://bit.ly/grab-magic
- Sifteo cubesare social toys.
- Download software as it needs it.
- Web is just in case, everything is loaded in case we need it. Needs to move to just in time, software loaded when we need it.
- Passive interfaces just work on their own, doing the things they need to do to perform the functions they are designed to do.
- Devices will get both dumber and smarter.
- Metadata is the new art direction – Ethan Resnick @studip101
- A cloud of social devices
- Look beyond the interface, beyond the device, the presentation to the content and the services.
- Push sensors
- Think social not FB
- Your ecosystem
- We’re all cloud developers
- Mind your metadata
- New input methods
- The future is here
- Eric Webb @erikwebb
- See slideshare
- Evaluating modules
- Supported version, maintainer rep, usage, # of open issues, usage over time.
- Record before and after install using Devel module
- Search for tag ” performance ” to weed out general issues.
- What to look at
- When does it run?
- How does it scale?
- What if it fails?
- Does my site care?
- Do I need this module?
- ID the problem
- Where problems occur
- Page building like views and panels
- External web services
- Overall complexity
- Views in panels in panels….
- Misconfigured components
- Keep records, establish a metric, adopt a definition of done, don’t hide behind infrastructure
- Types of caching
- App level caching is not really configurable. Tings like menus, forms
- Component level caching, user facing stuff like blocks, views, panels
- Best to speed up for authenticated users
- Page level caching is important mostly for anon users
- Configuring Drupal
- Perf page
- Block caching, not useful with OG
- Fast 404 in D7 since 404s are expensive
- Some modules
- 3rd party
- Randall Kent @randallkent firstname.lastname@example.org
- Web services as the tip of the iceberg.
- REST is the key to getting at the stuff in Drupal. REST is one way to create an API on Drupal.
- built on http
- Separates ui from data storage
- All info necessary to process request must be included in the request itself
- Uniform interface
- /myapi/node – gets XML
- /myapi/node.json – get JSON
- REST console for Chrome
- See http://drupanium.org
- Doug Vann dougvann.com
- Module filter is cool
- Makes rows of views draggable
- Can be rearranged by drag and drop
- Has AJAX
- No relationship required
- Could use this to provide a sort on Lesson topics based on order in the topic grid
- Use this to rearrange stuff on the topic list view itself on the home page
- No subsets or at least not easily handled
- Collect nodes in an arbitrary order
- Requires relationship in order to bring stuff into proper scope