#wordpress 2019-07-10

2019-07-10 UTC
[miklb], jgmac1106, [jk], [Michael_Beckwit, [Rose] and gRegorLove joined the channel
#
[Michael_Beckwit
i’m slowly growing legit curious what the conflicts are with Post Kinds and Gutenberg
gRegorLove joined the channel
#
[Michael_Beckwit
think i’m seeing what’s the holdup…complex metaboxes among some other things
wagle joined the channel
#
GWG
It isn't a priority for anyone right now. Probably will be eventually
#
[Michael_Beckwit
so much javascript
#
GWG
Yes
#
GWG
Not big on JS
#
GWG
Post Kinds has a simple JS file that imports data from a php endpoint
#
GWG
I have a plan to rebuild the kinds by defining their properties and letting the system build the form display.
#
[Michael_Beckwit
ok, just checked chat.indieweb and recognize your avatar there david. i use slack mostly here and just saw “GWG” for a nickname
#
[Michael_Beckwit
unless you’re alway GWG
#
GWG
It's my old freenode user name
#
GWG
I have not changed it
#
[Michael_Beckwit
good to know, i’ll keep that in mind going forward 😄
#
GWG
But the long term solution is not straightforward the way Blocks work
#
[Michael_Beckwit
just finished up ep8 of Indieweb podcast earlier, so i’m about half way through the episode list
globbot, [KevinMarks], ichoquo0Aigh9ie, wagle, wagle_, jgmac1106, [jgmac1106] and [Jay_Hoffmann] joined the channel
#
[Jay_Hoffmann]
I’m curious what people think of Gutenberg generally. I use it a ton in my day job, and after a bit of initial friction, it’s become a pretty nice interface to use. Still a bit rough around the edges, but a lot more flexibility. Not sure what the IndieWeb potential is there, other than hopefully getting people to blog more 🙂
#
GWG
The issue for me is how it stores data
#
GWG
Blocks are stored using HTML comments
#
GWG
So, this means that post content is not the same anymore
#
GWG
It's a data store
#
GWG
So, I considered something like this with microformats, but that would require a whole new editor...
#
GWG
With Gutenberg, you could use blocks to do this...
#
[Jay_Hoffmann]
So the comments are actually more flexible than you think, it is mostly HTML, so a blocks HTML might look like (I’m simplifying):
#
[Jay_Hoffmann]
<-- /core/paragraph -->
#
[Jay_Hoffmann]
<p>Text for a paragraph</p>
#
[Jay_Hoffmann]
<--- core/wp-paragraph -->
#
[Jay_Hoffmann]
```
#
[Jay_Hoffmann]
```
#
[Jay_Hoffmann]
Strip out the comments and it’s still just HTML. For more advanced data, it looks a bit different, but you can also store that in meta
#
GWG
I know
#
GWG
I just don't like the methodology
#
GWG
But the big reason I am not jumping on Gutenberg is I like PHP development
#
GWG
I don't want to be a JS developer
#
GWG
I got out of programming in the 90s because I am not visual
#
[Jay_Hoffmann]
Yea that’s fair. They’ve promised to make the server side blocks easier to use in the future, so hopefully that can help
#
GWG
I used to write DOS programs
#
[Jay_Hoffmann]
Yup, I totally understand the leap there. I’m sure you can get most of the way there with PHP, but if you ever need a bit of JS to bridge a gap, let me know. I’d be happy to help
#
GWG
I understand
#
GWG
If WordPress cared to, I wish they had prioritized adding a way to create blocks in PHP
#
GWG
But either way, it's not just my preference in language and design
#
GWG
It would be a big rewrite
#
GWG
So, not rushing
[zach], [KevinMarks], [eddie], [kimberlyhirsh], [grantcodes], Oxy[m] and [xavierroy] joined the channel
#
jgmac1106
storing metadata in html is a tried and failed method that is what scares me. I think some folks will love the new block editor approach and will figure out ways to adapt Indieweb building blocks, PHP developers may look for new homes where tried and true isn’t abandonded for new and flashy
[tantek], [schmarty], [benatwork] and gRegorLove joined the channel
#
GWG
Will concur
#
GWG
I try to compromise
[eddie], [snarfed], [KevinMarks], jgmac1106, [schmarty] and [jgmac1106] joined the channel
#
[jgmac1106]
Meant html comments of course... Be hidden blog post soon
jgmac1106, [KevinMarks], [wtmonroe], [eddie], [zach], chimo, AuHau[m]1, NatoBoram[m], swedneck[m]1 and prtksxna joined the channel