Stephen Ficklin, Shawna Spoor, WSU
Lacey Sanderson, USASK
Andrew Farmer, LIS
Meg Staton, UTK
Abdullah Almsaeed, UTK
Bradford Condon, UTK
Sook Jung, WSU
Sean Buehler, UConn
Blake Inderski, USDA-ARS
Ethy Cannon, ISU
-
Tripal v3.0 full release imminent! -- just working on some last minute fixes and testing.
-
Future of Tripal Discussion
-
Andrew Farmer:
-
Would like to continue to integrate with Tripal community and co-ordinate and co-develop and use what others develop.
-
Faced with the problem: don't want to build websites that are tied into a single framework technology.
-
-
Ethy Cannon
-
Some sites have very little resources (few developers). But don't have time to learn Drupal 8/Tripal 3.
-
Lacking developer capacity makes people reliant on Tripal community to help build tools.
-
Worried Tripal is getting locked into old technologies in being tied with Drupal
-
Main developers of Tripal are extremely skilled with Drupal but for those without those skills it can be very challenging. Especially or adding customizations.
-
Drupal should be easier to integrate with non Drupal technology.
-
Worried that being tied with a 3rd party framework you are at the mercy of what those developers do?
-
Bradford: We are always stuck with some framework
-
Andrew: We want to adopt what was developed and piece together what works. Not only don’t want to be tied to a single framework, they often don’t have that luxury
-
Ethy: Having a website built inside of a monolithic framework that doesn't easily support integration with other tools is a problem.
-
Meg: Working with a single framework is it helps manage permissions, and easier to manage cross site-searching. Having multiple components all strung together complicates systems administration.
-
Andrew: containers may be able to help with this.
-
Lacey: also want to provide a consistent user experience. I believe this is key for users being able to learn/navigate a given resource. The user shouldn’t need to care about there being different pieces underneath the website -searching and navigating should be seamless
-
Andrew: a consistent user experience may not be as important for users who have to use multiple sites, because switching across sites causes inconsistent user experience.
-
-
-
-
Sook asks Andrew about his experience
-
Phylotree viewer and expression work that integrates with Tripal
-
Genome Context Viewer: JavaScript / Python -- developers are talented in those skill sets. He doesn't think it's a good use of their time to relearn Drupal/PHP when they are skilled in technologies that can already work.
-
-
Bradford: What is Tripal?
-
Chado + Drupal = Tripal… To make Tripal platform agnostic may be more than our group can handle. He thinks if we change it would be a framework change.
-
Ethy: Chado is a difficult schema to work with. Tripal should be driving Chado and defining how data is mapped into Chado. She's interested in an approach that allows Tripal to provide functions to Chado but allow for other technologies (including Drupal)
-
Meg: Anthony wrote a Python loader for Chado
-
Bradford: Is understanding Ethy's desire to decouple the Chado integration from the Drupal code. He agrees that Tripal does bring a common interface to Chado. The perception is that Tripal is an API to Chado.
-
Meg: It is doable to separate out Chado code as a "library". Do we want a "headless" Drupal or a lower-level library that decouples Tripal from Drupal.
-
Bradford: Are we trying to move away from Chado? (consensus is no).
-
Andrew: A service layer may be good enough.
-
Bradford: object with this may be that if he writes a module he can now only share the Tripal part and not the Drupal part. Decoupling the code may limit how much we can share. Would decoupling create more work to maintain?
-
Ethy: if the framework uses the tool then you take the framework with it. If you bring in lots of different tools with you have to manage all those tools.
-
Lacey: It's harder to collaborate with others if everyone has different approaches with different frameworks.
-
-
-
Do Tripal v3 web services provide the ability to decouple?
-
Stephen: too slow at this point, need to improve performance
-
Lacey: can’t post data through web services
-
-
Thoughts:
-
Lacey: wants to stay with Drupal and does not want to re-write site in another platform. But she is warming to the idea of that Tripal could be used without needing to work in Drupal. That may help with learning curves because it keeps people out of Drupal-land. But it is not a full decoupling.
-
Ethy: will be difficult to move away from PHP (she would like to learn a new language, however).
-
-
Stephen: In a conversation with Dorrie she indicated she wants Tripal to stay with Drupal.
-
Sook: would be too difficult to leave Drupal because of all the infrastructure already built.
-
-
-
Stephens proposal:
-
Break Tripal in ½: that related to data storage into a PHP library and then maintain the Drupal module for the front-facing and integration
-
We need our community! We need to support flexibility to keep our community.
-
But we also need the common language and framework for when we are between or low in funding. We need to share modules and development effort.
-
-
Lacey: focus how to make Tripal to truly integrate 3rd Party software. (i.e JBrowse, Django, etc.) How to have a consistent interface.
-
Ethy agrees (150%).
-
-
Lacey: regarding switching languages or frameworks just to chase what is most popular should be considered heavily. We cannot switch from language to language over time.
-
Lacey's Proposal: Take existing classes for Tripal v3 and use those to form the basis of a PHP Tripal library. Then when we move to Drupal 8 it may make the upgrade easier. It can still provide a middle layer that folks can learn and avoid the Drupal layer. Lacey loves what Drupal allows you to do despite its difficulties.
-
Lacey: would a Tripal PHP library help with development in your group, Andrew?
-
Andrew: Language is important. What is built into the language is important. The Tripal and Chado loaders don't behave the same way. Anthony has had issues with the PHP loader and so he created the Python loader. His group is not excited about PHP. He's not sure a PHP library would increase the utilization of it.
-
Ethy: If we do a middle or sub-layer it should be in an object oriented language and PHP is not object oriented. It's object-capable. It can cause trouble. She thinks it's not safe.
-
-
Discussion about using python for the middle layer
-
Ethy: feels it’s sufficiently close to PHP to make learning it easier for PHP guru
-
Lacey: worried about how do we actually integrate between python and PHP. If this is done with web services, I worry about performance. Is there an alternative to make the integration of php
-
Looks like PHP+Python is not a new concept, for example: https://www.csh.rit.edu/~jon/projects/pip/
-
-
Stephen: provides closer integration with python groups (e.g. Anthony’s group, Andrew’s group). Closer integration perhaps with the galaxy community. There might be some help from Andrew’s group for such an endeavour
-
Bradford: perhaps we should be talking about wrapping the PHP for use by python users. Similar to Anthony’s work
-
Reason being: the core tripal people use and enjoy PHP
-
We shouldn't switch languages to appeal to people on a “if you build it they will come” philosophy
-
-
Main counterpoint: PHP is not great with object oriented.
-
PHP does not enforce standard object oriented rules: too loosely typed. This causes issues with inheritance
-
-
Steve: maybe not so much a focus on object oriented but more with the monolithic approach to Drupal where it's not clear “what to do where” in development.
-
Bradford: MVC
-
Andrew: has heard good things about newer PHP frameworks.
-
Lacey would prefer that we stick with PHP because it is easiest to maintain what we already have. If we feel OO capabilities are sufficient then let's stick with PHP.
-
Bradford: he feels the scientific community is more interested in learning Python.
-
Specifically they are biologists and can use python down the road for scientific computing, less so for PHP. Similar to Andrew’s comment below.
-
-
Andrew: A small non-profit organization and so folks float between different tasks that are not just focused on web development. Python seems to cross multiple domains.
-
Ethy: informatics students are typically working in Python. There is no reason an informatics student shouldn't be writing modules for Tripal and if that's their language we should accommodate.
-
-
-
Bradford: If we are leaning towards a middle layer Tripal. Does really satisfy the issues we're facing?
-
Ethy: whatever we decide to do, we should do a proof of concept to see if it works before we jump in wholesale. Lacey especially agrees.
-
Stephen: proof of concept: move GFF to middle layer
-
Ethy: have these type of activities at our annual hackathon.
-
Lacey: better POC would be modeling entities/fields in the middle layer and get Drupal to render it. Expose only one type of data type and it's fields.
-
Let's do POC with Drupal 8.
-
-
What would the Proof of Concept look like:
-
Tripal Middle Layer
-
Language: Python.
-
Abstracts communication with data storage
-
Provides a Chado layer
-
-
Provides some sort of service for use with Drupal
-
Use Case:
-
Provides Entities/Fields for a gene.
-
Easier for researchers who might prefer Python to write modules.
-
Supports those who want to stay in Drupal without impeding their ability to maintain their sites.
-
-
-
Tripal Drupal 8 Module
-
Consumes the services from the Tripal layer.
-
A PHP wrapper for existing API
-
Timeline
Sept 17th: call to form a group of folks who want to work on POC.
November 15th: revisit and see how it's going.
January 2019 PAG hackathon would be to implement Tripal 4 based on results on the proof of concept.