Skip to content

u/bopp

In this archive from Dec 2010 to Nov 2022

29
posts
645
comments
8
media
3.9k
score

I remember when they bumped PHP from `^5` to `^7` in DBAL 2.5 to 2.6. This caused our end users no small amount of trouble, because it had no overlap. I haven't looked closely at this one yet, but i hope it goes more smoothly.

2 points

> Honestly, it's a bit of shit show if you look at how it's implemented.

Nope, that's not supported out of the box. we've had it in previous versions, but it never worked well. For the reason you mentioned (fragile implementation) but also because we found that inevitable one of the clients _did_ want to change stuff, even though they said it wouldn't happen.

Now, we prefer to instead make a base setup (config, contenttypes, theme) and roll that out as many times as needed. Slightly more work up front, but prevents locking in. Upgrading is still `composer update`, so pretty easy.. But, your mileage may vary.

> Custom content fields allows us to easily create a new content type

Yes. those are defined in out contenttypes.yaml. Extensions can add new field types altogether, or you can create custom ones in your project's code.

1 points

Hi Tomas, thanks!

If I recall correctly, my colleague looked into converting it to Github actions, but we didn't persist. I think because it wasn't really faster, and it was breaking at least as often. At least with Travis you can restart _one_ of the builds, instead of all.

Here's what we had: https://github.com/bolt/core/pull/1575/files

But, that could've been because we're not that experienced with Github Actions. If you think it could work better and more reliable than Travis, a PR would be welcomed with open arms! ^_^

1 points

Good question. Extensions for Bolt 2 and 3 were quite cumbersome to develop..

This has been improved greatly in version 4. Since Bolt 4 is a true Symfony app, it makes it easier to familiarize with for SF-developers.
Extensions follow the exact same structure as a common Symfony app would. Autoloading and autowiring help a great deal, too.
Finally, we're piggybacking on Composer's distribution channels, so a Bolt extension is _literally_ just a composer package.

For a quick example, this is all the code you need for a working extension now: https://github.com/bolt/reference-extension/blob/master/src/Extension.php (and most of that is copy/paste boilerplate code).

So, to answer your question: I had the exact same concern when we started v4, and we saw a decline in external contributors for Bolt 3. We've put in a lot of effort to make that a more pleasurable experience in v 4.

15 points

> What are the biggest new features in the new version

Before it was an app built on Silex that happened to use a bunch of Symfony components. It's a true Symfony app now: the way it's structured, how it behaves, and how you - as a developer - can build upon it and extend it. So, it's been re-built from scratch, has a nice clean interface, and we've ensured it's logical and pleasant to use for editors.

> And what's your business model given that Bolt is free?

Mostly to make up for our own needs. We use Bolt to built websites / webapps for paying clients, which we do better with Bolt. Our intent is to grow it further as a fully Open Source CMS, to ensure longevity and continuity.

26 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.