In this episode of the Elixir Mentor Podcast, I'm joined by Leandro Pereira, one of the key developers behind Beacon CMS. Leandro discusses Beacon, a cutting-edge content management system built with Phoenix LiveView that aims to deliver high performance without compromising productivity. We explore how Beacon leverages Phoenix to boost rendering speeds and enhance SEO performance, even for content-heavy pages. Leandro shares insights into Beacon's core components, including its LiveView UI for resource management and the upcoming drag-and-drop page builder for non-technical users. Our conversation covers Beacon's innovative approach to web development, its open-source nature, and the project's journey towards a stable release. This episode offers valuable perspectives for Elixir developers interested in modern CMS solutions and the future of web development in the Elixir ecosystem. #ElixirLang #BeaconCMS #PhoenixLiveView #webdevelopment Connect with Leandro: X: https://x.com/leandrocesquini Website: https://leandrocp.com.br/ BeaconCMS GitHub: https://github.com/BeaconCMS SUPPORT ELIXIR MENTOR 🌐 My website: https://elixirmentor.com/ 🎙 Check out my podcast: https://www.hiredgunapps.com/podcast 🆘 NEED HELP?? Join the Discord Server: https://discord.gg/HcnjPsWATg 🔗 All my Links: https://linktr.ee/jacob_luetzow
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Testing Secure your Elixir apps with paraxial IO. From code analysis and bot defense to dependency checks, they've got you covered. Elixir first design with GitHub integration. Elevate your security at paraxial dot IO. Hey, what's up? I'm Jacob Blitzo, your Elixir mentor and welcome to another exciting episode of the Elixir Mentor Podcast. This is where we discuss everything related to Elixir,
from interviews with enthusiasts, pioneers in the community to innovative projects and library shaping. Elixir's future. Today, I'm excited to welcome Leandro Pierre Era, a key developer of Beacon CMS. It's a content management system built with Phoenix Live view. Thank you so much and welcome to the show, Leandro. I really appreciate you being here. You want to just give yourself a quick introduction. Yeah, sure. Thanks for having me. I'm really excited to talk about Beacon and well, I've been
leading the Beacons Ms. project for, you know, about two years now. And it's a, like I said, it's a Phoenix live view Ms. and just a bit of about myself. I have been to programming for well, for some time now for a few years. And I started with Phoenix actually Elixir when Elixir was, you know, in the early days of Elixir also started with Phoenix and live view in the early days
and have been contributing to, you know, trying to contribute to, to the community and now working with Beacon. That's awesome. What? So what, where did you come from? What led you to finding Elixir? If you you sound like you're a pretty early adopter of it, Where were you before that? Well, OK, so going back in time, I used to work with Ruby.
I didn't. I did not start with web development. I started with CC Plus Plus and desktop applications back in the day. And then I had some time with PHP and WordPress, which was like for me was like the, you know, some wow moment when I discovered PHP and web development and also WordPress. It was like, you know, huge innovation for me. I mean, WordPress, whether you like it or not, WordPress was an
innovation, right? And, and then eventually I start working with Ruby and, well, I'm from Brazil. So when I figure out there was a Brazilian working in the real Rios carting, you know, just I was working on the, on the Rios carting back in the day. And that was kind of the, you know, my interest in Elixir was because of chosen, you know, and
chosen being Brazilian as well. And then when I started learning Elixir, that was another moment that was like, Hey, this is special. This is something, this is different, right? Elixir, it looks like Ruby, but it's way different that that was another wall moment for me. And that was when I started, you know, learning about Elixir. And that was in 10 years ago, maybe was a long time ago.
Elixir was just a baby. And I started using Elixir in a, a small project professionally. But this project didn't, you know, this project eventually died and then I came back to Ruby for a few years and then I started using, you know, Elixir, Phoenix and especially Phoenix live view in, you know, about 2018 now. So you know early days of
Phoenix and Live View and and you know I have been working with Phoenix and Live View full time since then. That's awesome. That's amazing. Yeah, I I found Elixir in Phoenix live view in like 2021, maybe 2020 and I haven't I haven't gone back to the JavaScript days yet. Yeah, you're lucky. Well, I mean, it's not easy. Like I just have tried to force myself to have projects in Elixir.
So I just, yeah, I don't know if it's the smartest move. It's probably been a harder, more difficult path for me, but once you start, you kind of get hooked. Like I love just the Elixir ecosystem and syntax. It's fun to write versus just having to write it right. Yeah, I, I do love the syntax, but it, it was kind of a problem for me in the beginning because it felt like Ruby, but it's not Ruby. And you know, the first maybe
1-2 projects in Elixir was messy. Like was not a good project because I was trying to module like OP into Elixir, like trying to write Ruby into Elixir because it felt like Ruby even though it's not Ruby. So I was like, hey, where I write my value objects where I have like my instance data, my instance state and that kind of stuff. So it was hard for me to get
into the functional programming mindset in the beginning, but as as that clicks for you, it is so much easier. Yeah, for sure. Well, like the functional programming mindset was very difficult for me as well. But I feel, I feel like it would be a lot harder if syntax was closer to the language I was coming from. Like if I was a Ruby dev coming in, I could see that being tricky because then you're like, you know, you have your objects, right? And then you don't.
Yeah, yeah, Especially because, you know, Elixir was my first experience with functional programming. I don't know if some other people we've previous experience with functional programming makes it easier to learn it or not, I'm not sure. But this transition from object oriented programming to functional functional programming is sometimes it is it's hard, you know, and especially especially like 10 years ago, we didn't have many
materials to learn Elixir back in the day. Now have bunch more and you know, but for me, like I remember reading the programming Elixir book and Elixir in action, you know, huge help to learn Elixir, but we didn't have other. Yeah, Sasha's a rock star. That was my first book too, the In action.
Yes, yes, I remember programming Elixir in the beginning of the book. There is like intro functional programming like you know, talking about assigns and variables and state. But for me, Elixir in action was like the was like the the click for me, especially in the part of the book he talks about, you know, process and Jinx servers.
That was, you know, that was for me, that was like, Hey, now I know the how this works, you know, but I spent but the problem was I, I remember I spent some time like, OK, I know what a Jinx server is. I know what a process is, but where I'm supposed to use that, you know? That was the next challenge for me learning Elixir. I was trying to use gene servers and process everywhere and where
I was not supposed to, you know? Yeah, just put them everywhere, wherever you want to hold state, right, just. Yeah. So yeah, the first, first or two probably was kind of messy, but eventually you learn and then when you learn it feels like so much easier. Yeah, I agree. Once. Once the functional paradigm clicks, you're just like your eyes are opened. Yeah. And yeah. And it's really cool that you know that you know both, both, because you can, you can learn from both. It's not exclusive.
You know, you're not supposed to use to use either one or another. You can combine some ideas from one the other and you know that I believe that makes you a better developer if you learn both and you use both. For sure and it allows you to run into different situations and problems in, you know, different architectures of a language as well. So like object oriented versus functional and then like, you know, Beam VM stuff and
processes and it allows you to really see the big picture for what you're solving too. Yeah, I mean it's, it's always good to learn something new, right. So and back in the day I was very much into you Domain driven design and DDD. So, you know, I believe there's a lot to learn from DDD, but in the beginning or back in the day, it was hard for me to kind of, you know, try to model the,
you know, to design projects, especially because I was with the, you know, domain driven design mindset, trying to learn Elixir. You know, like I said in the beginning, it was kind of a messy for me, but yeah. You know what I wish I had when I was first learning Elixir was Jose has the his design patterns talk that he just did this last. Yes, yes, that was like such an amazing talk. And if you guys are listening and haven't watched it, you got
you have to check it out. It is this eye opening. It's pretty. Amazing. Yes, yes, yes, yes. I was I was there watching the talk and I was a friend of mine and I remember like I wish I had this presentation. I I I said I said the exact same thing to my friend. Like I wish I had that in the beginning, like a few a few years ago. That would would help a lot. Yeah, it was well done. And it's like, because coming from like an object oriented language, you're used to, you know, all your design patterns
like you, you know, your factory pattern, whatever it may be, right? But it was just so awesome to kind of see how they kind of automatically fall into place where you need them with the BMVM and Elixir. Yeah, yeah. And I remember I was like researching some other technologies, some other programming languages like Closure and some others like trying to learn how they apply DDD and other patterns and try
to, you know, kind of learn how to they apply that and then apply to Elixir because we didn't have much material about Elixir. But you know, that does does not work very well as well because in Elixir we have process like we have the old PE that we don't have any other technologies. So it's it's a kind of a unique environment, I would say. Yeah, no, I agree. So Beacon CMS is a it's a cool
project. I should have been diving into it the second it was released because I just started diving into the code and I spun up the demo app and I started checking things out early this morning. And it's a it's a really awesome project. And I'm curious what got you involved in this project and what were like the early conversations looking like when you first got involved? Well, it was kind of, I would say kind of coincidence maybe a
friend of mine joined Dog Yard, right? And he, when he joined Dog Yard, he was like, hey, I'm happy. I'm just joined Dog Yard. I'm glad I did it and I was like, OK, you know, if you have the content of the person like you have if if you can share the kind of the person. And and then we had like a brief conversation about a job position, but I was working on other projects.
So I was like, OK, now it's not the best time, right? So and then eventually there was this position for beacons Ms. and that was about two years ago. And I was like, OK, that's interesting. So let's you know, talk about this project and see if that works out for both, you know, for me and for Dockyard. And since that I had experienced with Elixir Phoenix live view, I
had some, I had some contributions to Phoenix like you and some other projects. And so it was, it was, I'd say it was a nice match because I really do believe in open source and I want to do, you know, part be in the open source ecosystem and giving my experience with Phoenix and live view and you know, what the project needed. It was, it was a good match,
right? So then I join Docker to work on Beacon full time. So I've been working on on the Beacon project and some other projects around Beacon and also on the Docker website. The Docker website is running on Beacon like 100% now for, you know, for more than a year now. Yes, Mark, Yeah, more than a year now. So I have been working on the Docker website as well.
So it was like it just happened. I would say it just happened. You know, it was just the perfect moment. So there's no better explanation. It just, Oh yeah, just just happened. No, I love that. What did you have any experience with like other CMS systems or was this kind of a first for you? I had in the past. I used to work with WordPress back back in the day like you
used. Them, but you never really created one. No, I never created one, but I was back in the day, I was working with plugins and, you know, customizing WordPress, but that was, I'm talking about more than 10 years ago. Yeah. OK, All right. So it's a while now. So after that I had as far as I remember, I had no other experience with CMS, with CMS. So.
But nowadays there are some, so many other projects in the market like for not even not only CMSS but also visual editors, which is also a big part of Beacon for for us. So, So nowadays we have kind of two types of projects, CMSS that may or may not have visual editors and we also have visual editors. We have companies that are focused 100% on visual editors. So Beacon in Beacon, we have
the, you know, all the SMS stuff like the pages and data source. And we also have, we are working on the visual editor, right. So the visual editor is more like JavaScript project. It's it's wealth project. I, I'm not going to, I'm not going to give spoilers. You know Miguel, you'll be on the show talking about. Yeah, Miguel editor is on next Friday. So we get 2 weeks in a row of Beacon. It'll be. It'll be awesome. Yeah, that's awesome.
Yeah. So no spoilers on the visual editor, but we do have kind of those, I would say, two big projects into one. Yeah. No, that's amazing. I am like very curious because I've talked about it previously on this podcast that I have like a web hosting platform that I've been building. And the more that I've been adding to it, the more it's been turning into its own like CMS. So it's like pretty much like I'm just, you know, quite a few versions behind Beacon right
now. So I have to, I have to kind of reevaluate what I'm working on, I think, and maybe contribute to open source instead of my own project. But I really love a lot of your like architectural decisions that you did with Beacon. And do you want to kind of do like a macro overview of like how Beacon is kind of structured internally for like a website like like like let's just talk about maybe like a static homepage for now.
Yeah. So we can, we can't get into the technical details, but if I want, if you need like a very short introduction, Beacon is essentially compiling the templates at runtime and making them available so you don't need to deploy your sites. It's like it's like creating or writing the Hiks templates at runtime, right? So that's essentially how Beacon works.
And the getting more into the technical details, you know, just the timeline of the project. Mike Beans started the project and he create the first, I'd say the first prototype and the design we have now the code that the code base that we have now is not like the the initial prototype, but the idea is the same. The concept is the same. Whenever we you make a change on
a template or a component, we build a module at runtime and compile that module and just swap the the the module at runtime. Because in in Erlang you have when a module is loaded, you have the new module and the old module like you have two versions of the module at runtime and then we just swap them. We. Replace the module and then, you know, that module that was compiled, we make it available
for, you know, for your site. So it's and and that's the challenge. We've beacon is bringing all the, you know, the compile time operations at runtime. So, you know, building modules, compiling and loading all that stuff that usually happens at compile time in your local environment. We are bringing that into, you know, the runtime environment. Yeah, that's awesome.
Are you, I'm, I'm assuming you're building like a lot of your own, like DSLS then and things like that to do that or how are how do you handle dynamically rendering like a new live view module? Yeah. So essentially it's basically meta programming, right? So we have all the loading system and the loading system, it's essentially if you go to the beacon repo and you could go to the loader directory, that's that's where the the magic
happens, right? It's where we get the data from the database, like your templates, for example. So if you create and let's say you create a new page, right? And then this page is like slash about something or blog something. You know the path of your page and you have the description title and you have a template, right? So essentially we we started data into the database and then we need to fetch all the all the
data and compile module. So essentially we are building the modules dynamically. It's a bunch of code expressions, so and then eventually we have the module and compile the code expression and load that into the runtime environment. That's awesome. Like what just popped into my head too is with with dynamically building templates like that, like localization and
things of that nature will be very easy to implement and kind of create multiple language websites. Yeah, for example, we don't have built in localization now, but we do have variants like ABAB variants, for example. So you can create a new variant for your site. And then in the we we call page module. Page module is where we start all the data for, you know, for
that page, we start the compile Higgs template, we start assigns and some other metadata. And in this module we store all the variants, the main template and the other variants, right. So it's, it's really nice because we can, we can have this abstraction, right? So in Beacon we have just one live view. It's the page live live view. It's, it's a single live view that gets all the requests to
your pages. And in this live view, we prox the request to the page module you're requesting. And that's where we have the router, right? We have a dynamic router as well. We have a ETS table with other routes and the page module that serves that route, that route. So a request comes in into the into that single live view. Then we find a page module for
that request and then we call the render function for you that is compiled. So that's essentially how a request works in in Beacon. Yeah, that's cool. So you do you have your own router and then you're still using the Phoenix router, I'm assuming, right? And the Phoenix router just kind of holds your magic dynamic route and that's all you have there. Yeah, we have just a single route in the Phoenix, the regular Phoenix route. It's just a catch all route. So let's say you mount your site at slash block.
So whatever comes after slash block is is is is fetched by the sketch of route and then beacon managers of the other, you know other requests that using the slash block prefix. And we used ETS table for, for our routes because The thing is we need to create new pages, you know, publish new pages and
eventually we'll have the feature to unload pages. So you can delete pages, for example, and you know, have all the redirect from 1:00 to another, all that stuff. So we need to be able to dynamically add and remove routes. So that's that's the reason we have ETS table. Yeah, that's really. I love that. That's really smart. Do you dynamically update like a site map then as well or what?
What are you doing on that front? We we don't have we don't have site maps yet in in beacon. We do have in the docker website which eventually we are going to extract into beacon but we don't have site maps yet. But that would be, you know, when we get the site maps, it's going to be, you know, kind of the same, the same idea. You know, we we go to the route to the routes table, we get all
the published pages and then we build the site maps so it can just reuse the same routes table. Yeah, you could just generate a site map. A static site map essentially, right? Yeah, yeah, exactly. And then in this routes table, we, we parse, we, we, we have to match every record. So essentially we have the same matching that Phoenix router
have, but in a ETS table. So, you know, because we, we support dynamic paths. How do? You how do you originally like see the ETS table? How does that work? So that happens at when the application starts. OK, so when the application starts there is a supervisor, a main supervisor for for beacon itself. And then we have a supervisor for each site. So the sites are separate right?
So we have like a tree for every site and and then when the supervisor the site supervisor starts we bootstrap all the data we need like the routes table and some other metadata. Sorry, is the routes table then? Is it stored in the database and you're grabbing it and then putting it in the ETS table? Because you can just grab it quicker. Yeah. So we have all the pages. I mean the the source of truth is always the database, right?
So all the pages are in the database, the database. So when the start starts, we need to carry the database and find all the published pages and then we see the routes table. And another reason we use ETS table is to be able to match the the records. Because in ETS we have, you know, we have the specific type of query on ETS that we can
match the records and we use that to find, you know, to match the request that is coming with the record that is in the test table. So that's how we find which page we need to serve the request. OK, that's cool. Now is beacon, is it like is it multi tenancy or would you create a new beacon project for every site? How does? That no, it's more tenants. So we can, you can have virtually, you know, any amount
of sizes. And you were just saying you you basically just spring up a new supervisor then for each each site that is created? Yeah, you, you don't need to, you know, because you take care of that for you. So essentially all you need to do is add a new configuration. So in in your application in New York, Phoenix live application, you go to the on your supervisor, you know the application, the children, and then you add beacon, you add the
beacon supervisor there and you add the configuration for your sites. So you can have site AB and C and whatever. And then when your application starts beacon, you take care of, you know, starting the supervisors, the process, you know, all the OTP stuff. You don't need to worry about that. Beacon does that for you. Nice. Are you routing then for each individual site? Do you just use plug or what do you do at that point?
So essentially when you you need to do. Essentially you need 2 steps to get a new site on your application. First is the configuration in the you know in the children. You need a new child in your application, children. And the other thing is you need to mount your site in your router. So there is there's a macro Beacon site, you need to call that macro in your router. And that is how Beacon knows
where to, you know where to find a request for your site. So if so, if you have 100 sites, you're going to have like 100 configurations and 100 beacon side calls in your. Router. OK, OK, cool. No, I like that. That's cool. I feel like this is probably jumping off subject a little bit or going on a tangent, but where do you handle thing? Do you handle like SSL certs and things like cert bot inside of
bacon or no? No, that's that's up to you because the idea of Beacon is Beacon is supposed to work with your application. Like you don't need a new Phoenix application just for Beacon. Like that's, that's a big, no big value for us for for Beacon. So for example, we don't have authentication on the admin interface because we don't want to impose a certain type of
authentication layer for you like. So it's up to you. You may have like a base authentication, you can have SSSCO or any other type of authentication. So Beacon has to work with existing applications and has to be extensible. OK. Right. So we don't usually, we don't impose that kind of, you know, this level of, you know, design decision decisions.
For you, which makes sense, especially since you're an open source project, you have to fit as many use cases as you can, right? Yeah, I mean, it's, it's really interesting now that people are using Beacon because we, you know, we released your .1 a month ago and people are using Beacon and they're like, hey, how do I do, you know, these are that with Beacon. And sometimes we, we don't have that feature or sometimes we do have, but we don't have the
documentation. And that's when I go to the Beacon repo and then I write a guide or a recipe. Whenever someone asks something, I just go there and, you know, write a recipe. And it's, it's a really interesting, interesting to know how people are using Beacon, you know, and which, you know, we, we have been using Beacon on the Docker website. But that's one use case, right?
And people can use become many different ways. For example, I, I was at Elixir conf talking to someone that was kind of asking about the admin interface, how, how the admin interface can manage multiple sites with multiple different tenants. And The thing is, the admin interface works in a cluster, right? So you can have one, you can. You can have either a single
application with beacon and beacon live admin installed in the same application, or you can have multiple beacon applications running in the cluster and a single admin interface. And this guy at Lexer Conf was asking about how to like create some silos. You know, for example, one admin interface can manage five different sites, another admin interface can manage the other
sites in the same cluster. And that's something we, it is possible. It needs some a small, a small changes to make it work. But the overall idea, you know, the overall idea, the overall architecture that we have supports that and, but it, it's something that we have never thought about before, you know, so it's really awesome to learn how people are, you know, trying to use Beacon and trying to apply Beacon to their existing projects.
And, and we all, we are also learning how people are trying to, you know, how to get Beacon working with existing applications, for example, how they are able to share the same style sheets, the same JavaScript files, you know, kind of have a tight integration between Beacon and the Phoenix application, which is something we are, it's on the road map.
So we are researching ways to make it work better for our users, but we are now in the phase that we are learning, you know, how people are using Beaker and, and we are really, really, you know, learning and having, we do have a road map now. So we are, you know, having the, you know, all these learnings and issues and feature requests. So we are you'll be focused on making it work for for those
people that are using Beaker now. Yeah, no, that's great. I, I'm actually excited to dive more into it because like from my perspective, what I, what I've been building is basically website hosting, right, Really easy to store like get up static home pages for people. But then we've been slowly integrating features like blog posts, Discord events, podcast pages, and I just recently got a
client for doing e-commerce. And so I'm like trying to tie in like I want to build an e-commerce system that can be styled to a brand, but reusable across my whole platform. So kind of kind of the same thing you're kind of talking about right now as well. So yeah, I don't know, I, I, I'm excited to dive in and this will be maybe a good excuse to get my my toes into a open source project.
Yeah, I mean, every contribution is amazing, like even like documentation code or you know, just, you know, helping spread the word. It's any contribution is, is really welcome. And you you talk about e-commerce like and that you know, that rings a bell about plug insurance because one thing that people are asking about is plug insurance. You know, every CMS has plug insurance and that's something we are researching ways to
implement because we could, for example, have hacks, packages, packages, you know, just implements behavior and protocols to extend the, you know, implement hooks and that kind of stuff. That's easy, I'd say. But the problem is the idea of Beacon is to allow the, you know, all the operations to be done at runtime. So now we have these, you know, this situation that we want to,
the perfect solution would be to allow plug insurance to be enabled at runtime. No, like like in WordPress, you go to a directory and search for a plug in and just enable it, right? But that's not very easy, that's not very straightforward in Elixir, right? So that's the kind of challenge that we have. We could have a simple solution, but it's not the best experience. Or we can, you know, do more
research and do you know different try different things and see if you can have a better experience, right. But plug insurance, it's coming eventually it's coming. And then and then we you're going to have ways to extend Beacon further. Yeah, plugins would be huge. That would be amazing. Yeah, yeah. We just need to figure out how to make it work in in a way
that, you know, the experience is great, right? Yeah. It's not just make it work. It has to work and the experience has to be good, you know? Oh for sure, and it's not it's not easy. I'm just trying to think about like, I don't even know how to even approach plug insurance, but yeah, that's a that'll be cool. I think this is a really exciting, promising open source project. I think it's really cool. Yeah, yeah. You know the, well, we, we
didn't talk about the why Beacon exists, but you know, there is this gap in the community we don't have, because you, you can have your Phoenix project, right? You have your Phoenix project, your live view project. And that is the, your, your application, right? Your, let's say your private application. And of of course, you can have public sites. You can have public pages like your marketing page, your
landing page, that kind of stuff in Phoenix and live view. But we, we want to have something that content creators can manage and that's the gap we are, you know, trying to solve here. So on the other hand, on the other side of the project, we, you can also have native applications. So that's how you can see where Beacon and Live Native converts together into a single
application. We fill all the gaps of a application, you know, and then eventually we're going to have open and other, you know, projects. And then we have like a full application. We've public pages, native apps, and you know all the other parts of the application. Yeah. Well, what's awesome too with like the site builder that's come in that Miguel's working on is that like the easier it is to use, the adoption rate of Elixir in Phoenix is going to
skyrocket. Like, just because you have an awesome product, not even necessarily the technology it's built on, you know? Yeah, that that's, that's the thing with CMSCMS. They tend to attract. They're junior developers sometimes, or even people that are, you know, experienced, but they don't use Elixir that that happens with CMSS. They attract people from other communities. And if we can do that, that that
would be amazing, right? Because we, we can actually help increase the adoption of Elixir itself, right? And the visual auditor is not only for content creators, it can be for developers as well, right? You, you, you can. The idea is you should be able to create a new page like just using the visual controls like you can just drag and drop components and and then you have a new page. Yeah, I love stuff like that.
As long as it works well, right? Because I I would never consider myself a front end developer. I hack my way through front end dev, but I can do it. Do I enjoy it? Not really. Well, me neither. Like I'm not a front end developer, so I, I, I can relate. But yeah, but even if you are a developer, even if you are a front end developer, like let's say you want to change just, you know, just the order of some cards in your page in using the visual editor is just a matter
of drag and dropping the component and save and publish the changes, right? You don't. I love the the like, just the like just publishing versus having to deploy a project like that. That's pretty amazing. Just live rendering. And it's not only the deploy process. Think about how the, you know, the whole process, like opening a new branch, a new PR, requesting review and you know, there might be a review process and some companies they do not
allow deployments during the day or they have a specific date in the week for deployments, that kind of stuff. Some other companies have a station deployment Friday. Friday evening, right? Yeah. That's. The best deploy new features. The best day. So, so it's not only about making the change and deploying, you know, it's about the whole process. You can, you know, sometimes you may have like a week to make a change, a really small change on
your website. You can cut that off to 5 minutes. Right, Well, it allows you to publish changes safely, Like you're not doing a full deploy, right? You're just tweaking a a geeks template essentially. Yeah, it's, it's not a full deploy. You are essentially just recompile one module. If you have, let's say you have 1000 pages, the docker website has about 1000 pages now, because every blog post is a module, is a page module, right?
And you are only changing that single specific module, not the others, right? So and and we are we are about to release 0.2 maybe most likely today. Actually we are about to Yeah, the and the 0.2 version has a new and improve it loader. We are using. Erlang has these notion of error handler like if you are from
Ruby, it's like a meta, meta missing like when when Erlang tries to, that's how out load works. When you call a module in the function and that's not loaded, Erlang is going to call the error handler and load that module for you, right? That's how out load works. And that's how compiler, the Elixir compiler works as well. It does implement the error handler. So when there's a call to a modular function and needs not loaded, it's going to, you know, compile and load that for you.
And Bacon does the same. Now we've the 0.2 version, we do have our error handler, which means when you start your site, none of the pages are loaded, like 0 pages are loaded. And when there's a request for, let's say for the homepage, that homepage is not loaded. So the error handler kicks in and then it finds that that page depends on a layout and layout
depends on the live data. Live data is our data source for picking and then it depends also in on the components module. So it compiles all the, all the dependences and make the page available for you, right. And then when you request another page and that page depends on the same components module on the same layout, it's going to you know it, it's going to just check that module is loaded and then, you know, just
skip that one because it does need to load again and just load the module that you you are requesting. And this and the same is true when you publish a new page. It's funny because when we publish a new page now with the 0.2 version, we are not actually publishing the page. We are actually unloading the page Because when there is a request for that page, the out load kicks in, the error handler kicks in and load that for you on demand on the fly.
So that's the 0.21 of the biggest change on 0.2 and another big change on 0.2 is the igniter tasks. We have been working with Zach from Ash and now installing Beacon in the project. It's going to be a single comment, either a new project or a existing project. One single comment, and then you get Beacon working. I'm curious for integrating into an existing project, what's that
process look like? If you like, let's just pretend it's like a basic live view app. Let's pretend it's like Elixir Mentor, but hosted in its own thing. So I have a home page, A blog, some of those things. How difficult is it to integrate Beacon? Well, with the 0.2 version, you just need to install the igniter archive and then you you're going to and then you add the start. Sorry, you just need to add the
igniter library into your project and then you're going to have access to the igniter tasks like Ignite. It's going to be like mix beacon dot install and then mix beacon dot Gen. dot site. And then you pass the parent as like the site name, Beth and some others. OK. And then it's going to generate the sites for you and the Igniter project, it's going to display a diff of the changes so you can reveal the changes.
And then you just accept the changes and you're going to have the files, you know, everything is done for you. Wow. OK so with igniter, does it will? Does it kind of? Does it go through my existing project and it knows what to move into the database for templates and things? Or not. Won't that be a little more manual? No, it's going to create for the database side of things. It's going to create a migration for you and that migration is going to create all the, you
know, all the tables for you and then you need to create the pages manually. But we are, we are researching ways to make the local environment, you know, the experience of the local environment easier for you. Like we are researching ways to have like CLI using Igniter probably. And in DCLI you're going to have a local environment where you can, for example, create your
files, you can create everything locally. And then eventually when we are done, you can just connect to your live site and just, you know, issue a comment and update your live site, you know, from your local environment to your live production site. So let's say for example, you want to create a new component, right for your, you have a site, it's running, it's working. And then you want to create a new component, let's say you can bootstrap that component.
The idea is that you should be able to bootstrap your component locally, work on that component like using your local environment, your own editor, that kind of stuff. And then when we are done, you can just, you know, beacon whatever, come in and then push to your production website like live. So you don't need to redeploy the whole thing again. But this CLI is not done. It's just on the research phase yet. We are not sure if we're going to, I cannot tell.
I, I cannot say if that's going to work or not. Maybe works, may not. That's the thing with our R&D project. Sometimes, you know, sometimes it works, sometimes not. But the idea is to have a improved local environment so you can work for your, your files. But but now, currently you can stop beacon into your project and it's going to bootstrap the the tables for you. It's going to create a migration for you and then you can go to the admin interface.
The admin interface is a live view application is a separate repo, and we have two repos, one for beacon, another one for the admin interface. And then you can go to like local holes 4000 slash admin and then you can create your components and layouts and pages there, right. Yeah. And we do have a code editor in the admin interface and the visual editor as well for for pages. Eventually we are going to
enable the visual editor for components as well and layouts. So you the. Visual editor is the drag and drop. Yeah, yeah. OK. Yeah, yeah. So we are going to enable the visual editor for components eventually. So you can like like, hey, I want to see how this component looks like and I want to make changes to this component visually. And then you make the changes, save and it applies the changes to all pages. So I can write a component in
Elixir or HTML or Heeks and then also see what the component looks like in a preview or in the builder too. Not yet. But. Eventually, oh, sorry, I just hit my mic. Yeah, eventually. That's the idea right now. Yeah, right now we have the visual editor enabled for pages, only pages, but eventually we are going to enable for layouts and components as well. Most likely components first
because it has more value, right. So eventually that's the no, that's the idea. And if the local environment with this Li works out, you can also build your component locally like like like you have the core components in Phoenix, right? It's just a module. You can like create your component and then push to your live site. But we don't have that yet. It's on research phase now. So that's the idea, right? So you could.
So if all that works out, you can either use the admin interface with the visual editor or your local environment. OK. That's the. That's the. Ideal this is going to be one of the coolest projects ever. I don't know if it's just because I I've been like in the space building stuff like this, but I think it's, I think it's a big, pretty big deal for Elixir and like just an adoption alone. Yeah, I mean, the first time I
heard about Beacon, to be honest, I was like, I don't know, it's kind of a boring project because you know, CMS, like when when you hear about CMS, your first reaction. Everyone builds Acms, right? Yeah, usually your first reaction and that's boring. But The thing is we have Phoenix, we have live view, we have all the distribution in OTP, which allows us to have a like very different kind of CMS, like a modern CMS and that's, you know, that makes Beacon
differently way more exciting. Yeah, the way you set up the admin too, where you can just connect to different nodes and multiple nodes, I think is really amazing. That's like, that's smart. Yeah, because that's for not only for performance, but for secured as well. For example, you can have your admin interface behind AVPN, right? And you can isolate the the admin interface. You can just deploy one node behind, you know, a secured node in your infrastructure.
And all the other nodes have beacon running and they, they, they expose the, you know, they expose the, the part so it can access that application. But the admin interface you need to connect to AVPN, for example. OK, you are not required to do that, but if you need to it's, you know, it's up to you. We have a couple questions that I want to, I don't want to ignore our audience. We have Mike Shell, he said.
How do you choose what features to build into the CMS? I've been in the CMS space for a decade and I know you can never be done chasing features that people want. Is there is there a North Star or vision for the CMS overall? I think you kind of touched on this with like the idea of plug insurance because then you kind of can wash your hands of things. Yeah, but I guess this, this question is true for every project, right? Maybe even more for open source projects because everyone can use and, you know, propose features.
And I would say the no, the short answer is it's based on on demand, right people, if there are, you know, and that's something that when I did some contributions to Elixir Phoenix Live, that that's something I learned. We've chose that if there's no need to do something, don't do it, right? If there is, if there are more than one person asking about that feature, well, that means
there's something there. You know, there is a demand for that feature, right? And in this phase that we are now that people are starting to use Beacon, that's even more clear because there are a lot of people like asking about features and so, so we know which features are more requested. Yeah, yeah, that's good. That's actually that's probably a huge benefit to being open source. You're you have a lot more eyes on you and you get feedback almost instantly.
Yeah, the feedback, I mean our community is growing and that's amazing. Like having more people trying because and even, you know, reporting bugs or asking for features or whatever interaction you do is is amazing. That's how we we know we learn where we need to go. Yeah, So but of course, we have limited resources, right? I'm, I am the only one working full time on Beacon now. I mean, since, you know, since the beginning of the project.
I mean, did you say it's? Been it's been two years. Or not quite. I joined Docker. So I joined Docker at the at the end of in December, so about two years, no December of the other year. So, but there has been other people working on on Beacon as well, because Dockyarders have their, you know, the Friday free to work on other projects. So some people help. And for example, we have the, we have Miguel working on the
visual editor. It's like a JavaScript application. He's worked on that application. We have Andrew. Andrew is listed as the other maintainer of the project as well. Even though he does not work full time on Beacon, he's a huge help on the project and he has been, we, we have been working together on Beacon for some time now. So he's, he's the either me or Andrew knows more about the
internals of, of Beacon and, and can help the community. So I'm not working alone, even though I'm working full time. There are other people you know, and eventually there's some other people contributing, like either from Dockyard or from externally. Yeah, that's great. We have another question and I'm going to butcher your name, so I apologize. But Shahir, he asked, does
Beacon allow me to add my own live view components library and access it from the editor? Yes, so, but not automatically. Like there is no way for you, for example, to just install your package and it's going to work. Like right now you go to the admin interface and then you can create components so you can create. Really function component. You can define the attributes, the default values, which attributes are required, the
template. You can also define elixir code that runs in your function component. So you can define a full Phoenix component function component. But you you you have to build it through the admin. Yeah, because. OK. Yeah, because there we need to start that data into the database. That makes sense. Yeah, you. Can't just. Put it randomly somewhere in the project and have access to it. Yeah, but that's where the CLI would help, right.
And the CLI and the plug in system, they, they eventually if you can make it work, they are going to converge. So you can create a new plug in and just have, you know, just let's say all your library and then you can have some functions there. You can load your component module into beacon kind of automatically. That's so we can parse your components that you have on the on your component library. That's that's the goal.
But again, that's the challenge. We've beacon, you know, we have these, you know, we have all that stuff in the compile time that we need to bring into runtime. That's that's the challenge. Yeah, yeah, I'm. Curious, how are you, how do you handle like assets like images, videos, all of that? Do you, are you going to use, do you use like third party like S3 buckets or are you putting it straight on a database? Yeah, So by default. We use the database, which for most scenarios is not the best,
you know the best option, but we need to have a default, right? Right. So, so again, we do not impose like you have to use S3 or whatever. The only, the only requirement for Beacon is that you have to use Postgres and and that's A and that's going to be expanded to other databases. So the only requirement is that you have to have a database, right? So that's the only requirement. And right now it's post Chris,
but eventually you're going to have other vendors are going to support other vendors. And there's someone that actually opened an issue. He is, you know, exploring how to run between using SQ Lite. So that's, you know, again, community is amazing. It's it's really, really great to have like a growing community. But to answer the question, when we have the media library, so if you go to the admin interface, there is a media library, you
can upload assets and then you can like upload images, videos and some other file types and we start those in the database. But yeah, but you can extend Beacon, right? The idea is that Beacon is extensible and then you can make I can make my upload service take things. To mucks for video and then like a CDN for images or whatever. I'm whatever I need. Yeah. So we have this idea of life. Cycles in Beacon, so you for
example you can add new providers. So for the let's say up. I don't recall now the name, but let's say for the upload asset life cycle, you can add a new function there that is going to upload the file somewhere else instead of the database. Am I just kind of overriding a behavior? At that point or how does that, how's that working? It's a it's going to. Append. It's going to add new functions into the life cycle. We don't.
For now, we don't allow. We don't remove life cycle. You can just add new new function into the life cycle. But OK, no, I like that. That's cool. So even even. The, the reindeer is a life cycle is exposed like if on the configuration of your site, there is, there's going to be like a life cycle key in the configuration. And there you, you're going to, you can see the life cycles that you, you have on your side.
So the markdown and Higgs render both of them, they're built in, but they are exposed as life cycles. So you can, you can actually add new template engines, for example, if, if you want. So the idea is that we expose those life cycles as much as possible and we can, you know, we should allow plugins to include more life cycles to make those changes, right? It's kind of, it's kind of, I'm
not going to say like WordPress, but WordPress has these has filters and life cycles as well. So the idea is that you can inject your own, you know, logic your own code into specific parts of the of Beacon. I think this is the coolest. Project. Ever. For people like me and. Listeners, what is the best way
for us to start contributing and like helping like are there is there an issue board that we can just go kind of grab tasks or how do you want to manage that or how do you manage that? Yeah. So the entire project is open source, not. Only the code base, but the project as well. So all the work, all the discussions is in GitHub, you know all the issues. And so we do have. So we try to keep all the issues organized. So you're going to see some
labels. So if we're really new to the project, you can look for the good first issue label. Those are going to be the issues that are is easier to get started with. But any? Contribution is. Is is welcome, right? If you want to contribute with code and you are new, I'd say the good first issue is the the best one. But you can pick any issues like there is no, there's no like you
can work on whatever you you want. And we do have road map. So this road map is the least of features and you know, all the tests there we are going to be focused next. And so the road map also helps to like drill down the issues we are, we are focused. But if you want to contribute, either you know, with code or
documentation is also helpful or, you know, just trying out the project and reporting bugs or reporting or, or just, you know, feature requests, for example, also helps. And I try to be as more responsive as, as possible, you know, to answer all questions, all issues. And we also have Elixir Slack channel. You know, there's the Elixir Slack and there's a Beacon CMS
channel. You can, you can find those there, either me or Andrew or Brian, we can, you know, ask questions. So you if you have a bug or a problem, you can ask, you can ask there and we, we help. OK, amazing. Cool. Yeah, I'm, I'm excited for the future of Beacon. I think it's already awesome and just looking at your road map and seeing where you're heading, I think it's going to be an an
awesome project. Yeah, yeah, yeah, yeah, sure. Like. Personally I believe the plug in system is going to be you. Like the unblocker for new new features. Plug insurance will be really cool. Yeah, so because. We can, I mean we, we do have limit, we do have a lot of features that we, we want to build right. But we do have limited resources and with plug insurance, we can
enable other people to contribute and, and they don't need to contribute to the Beacon Corp, right? They can just write their own plug insurance. And you know, that's, that's a huge contribution. That's going to be a huge contribution for the whole community. How do you see plug insurance working? Like do you see kind of like a marketplace of beacon plug insurance or how how do you see that working? Do you have any idea? Yeah. Eventually, yes. But. That's more like a business
decision more than more than technical one. Yeah, that makes sense. It's it makes sense to have a marketplace that's kind of, you know, the usual way to handle plug insurance. You know, every platform has a marketplace. So it makes sense, but it's more like a business decision. Yeah, I mean, I get a lot of clients. That are abandoning or hope to
abandon like Shopify because there's just limitations and things they don't like and that's kind of what that's why I'm building out e-commerce piece right now is because actually I have two clients that are not happy with Shopify so yeah so like. There's a big space. Here and I think, you know, Phoenix is it, it's a good, it's a good use case for it, yeah. And you know. It's and again, it's about adoption, right, because you you
may have clients in shop Fireword pres and other semesters and platforms and we can bring those clients and you know, into Elixir and Phoenix. Yeah, right. That's that's a big deal for for for Beacon, absolutely. And yeah, and you talk about Shopify, that's something, you know, that brings about about, about about another topic. Like people ask about the security because, you know,
Shopify, we have the liquid template in keen that is safe. And people ask about, hey, what about beacon? Because Higgs you can is it killed Elixir called right. Well, we, we do have ways to solve this problem or to at least mitigate this problem, right? One is, you know, if you have admin interface that you manage, you can like review all the changes, you are kind of safe if
you don't allow external contributions, for example, right? You can just use Higgs template. Another another option is we do have a package and Mike Beans create this package is called safe code. It's it's a whitelist parser. Essentially, it's going to parse the whole template and it's going to block the changes if there is a call to a function like assistant command function or whatever. And if you want to allow that
function call, you just add into the configuration like in my side, I'm going to allow this call to this function or this module, right? Do have we do have these options as well. Other options are you can use Markdown, right? And Markdown you can, you can, you can have a really nice, you can build pages using Markdown, right? So that's another option. And this is good for static pages I would feel.
Like, but you might run into more issues when if you want like a live view or something dynamic, right? Yeah, so. I'm working on allowing. I'm I'm I'm. I'm working on another library. It's called MDX, it's Markdown. It's a common mark compliant markdown for Elixir. It supports all GitHub features and extensions and EST parsing manipulation.
And I we can't actually have Elixir code and fins components inside Markdown. So I'm working on that now. I'm working on this idea of enable live view inside Markdown. So if you so again, if you are OK with having Elixir and you know Elixir code into your pages, you can also use Markdown with.
You're going to be able to use Markdown with live components. That's not possible now, but I'm working on that. I do have a prototype that works. And another option as as well is you can have a custom template in Gheem. So if you want to have like liquid and that's special, that's really cool because if you're migrating from Shopify to Beacon, for example, and you do have liquid templates or your customer is more, you know,
comfortable with liquid templates, you can also render those in, in Beacon and keep using live view. The whole beacon system works with live view, but your template can be a liquid template. So you can have custom template in kines as well. That's awesome. Shahir, sorry if I'm butchering your name. Still, he said he effectively used your MDX Phoenix component in his blog post and he even
wrote an article about it and then shared the links. So that's, that's pretty cool. Yeah, Yeah. That's kind of the 1st. Prototype of the of these idea. There are some improvements to be made, but I'd say it it works, it works essentially. Essentially, you can. You can have Elixir code and we can just parse that. That's cool. That's awesome.
I mean, I'm. I'm excited about this project. Yeah, I mean, just to be. Clear, it's not possible now to use an Elixir in to like markdown files, markdown pages, but eventually that's something we are work on. So we want to improve the experience of writing pages because now if you go to if you go to the admin interface and create a new Markdown page, you have to write the markdown manually, which for us, you know, for developers that works
well because we know markdown, but content creators, they don't really, sometimes they don't really understand markdown, right. So we are working to you have a nice experience even for markdown like probably like a block adding block editor so you can which is kind of user for other platforms as well. So that's another improvements. We are going to work eventually, you know, just because we are
really focused on improving the experience now and you know and work we are focused on the adoption now and having a better experience for for users. Yeah, so everyone listening. Go check out the GitHub link, I believe I put it in the description. If I haven't I'll make sure I add it afterwards, but it's definitely worth checking out. I'm excited to dive deeper in it today because that's going to be my afternoon. Is playing with Beacon. That's nice, Yeah. And.
I'll see if I can figure things. Out I might have to re download slack. I've been an anti slack person I I just use discord but it'd be cool to jump in on the elixir Elixir channels. Yeah, I mean I use both but. I'm always there in the Elixir Slack so you can send a message pretty much in time of the day. And we can we, we can help like we can help with bugs. We can help with, you know,
discussing new features. And that's a really, it's really nice to talk to other people and learn how they, they're, you know, trying to use Beacon. Yeah, I'm, I'm kind of excited to. Kind of maybe try to intermix it with my approach because I have a lot of like, like template generators that I created. So I'm creating a lot of static files. But I really love how everything's on a database for you versus creating, you know,
static directories and things. And then now I have all these things in my head about how to clean up my architecture and my own project. I I think you wrote a blog post. About the generators, right I, I. Did like a very short like video of how how it was working and functioning because I. I to remember something about those, those generators. If I'm not mistaken, it was but like, yeah, we've been making. We'll make we have like a
handful of templates and we can basically just pass in form data so we can collect it from. It's just like Jason or a map, right? And we can pretty much generate an entire website pretty quickly with like all the branding and everything required. But yeah, I, I, I think I saw. That I I was just, you know, mistaken about, you know, if it was a blog post or something else. But I think I, I think I saw that it's, it's really nice.
Yeah. But like this is the importance. So I have a lot of like new developers, or at least new to Elixir developers that follow me. And just me browsing through your code base has given me like so many better ideas for architecting. And you gain you gain so much knowledge when you see other people and talk to other people about their projects. So I highly recommend doing that. And if you're new and a junior dev and you're scared to
participate in like open source projects, a great way, like you were saying is jump on documentation and write documentation because projects always usually lack on the documentation side. It's hard to keep up on. That's that's very true. I. I give a presentation at Elixir Conf 2000 2020. One I get I, I don't remember now, but it was the online edition and this talk was about open source.
And in this talk I, I had this idea of like the hello word of open source is documentation. You can start with documentation and it's, it's people don't realize how useful the contributions are on, on, on the documentation side, you know, because when you are writing the documentation, you have a vision. About that feature or about that function or whatever. But that vision is not the same as other people because you know, because you know the
project, you, you, you're work on the project every day. So it's not the same as other people. So writing documentation is really hard, to be honest. And any contribution to documentation is really super useful. Yeah, no, I agree and. You don't have to feel like you're not contributing because it's a huge help because, yeah, a lot of times too, it's hard to write detailed, good documentation, especially when you wrote it, because you might skip a few steps and not realize
you're not being as detailed as you should for a new adopter. Yeah, Yeah. And you know. I was on this 0.2 version. I was happy to you actually remove some of the documentation because now that we have the United task, I was like, I can either keep the documentation, written documentation or I can just have the tasks, you know. And I was like, I don't know, it may may not be the best
approach. I'm trying that, but the idea is for whatever the the generator is is doing, there is not much documentation about that. I mean, there's documentation about the the generator, what the outcome is, that kind of stuff. Or why did why the generator exists and you know the parameters and so on, but not the actual actions of the generator. Like I don't need to have a documentation asking you to
create a migration because the generator does that for you. So I'm kind of using Igniter as a documentation to to as well. Zach's Zach has crushed it with. Igniter, I feel like this is blowing up right now. Everyone's using it. Yeah, it's a really, really cool project. It's really and really need it as well. For sure in, in my opinion, we we, I mean, we, we need that kind of documentation. It's just like there's not much
justification, like we just need that. Yeah, for sure. We have a big. Snacks said Hey, Leon's Rose saw your most recent talk at Elixir Conf Beacon. Looks awesome. Thank you. Thank you. Yeah, the, the, the lexical talks are a way to, you know, you know, to talk, talk about Beacon and try to expose how Beacon works and, you know, trying to, yeah, usually trying
to explain how Beacon works. And actually we are starting a new series of blog posts in the Dockyard blog. It's building Beacon. I'm serious. Oh, awesome. And the first one is going to be talking about the configuration like how we use the Elixir registry to, you know, to start the, the configuration, that
kind of stuff. The idea is to have like short blog posts explaining something, you know, how Beacon works internally, because The thing is we are doing some stuff in Beacon that is not very usual, right? Some, some stuff that you don't see in other projects, right, Some, right? And and the idea is to expose how we, you know, to like expose how we are dynamically rendering templates and. Dynamically routing like that's not a typical web project. No, no, it's, it's not.
It's not some some people try to contribute. I mean, some people are when they are starting with contributions to to Beacon. Usually I say that hey, it's a Phoenix project, but it's not a regular Phoenix project. So don't look at Beacon like the if you're contributing to Beacon, don't look at Beacon as if regular Phoenix application and the and the admin interface is the same as the admin interface is more like live dashboard than regular Phoenix
application, right. So there's a there's a lot to talk about the, you know, the design decisions, the the implementation, you know, and the so these these blog posts, these series of blog posts, the idea is to, you know, just talk about those implementations. Yeah, yeah, I love that. What? When can we? Expect those to start dropping I think the next. It's going to be next week. The first one. OK, cool. I'm I, I won't promise like a
frequence, but I'm trying to have at least one per month. OK, it's hard to promise content. Releases, that's for sure. I mean the quickest way to burn. Yourself out is. Over promised content, yeah. And sometimes I. Promise features like, hey, I'm going to work on this feature and it'll be released soon and then I have to work on also some other stuff. And I feel bad because you know, there's someone waiting for for either a content or feature or bug fix or whatever and I have
to work on something else that happens sometimes. And so I'm kind of avoiding promises now, like I'm gonna work on that. I don't know when, but I will. Yeah. No, I get it. I get it. I'm trying to be better about not over promising my time because when you work on projects and you also want to create content and help people, it's a hard balance. Yeah, exactly because. Adoption, it's not on code. Like I could be here the whole
day just coding and forget about everything else. But that's on how it work. That's not how it works, right? Yeah, unfortunately we prefer to. Build and code all day, but that doesn't get a product used or out there, right? Yeah, but I I do like talking to people. Like especially on our Slack channel, That's that's that's interesting. And it's, I was talking to, I was talking to Zach about that, you know, I, when I was at Elixir Conf, I was talking to
Zach about, you know, open source, you know, maintenance, how you know how to handle all the requests on all the users and development, you know, all that stuff. Because the Ash framework has, you know, a much larger, larger community now. And Zach is maintaining a bunch of projects and the and he said something that was really interesting to me. Like the priority number one are
the users or is the community. If someone sends a message, either a feature requests or a bug bug report or whatever, just drop everything we're doing and answer that person. Like it can be like, hey, I have no idea what's happening. I'm going to take a look on that later. It could be arranged and then reply like that or the actual solution to that point, if you can solve that. So being response responsive is important and and that's
something we learned from Jose as well. Yeah, I will say like I. Was using Ash for a project and I had issue I couldn't figure out something with the multi tenancy like their context you know your own database schemas or prefixes whatever you would call that and Zach responded so quick with a solution and then everything so like yeah he he definitely lives by that and it's pretty awesome yeah and and that's the same we. Chose that like and you know
that that's what Zach told me like we can learn from example like Jose that does that on the community. If you have ever contributed to you like Elixir or Phoenix or any other project, usually Jose every replies in like 5 minutes. Yeah that's amazing. He's everywhere too. He's on. Every platform, he's on Reddit, he's on Twitter, he's in the forums. It's, it's unbelievable. I I don't know how he. Does it? I have no idea either. Like it's. But.
But it's really cool because like you are working on something and then you have a, a reply to, you know, to help you keep moving forward. And that's how you, you know, and that's how you build your community. So, so that's, you know, that's one of the tasks, I'd say, of maintaining a, a project. And, you know, and that's really, really nice You, you know, to see the community
growing. Yeah. And absolutely. It's probably awesome. To watch Beacon. Get adopted by others as well. Yeah, we do. I cannot share the others, but we do have other sites in development in using Beacon. So it's, it's really nice to see people, especially because, you know, some people started using Beacon before 0.1, which is like
we were making a lot of breaking changes and people are, you know, who are using Beacon. And now more people are starting to use Beacon with the 0.1 version. And today we're going to have 0.2 and we are avoiding breaking changes and trying to be more, you know, to be more. Yeah. Because to be, you know, breaking changes sometimes are required. There's especially at the beginning, like I feel like you.
Always think you have the right like data architecture and everything set up and then you're like, this isn't working and you sometimes you just are forced to break things. Yeah, sometimes it's it's needed. But no one likes breaking changes, right? So we we have 12 wide breaking changes as much as as possible, but that's where Igniter can help as well, right? That's that's one of the, you know, requests.
I was talking to Zach like having a upgrade scripts or something. So people can, you know, from zero dot, let's say we have a breaking change from 0.3 to 0.4, we can write a igniter task. So people can just execute that and fix the breaking changes if if possible. So, Oh yeah, there are many, many ways to improve the experience. We, we, we, we, we have been,
you know, focused on the, on the experience. And the admin interface is another area we need to improve. It's not the experiences in my opinion is not the the best. And so we need to improve how you know how the admin interface looks and you know how you you use the admin interface. That's something we are we are starting to work on that as well. The admin interfaces are always.
Ignored until last, aren't they? I mean I. I start the admin interface. I mean, if you get back to day one, like Mike started the admin, but it was like just, you know, the default Phoenix generator pages like and then I moved to a isolate application and then I kind of start from scratch. But I'm not a friend and designer. I'm not front end developer,
right? So, so we had some help along the way, you know, some UX developers help from dog care help to make it look better. But we we still need to do like full work on the admin interface to make it look, make it look better and more useful more, you know, you, you can use it, but we need to make it look better. Yeah, well. Leandro, I appreciate you working on this project.
I think it's awesome. And I like Brian and Dockyard are just amazing staples in the Elixir community. They're he's just all the projects that he's behind. It's awesome. So I appreciate you guys and I'm excited to dive into this today. Yeah, I mean it's. It's a big deal because the entire project is open source. So for for Docker is a huge investment. Yeah, it is. Right. So, yeah. So the idea is to fill that gap
in the community and being open service is is important to, you know, reach that goal. And yeah. And this project would not be possible without the investment. Yeah. Now it's amazing. So thank you. Dockyard for, you know, funding this project because it's amazing where should people. Find you if they want to follow. You I think I linked your ex profile in the description, but probably Dockyard blog.
Do you write blogs there I. Have just one blog post there by now, but we've the Building Beacon series. I should have more in the future. So we can find my blog post there and we can find me on Twitter. It's maybe we can have a a link because it's Leandro Siski and it's really hard to pronounce. Yeah, yeah. So and I think there's a link on my hacks profile. There's.
OK, perfect. So I'll make sure. That your ex profile is LinkedIn, the description and definitely give Leandro a follow. He's doing cool stuff. And thank you so much for coming on and giving us your time. Thank you for the opportunity to talk about. Beacon and you know all that. So it's really, really cool. Yeah. And next week we have Miguel. Who you work pretty closely with and he's the one that's behind the. The visual editor, right, the drag and drop interface, yeah,
yeah, so the. Like I said, big. The visual editor is a big project inside inside the beacon. And so, yeah, the visual editor, it's also really, really interesting. It's so I I'll be listening for sure. Yeah, it's impressive. I like I was. Looking at your demo where you demoed it, and I'm sure it's come even farther along since your talk in 2023, but it looks really amazing. Yeah, Yeah, we have. Plenty of new new, new features now and well, I'm not giving
spoilers, so yeah, spoilers. Everyone's got to wait a week. Yeah, next week. Well everyone, I hope you guys. Have a good weekend. Thanks for tuning in and thank you so much for joining me today, Aleandro. I really appreciate it. Thank you. All right. See you guys. Hi. I'm Jacob. My YouTube channel and podcast reach thousands of engaged Elixir developers every month. If you're looking to promote your developer tools, services, or job opportunities to a focused audience of Elixir professionals, head to
elixirmentor.com and let's discuss sponsorship options.
Francesco Cesarini, founder of Erlang Solutions, and Allen Wyma, hosts of BEAM There, Done That, join Jacob for a live crossover of both podcasts. They trade origin stories, compare what the Erlang and Elixir...
Jason Cohen, founder of WP Engine and Smart Bear, joins Jacob to talk about his new book Hidden Multipliers. They dig into why engineers avoid marketing, the onboarding math behind SaaS trials, finding your ideal...
Filipe Cabaço, team lead on Realtime at Supabase, returns after two years to talk about his side projects: Vitro, a browser for every AI agent with a replayable timeline of what each one did, and Ampoule, which packs an...
Peter Ullrich returns to talk about Pushin.eu, the European GitHub alternative he's building in Elixir. Five months in, it has about 700 confirmed registrations after going viral on Hacker News, and Peter walks through...
Nathan Hessler, organizer of ExMex and RBQ Conf, is back four weeks out from ExMex 2026 in Austin. We cover MCing Rails World, how he picks speakers and keynotes for a single track, what running a Ruby conference taught...