< 092020-01-10⋎11 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
02:15*symbioquine has joined
02:17*symbioquine__ has quit (Ping timeout: 265 seconds)
05:30*JustTB has quit (Ping timeout: 258 seconds)
06:36*wimpertier[m] has joined
09:33*JustTB has joined
09:38*JustTB has quit (Quit: Leaving.)
10:01*JustTB has joined
11:19*svenn has joined
16:57*JustTB has quit (Ping timeout: 240 seconds)
17:13*farmBOT has joined
17:13*JustTB has joined
17:31*symbioquine has quit (Quit: Leaving)
18:03generalredneck[mPosting this event here as yall may be interested in it. twitter.com/decoupleddays
18:04mstenta[m]Thanks generalredneck ! Definitely need to get this on my calendar
18:04generalredneck[mCall for Papers is open
18:04mstenta[m]Great - I think jgaehring was looking into that already! :-)
18:06jgaehring[m]oh yea!
18:09generalredneck[mone of my co-workers helped get this thing rolling each year so he keeps us up to date. Jeff Tomlinson
18:11mstenta[m]oh cool!
18:12mstenta[m]Pedro Cambra (@pcambra on d.o) actually turned us on to this the other day!
18:12mstenta[m]Seems like a really good place to show what we're doing with Field Kit and get feedback from the larger community
18:13generalredneck[myeah and it's a sizable camp
18:15generalredneck[mI typically go to MidCamp in Chicago too as they are a pretty good camp but my baby's due date didn't let me this year. If you want somethign small but probably more along yalls users (education and farming community) there's Drupal Corn
18:15generalredneck[mthey usually only get 100-150 attendees though
18:18*JustTB has quit (Ping timeout: 265 seconds)
18:19mstenta[m]I've heard of Drupal Corn!
18:19mstenta[m]haha
18:19mstenta[m]seems like a great fit
18:19jgaehring[m]am I reading that right? Drupal Corn?
18:20mstenta[m]yup
18:20mstenta[m]2019.drupalcorn.org/
18:22generalredneck[myeah I had the same reaction first time... someone totally typoed DrupalCon :P
18:22generalredneck[mGoogle will tell you "Did you Mean DrupalCon" too which doesn't help :P
18:23mstenta[m]haha
18:23generalredneck[mUsed to be in Iowa City (kinda in the sticks) now it's in Des Moines which is a small step up... but Meredith Publishing is the biggest Drupal userbase around the area minus the colleges
18:24mstenta[m]neat
18:25mstenta[m]Maybe eventually farmOS will take over as the biggest Drupal userbase ;-)
18:25mstenta[m]#2020goals
18:26jgaehring[m]hahaha
18:27mstenta[m]Then we can make the "DrupalCorn" name more literal ;-)
18:27mstenta[m]haha
18:27*uploaded an image: image.png (149KB) < matrix.org/_matrix/media/r0/download/mat >
18:28*uploaded an image: image.png (124KB) < matrix.org/_matrix/media/r0/download/mat >
18:28generalredneck[mTrying to help... :P
18:29mstenta[m]Awesome!
18:29generalredneck[mThat would be for Agriculture.com FYI
18:30generalredneck[mSuccessful Farming magazine
18:30mstenta[m]Wow so cool
18:30jgaehring[m]oh super cool!
18:32*JustTB has joined
18:37mstenta[m]One thing I'm interested in thinking through with you @jgaehring:matrix.org is the possibility of some field modules being available directly in the farmOS server UI
18:38generalredneck[m☝️would love that
18:38mstenta[m]Reasoning: one of the big benefits of the field module work is that it provides a way for forms to be built in JS, instead of needing to know Drupal
18:39mstenta[m]We've talked about converting the existing Quick Forms to Field Modules...
18:39mstenta[m]But, some of them (and potentially more in the future) may not fit the "in the field" description - and are more useful in the office
18:39mstenta[m]Now... whether or not it makes sense to use the same framework, I'm not sure... maybe we just need more general support for Vue.js in farmOS/Drupal frontend
18:40mstenta[m]But I'd love to think that through in more detail soon
18:40jgaehring[m]> One thing I'm interested in thinking through with you @jgaehring:matrix.org is the possibility of some field modules being available directly in the farmOS server UI
18:40jgaehring[m]Oh yea, I've been thinking about that more with some of the proposed work we've been discussing lately (eg, generating input mixes from farmOS)
18:40generalredneck[mSee if you decoupled you wouldn' thave to pull anything into the Drupal UI... and leave the Drupal side of things for when someone has to configure stuff
18:40mstenta[m]If you recall, we've also discussed hosting Field Kit as a PWA directly in farmOS too, with the ability to toggle it open/closed
18:41mstenta[m]Yea - I mean... going further decoupled in farmOS 2.x is really worth considerring
18:41jgaehring[m]> Now... whether or not it makes sense to use the same framework, I'm not sure... maybe we just need more general support for Vue.js in farmOS/Drupal frontend
18:41jgaehring[m]oh interesting, yea, that could definitely be worth exploring
18:41mstenta[m]Still - using Views is a big win for the Drupal side, IMO
18:41generalredneck[myeah but you can pull in the views via JSON
18:41mstenta[m]true true
18:42mstenta[m]We do make use of Views exposed filters, CSV exports, etc a LOT too
18:42mstenta[m]Probably doesn't make sense to rebuild all of that
18:42generalredneck[mand there are far better charting technologies out there in straight JS than ones that have a "drupal" version.
18:42mstenta[m]So some stuff still makes sense to keep in the Drupal UI maybe
18:42mstenta[m]Yes yes! We would benefit a lot from all that
18:42generalredneck[myes... no... you can keep the functionality...
18:43mstenta[m]Perhaps a "progressively decoupled" approach
18:43generalredneck[mand just take advantage of import and what not...
18:43generalredneck[mI say that... you are right... the wizard part of that is useful
18:43mstenta[m]So the real question becomes where do we draw the lines and how do we make the JS code as reusable as possible to share between Field Kit and farmOS UI?
18:44mstenta[m]eg reusable component
18:44mstenta[m] * eg reusable components
18:44mstenta[m]but if we could share more of the field kit/field module architecture, that might be really useful
18:45mstenta[m]it would allow a JS developer to build features that could be either a field module, or a farmOS module, or both
18:45mstenta[m]using the same basic code
18:45mstenta[m]maybe?
18:45mstenta[m]lots of details to think about :-)
18:46jgaehring[m]I think I like the idea of there always being a "raw" Drupal-y interface that power users, admins or (maybe) farmOS Cert'd Technicians™ can access, but have a totally decoupled UI facing most farmers/farm managers/workers
18:47generalredneck[mwhen we "decouple" we always leave access to the Admin interface at the very least.
18:47generalredneck[mjust the main traffic goes to the react application url instead of /admin
18:49jgaehring[m]> So the real question becomes where do we draw the lines and how do we make the JS code as reusable as possible to share between Field Kit and farmOS UI?
18:49jgaehring[m]well, we started off structuring things pretty modularly in Field Kit, and how we do that has evolved, but we still have the networking logic pretty well self contained, and as we build out the component library more, that gives us plenty of opportunities to add Field Kit UI elements into farmOS incrementally
18:49jgaehring[m]> just the main traffic goes to the react application url instead of /admin
18:49jgaehring[m]ah, nice, that makes sense
18:49generalredneck[mand we add a link to the user login if they have a permission (since that's an api call you can make), and it will take them to the "drupal side" of things
18:51generalredneck[manother strategy that people do is host the decoupled app on the main domain (www for example) and then have the drupal side on admin.website.com or api.website.com
18:51generalredneck[mbut then you have the whole CORS thing to deal with :P
18:51mstenta[m]ah yea that's basically what we're doing now with farmOS.app
18:52mstenta[m]farmOS.app is the decoupled frontend, and each individual farmOS server has its own URL
18:52mstenta[m]but the focus has been on Field Kit being for "in the field" use
18:53mstenta[m]as we move forward, I think there's benefit to building some forms for "in the office" work using the same framework, if possible
18:53*uploaded an image: image.png (67KB) < matrix.org/_matrix/media/r0/download/mat >
18:53mstenta[m]hahaha
18:54mstenta[m]omg yea we spent a lot of time making that work
18:54mstenta[m](still are haha)
18:54generalredneck[mthere's no reason you can't have both farmos.app and a vue.js frontend at index on the drupal site too that share a library
18:54mstenta[m]that's true
18:54mstenta[m]that's sort of what i was thinking actually...
18:55generalredneck[mthe difference is you would do some detection of where you are and decide to expose the drupally bits :P
18:55mstenta[m]and maybe they could actually be the same codebase... and we just differentiate which field modules are enabled
18:55generalredneck[mthat too
18:55mstenta[m]one thought i had too: we could just display Drupal UI in the Vue.js app perhaps
18:55mstenta[m]maybe
18:56mstenta[m]like: even though it's intended to be used as an SPA, we could still use it as a wrapper in the farmOS Drupal theme
18:56generalredneck[mbah supid riot
18:56mstenta[m]so you load a page and it shows the Drupal UI inside the Field Kit wrapper
18:57mstenta[m]there are issues with that idea... but something to think about
18:57mstenta[m]yea it's going super slow right now :-(
18:57mstenta[m]my messages are lagging too
18:57generalredneck[mso... getting component HTML is easier via D8 than it is in D7
18:57generalredneck[mjsut FYI
18:58mstenta[m]ah yea! right... there are some good options available
18:58mstenta[m]so it could be an SPA
18:58mstenta[m]that loads blocks into it's layout via AJAX
19:06generalredneck[mwww.drupal.org/docs/8/modules/decoupled-
19:07mstenta[m]omg i love it
19:07mstenta[m]never ceases to amaze me how much the Drupal community has done
19:07mstenta[m]so... www.drupal.org/project/pdb
19:08mstenta[m]wow.
19:08mstenta[m]> This module is a javascript-framework-agnostic, progressive decoupling tool to allow custom blocks to be written by front end developers in the javascript framework of their choice, without needing to know any Drupal API's. It keeps individual components encapsulated in their own directories containing all the css, js, and template assets necessary for them to work, and using an info.yml file to declare these components
19:08mstenta[m]and their framework dependencies to Drupal.
19:08mstenta[m]😐
19:08mstenta[m]🙌
19:09generalredneck[myeah I can't vouche for it. cause I still work in D7 mostly. I could get with some of the build team and ask some questions but I by no means am an expert
19:09mstenta[m]jgaehring: perhaps this could be how we serve field modules to field kit in Drupal 8
19:10mstenta[m]as well as for farmOS server UI components
19:12mstenta[m]> yeah i can't vouche for it.
19:12mstenta[m]yea, looking closer... not very well maintained
19:12mstenta[m]but if it's simple that might not matter
19:12mstenta[m]only an alpha release currently
19:12jgaehring[m]oh interesting... trying to grok
19:12mstenta[m]but also: this might not be something we need a contrib module to do... it's probably a relatively simple thing to roll our own
19:13mstenta[m]if it makes sense to do that...
19:14generalredneck[mHonestly, for the most of the functionality you will want to stick to standard Vue... grab the info via rest... and go to town... this would be for something you can't/don't want to replicate functionality wise that Drupal supplies from best I can understand
19:14mstenta[m]right
19:15mstenta[m]true
19:15mstenta[m]cool! well every day i get more excited for d8 :-)
19:15mstenta[m]i've been very fastidious about adding contrib modules to farmOS in D7... to keep the barrier to upgrade low
19:16mstenta[m]it will be fun to consider pulling in some of the new stuff that's been developing out there :-)
19:17generalredneck[myeah... I have mixed feelings... doing a site I pull in as much contrib as possible because it's a chance to "give back" which is a company value at 4K
19:18generalredneck[mbut then I rarely have to think of... Well what's this gonna look like when we upgrade it... because when someone does an upgrade they want to clean house anyway
19:19generalredneck[mso I can see both sides of the fence on using contrib modules.
19:19mstenta[m]Yea agreed
19:19mstenta[m]And with sites they are all unique with lots of different requirements
19:20generalredneck[mand if I look at it with a crappy point of view... it means more work for me which == more $ :P
19:20generalredneck[mjob security!
19:20mstenta[m]Haha also true
19:21generalredneck[mwith you... not so much == less money because more dev
19:21mstenta[m]Yea exactly - my main equation these days is "more code == more to maintain"
19:22mstenta[m]But the distro/app vs site distinction is always exactly that difference I think
19:22mstenta[m]Sites are inherently complex because they are each one-of-a-kind
19:22mstenta[m](with the exception of multisite installs - but even then sometimes...)
19:23mstenta[m] * (with the exception of multisite installs - but even then a LOT of the time)
19:33*JustTB has quit (Ping timeout: 268 seconds)
19:47*JustTB has joined
23:29*JustTB has quit (Ping timeout: 240 seconds)

< 092020-01-10⋏11 >