1
00:00:02,000 --> 00:00:08,360
Testing Secure your Elixir apps 
with paraxial IO. 

2
00:00:08,520 --> 00:00:11,560
From code analysis and bot 
defense to dependency checks, 

3
00:00:11,560 --> 00:00:14,840
they've got you covered. 
Elixir first design with GitHub 

4
00:00:14,840 --> 00:00:17,440
integration. 
Elevate your security at 

5
00:00:17,440 --> 00:00:24,000
paraxial dot IO. 
Hey, what's up? 

6
00:00:24,040 --> 00:00:27,080
I'm Jacob Blitzo, your Elixir 
mentor and welcome to another 

7
00:00:27,080 --> 00:00:29,600
exciting episode of the Elixir 
Mentor Podcast. 

8
00:00:29,960 --> 00:00:32,400
This is where we discuss 
everything related to Elixir, 

9
00:00:32,640 --> 00:00:34,840
from interviews with 
enthusiasts, pioneers in the 

10
00:00:34,840 --> 00:00:37,680
community to innovative projects
and library shaping. 

11
00:00:37,680 --> 00:00:40,200
Elixir's future. 
Today, I'm excited to welcome 

12
00:00:40,200 --> 00:00:44,560
Leandro Pierre Era, a key 
developer of Beacon CMS. 

13
00:00:44,840 --> 00:00:48,160
It's a content management system
built with Phoenix Live view. 

14
00:00:49,320 --> 00:00:51,760
Thank you so much and welcome to
the show, Leandro. 

15
00:00:52,240 --> 00:00:53,760
I really appreciate you being 
here. 

16
00:00:54,040 --> 00:00:56,880
You want to just give yourself a
quick introduction. 

17
00:00:57,840 --> 00:00:59,800
Yeah, sure. 
Thanks for having me. 

18
00:01:00,360 --> 00:01:06,080
I'm really excited to talk about
Beacon and well, I've been 

19
00:01:06,080 --> 00:01:11,120
leading the Beacons Ms. project 
for, you know, about two years 

20
00:01:11,120 --> 00:01:13,680
now. 
And it's a, like I said, it's a 

21
00:01:13,680 --> 00:01:20,680
Phoenix live view Ms. and just a
bit of about myself. 

22
00:01:21,280 --> 00:01:27,000
I have been to programming for 
well, for some time now for a 

23
00:01:27,000 --> 00:01:29,680
few years. 
And I started with Phoenix 

24
00:01:30,240 --> 00:01:34,080
actually Elixir when Elixir was,
you know, in the early days of 

25
00:01:34,080 --> 00:01:38,360
Elixir also started with Phoenix
and live view in the early days 

26
00:01:38,360 --> 00:01:42,040
and have been contributing to, 
you know, trying to contribute 

27
00:01:42,040 --> 00:01:45,240
to, to the community and now 
working with Beacon. 

28
00:01:46,280 --> 00:01:49,640
That's awesome. 
What? 

29
00:01:49,920 --> 00:01:51,800
So what, where did you come 
from? 

30
00:01:51,800 --> 00:01:56,040
What led you to finding Elixir? 
If you you sound like you're a 

31
00:01:56,040 --> 00:01:59,880
pretty early adopter of it, 
Where were you before that? 

32
00:02:01,160 --> 00:02:09,720
Well, OK, so going back in time,
I used to work with Ruby. 

33
00:02:11,039 --> 00:02:13,280
I didn't. 
I did not start with web 

34
00:02:13,280 --> 00:02:17,960
development. 
I started with CC Plus Plus and 

35
00:02:17,960 --> 00:02:21,360
desktop applications back in the
day. 

36
00:02:21,920 --> 00:02:26,880
And then I had some time with 
PHP and WordPress, which was 

37
00:02:26,880 --> 00:02:32,360
like for me was like the, you 
know, some wow moment when I 

38
00:02:32,360 --> 00:02:36,000
discovered PHP and web 
development and also WordPress. 

39
00:02:36,880 --> 00:02:40,320
It was like, you know, huge 
innovation for me. 

40
00:02:40,320 --> 00:02:45,000
I mean, WordPress, whether you 
like it or not, WordPress was an

41
00:02:45,160 --> 00:02:50,720
innovation, right? 
And, and then eventually I start

42
00:02:50,720 --> 00:02:54,520
working with Ruby and, well, I'm
from Brazil. 

43
00:02:54,520 --> 00:02:58,240
So when I figure out there was a
Brazilian working in the real 

44
00:02:58,360 --> 00:03:04,320
Rios carting, you know, just I 
was working on the, on the Rios 

45
00:03:04,320 --> 00:03:09,880
carting back in the day. 
And that was kind of the, you 

46
00:03:09,880 --> 00:03:16,080
know, my interest in Elixir was 
because of chosen, you know, and

47
00:03:16,080 --> 00:03:21,280
chosen being Brazilian as well. 
And then when I started learning

48
00:03:21,280 --> 00:03:26,720
Elixir, that was another moment 
that was like, Hey, this is 

49
00:03:26,720 --> 00:03:29,160
special. 
This is something, this is 

50
00:03:29,160 --> 00:03:34,240
different, right? 
Elixir, it looks like Ruby, but 

51
00:03:34,240 --> 00:03:38,360
it's way different that that was
another wall moment for me. 

52
00:03:38,520 --> 00:03:43,320
And that was when I started, you
know, learning about Elixir. 

53
00:03:43,320 --> 00:03:49,600
And that was in 10 years ago, 
maybe was a long time ago. 

54
00:03:49,600 --> 00:03:54,440
Elixir was just a baby. 
And I started using Elixir in a,

55
00:03:54,440 --> 00:04:01,640
a small project professionally. 
But this project didn't, you 

56
00:04:01,640 --> 00:04:06,000
know, this project eventually 
died and then I came back to 

57
00:04:06,000 --> 00:04:11,560
Ruby for a few years and then I 
started using, you know, Elixir,

58
00:04:11,560 --> 00:04:16,920
Phoenix and especially Phoenix 
live view in, you know, about 

59
00:04:16,920 --> 00:04:20,959
2018 now. 
So you know early days of 

60
00:04:20,959 --> 00:04:25,880
Phoenix and Live View and and 
you know I have been working 

61
00:04:25,880 --> 00:04:28,560
with Phoenix and Live View full 
time since then. 

62
00:04:29,880 --> 00:04:31,400
That's awesome. 
That's amazing. 

63
00:04:31,440 --> 00:04:37,760
Yeah, I I found Elixir in 
Phoenix live view in like 2021, 

64
00:04:37,760 --> 00:04:41,840
maybe 2020 and I haven't I 
haven't gone back to the 

65
00:04:41,840 --> 00:04:45,080
JavaScript days yet. 
Yeah, you're lucky. 

66
00:04:47,000 --> 00:04:50,160
Well, I mean, it's not easy. 
Like I just have tried to force 

67
00:04:50,240 --> 00:04:52,320
myself to have projects in 
Elixir. 

68
00:04:53,000 --> 00:04:57,440
So I just, yeah, I don't know if
it's the smartest move. 

69
00:04:57,440 --> 00:05:00,360
It's probably been a harder, 
more difficult path for me, but 

70
00:05:02,440 --> 00:05:04,280
once you start, you kind of get 
hooked. 

71
00:05:04,480 --> 00:05:07,960
Like I love just the Elixir 
ecosystem and syntax. 

72
00:05:08,280 --> 00:05:11,200
It's fun to write versus just 
having to write it right. 

73
00:05:12,080 --> 00:05:16,640
Yeah, I, I do love the syntax, 
but it, it was kind of a problem

74
00:05:16,640 --> 00:05:21,560
for me in the beginning because 
it felt like Ruby, but it's not 

75
00:05:21,560 --> 00:05:24,560
Ruby. 
And you know, the first maybe 

76
00:05:24,560 --> 00:05:28,600
1-2 projects in Elixir was 
messy. 

77
00:05:28,760 --> 00:05:33,360
Like was not a good project 
because I was trying to module 

78
00:05:33,360 --> 00:05:39,680
like OP into Elixir, like trying
to write Ruby into Elixir 

79
00:05:39,680 --> 00:05:43,640
because it felt like Ruby even 
though it's not Ruby. 

80
00:05:44,200 --> 00:05:49,040
So I was like, hey, where I 
write my value objects where I 

81
00:05:49,040 --> 00:05:53,400
have like my instance data, my 
instance state and that kind of 

82
00:05:53,400 --> 00:05:57,480
stuff. 
So it was hard for me to get 

83
00:05:57,480 --> 00:06:03,520
into the functional programming 
mindset in the beginning, but as

84
00:06:04,360 --> 00:06:07,600
as that clicks for you, it is so
much easier. 

85
00:06:07,920 --> 00:06:10,640
Yeah, for sure. 
Well, like the functional 

86
00:06:10,640 --> 00:06:13,520
programming mindset was very 
difficult for me as well. 

87
00:06:13,800 --> 00:06:18,240
But I feel, I feel like it would
be a lot harder if syntax was 

88
00:06:18,360 --> 00:06:20,440
closer to the language I was 
coming from. 

89
00:06:20,440 --> 00:06:23,480
Like if I was a Ruby dev coming 
in, I could see that being 

90
00:06:23,480 --> 00:06:26,200
tricky because then you're like,
you know, you have your objects,

91
00:06:26,200 --> 00:06:27,680
right? 
And then you don't. 

92
00:06:29,360 --> 00:06:34,400
Yeah, yeah, Especially because, 
you know, Elixir was my first 

93
00:06:35,280 --> 00:06:37,280
experience with functional 
programming. 

94
00:06:38,080 --> 00:06:43,160
I don't know if some other 
people we've previous experience

95
00:06:43,200 --> 00:06:46,040
with functional programming 
makes it easier to learn it or 

96
00:06:46,040 --> 00:06:50,960
not, I'm not sure. 
But this transition from object 

97
00:06:50,960 --> 00:06:53,880
oriented programming to 
functional functional 

98
00:06:53,880 --> 00:06:57,920
programming is sometimes it is 
it's hard, you know, and 

99
00:06:57,920 --> 00:07:03,040
especially especially like 10 
years ago, we didn't have many 

100
00:07:03,160 --> 00:07:06,720
materials to learn Elixir back 
in the day. 

101
00:07:08,360 --> 00:07:15,520
Now have bunch more and you 
know, but for me, like I 

102
00:07:15,520 --> 00:07:21,040
remember reading the programming
Elixir book and Elixir in 

103
00:07:21,160 --> 00:07:28,000
action, you know, huge help to 
learn Elixir, but we didn't have

104
00:07:28,000 --> 00:07:30,440
other. 
Yeah, Sasha's a rock star. 

105
00:07:30,440 --> 00:07:32,400
That was my first book too, the 
In action. 

106
00:07:33,360 --> 00:07:37,480
Yes, yes, I remember programming
Elixir in the beginning of the 

107
00:07:37,480 --> 00:07:41,080
book. 
There is like intro functional 

108
00:07:41,080 --> 00:07:44,880
programming like you know, 
talking about assigns and 

109
00:07:44,880 --> 00:07:51,360
variables and state. 
But for me, Elixir in action was

110
00:07:51,360 --> 00:07:58,520
like the was like the the click 
for me, especially in the part 

111
00:07:58,520 --> 00:08:03,520
of the book he talks about, you 
know, process and Jinx servers. 

112
00:08:04,320 --> 00:08:07,760
That was, you know, that was for
me, that was like, Hey, now I 

113
00:08:07,760 --> 00:08:13,800
know the how this works, you 
know, but I spent but the 

114
00:08:13,800 --> 00:08:19,360
problem was I, I remember I 
spent some time like, OK, I know

115
00:08:19,360 --> 00:08:22,720
what a Jinx server is. 
I know what a process is, but 

116
00:08:23,400 --> 00:08:25,360
where I'm supposed to use that, 
you know? 

117
00:08:25,520 --> 00:08:29,000
That was the next challenge for 
me learning Elixir. 

118
00:08:29,000 --> 00:08:34,480
I was trying to use gene servers
and process everywhere and where

119
00:08:34,480 --> 00:08:37,720
I was not supposed to, you know?
Yeah, just put them everywhere, 

120
00:08:37,720 --> 00:08:39,799
wherever you want to hold state,
right, just. 

121
00:08:40,600 --> 00:08:43,200
Yeah. 
So yeah, the first, first or two

122
00:08:43,200 --> 00:08:46,880
probably was kind of messy, but 
eventually you learn and then 

123
00:08:47,000 --> 00:08:49,680
when you learn it feels like so 
much easier. 

124
00:08:50,040 --> 00:08:51,480
Yeah, I agree. 
Once. 

125
00:08:51,480 --> 00:08:55,040
Once the functional paradigm 
clicks, you're just like your 

126
00:08:55,040 --> 00:08:57,280
eyes are opened. 
Yeah. 

127
00:08:57,280 --> 00:08:59,240
And yeah. 
And it's really cool that you 

128
00:08:59,240 --> 00:09:03,960
know that you know both, both, 
because you can, you can learn 

129
00:09:03,960 --> 00:09:05,600
from both. 
It's not exclusive. 

130
00:09:05,640 --> 00:09:09,400
You know, you're not supposed to
use to use either one or 

131
00:09:09,400 --> 00:09:11,960
another. 
You can combine some ideas from 

132
00:09:11,960 --> 00:09:16,320
one the other and you know that 
I believe that makes you a 

133
00:09:16,320 --> 00:09:20,160
better developer if you learn 
both and you use both. 

134
00:09:20,680 --> 00:09:25,120
For sure and it allows you to 
run into different situations 

135
00:09:25,120 --> 00:09:29,920
and problems in, you know, 
different architectures of a 

136
00:09:29,920 --> 00:09:33,520
language as well. 
So like object oriented versus 

137
00:09:33,520 --> 00:09:38,320
functional and then like, you 
know, Beam VM stuff and 

138
00:09:38,320 --> 00:09:42,920
processes and it allows you to 
really see the big picture for 

139
00:09:42,920 --> 00:09:47,600
what you're solving too. 
Yeah, I mean it's, it's always 

140
00:09:47,600 --> 00:09:49,200
good to learn something new, 
right. 

141
00:09:49,200 --> 00:09:54,840
So and back in the day I was 
very much into you Domain driven

142
00:09:54,840 --> 00:10:00,840
design and DDD. 
So, you know, I believe there's 

143
00:10:00,840 --> 00:10:05,960
a lot to learn from DDD, but in 
the beginning or back in the 

144
00:10:05,960 --> 00:10:11,000
day, it was hard for me to kind 
of, you know, try to model the, 

145
00:10:11,240 --> 00:10:15,200
you know, to design projects, 
especially because I was with 

146
00:10:15,240 --> 00:10:19,000
the, you know, domain driven 
design mindset, trying to learn 

147
00:10:19,000 --> 00:10:21,600
Elixir. 
You know, like I said in the 

148
00:10:21,600 --> 00:10:25,120
beginning, it was kind of a 
messy for me, but yeah. 

149
00:10:25,720 --> 00:10:28,760
You know what I wish I had when 
I was first learning Elixir was 

150
00:10:29,840 --> 00:10:33,680
Jose has the his design patterns
talk that he just did this last.

151
00:10:33,680 --> 00:10:38,000
Yes, yes, that was like such an 
amazing talk. 

152
00:10:38,000 --> 00:10:41,920
And if you guys are listening 
and haven't watched it, you got 

153
00:10:42,000 --> 00:10:44,000
you have to check it out. 
It is this eye opening. 

154
00:10:44,000 --> 00:10:44,640
It's pretty. 
Amazing. 

155
00:10:44,640 --> 00:10:48,120
Yes, yes, yes, yes. 
I was I was there watching the 

156
00:10:48,120 --> 00:10:53,560
talk and I was a friend of mine 
and I remember like I wish I had

157
00:10:53,560 --> 00:10:57,160
this presentation. 
I I I said I said the exact same

158
00:10:57,160 --> 00:10:59,840
thing to my friend. 
Like I wish I had that in the 

159
00:10:59,840 --> 00:11:02,840
beginning, like a few a few 
years ago. 

160
00:11:03,360 --> 00:11:07,040
That would would help a lot. 
Yeah, it was well done. 

161
00:11:07,080 --> 00:11:10,240
And it's like, because coming 
from like an object oriented 

162
00:11:10,400 --> 00:11:14,120
language, you're used to, you 
know, all your design patterns 

163
00:11:14,120 --> 00:11:18,080
like you, you know, your factory
pattern, whatever it may be, 

164
00:11:18,080 --> 00:11:21,320
right? 
But it was just so awesome to 

165
00:11:21,320 --> 00:11:25,440
kind of see how they kind of 
automatically fall into place 

166
00:11:25,440 --> 00:11:29,720
where you need them with the 
BMVM and Elixir. 

167
00:11:30,200 --> 00:11:32,840
Yeah, yeah. 
And I remember I was like 

168
00:11:33,040 --> 00:11:35,480
researching some other 
technologies, some other 

169
00:11:35,480 --> 00:11:39,160
programming languages like 
Closure and some others like 

170
00:11:39,480 --> 00:11:45,280
trying to learn how they apply 
DDD and other patterns and try 

171
00:11:45,280 --> 00:11:51,120
to, you know, kind of learn how 
to they apply that and then 

172
00:11:51,120 --> 00:11:55,800
apply to Elixir because we 
didn't have much material about 

173
00:11:55,800 --> 00:12:00,240
Elixir. 
But you know, that does does not

174
00:12:00,240 --> 00:12:05,080
work very well as well because 
in Elixir we have process like 

175
00:12:05,080 --> 00:12:09,080
we have the old PE that we don't
have any other technologies. 

176
00:12:09,680 --> 00:12:14,640
So it's it's a kind of a unique 
environment, I would say. 

177
00:12:15,160 --> 00:12:22,000
Yeah, no, I agree. 
So Beacon CMS is a it's a cool 

178
00:12:22,000 --> 00:12:24,520
project. 
I should have been diving into 

179
00:12:24,520 --> 00:12:27,680
it the second it was released 
because I just started diving 

180
00:12:27,680 --> 00:12:32,040
into the code and I spun up the 
demo app and I started checking 

181
00:12:32,040 --> 00:12:37,000
things out early this morning. 
And it's a it's a really awesome

182
00:12:37,000 --> 00:12:41,760
project. 
And I'm curious what got you 

183
00:12:42,360 --> 00:12:46,000
involved in this project and 
what were like the early 

184
00:12:46,000 --> 00:12:48,800
conversations looking like when 
you first got involved? 

185
00:12:51,840 --> 00:13:01,400
Well, it was kind of, I would 
say kind of coincidence maybe a 

186
00:13:01,400 --> 00:13:03,840
friend of mine joined Dog Yard, 
right? 

187
00:13:05,160 --> 00:13:09,880
And he, when he joined Dog Yard,
he was like, hey, I'm happy. 

188
00:13:09,880 --> 00:13:14,360
I'm just joined Dog Yard. 
I'm glad I did it and I was 

189
00:13:14,360 --> 00:13:17,600
like, OK, you know, if you have 
the content of the person like 

190
00:13:17,640 --> 00:13:22,760
you have if if you can share the
kind of the person. 

191
00:13:23,120 --> 00:13:29,440
And and then we had like a brief
conversation about a job 

192
00:13:29,440 --> 00:13:34,560
position, but I was working on 
other projects. 

193
00:13:34,560 --> 00:13:38,680
So I was like, OK, now it's not 
the best time, right? 

194
00:13:38,680 --> 00:13:43,600
So and then eventually there was
this position for beacons Ms. 

195
00:13:44,080 --> 00:13:46,280
and that was about two years 
ago. 

196
00:13:48,240 --> 00:13:50,960
And I was like, OK, that's 
interesting. 

197
00:13:50,960 --> 00:13:56,440
So let's you know, talk about 
this project and see if that 

198
00:13:56,440 --> 00:14:00,000
works out for both, you know, 
for me and for Dockyard. 

199
00:14:01,040 --> 00:14:07,200
And since that I had experienced
with Elixir Phoenix live view, I

200
00:14:07,200 --> 00:14:11,280
had some, I had some 
contributions to Phoenix like 

201
00:14:11,280 --> 00:14:17,560
you and some other projects. 
And so it was, it was, I'd say 

202
00:14:17,560 --> 00:14:23,560
it was a nice match because I 
really do believe in open source

203
00:14:24,080 --> 00:14:30,960
and I want to do, you know, part
be in the open source ecosystem 

204
00:14:31,760 --> 00:14:36,080
and giving my experience with 
Phoenix and live view and you 

205
00:14:36,080 --> 00:14:41,040
know, what the project needed. 
It was, it was a good match, 

206
00:14:41,440 --> 00:14:46,680
right? 
So then I join Docker to work on

207
00:14:46,680 --> 00:14:51,400
Beacon full time. 
So I've been working on on the 

208
00:14:51,400 --> 00:14:55,920
Beacon project and some other 
projects around Beacon and also 

209
00:14:55,920 --> 00:14:59,880
on the Docker website. 
The Docker website is running on

210
00:14:59,880 --> 00:15:05,880
Beacon like 100% now for, you 
know, for more than a year now. 

211
00:15:06,800 --> 00:15:09,040
Yes, Mark, Yeah, more than a 
year now. 

212
00:15:09,680 --> 00:15:13,200
So I have been working on the 
Docker website as well. 

213
00:15:13,640 --> 00:15:19,240
So it was like it just happened.
I would say it just happened. 

214
00:15:19,280 --> 00:15:22,040
You know, it was just the 
perfect moment. 

215
00:15:23,640 --> 00:15:26,520
So there's no better 
explanation. 

216
00:15:26,520 --> 00:15:28,240
It just, Oh yeah, just just 
happened. 

217
00:15:28,640 --> 00:15:33,240
No, I love that. 
What did you have any experience

218
00:15:33,240 --> 00:15:37,240
with like other CMS systems or 
was this kind of a first for 

219
00:15:37,240 --> 00:15:39,800
you? 
I had in the past. 

220
00:15:39,800 --> 00:15:45,760
I used to work with WordPress 
back back in the day like you 

221
00:15:45,880 --> 00:15:47,560
used. 
Them, but you never really 

222
00:15:47,560 --> 00:15:51,840
created one. 
No, I never created one, but I 

223
00:15:51,840 --> 00:15:56,040
was back in the day, I was 
working with plugins and, you 

224
00:15:56,040 --> 00:16:01,800
know, customizing WordPress, but
that was, I'm talking about more

225
00:16:01,800 --> 00:16:03,520
than 10 years ago. 
Yeah. 

226
00:16:03,600 --> 00:16:06,360
OK, All right. 
So it's a while now. 

227
00:16:07,400 --> 00:16:13,360
So after that I had as far as I 
remember, I had no other 

228
00:16:13,360 --> 00:16:17,280
experience with CMS, with CMS. 
So. 

229
00:16:18,040 --> 00:16:23,160
But nowadays there are some, so 
many other projects in the 

230
00:16:23,160 --> 00:16:28,680
market like for not even not 
only CMSS but also visual 

231
00:16:28,680 --> 00:16:33,160
editors, which is also a big 
part of Beacon for for us. 

232
00:16:33,160 --> 00:16:39,560
So, So nowadays we have kind of 
two types of projects, CMSS that

233
00:16:39,680 --> 00:16:43,480
may or may not have visual 
editors and we also have visual 

234
00:16:43,480 --> 00:16:45,280
editors. 
We have companies that are 

235
00:16:45,280 --> 00:16:53,320
focused 100% on visual editors. 
So Beacon in Beacon, we have 

236
00:16:53,320 --> 00:16:58,480
the, you know, all the SMS stuff
like the pages and data source. 

237
00:16:58,800 --> 00:17:02,320
And we also have, we are working
on the visual editor, right. 

238
00:17:02,320 --> 00:17:06,319
So the visual editor is more 
like JavaScript project. 

239
00:17:06,520 --> 00:17:11,200
It's it's wealth project. 
I, I'm not going to, I'm not 

240
00:17:11,200 --> 00:17:15,520
going to give spoilers. 
You know Miguel, you'll be on 

241
00:17:15,520 --> 00:17:18,960
the show talking about. 
Yeah, Miguel editor is on next 

242
00:17:18,960 --> 00:17:21,640
Friday. 
So we get 2 weeks in a row of 

243
00:17:21,640 --> 00:17:22,640
Beacon. 
It'll be. 

244
00:17:22,640 --> 00:17:24,640
It'll be awesome. 
Yeah, that's awesome. 

245
00:17:24,720 --> 00:17:27,720
Yeah. 
So no spoilers on the visual 

246
00:17:27,720 --> 00:17:32,680
editor, but we do have kind of 
those, I would say, two big 

247
00:17:32,680 --> 00:17:35,160
projects into one. 
Yeah. 

248
00:17:35,240 --> 00:17:38,840
No, that's amazing. 
I am like very curious because 

249
00:17:39,680 --> 00:17:43,160
I've talked about it previously 
on this podcast that I have like

250
00:17:43,200 --> 00:17:45,600
a web hosting platform that I've
been building. 

251
00:17:46,120 --> 00:17:49,360
And the more that I've been 
adding to it, the more it's been

252
00:17:49,360 --> 00:17:53,280
turning into its own like CMS. 
So it's like pretty much like 

253
00:17:53,280 --> 00:17:56,480
I'm just, you know, quite a few 
versions behind Beacon right 

254
00:17:56,480 --> 00:17:59,600
now. 
So I have to, I have to kind of 

255
00:17:59,920 --> 00:18:03,480
reevaluate what I'm working on, 
I think, and maybe contribute to

256
00:18:03,640 --> 00:18:06,040
open source instead of my own 
project. 

257
00:18:06,840 --> 00:18:11,240
But I really love a lot of your 
like architectural decisions 

258
00:18:11,240 --> 00:18:16,080
that you did with Beacon. 
And do you want to kind of do 

259
00:18:16,080 --> 00:18:21,120
like a macro overview of like 
how Beacon is kind of structured

260
00:18:21,120 --> 00:18:25,760
internally for like a website 
like like like let's just talk 

261
00:18:25,760 --> 00:18:27,840
about maybe like a static 
homepage for now. 

262
00:18:29,280 --> 00:18:32,440
Yeah. 
So we can, we can't get into the

263
00:18:32,560 --> 00:18:38,400
technical details, but if I 
want, if you need like a very 

264
00:18:38,400 --> 00:18:44,440
short introduction, Beacon is 
essentially compiling the 

265
00:18:44,440 --> 00:18:48,280
templates at runtime and making 
them available so you don't need

266
00:18:48,280 --> 00:18:52,560
to deploy your sites. 
It's like it's like creating or 

267
00:18:52,560 --> 00:18:57,280
writing the Hiks templates at 
runtime, right? 

268
00:18:57,280 --> 00:18:59,800
So that's essentially how Beacon
works. 

269
00:19:01,000 --> 00:19:06,040
And the getting more into the 
technical details, you know, 

270
00:19:06,160 --> 00:19:08,440
just the timeline of the 
project. 

271
00:19:09,800 --> 00:19:16,720
Mike Beans started the project 
and he create the first, I'd say

272
00:19:17,040 --> 00:19:24,240
the first prototype and the 
design we have now the code that

273
00:19:24,320 --> 00:19:28,360
the code base that we have now 
is not like the the initial 

274
00:19:28,480 --> 00:19:30,360
prototype, but the idea is the 
same. 

275
00:19:30,360 --> 00:19:34,760
The concept is the same. 
Whenever we you make a change on

276
00:19:34,760 --> 00:19:41,600
a template or a component, we 
build a module at runtime and 

277
00:19:41,840 --> 00:19:46,840
compile that module and just 
swap the the the module at 

278
00:19:46,840 --> 00:19:49,360
runtime. 
Because in in Erlang you have 

279
00:19:49,760 --> 00:19:54,840
when a module is loaded, you 
have the new module and the old 

280
00:19:54,840 --> 00:19:57,400
module like you have two 
versions of the module at 

281
00:19:57,640 --> 00:20:00,080
runtime and then we just swap 
them. 

282
00:20:00,160 --> 00:20:03,880
We. 
Replace the module and then, you

283
00:20:03,880 --> 00:20:08,240
know, that module that was 
compiled, we make it available 

284
00:20:08,520 --> 00:20:13,120
for, you know, for your site. 
So it's and and that's the 

285
00:20:13,120 --> 00:20:16,480
challenge. 
We've beacon is bringing all 

286
00:20:16,480 --> 00:20:21,680
the, you know, the compile time 
operations at runtime. 

287
00:20:22,720 --> 00:20:26,840
So, you know, building modules, 
compiling and loading all that 

288
00:20:26,840 --> 00:20:31,680
stuff that usually happens at 
compile time in your local 

289
00:20:31,680 --> 00:20:35,120
environment. 
We are bringing that into, you 

290
00:20:35,680 --> 00:20:38,760
know, the runtime environment. 
Yeah, that's awesome. 

291
00:20:38,840 --> 00:20:41,440
Are you, I'm, I'm assuming 
you're building like a lot of 

292
00:20:41,440 --> 00:20:44,600
your own, like DSLS then and 
things like that to do that or 

293
00:20:45,320 --> 00:20:50,200
how are how do you handle 
dynamically rendering like a new

294
00:20:50,200 --> 00:20:52,520
live view module? 
Yeah. 

295
00:20:52,520 --> 00:20:56,800
So essentially it's basically 
meta programming, right? 

296
00:20:56,800 --> 00:21:02,920
So we have all the loading 
system and the loading system, 

297
00:21:02,960 --> 00:21:07,240
it's essentially if you go to 
the beacon repo and you could go

298
00:21:07,240 --> 00:21:12,120
to the loader directory, that's 
that's where the the magic 

299
00:21:12,120 --> 00:21:15,680
happens, right? 
It's where we get the data from 

300
00:21:15,680 --> 00:21:18,760
the database, like your 
templates, for example. 

301
00:21:19,320 --> 00:21:22,760
So if you create and let's say 
you create a new page, right? 

302
00:21:22,840 --> 00:21:28,360
And then this page is like slash
about something or blog 

303
00:21:28,360 --> 00:21:31,120
something. 
You know the path of your page 

304
00:21:31,600 --> 00:21:35,160
and you have the description 
title and you have a template, 

305
00:21:36,200 --> 00:21:38,680
right? 
So essentially we we started 

306
00:21:38,680 --> 00:21:45,360
data into the database and then 
we need to fetch all the all the

307
00:21:45,360 --> 00:21:50,160
data and compile module. 
So essentially we are building 

308
00:21:50,160 --> 00:21:53,520
the modules dynamically. 
It's a bunch of code 

309
00:21:53,520 --> 00:21:57,640
expressions, so and then 
eventually we have the module 

310
00:21:57,880 --> 00:22:03,360
and compile the code expression 
and load that into the runtime 

311
00:22:04,240 --> 00:22:07,040
environment. 
That's awesome. 

312
00:22:07,400 --> 00:22:11,960
Like what just popped into my 
head too is with with 

313
00:22:12,440 --> 00:22:16,160
dynamically building templates 
like that, like localization and

314
00:22:16,160 --> 00:22:20,440
things of that nature will be 
very easy to implement and kind 

315
00:22:20,440 --> 00:22:23,920
of create multiple language 
websites. 

316
00:22:25,120 --> 00:22:28,400
Yeah, for example, we don't have
built in localization now, but 

317
00:22:28,400 --> 00:22:32,840
we do have variants like ABAB 
variants, for example. 

318
00:22:32,840 --> 00:22:38,200
So you can create a new variant 
for your site. 

319
00:22:38,760 --> 00:22:42,160
And then in the we we call page 
module. 

320
00:22:42,400 --> 00:22:46,800
Page module is where we start 
all the data for, you know, for 

321
00:22:47,000 --> 00:22:51,560
that page, we start the compile 
Higgs template, we start assigns

322
00:22:51,560 --> 00:22:56,640
and some other metadata. 
And in this module we store all 

323
00:22:56,640 --> 00:23:01,120
the variants, the main template 
and the other variants, right. 

324
00:23:01,120 --> 00:23:06,160
So it's, it's really nice 
because we can, we can have this

325
00:23:06,160 --> 00:23:10,080
abstraction, right? 
So in Beacon we have just one 

326
00:23:10,080 --> 00:23:13,800
live view. 
It's the page live live view. 

327
00:23:13,800 --> 00:23:20,160
It's, it's a single live view 
that gets all the requests to 

328
00:23:20,160 --> 00:23:24,680
your pages. 
And in this live view, we prox 

329
00:23:24,680 --> 00:23:28,280
the request to the page module 
you're requesting. 

330
00:23:29,480 --> 00:23:32,040
And that's where we have the 
router, right? 

331
00:23:32,280 --> 00:23:34,320
We have a dynamic router as 
well. 

332
00:23:35,160 --> 00:23:40,640
We have a ETS table with other 
routes and the page module that 

333
00:23:40,640 --> 00:23:46,440
serves that route, that route. 
So a request comes in into the 

334
00:23:48,080 --> 00:23:52,320
into that single live view. 
Then we find a page module for 

335
00:23:52,320 --> 00:23:56,200
that request and then we call 
the render function for you that

336
00:23:56,400 --> 00:24:00,080
is compiled. 
So that's essentially how a 

337
00:24:00,080 --> 00:24:03,360
request works in in Beacon. 
Yeah, that's cool. 

338
00:24:03,360 --> 00:24:06,880
So you do you have your own 
router and then you're still 

339
00:24:06,880 --> 00:24:08,960
using the Phoenix router, I'm 
assuming, right? 

340
00:24:09,000 --> 00:24:12,680
And the Phoenix router just kind
of holds your magic dynamic 

341
00:24:12,680 --> 00:24:14,280
route and that's all you have 
there. 

342
00:24:15,000 --> 00:24:18,160
Yeah, we have just a single 
route in the Phoenix, the 

343
00:24:18,160 --> 00:24:21,720
regular Phoenix route. 
It's just a catch all route. 

344
00:24:22,120 --> 00:24:26,800
So let's say you mount your site
at slash block. 

345
00:24:27,400 --> 00:24:35,520
So whatever comes after slash 
block is is is is fetched by the

346
00:24:35,680 --> 00:24:41,240
sketch of route and then beacon 
managers of the other, you know 

347
00:24:41,520 --> 00:24:45,840
other requests that using the 
slash block prefix. 

348
00:24:46,800 --> 00:24:54,400
And we used ETS table for, for 
our routes because The thing is 

349
00:24:54,400 --> 00:25:00,000
we need to create new pages, you
know, publish new pages and 

350
00:25:00,000 --> 00:25:04,800
eventually we'll have the 
feature to unload pages. 

351
00:25:04,800 --> 00:25:08,520
So you can delete pages, for 
example, and you know, have all 

352
00:25:08,520 --> 00:25:12,640
the redirect from 1:00 to 
another, all that stuff. 

353
00:25:13,480 --> 00:25:17,880
So we need to be able to 
dynamically add and remove 

354
00:25:18,200 --> 00:25:21,080
routes. 
So that's that's the reason we 

355
00:25:21,080 --> 00:25:24,120
have ETS table. 
Yeah, that's really. 

356
00:25:24,120 --> 00:25:25,640
I love that. 
That's really smart. 

357
00:25:25,960 --> 00:25:30,520
Do you dynamically update like a
site map then as well or what? 

358
00:25:30,560 --> 00:25:32,000
What are you doing on that 
front? 

359
00:25:33,120 --> 00:25:37,400
We we don't have we don't have 
site maps yet in in beacon. 

360
00:25:37,440 --> 00:25:42,560
We do have in the docker website
which eventually we are going to

361
00:25:42,560 --> 00:25:50,760
extract into beacon but we don't
have site maps yet. 

362
00:25:50,760 --> 00:25:56,360
But that would be, you know, 
when we get the site maps, it's 

363
00:25:56,360 --> 00:26:00,280
going to be, you know, kind of 
the same, the same idea. 

364
00:26:00,280 --> 00:26:04,000
You know, we we go to the route 
to the routes table, we get all 

365
00:26:04,000 --> 00:26:07,800
the published pages and then we 
build the site maps so it can 

366
00:26:07,800 --> 00:26:09,960
just reuse the same routes 
table. 

367
00:26:10,120 --> 00:26:13,080
Yeah, you could just generate a 
site map. 

368
00:26:13,760 --> 00:26:15,480
A static site map essentially, 
right? 

369
00:26:16,080 --> 00:26:20,640
Yeah, yeah, exactly. 
And then in this routes table, 

370
00:26:20,720 --> 00:26:28,240
we, we parse, we, we, we have to
match every record. 

371
00:26:28,440 --> 00:26:34,200
So essentially we have the same 
matching that Phoenix router 

372
00:26:34,200 --> 00:26:39,440
have, but in a ETS table. 
So, you know, because we, we 

373
00:26:39,440 --> 00:26:41,280
support dynamic paths. 
How do? 

374
00:26:41,920 --> 00:26:46,600
You how do you originally like 
see the ETS table? 

375
00:26:46,600 --> 00:26:50,320
How does that work? 
So that happens at when the 

376
00:26:50,320 --> 00:26:53,720
application starts. 
OK, so when the application 

377
00:26:53,720 --> 00:26:58,520
starts there is a supervisor, a 
main supervisor for for beacon 

378
00:26:58,560 --> 00:27:01,440
itself. 
And then we have a supervisor 

379
00:27:01,440 --> 00:27:05,400
for each site. 
So the sites are separate right?

380
00:27:05,400 --> 00:27:11,080
So we have like a tree for every
site and and then when the 

381
00:27:11,080 --> 00:27:15,920
supervisor the site supervisor 
starts we bootstrap all the data

382
00:27:15,920 --> 00:27:21,200
we need like the routes table 
and some other metadata. 

383
00:27:22,520 --> 00:27:27,480
Sorry, is the routes table then?
Is it stored in the database and

384
00:27:27,480 --> 00:27:30,360
you're grabbing it and then 
putting it in the ETS table? 

385
00:27:30,360 --> 00:27:32,080
Because you can just grab it 
quicker. 

386
00:27:32,920 --> 00:27:34,840
Yeah. 
So we have all the pages. 

387
00:27:34,920 --> 00:27:38,520
I mean the the source of truth 
is always the database, right? 

388
00:27:38,520 --> 00:27:41,720
So all the pages are in the 
database, the database. 

389
00:27:42,120 --> 00:27:46,840
So when the start starts, we 
need to carry the database and 

390
00:27:46,840 --> 00:27:52,400
find all the published pages and
then we see the routes table. 

391
00:27:53,400 --> 00:28:00,640
And another reason we use ETS 
table is to be able to match the

392
00:28:01,920 --> 00:28:05,080
the records. 
Because in ETS we have, you 

393
00:28:05,080 --> 00:28:10,440
know, we have the specific type 
of query on ETS that we can 

394
00:28:10,440 --> 00:28:15,640
match the records and we use 
that to find, you know, to match

395
00:28:15,640 --> 00:28:20,520
the request that is coming with 
the record that is in the test 

396
00:28:20,520 --> 00:28:24,800
table. 
So that's how we find which page

397
00:28:25,200 --> 00:28:29,080
we need to serve the request. 
OK, that's cool. 

398
00:28:29,360 --> 00:28:34,040
Now is beacon, is it like is it 
multi tenancy or would you 

399
00:28:34,040 --> 00:28:37,240
create a new beacon project for 
every site? 

400
00:28:37,640 --> 00:28:39,640
How does? 
That no, it's more tenants. 

401
00:28:39,640 --> 00:28:44,160
So we can, you can have 
virtually, you know, any amount 

402
00:28:44,160 --> 00:28:46,400
of sizes. 
And you were just saying you you

403
00:28:46,400 --> 00:28:50,680
basically just spring up a new 
supervisor then for each each 

404
00:28:50,680 --> 00:28:53,800
site that is created? 
Yeah, you, you don't need to, 

405
00:28:53,800 --> 00:28:57,280
you know, because you take care 
of that for you. 

406
00:28:57,560 --> 00:29:01,360
So essentially all you need to 
do is add a new configuration. 

407
00:29:01,960 --> 00:29:06,960
So in in your application in New
York, Phoenix live application, 

408
00:29:07,440 --> 00:29:11,200
you go to the on your 
supervisor, you know the 

409
00:29:11,200 --> 00:29:16,640
application, the children, and 
then you add beacon, you add the

410
00:29:16,640 --> 00:29:19,960
beacon supervisor there and you 
add the configuration for your 

411
00:29:19,960 --> 00:29:23,200
sites. 
So you can have site AB and C 

412
00:29:23,200 --> 00:29:26,000
and whatever. 
And then when your application 

413
00:29:26,000 --> 00:29:29,560
starts beacon, you take care of,
you know, starting the 

414
00:29:29,560 --> 00:29:33,520
supervisors, the process, you 
know, all the OTP stuff. 

415
00:29:34,320 --> 00:29:35,880
You don't need to worry about 
that. 

416
00:29:35,960 --> 00:29:37,160
Beacon does that for you. 
Nice. 

417
00:29:39,320 --> 00:29:41,960
Are you routing then for each 
individual site? 

418
00:29:41,960 --> 00:29:44,920
Do you just use plug or what do 
you do at that point? 

419
00:29:46,920 --> 00:29:51,120
So essentially when you you need
to do. 

420
00:29:51,280 --> 00:29:54,800
Essentially you need 2 steps to 
get a new site on your 

421
00:29:54,800 --> 00:29:57,800
application. 
First is the configuration in 

422
00:29:57,800 --> 00:30:01,920
the you know in the children. 
You need a new child in your 

423
00:30:02,480 --> 00:30:06,760
application, children. 
And the other thing is you need 

424
00:30:06,760 --> 00:30:09,800
to mount your site in your 
router. 

425
00:30:10,360 --> 00:30:16,040
So there is there's a macro 
Beacon site, you need to call 

426
00:30:16,040 --> 00:30:21,600
that macro in your router. 
And that is how Beacon knows 

427
00:30:22,680 --> 00:30:27,720
where to, you know where to find
a request for your site. 

428
00:30:28,080 --> 00:30:33,040
So if so, if you have 100 sites,
you're going to have like 100 

429
00:30:33,040 --> 00:30:37,360
configurations and 100 beacon 
side calls in your. 

430
00:30:37,560 --> 00:30:40,200
Router. 
OK, OK, cool. 

431
00:30:40,640 --> 00:30:42,040
No, I like that. 
That's cool. 

432
00:30:44,880 --> 00:30:47,560
I feel like this is probably 
jumping off subject a little bit

433
00:30:47,560 --> 00:30:52,440
or going on a tangent, but where
do you handle thing? 

434
00:30:52,480 --> 00:30:57,120
Do you handle like SSL certs and
things like cert bot inside of 

435
00:30:57,120 --> 00:31:01,160
bacon or no? 
No, that's that's up to you 

436
00:31:01,160 --> 00:31:05,960
because the idea of Beacon is 
Beacon is supposed to work with 

437
00:31:06,120 --> 00:31:09,200
your application. 
Like you don't need a new 

438
00:31:09,200 --> 00:31:11,280
Phoenix application just for 
Beacon. 

439
00:31:11,720 --> 00:31:18,120
Like that's, that's a big, no 
big value for us for for Beacon.

440
00:31:18,960 --> 00:31:24,240
So for example, we don't have 
authentication on the admin 

441
00:31:24,240 --> 00:31:28,640
interface because we don't want 
to impose a certain type of 

442
00:31:29,320 --> 00:31:32,040
authentication layer for you 
like. 

443
00:31:32,040 --> 00:31:35,960
So it's up to you. 
You may have like a base 

444
00:31:36,640 --> 00:31:42,560
authentication, you can have 
SSSCO or any other type of 

445
00:31:42,600 --> 00:31:47,760
authentication. 
So Beacon has to work with 

446
00:31:47,760 --> 00:31:51,440
existing applications and has to
be extensible. 

447
00:31:51,960 --> 00:31:53,080
OK. 
Right. 

448
00:31:53,080 --> 00:31:58,640
So we don't usually, we don't 
impose that kind of, you know, 

449
00:31:58,640 --> 00:32:02,960
this level of, you know, design 
decision decisions. 

450
00:32:02,960 --> 00:32:05,680
For you, which makes sense, 
especially since you're an open 

451
00:32:05,680 --> 00:32:09,480
source project, you have to fit 
as many use cases as you can, 

452
00:32:09,480 --> 00:32:14,000
right? 
Yeah, I mean, it's, it's really 

453
00:32:14,000 --> 00:32:17,040
interesting now that people are 
using Beacon because we, you 

454
00:32:17,040 --> 00:32:21,920
know, we released your .1 a 
month ago and people are using 

455
00:32:21,920 --> 00:32:27,600
Beacon and they're like, hey, 
how do I do, you know, these are

456
00:32:27,600 --> 00:32:32,120
that with Beacon. 
And sometimes we, we don't have 

457
00:32:32,120 --> 00:32:36,480
that feature or sometimes we do 
have, but we don't have the 

458
00:32:36,760 --> 00:32:39,880
documentation. 
And that's when I go to the 

459
00:32:39,880 --> 00:32:44,440
Beacon repo and then I write a 
guide or a recipe. 

460
00:32:45,200 --> 00:32:48,200
Whenever someone asks something,
I just go there and, you know, 

461
00:32:48,760 --> 00:32:53,000
write a recipe. 
And it's, it's a really 

462
00:32:53,000 --> 00:32:57,520
interesting, interesting to know
how people are using Beacon, you

463
00:32:57,520 --> 00:33:01,680
know, and which, you know, we, 
we have been using Beacon on the

464
00:33:01,680 --> 00:33:05,720
Docker website. 
But that's one use case, right? 

465
00:33:06,800 --> 00:33:09,640
And people can use become many 
different ways. 

466
00:33:11,080 --> 00:33:17,320
For example, I, I was at Elixir 
conf talking to someone that was

467
00:33:17,440 --> 00:33:23,480
kind of asking about the admin 
interface, how, how the admin 

468
00:33:23,480 --> 00:33:27,400
interface can manage multiple 
sites with multiple different 

469
00:33:27,400 --> 00:33:30,960
tenants. 
And The thing is, the admin 

470
00:33:30,960 --> 00:33:33,440
interface works in a cluster, 
right? 

471
00:33:33,440 --> 00:33:38,880
So you can have one, you can. 
You can have either a single 

472
00:33:38,880 --> 00:33:43,160
application with beacon and 
beacon live admin installed in 

473
00:33:43,160 --> 00:33:47,120
the same application, or you can
have multiple beacon 

474
00:33:47,960 --> 00:33:52,760
applications running in the 
cluster and a single admin 

475
00:33:52,760 --> 00:33:56,800
interface. 
And this guy at Lexer Conf was 

476
00:33:56,800 --> 00:34:01,040
asking about how to like create 
some silos. 

477
00:34:01,040 --> 00:34:05,200
You know, for example, one admin
interface can manage five 

478
00:34:05,200 --> 00:34:08,920
different sites, another admin 
interface can manage the other 

479
00:34:09,480 --> 00:34:14,639
sites in the same cluster. 
And that's something we, it is 

480
00:34:14,639 --> 00:34:17,600
possible. 
It needs some a small, a small 

481
00:34:17,600 --> 00:34:22,239
changes to make it work. 
But the overall idea, you know, 

482
00:34:22,880 --> 00:34:25,679
the overall idea, the overall 
architecture that we have 

483
00:34:25,679 --> 00:34:30,080
supports that and, but it, it's 
something that we have never 

484
00:34:30,239 --> 00:34:35,120
thought about before, you know, 
so it's really awesome to learn 

485
00:34:35,120 --> 00:34:38,239
how people are, you know, trying
to use Beacon and trying to 

486
00:34:38,960 --> 00:34:41,679
apply Beacon to their existing 
projects. 

487
00:34:42,600 --> 00:34:48,360
And, and we all, we are also 
learning how people are trying 

488
00:34:48,360 --> 00:34:56,040
to, you know, how to get Beacon 
working with existing 

489
00:34:56,040 --> 00:35:00,920
applications, for example, how 
they are able to share the same 

490
00:35:00,920 --> 00:35:04,400
style sheets, the same 
JavaScript files, you know, kind

491
00:35:04,400 --> 00:35:08,920
of have a tight integration 
between Beacon and the Phoenix 

492
00:35:08,920 --> 00:35:14,360
application, which is something 
we are, it's on the road map. 

493
00:35:14,360 --> 00:35:19,360
So we are researching ways to 
make it work better for our 

494
00:35:19,360 --> 00:35:24,760
users, but we are now in the 
phase that we are learning, you 

495
00:35:24,760 --> 00:35:28,960
know, how people are using 
Beaker and, and we are really, 

496
00:35:29,800 --> 00:35:33,920
really, you know, learning and 
having, we do have a road map 

497
00:35:33,920 --> 00:35:37,520
now. 
So we are, you know, having the,

498
00:35:38,360 --> 00:35:42,080
you know, all these learnings 
and issues and feature requests.

499
00:35:42,080 --> 00:35:48,080
So we are you'll be focused on 
making it work for for those 

500
00:35:48,080 --> 00:35:50,840
people that are using Beaker 
now. 

501
00:35:51,680 --> 00:35:55,840
Yeah, no, that's great. 
I, I'm actually excited to dive 

502
00:35:55,840 --> 00:36:00,520
more into it because like from 
my perspective, what I, what 

503
00:36:00,520 --> 00:36:05,440
I've been building is basically 
website hosting, right, Really 

504
00:36:05,440 --> 00:36:09,160
easy to store like get up static
home pages for people. 

505
00:36:09,640 --> 00:36:12,400
But then we've been slowly 
integrating features like blog 

506
00:36:12,400 --> 00:36:19,280
posts, Discord events, podcast 
pages, and I just recently got a

507
00:36:19,280 --> 00:36:23,920
client for doing e-commerce. 
And so I'm like trying to tie in

508
00:36:23,920 --> 00:36:26,640
like I want to build an 
e-commerce system that can be 

509
00:36:26,640 --> 00:36:30,800
styled to a brand, but reusable 
across my whole platform. 

510
00:36:31,360 --> 00:36:35,080
So kind of kind of the same 
thing you're kind of talking 

511
00:36:35,080 --> 00:36:40,480
about right now as well. 
So yeah, I don't know, I, I, I'm

512
00:36:40,480 --> 00:36:44,680
excited to dive in and this will
be maybe a good excuse to get my

513
00:36:45,200 --> 00:36:48,680
my toes into a open source 
project. 

514
00:36:49,480 --> 00:36:55,560
Yeah, I mean, every contribution
is amazing, like even like 

515
00:36:55,760 --> 00:37:01,120
documentation code or you know, 
just, you know, helping spread 

516
00:37:01,120 --> 00:37:03,680
the word. 
It's any contribution is, is 

517
00:37:03,680 --> 00:37:07,560
really welcome. 
And you you talk about 

518
00:37:08,080 --> 00:37:12,000
e-commerce like and that you 
know, that rings a bell about 

519
00:37:12,000 --> 00:37:15,520
plug insurance because one thing
that people are asking about is 

520
00:37:15,520 --> 00:37:19,280
plug insurance. 
You know, every CMS has plug 

521
00:37:19,280 --> 00:37:23,960
insurance and that's something 
we are researching ways to 

522
00:37:24,080 --> 00:37:29,800
implement because we could, for 
example, have hacks, packages, 

523
00:37:30,000 --> 00:37:33,600
packages, you know, just 
implements behavior and 

524
00:37:33,600 --> 00:37:37,440
protocols to extend the, you 
know, implement hooks and that 

525
00:37:37,440 --> 00:37:41,840
kind of stuff. 
That's easy, I'd say. 

526
00:37:41,840 --> 00:37:47,600
But the problem is the idea of 
Beacon is to allow the, you 

527
00:37:47,600 --> 00:37:50,800
know, all the operations to be 
done at runtime. 

528
00:37:52,240 --> 00:37:57,360
So now we have these, you know, 
this situation that we want to, 

529
00:37:58,520 --> 00:38:01,880
the perfect solution would be to
allow plug insurance to be 

530
00:38:01,880 --> 00:38:05,520
enabled at runtime. 
No, like like in WordPress, you 

531
00:38:05,520 --> 00:38:09,240
go to a directory and search for
a plug in and just enable it, 

532
00:38:10,440 --> 00:38:13,640
right? 
But that's not very easy, that's

533
00:38:13,640 --> 00:38:17,080
not very straightforward in 
Elixir, right? 

534
00:38:17,080 --> 00:38:19,360
So that's the kind of challenge 
that we have. 

535
00:38:20,240 --> 00:38:25,080
We could have a simple solution,
but it's not the best 

536
00:38:25,080 --> 00:38:28,760
experience. 
Or we can, you know, do more 

537
00:38:28,840 --> 00:38:32,720
research and do you know 
different try different things 

538
00:38:32,720 --> 00:38:36,680
and see if you can have a better
experience, right. 

539
00:38:36,720 --> 00:38:41,680
But plug insurance, it's coming 
eventually it's coming. 

540
00:38:41,680 --> 00:38:48,040
And then and then we you're 
going to have ways to extend 

541
00:38:48,160 --> 00:38:51,120
Beacon further. 
Yeah, plugins would be huge. 

542
00:38:51,120 --> 00:38:54,880
That would be amazing. 
Yeah, yeah. 

543
00:38:54,880 --> 00:38:59,040
We just need to figure out how 
to make it work in in a way 

544
00:38:59,040 --> 00:39:01,680
that, you know, the experience 
is great, right? 

545
00:39:02,000 --> 00:39:05,200
Yeah. 
It's not just make it work. 

546
00:39:05,280 --> 00:39:08,160
It has to work and the 
experience has to be good, you 

547
00:39:08,160 --> 00:39:10,800
know? 
Oh for sure, and it's not it's 

548
00:39:10,800 --> 00:39:12,680
not easy. 
I'm just trying to think about 

549
00:39:13,400 --> 00:39:16,000
like, I don't even know how to 
even approach plug insurance, 

550
00:39:17,320 --> 00:39:20,520
but yeah, that's a that'll be 
cool. 

551
00:39:20,600 --> 00:39:25,440
I think this is a really 
exciting, promising open source 

552
00:39:25,440 --> 00:39:27,440
project. 
I think it's really cool. 

553
00:39:28,360 --> 00:39:31,080
Yeah, yeah. 
You know the, well, we, we 

554
00:39:31,120 --> 00:39:37,840
didn't talk about the why Beacon
exists, but you know, there is 

555
00:39:37,840 --> 00:39:42,840
this gap in the community we 
don't have, because you, you can

556
00:39:42,840 --> 00:39:44,440
have your Phoenix project, 
right? 

557
00:39:44,440 --> 00:39:47,280
You have your Phoenix project, 
your live view project. 

558
00:39:47,920 --> 00:39:51,120
And that is the, your, your 
application, right? 

559
00:39:51,120 --> 00:39:54,360
Your, let's say your private 
application. 

560
00:39:54,920 --> 00:39:58,360
And of of course, you can have 
public sites. 

561
00:39:58,360 --> 00:40:01,840
You can have public pages like 
your marketing page, your 

562
00:40:01,840 --> 00:40:07,040
landing page, that kind of stuff
in Phoenix and live view. 

563
00:40:08,000 --> 00:40:13,360
But we, we want to have 
something that content creators 

564
00:40:13,360 --> 00:40:18,160
can manage and that's the gap we
are, you know, trying to solve 

565
00:40:18,160 --> 00:40:22,120
here. 
So on the other hand, on the 

566
00:40:22,120 --> 00:40:26,120
other side of the project, we, 
you can also have native 

567
00:40:26,120 --> 00:40:29,760
applications. 
So that's how you can see where 

568
00:40:29,760 --> 00:40:34,080
Beacon and Live Native converts 
together into a single 

569
00:40:34,080 --> 00:40:37,720
application. 
We fill all the gaps of a 

570
00:40:38,200 --> 00:40:41,920
application, you know, and then 
eventually we're going to have 

571
00:40:41,920 --> 00:40:45,200
open and other, you know, 
projects. 

572
00:40:45,200 --> 00:40:47,800
And then we have like a full 
application. 

573
00:40:47,960 --> 00:40:54,960
We've public pages, native apps,
and you know all the other parts

574
00:40:54,960 --> 00:40:55,920
of the application. 
Yeah. 

575
00:40:56,120 --> 00:40:58,520
Well, what's awesome too with 
like the site builder that's 

576
00:40:58,520 --> 00:41:03,440
come in that Miguel's working on
is that like the easier it is to

577
00:41:03,440 --> 00:41:06,960
use, the adoption rate of Elixir
in Phoenix is going to 

578
00:41:06,960 --> 00:41:09,840
skyrocket. 
Like, just because you have an 

579
00:41:09,840 --> 00:41:12,600
awesome product, not even 
necessarily the technology it's 

580
00:41:12,600 --> 00:41:16,120
built on, you know? 
Yeah, that that's, that's the 

581
00:41:16,120 --> 00:41:19,680
thing with CMSCMS. 
They tend to attract. 

582
00:41:21,040 --> 00:41:24,720
They're junior developers 
sometimes, or even people that 

583
00:41:24,720 --> 00:41:30,280
are, you know, experienced, but 
they don't use Elixir that that 

584
00:41:30,280 --> 00:41:34,080
happens with CMSS. 
They attract people from other 

585
00:41:34,080 --> 00:41:37,920
communities. 
And if we can do that, that that

586
00:41:37,920 --> 00:41:41,720
would be amazing, right? 
Because we, we can actually help

587
00:41:42,080 --> 00:41:46,040
increase the adoption of Elixir 
itself, right? 

588
00:41:46,040 --> 00:41:49,960
And the visual auditor is not 
only for content creators, it 

589
00:41:49,960 --> 00:41:53,560
can be for developers as well, 
right? 

590
00:41:54,120 --> 00:41:57,360
You, you, you can. 
The idea is you should be able 

591
00:41:57,360 --> 00:42:01,600
to create a new page like just 
using the visual controls like 

592
00:42:01,840 --> 00:42:06,760
you can just drag and drop 
components and and then you have

593
00:42:06,760 --> 00:42:09,960
a new page. 
Yeah, I love stuff like that. 

594
00:42:10,200 --> 00:42:13,440
As long as it works well, right?
Because I I would never consider

595
00:42:13,440 --> 00:42:17,320
myself a front end developer. 
I hack my way through front end 

596
00:42:17,320 --> 00:42:20,280
dev, but I can do it. 
Do I enjoy it? 

597
00:42:20,280 --> 00:42:23,160
Not really. 
Well, me neither. 

598
00:42:23,160 --> 00:42:27,640
Like I'm not a front end 
developer, so I, I, I can 

599
00:42:27,640 --> 00:42:30,800
relate. 
But yeah, but even if you are a 

600
00:42:30,800 --> 00:42:34,160
developer, even if you are a 
front end developer, like let's 

601
00:42:34,160 --> 00:42:38,000
say you want to change just, you
know, just the order of some 

602
00:42:38,000 --> 00:42:43,080
cards in your page in using the 
visual editor is just a matter 

603
00:42:43,080 --> 00:42:47,080
of drag and dropping the 
component and save and publish 

604
00:42:47,080 --> 00:42:48,960
the changes, right? 
You don't. 

605
00:42:48,960 --> 00:42:53,440
I love the the like, just the 
like just publishing versus 

606
00:42:53,440 --> 00:42:55,520
having to deploy a project like 
that. 

607
00:42:56,000 --> 00:42:58,320
That's pretty amazing. 
Just live rendering. 

608
00:42:59,080 --> 00:43:02,840
And it's not only the deploy 
process. 

609
00:43:02,920 --> 00:43:07,280
Think about how the, you know, 
the whole process, like opening 

610
00:43:07,360 --> 00:43:12,080
a new branch, a new PR, 
requesting review and you know, 

611
00:43:12,080 --> 00:43:16,520
there might be a review process 
and some companies they do not 

612
00:43:16,560 --> 00:43:20,440
allow deployments during the day
or they have a specific date in 

613
00:43:20,440 --> 00:43:23,080
the week for deployments, that 
kind of stuff. 

614
00:43:23,080 --> 00:43:25,560
Some other companies have a 
station deployment Friday. 

615
00:43:26,160 --> 00:43:28,080
Friday evening, right? 
Yeah. 

616
00:43:28,360 --> 00:43:30,200
That's. 
The best deploy new features. 

617
00:43:30,560 --> 00:43:35,640
The best day. 
So, so it's not only about 

618
00:43:35,640 --> 00:43:39,440
making the change and deploying,
you know, it's about the whole 

619
00:43:39,440 --> 00:43:42,440
process. 
You can, you know, sometimes you

620
00:43:42,440 --> 00:43:47,480
may have like a week to make a 
change, a really small change on

621
00:43:47,480 --> 00:43:50,520
your website. 
You can cut that off to 5 

622
00:43:50,520 --> 00:43:52,640
minutes. 
Right, Well, it allows you to 

623
00:43:52,640 --> 00:43:56,480
publish changes safely, Like 
you're not doing a full deploy, 

624
00:43:56,480 --> 00:43:59,520
right? 
You're just tweaking a a geeks 

625
00:43:59,520 --> 00:44:02,360
template essentially. 
Yeah, it's, it's not a full 

626
00:44:02,360 --> 00:44:04,840
deploy. 
You are essentially just 

627
00:44:05,320 --> 00:44:09,280
recompile one module. 
If you have, let's say you have 

628
00:44:09,280 --> 00:44:13,560
1000 pages, the docker website 
has about 1000 pages now, 

629
00:44:13,880 --> 00:44:18,200
because every blog post is a 
module, is a page module, right?

630
00:44:19,000 --> 00:44:24,880
And you are only changing that 
single specific module, not the 

631
00:44:24,880 --> 00:44:32,200
others, right? 
So and and we are we are about 

632
00:44:32,200 --> 00:44:36,080
to release 0.2 maybe most likely
today. 

633
00:44:36,080 --> 00:44:41,920
Actually we are about to Yeah, 
the and the 0.2 version has a 

634
00:44:41,920 --> 00:44:45,640
new and improve it loader. 
We are using. 

635
00:44:47,280 --> 00:44:52,440
Erlang has these notion of error
handler like if you are from 

636
00:44:52,440 --> 00:44:57,720
Ruby, it's like a meta, meta 
missing like when when Erlang 

637
00:44:57,720 --> 00:45:00,800
tries to, that's how out load 
works. 

638
00:45:00,840 --> 00:45:04,560
When you call a module in the 
function and that's not loaded, 

639
00:45:05,160 --> 00:45:08,000
Erlang is going to call the 
error handler and load that 

640
00:45:08,000 --> 00:45:10,960
module for you, right? 
That's how out load works. 

641
00:45:11,600 --> 00:45:16,080
And that's how compiler, the 
Elixir compiler works as well. 

642
00:45:16,320 --> 00:45:18,080
It does implement the error 
handler. 

643
00:45:18,080 --> 00:45:21,560
So when there's a call to a 
modular function and needs not 

644
00:45:21,560 --> 00:45:25,040
loaded, it's going to, you know,
compile and load that for you. 

645
00:45:26,000 --> 00:45:31,080
And Bacon does the same. 
Now we've the 0.2 version, we do

646
00:45:31,080 --> 00:45:37,280
have our error handler, which 
means when you start your site, 

647
00:45:37,600 --> 00:45:41,920
none of the pages are loaded, 
like 0 pages are loaded. 

648
00:45:42,240 --> 00:45:48,400
And when there's a request for, 
let's say for the homepage, that

649
00:45:48,400 --> 00:45:51,920
homepage is not loaded. 
So the error handler kicks in 

650
00:45:52,400 --> 00:45:58,520
and then it finds that that page
depends on a layout and layout 

651
00:45:58,520 --> 00:46:02,680
depends on the live data. 
Live data is our data source for

652
00:46:02,680 --> 00:46:07,400
picking and then it depends also
in on the components module. 

653
00:46:07,760 --> 00:46:12,560
So it compiles all the, all the 
dependences and make the page 

654
00:46:12,600 --> 00:46:16,760
available for you, right. 
And then when you request 

655
00:46:16,760 --> 00:46:20,960
another page and that page 
depends on the same components 

656
00:46:20,960 --> 00:46:25,960
module on the same layout, it's 
going to you know it, it's going

657
00:46:25,960 --> 00:46:29,880
to just check that module is 
loaded and then, you know, just 

658
00:46:29,880 --> 00:46:34,080
skip that one because it does 
need to load again and just load

659
00:46:34,080 --> 00:46:36,720
the module that you you are 
requesting. 

660
00:46:37,360 --> 00:46:42,000
And this and the same is true 
when you publish a new page. 

661
00:46:42,680 --> 00:46:46,280
It's funny because when we 
publish a new page now with the 

662
00:46:46,280 --> 00:46:50,800
0.2 version, we are not actually
publishing the page. 

663
00:46:50,920 --> 00:46:54,720
We are actually unloading the 
page Because when there is a 

664
00:46:54,720 --> 00:46:58,120
request for that page, the out 
load kicks in, the error handler

665
00:46:58,120 --> 00:47:01,840
kicks in and load that for you 
on demand on the fly. 

666
00:47:03,840 --> 00:47:10,760
So that's the 0.21 of the 
biggest change on 0.2 and 

667
00:47:10,760 --> 00:47:15,880
another big change on 0.2 is the
igniter tasks. 

668
00:47:16,760 --> 00:47:22,800
We have been working with Zach 
from Ash and now installing 

669
00:47:22,800 --> 00:47:25,400
Beacon in the project. 
It's going to be a single 

670
00:47:25,400 --> 00:47:29,960
comment, either a new project or
a existing project. 

671
00:47:30,720 --> 00:47:33,040
One single comment, and then you
get Beacon working. 

672
00:47:33,200 --> 00:47:39,360
I'm curious for integrating into
an existing project, what's that

673
00:47:39,360 --> 00:47:42,000
process look like? 
If you like, let's just pretend 

674
00:47:42,000 --> 00:47:46,640
it's like a basic live view app.
Let's pretend it's like Elixir 

675
00:47:46,640 --> 00:47:48,680
Mentor, but hosted in its own 
thing. 

676
00:47:48,960 --> 00:47:51,600
So I have a home page, A blog, 
some of those things. 

677
00:47:51,880 --> 00:47:54,480
How difficult is it to integrate
Beacon? 

678
00:47:55,360 --> 00:48:01,880
Well, with the 0.2 version, you 
just need to install the igniter

679
00:48:01,880 --> 00:48:07,000
archive and then you you're 
going to and then you add the 

680
00:48:07,080 --> 00:48:10,360
start. 
Sorry, you just need to add the 

681
00:48:10,520 --> 00:48:14,840
igniter library into your 
project and then you're going to

682
00:48:14,840 --> 00:48:19,440
have access to the igniter tasks
like Ignite. 

683
00:48:19,560 --> 00:48:25,600
It's going to be like mix beacon
dot install and then mix beacon 

684
00:48:25,600 --> 00:48:29,200
dot Gen. dot site. 
And then you pass the parent as 

685
00:48:29,360 --> 00:48:33,440
like the site name, Beth and 
some others. 

686
00:48:34,000 --> 00:48:35,640
OK. 
And then it's going to generate 

687
00:48:35,640 --> 00:48:39,440
the sites for you and the 
Igniter project, it's going to 

688
00:48:39,720 --> 00:48:44,640
display a diff of the changes so
you can reveal the changes. 

689
00:48:45,080 --> 00:48:48,400
And then you just accept the 
changes and you're going to have

690
00:48:48,400 --> 00:48:51,360
the files, you know, everything 
is done for you. 

691
00:48:51,360 --> 00:48:55,080
Wow. 
OK so with igniter, does it 

692
00:48:55,160 --> 00:48:56,400
will? 
Does it kind of? 

693
00:48:58,280 --> 00:49:02,080
Does it go through my existing 
project and it knows what to 

694
00:49:02,080 --> 00:49:04,320
move into the database for 
templates and things? 

695
00:49:04,880 --> 00:49:06,280
Or not. 
Won't that be a little more 

696
00:49:06,280 --> 00:49:09,000
manual? 
No, it's going to create for the

697
00:49:09,000 --> 00:49:12,160
database side of things. 
It's going to create a migration

698
00:49:12,160 --> 00:49:15,720
for you and that migration is 
going to create all the, you 

699
00:49:15,720 --> 00:49:19,440
know, all the tables for you and
then you need to create the 

700
00:49:19,440 --> 00:49:27,280
pages manually. 
But we are, we are researching 

701
00:49:27,280 --> 00:49:32,000
ways to make the local 
environment, you know, the 

702
00:49:32,000 --> 00:49:35,480
experience of the local 
environment easier for you. 

703
00:49:35,480 --> 00:49:42,120
Like we are researching ways to 
have like CLI using Igniter 

704
00:49:42,120 --> 00:49:45,360
probably. 
And in DCLI you're going to have

705
00:49:45,360 --> 00:49:51,160
a local environment where you 
can, for example, create your 

706
00:49:51,160 --> 00:49:54,400
files, you can create everything
locally. 

707
00:49:55,160 --> 00:49:59,080
And then eventually when we are 
done, you can just connect to 

708
00:49:59,080 --> 00:50:04,640
your live site and just, you 
know, issue a comment and update

709
00:50:04,640 --> 00:50:08,720
your live site, you know, from 
your local environment to your 

710
00:50:08,720 --> 00:50:12,000
live production site. 
So let's say for example, you 

711
00:50:12,000 --> 00:50:16,320
want to create a new component, 
right for your, you have a site,

712
00:50:16,320 --> 00:50:19,720
it's running, it's working. 
And then you want to create a 

713
00:50:19,720 --> 00:50:24,280
new component, let's say you can
bootstrap that component. 

714
00:50:25,280 --> 00:50:29,680
The idea is that you should be 
able to bootstrap your component

715
00:50:29,720 --> 00:50:33,640
locally, work on that component 
like using your local 

716
00:50:33,640 --> 00:50:36,240
environment, your own editor, 
that kind of stuff. 

717
00:50:36,680 --> 00:50:40,480
And then when we are done, you 
can just, you know, beacon 

718
00:50:40,640 --> 00:50:45,040
whatever, come in and then push 
to your production website like 

719
00:50:45,200 --> 00:50:47,680
live. 
So you don't need to redeploy 

720
00:50:47,680 --> 00:50:51,120
the whole thing again. 
But this CLI is not done. 

721
00:50:51,120 --> 00:50:53,560
It's just on the research phase 
yet. 

722
00:50:53,560 --> 00:50:58,120
We are not sure if we're going 
to, I cannot tell. 

723
00:50:58,880 --> 00:51:01,200
I, I cannot say if that's going 
to work or not. 

724
00:51:01,440 --> 00:51:05,080
Maybe works, may not. 
That's the thing with our R&D 

725
00:51:05,080 --> 00:51:07,280
project. 
Sometimes, you know, sometimes 

726
00:51:07,280 --> 00:51:11,720
it works, sometimes not. 
But the idea is to have a 

727
00:51:12,200 --> 00:51:16,560
improved local environment so 
you can work for your, your 

728
00:51:16,560 --> 00:51:20,920
files. 
But but now, currently you can 

729
00:51:20,920 --> 00:51:24,600
stop beacon into your project 
and it's going to bootstrap the 

730
00:51:24,600 --> 00:51:26,760
the tables for you. 
It's going to create a migration

731
00:51:26,760 --> 00:51:30,520
for you and then you can go to 
the admin interface. 

732
00:51:30,600 --> 00:51:34,880
The admin interface is a live 
view application is a separate 

733
00:51:34,880 --> 00:51:40,000
repo, and we have two repos, one
for beacon, another one for the 

734
00:51:40,000 --> 00:51:42,920
admin interface. 
And then you can go to like 

735
00:51:43,360 --> 00:51:48,640
local holes 4000 slash admin and
then you can create your 

736
00:51:48,640 --> 00:51:52,320
components and layouts and pages
there, right. 

737
00:51:53,720 --> 00:51:56,000
Yeah. 
And we do have a code editor in 

738
00:51:56,000 --> 00:52:00,400
the admin interface and the 
visual editor as well for for 

739
00:52:00,400 --> 00:52:02,280
pages. 
Eventually we are going to 

740
00:52:02,280 --> 00:52:06,000
enable the visual editor for 
components as well and layouts. 

741
00:52:06,360 --> 00:52:08,400
So you the. 
Visual editor is the drag and 

742
00:52:08,400 --> 00:52:09,960
drop. 
Yeah, yeah. 

743
00:52:10,000 --> 00:52:11,720
OK. 
Yeah, yeah. 

744
00:52:12,280 --> 00:52:15,440
So we are going to enable the 
visual editor for components 

745
00:52:15,440 --> 00:52:18,600
eventually. 
So you can like like, hey, I 

746
00:52:18,600 --> 00:52:21,400
want to see how this component 
looks like and I want to make 

747
00:52:21,440 --> 00:52:23,680
changes to this component 
visually. 

748
00:52:24,160 --> 00:52:27,560
And then you make the changes, 
save and it applies the changes 

749
00:52:27,560 --> 00:52:34,760
to all pages. 
So I can write a component in 

750
00:52:35,920 --> 00:52:41,160
Elixir or HTML or Heeks and then
also see what the component 

751
00:52:41,160 --> 00:52:43,240
looks like in a preview or in 
the builder too. 

752
00:52:44,640 --> 00:52:46,360
Not yet. 
But. 

753
00:52:46,640 --> 00:52:48,880
Eventually, oh, sorry, I just 
hit my mic. 

754
00:52:50,480 --> 00:52:53,360
Yeah, eventually. 
That's the idea right now. 

755
00:52:54,480 --> 00:52:57,920
Yeah, right now we have the 
visual editor enabled for pages,

756
00:52:58,080 --> 00:53:03,200
only pages, but eventually we 
are going to enable for layouts 

757
00:53:03,280 --> 00:53:06,760
and components as well. 
Most likely components first 

758
00:53:06,760 --> 00:53:08,840
because it has more value, 
right. 

759
00:53:08,840 --> 00:53:12,760
So eventually that's the no, 
that's the idea. 

760
00:53:13,400 --> 00:53:18,600
And if the local environment 
with this Li works out, you can 

761
00:53:18,600 --> 00:53:22,880
also build your component 
locally like like like you have 

762
00:53:22,880 --> 00:53:25,200
the core components in Phoenix, 
right? 

763
00:53:25,200 --> 00:53:27,400
It's just a module. 
You can like create your 

764
00:53:27,400 --> 00:53:31,040
component and then push to your 
live site. 

765
00:53:31,040 --> 00:53:35,200
But we don't have that yet. 
It's on research phase now. 

766
00:53:36,640 --> 00:53:41,360
So that's the idea, right? 
So you could. 

767
00:53:41,880 --> 00:53:46,040
So if all that works out, you 
can either use the admin 

768
00:53:46,040 --> 00:53:50,400
interface with the visual editor
or your local environment. 

769
00:53:50,680 --> 00:53:53,320
OK. 
That's the. 

770
00:53:53,720 --> 00:53:55,600
That's the. 
Ideal this is going to be one of

771
00:53:55,600 --> 00:53:57,920
the coolest projects ever. 
I don't know if it's just 

772
00:53:57,920 --> 00:54:01,760
because I I've been like in the 
space building stuff like this, 

773
00:54:01,760 --> 00:54:05,760
but I think it's, I think it's a
big, pretty big deal for Elixir 

774
00:54:05,880 --> 00:54:11,680
and like just an adoption alone.
Yeah, I mean, the first time I 

775
00:54:12,000 --> 00:54:15,320
heard about Beacon, to be 
honest, I was like, I don't 

776
00:54:15,320 --> 00:54:18,360
know, it's kind of a boring 
project because you know, CMS, 

777
00:54:18,720 --> 00:54:22,480
like when when you hear about 
CMS, your first reaction. 

778
00:54:22,560 --> 00:54:26,520
Everyone builds Acms, right? 
Yeah, usually your first 

779
00:54:26,520 --> 00:54:30,440
reaction and that's boring. 
But The thing is we have 

780
00:54:30,440 --> 00:54:33,560
Phoenix, we have live view, we 
have all the distribution in 

781
00:54:33,560 --> 00:54:39,600
OTP, which allows us to have a 
like very different kind of CMS,

782
00:54:39,600 --> 00:54:45,320
like a modern CMS and that's, 
you know, that makes Beacon 

783
00:54:45,680 --> 00:54:49,240
differently way more exciting. 
Yeah, the way you set up the 

784
00:54:49,240 --> 00:54:52,680
admin too, where you can just 
connect to different nodes and 

785
00:54:52,680 --> 00:54:55,000
multiple nodes, I think is 
really amazing. 

786
00:54:55,000 --> 00:55:00,920
That's like, that's smart. 
Yeah, because that's for not 

787
00:55:00,920 --> 00:55:03,640
only for performance, but for 
secured as well. 

788
00:55:03,920 --> 00:55:07,600
For example, you can have your 
admin interface behind AVPN, 

789
00:55:08,160 --> 00:55:11,320
right? 
And you can isolate the the 

790
00:55:11,360 --> 00:55:14,600
admin interface. 
You can just deploy one node 

791
00:55:15,520 --> 00:55:20,600
behind, you know, a secured node
in your infrastructure. 

792
00:55:21,120 --> 00:55:26,240
And all the other nodes have 
beacon running and they, they, 

793
00:55:26,320 --> 00:55:31,960
they expose the, you know, they 
expose the, the part so it can 

794
00:55:31,960 --> 00:55:34,920
access that application. 
But the admin interface you need

795
00:55:34,920 --> 00:55:40,120
to connect to AVPN, for example.
OK, you are not required to do 

796
00:55:40,120 --> 00:55:43,640
that, but if you need to it's, 
you know, it's up to you. 

797
00:55:46,080 --> 00:55:49,080
We have a couple questions that 
I want to, I don't want to 

798
00:55:49,080 --> 00:55:52,520
ignore our audience. 
We have Mike Shell, he said. 

799
00:55:52,520 --> 00:55:55,920
How do you choose what features 
to build into the CMS? 

800
00:55:55,920 --> 00:55:59,080
I've been in the CMS space for a
decade and I know you can never 

801
00:55:59,080 --> 00:56:01,240
be done chasing features that 
people want. 

802
00:56:01,240 --> 00:56:05,520
Is there is there a North Star 
or vision for the CMS overall? 

803
00:56:06,080 --> 00:56:08,720
I think you kind of touched on 
this with like the idea of plug 

804
00:56:08,720 --> 00:56:11,200
insurance because then you kind 
of can wash your hands of 

805
00:56:11,200 --> 00:56:14,080
things. 
Yeah, but I guess this, this 

806
00:56:14,080 --> 00:56:16,280
question is true for every 
project, right? 

807
00:56:17,760 --> 00:56:21,280
Maybe even more for open source 
projects because everyone can 

808
00:56:21,280 --> 00:56:24,280
use and, you know, propose 
features. 

809
00:56:25,200 --> 00:56:30,760
And I would say the no, the 
short answer is it's based on on

810
00:56:30,760 --> 00:56:37,760
demand, right people, if there 
are, you know, and that's 

811
00:56:37,760 --> 00:56:41,880
something that when I did some 
contributions to Elixir Phoenix 

812
00:56:41,880 --> 00:56:43,560
Live, that that's something I 
learned. 

813
00:56:43,560 --> 00:56:48,400
We've chose that if there's no 
need to do something, don't do 

814
00:56:48,400 --> 00:56:53,200
it, right? 
If there is, if there are more 

815
00:56:53,200 --> 00:56:57,080
than one person asking about 
that feature, well, that means 

816
00:56:57,400 --> 00:56:59,720
there's something there. 
You know, there is a demand for 

817
00:56:59,720 --> 00:57:04,280
that feature, right? 
And in this phase that we are 

818
00:57:04,440 --> 00:57:09,360
now that people are starting to 
use Beacon, that's even more 

819
00:57:10,840 --> 00:57:13,560
clear because there are a lot of
people like asking about 

820
00:57:13,560 --> 00:57:17,320
features and so, so we know 
which features are more 

821
00:57:17,320 --> 00:57:19,520
requested. 
Yeah, yeah, that's good. 

822
00:57:19,680 --> 00:57:23,160
That's actually that's probably 
a huge benefit to being open 

823
00:57:23,160 --> 00:57:25,480
source. 
You're you have a lot more eyes 

824
00:57:25,480 --> 00:57:28,360
on you and you get feedback 
almost instantly. 

825
00:57:29,280 --> 00:57:32,360
Yeah, the feedback, I mean our 
community is growing and that's 

826
00:57:32,360 --> 00:57:34,840
amazing. 
Like having more people trying 

827
00:57:35,120 --> 00:57:39,200
because and even, you know, 
reporting bugs or asking for 

828
00:57:39,200 --> 00:57:42,920
features or whatever interaction
you do is is amazing. 

829
00:57:43,400 --> 00:57:47,600
That's how we we know we learn 
where we need to go. 

830
00:57:48,120 --> 00:57:51,440
Yeah, So but of course, we have 
limited resources, right? 

831
00:57:51,520 --> 00:57:56,160
I'm, I am the only one working 
full time on Beacon now. 

832
00:57:56,560 --> 00:57:59,880
I mean, since, you know, since 
the beginning of the project. 

833
00:58:01,320 --> 00:58:03,720
I mean, did you say it's? 
Been it's been two years. 

834
00:58:03,840 --> 00:58:06,400
Or not quite. 
I joined Docker. 

835
00:58:07,920 --> 00:58:12,240
So I joined Docker at the at the
end of in December, so about two

836
00:58:12,240 --> 00:58:14,600
years, no December of the other 
year. 

837
00:58:15,760 --> 00:58:20,920
So, but there has been other 
people working on on Beacon as 

838
00:58:20,920 --> 00:58:26,160
well, because Dockyarders have 
their, you know, the Friday free

839
00:58:26,160 --> 00:58:29,320
to work on other projects. 
So some people help. 

840
00:58:29,760 --> 00:58:35,400
And for example, we have the, we
have Miguel working on the 

841
00:58:35,760 --> 00:58:39,800
visual editor. 
It's like a JavaScript 

842
00:58:39,800 --> 00:58:41,920
application. 
He's worked on that application.

843
00:58:42,480 --> 00:58:46,440
We have Andrew. 
Andrew is listed as the other 

844
00:58:46,440 --> 00:58:48,080
maintainer of the project as 
well. 

845
00:58:48,920 --> 00:58:52,960
Even though he does not work 
full time on Beacon, he's a huge

846
00:58:53,000 --> 00:58:58,720
help on the project and he has 
been, we, we have been working 

847
00:58:58,720 --> 00:59:00,880
together on Beacon for some time
now. 

848
00:59:00,960 --> 00:59:07,440
So he's, he's the either me or 
Andrew knows more about the 

849
00:59:07,440 --> 00:59:10,600
internals of, of Beacon and, and
can help the community. 

850
00:59:11,520 --> 00:59:16,600
So I'm not working alone, even 
though I'm working full time. 

851
00:59:16,600 --> 00:59:19,280
There are other people you know,
and eventually there's some 

852
00:59:19,280 --> 00:59:24,000
other people contributing, like 
either from Dockyard or from 

853
00:59:25,280 --> 00:59:27,480
externally. 
Yeah, that's great. 

854
00:59:28,000 --> 00:59:31,000
We have another question and I'm
going to butcher your name, so I

855
00:59:31,600 --> 00:59:38,120
apologize. 
But Shahir, he asked, does 

856
00:59:38,240 --> 00:59:42,200
Beacon allow me to add my own 
live view components library and

857
00:59:42,200 --> 00:59:48,200
access it from the editor? 
Yes, so, but not automatically. 

858
00:59:48,520 --> 00:59:52,320
Like there is no way for you, 
for example, to just install 

859
00:59:52,320 --> 00:59:54,800
your package and it's going to 
work. 

860
00:59:54,800 --> 00:59:59,720
Like right now you go to the 
admin interface and then you can

861
00:59:59,720 --> 01:00:01,680
create components so you can 
create. 

862
01:00:03,200 --> 01:00:06,960
Really function component. 
You can define the attributes, 

863
01:00:07,200 --> 01:00:12,320
the default values, which 
attributes are required, the 

864
01:00:12,480 --> 01:00:15,000
template. 
You can also define elixir code 

865
01:00:15,000 --> 01:00:18,200
that runs in your function 
component. 

866
01:00:18,200 --> 01:00:26,120
So you can define a full Phoenix
component function component. 

867
01:00:26,720 --> 01:00:29,120
But you you you have to build it
through the admin. 

868
01:00:29,560 --> 01:00:31,440
Yeah, because. 
OK. 

869
01:00:31,680 --> 01:00:34,520
Yeah, because there we need to 
start that data into the 

870
01:00:34,520 --> 01:00:35,960
database. 
That makes sense. 

871
01:00:36,120 --> 01:00:37,120
Yeah, you. 
Can't just. 

872
01:00:37,440 --> 01:00:40,560
Put it randomly somewhere in the
project and have access to it. 

873
01:00:40,640 --> 01:00:46,680
Yeah, but that's where the CLI 
would help, right. 

874
01:00:46,800 --> 01:00:50,560
And the CLI and the plug in 
system, they, they eventually if

875
01:00:50,560 --> 01:00:53,680
you can make it work, they are 
going to converge. 

876
01:00:53,680 --> 01:00:58,080
So you can create a new plug in 
and just have, you know, just 

877
01:00:58,680 --> 01:01:04,480
let's say all your library and 
then you can have some functions

878
01:01:04,480 --> 01:01:06,920
there. 
You can load your component 

879
01:01:06,920 --> 01:01:10,360
module into beacon kind of 
automatically. 

880
01:01:10,360 --> 01:01:14,920
That's so we can parse your 
components that you have on the 

881
01:01:15,600 --> 01:01:18,680
on your component library. 
That's that's the goal. 

882
01:01:18,680 --> 01:01:22,080
But again, that's the challenge.
We've beacon, you know, we have 

883
01:01:22,080 --> 01:01:25,440
these, you know, we have all 
that stuff in the compile time 

884
01:01:25,440 --> 01:01:27,440
that we need to bring into 
runtime. 

885
01:01:27,480 --> 01:01:31,280
That's that's the challenge. 
Yeah, yeah, I'm. 

886
01:01:31,280 --> 01:01:36,440
Curious, how are you, how do you
handle like assets like images, 

887
01:01:36,440 --> 01:01:40,200
videos, all of that? 
Do you, are you going to use, do

888
01:01:40,200 --> 01:01:44,160
you use like third party like S3
buckets or are you putting it 

889
01:01:44,160 --> 01:01:47,600
straight on a database? 
Yeah, So by default. 

890
01:01:47,720 --> 01:01:52,960
We use the database, which for 
most scenarios is not the best, 

891
01:01:54,560 --> 01:01:58,400
you know the best option, but we
need to have a default, right? 

892
01:01:58,960 --> 01:02:03,000
Right. 
So, so again, we do not impose 

893
01:02:03,000 --> 01:02:06,960
like you have to use S3 or 
whatever. 

894
01:02:07,040 --> 01:02:11,640
The only, the only requirement 
for Beacon is that you have to 

895
01:02:11,640 --> 01:02:17,360
use Postgres and and that's A 
and that's going to be expanded 

896
01:02:17,360 --> 01:02:20,480
to other databases. 
So the only requirement is that 

897
01:02:20,480 --> 01:02:23,400
you have to have a database, 
right? 

898
01:02:23,400 --> 01:02:26,960
So that's the only requirement. 
And right now it's post Chris, 

899
01:02:26,960 --> 01:02:30,520
but eventually you're going to 
have other vendors are going to 

900
01:02:30,520 --> 01:02:33,160
support other vendors. 
And there's someone that 

901
01:02:33,160 --> 01:02:37,440
actually opened an issue. 
He is, you know, exploring how 

902
01:02:37,440 --> 01:02:43,040
to run between using SQ Lite. 
So that's, you know, again, 

903
01:02:43,040 --> 01:02:46,440
community is amazing. 
It's it's really, really great 

904
01:02:46,440 --> 01:02:48,520
to have like a growing 
community. 

905
01:02:49,000 --> 01:02:55,000
But to answer the question, when
we have the media library, so if

906
01:02:55,000 --> 01:02:58,280
you go to the admin interface, 
there is a media library, you 

907
01:02:58,280 --> 01:03:04,680
can upload assets and then you 
can like upload images, videos 

908
01:03:04,760 --> 01:03:09,120
and some other file types and we
start those in the database. 

909
01:03:09,920 --> 01:03:14,200
But yeah, but you can extend 
Beacon, right? 

910
01:03:14,200 --> 01:03:18,000
The idea is that Beacon is 
extensible and then you can make

911
01:03:18,200 --> 01:03:20,440
I can make my upload service 
take things. 

912
01:03:20,440 --> 01:03:24,640
To mucks for video and then like
a CDN for images or whatever. 

913
01:03:24,640 --> 01:03:26,560
I'm whatever I need. 
Yeah. 

914
01:03:26,640 --> 01:03:30,920
So we have this idea of life. 
Cycles in Beacon, so you for 

915
01:03:30,920 --> 01:03:33,560
example you can add new 
providers. 

916
01:03:33,560 --> 01:03:36,960
So for the let's say up. 
I don't recall now the name, but

917
01:03:37,440 --> 01:03:43,400
let's say for the upload asset 
life cycle, you can add a new 

918
01:03:43,400 --> 01:03:47,760
function there that is going to 
upload the file somewhere else 

919
01:03:48,040 --> 01:03:51,160
instead of the database. 
Am I just kind of overriding a 

920
01:03:51,200 --> 01:03:53,160
behavior? 
At that point or how does that, 

921
01:03:53,160 --> 01:03:56,600
how's that working? 
It's a it's going to. 

922
01:03:56,880 --> 01:03:59,880
Append. 
It's going to add new functions 

923
01:03:59,880 --> 01:04:02,280
into the life cycle. 
We don't. 

924
01:04:02,560 --> 01:04:08,280
For now, we don't allow. 
We don't remove life cycle. 

925
01:04:08,480 --> 01:04:11,720
You can just add new new 
function into the life cycle. 

926
01:04:11,720 --> 01:04:13,880
But OK, no, I like that. 
That's cool. 

927
01:04:15,200 --> 01:04:18,360
So even even. 
The, the reindeer is a life 

928
01:04:18,360 --> 01:04:24,120
cycle is exposed like if on the 
configuration of your site, 

929
01:04:24,480 --> 01:04:28,440
there is, there's going to be 
like a life cycle key in the 

930
01:04:28,440 --> 01:04:31,480
configuration. 
And there you, you're going to, 

931
01:04:32,000 --> 01:04:34,920
you can see the life cycles that
you, you have on your side. 

932
01:04:34,920 --> 01:04:40,080
So the markdown and Higgs render
both of them, they're built in, 

933
01:04:40,600 --> 01:04:42,320
but they are exposed as life 
cycles. 

934
01:04:42,320 --> 01:04:46,960
So you can, you can actually add
new template engines, for 

935
01:04:46,960 --> 01:04:52,360
example, if, if you want. 
So the idea is that we expose 

936
01:04:52,360 --> 01:04:56,400
those life cycles as much as 
possible and we can, you know, 

937
01:04:56,800 --> 01:05:02,120
we should allow plugins to 
include more life cycles to make

938
01:05:02,120 --> 01:05:06,320
those changes, right? 
It's kind of, it's kind of, I'm 

939
01:05:06,320 --> 01:05:11,400
not going to say like WordPress,
but WordPress has these has 

940
01:05:11,400 --> 01:05:16,320
filters and life cycles as well.
So the idea is that you can 

941
01:05:16,320 --> 01:05:22,680
inject your own, you know, logic
your own code into specific 

942
01:05:22,680 --> 01:05:30,160
parts of the of Beacon. 
I think this is the coolest. 

943
01:05:30,160 --> 01:05:30,960
Project. 
Ever. 

944
01:05:33,480 --> 01:05:36,960
For people like me and. 
Listeners, what is the best way 

945
01:05:36,960 --> 01:05:41,680
for us to start contributing and
like helping like are there is 

946
01:05:41,680 --> 01:05:45,560
there an issue board that we can
just go kind of grab tasks or 

947
01:05:45,680 --> 01:05:48,000
how do you want to manage that 
or how do you manage that? 

948
01:05:48,640 --> 01:05:50,480
Yeah. 
So the entire project is open 

949
01:05:50,480 --> 01:05:52,960
source, not. 
Only the code base, but the 

950
01:05:53,240 --> 01:05:56,600
project as well. 
So all the work, all the 

951
01:05:56,600 --> 01:06:01,120
discussions is in GitHub, you 
know all the issues. 

952
01:06:01,560 --> 01:06:06,400
And so we do have. 
So we try to keep all the issues

953
01:06:06,400 --> 01:06:08,520
organized. 
So you're going to see some 

954
01:06:08,520 --> 01:06:11,520
labels. 
So if we're really new to the 

955
01:06:11,520 --> 01:06:16,040
project, you can look for the 
good first issue label. 

956
01:06:16,560 --> 01:06:19,720
Those are going to be the issues
that are is easier to get 

957
01:06:19,720 --> 01:06:22,880
started with. 
But any? 

958
01:06:22,880 --> 01:06:25,920
Contribution is. 
Is is welcome, right? 

959
01:06:26,120 --> 01:06:29,240
If you want to contribute with 
code and you are new, I'd say 

960
01:06:29,320 --> 01:06:31,840
the good first issue is the the 
best one. 

961
01:06:32,360 --> 01:06:38,600
But you can pick any issues like
there is no, there's no like you

962
01:06:38,600 --> 01:06:40,600
can work on whatever you you 
want. 

963
01:06:41,080 --> 01:06:48,160
And we do have road map. 
So this road map is the least of

964
01:06:48,160 --> 01:06:51,480
features and you know, all the 
tests there we are going to be 

965
01:06:51,480 --> 01:06:58,160
focused next. 
And so the road map also helps 

966
01:06:58,160 --> 01:07:03,080
to like drill down the issues we
are, we are focused. 

967
01:07:03,760 --> 01:07:09,680
But if you want to contribute, 
either you know, with code or 

968
01:07:09,680 --> 01:07:14,640
documentation is also helpful 
or, you know, just trying out 

969
01:07:14,640 --> 01:07:19,600
the project and reporting bugs 
or reporting or, or just, you 

970
01:07:19,600 --> 01:07:21,960
know, feature requests, for 
example, also helps. 

971
01:07:23,880 --> 01:07:28,680
And I try to be as more 
responsive as, as possible, you 

972
01:07:28,680 --> 01:07:32,960
know, to answer all questions, 
all issues. 

973
01:07:33,480 --> 01:07:37,960
And we also have Elixir Slack 
channel. 

974
01:07:38,520 --> 01:07:43,760
You know, there's the Elixir 
Slack and there's a Beacon CMS 

975
01:07:43,760 --> 01:07:46,360
channel. 
You can, you can find those 

976
01:07:46,360 --> 01:07:52,240
there, either me or Andrew or 
Brian, we can, you know, ask 

977
01:07:52,880 --> 01:07:55,480
questions. 
So you if you have a bug or a 

978
01:07:55,480 --> 01:07:59,240
problem, you can ask, you can 
ask there and we, we help. 

979
01:07:59,720 --> 01:08:01,400
OK, amazing. 
Cool. 

980
01:08:02,040 --> 01:08:04,960
Yeah, I'm, I'm excited for the 
future of Beacon. 

981
01:08:04,960 --> 01:08:09,720
I think it's already awesome and
just looking at your road map 

982
01:08:09,720 --> 01:08:13,920
and seeing where you're heading,
I think it's going to be an an 

983
01:08:13,920 --> 01:08:17,200
awesome project. 
Yeah, yeah, yeah, yeah, sure. 

984
01:08:17,200 --> 01:08:19,920
Like. 
Personally I believe the plug in

985
01:08:19,920 --> 01:08:26,160
system is going to be you. 
Like the unblocker for new new 

986
01:08:26,240 --> 01:08:27,760
features. 
Plug insurance will be really 

987
01:08:27,760 --> 01:08:30,680
cool. 
Yeah, so because. 

988
01:08:31,720 --> 01:08:35,680
We can, I mean we, we do have 
limit, we do have a lot of 

989
01:08:36,080 --> 01:08:39,160
features that we, we want to 
build right. 

990
01:08:39,520 --> 01:08:44,880
But we do have limited resources
and with plug insurance, we can 

991
01:08:44,880 --> 01:08:48,600
enable other people to 
contribute and, and they don't 

992
01:08:48,600 --> 01:08:51,240
need to contribute to the Beacon
Corp, right? 

993
01:08:51,240 --> 01:08:53,439
They can just write their own 
plug insurance. 

994
01:08:53,680 --> 01:08:57,040
And you know, that's, that's a 
huge contribution. 

995
01:08:57,240 --> 01:08:59,800
That's going to be a huge 
contribution for the whole 

996
01:08:59,800 --> 01:09:02,800
community. 
How do you see plug insurance 

997
01:09:02,800 --> 01:09:04,920
working? 
Like do you see kind of like a 

998
01:09:04,960 --> 01:09:08,200
marketplace of beacon plug 
insurance or how how do you see 

999
01:09:08,200 --> 01:09:10,880
that working? 
Do you have any idea? 

1000
01:09:11,760 --> 01:09:13,120
Yeah. 
Eventually, yes. 

1001
01:09:13,120 --> 01:09:16,080
But. 
That's more like a business 

1002
01:09:16,080 --> 01:09:19,279
decision more than more than 
technical one. 

1003
01:09:19,680 --> 01:09:23,840
Yeah, that makes sense. 
It's it makes sense to have a 

1004
01:09:24,399 --> 01:09:29,359
marketplace that's kind of, you 
know, the usual way to handle 

1005
01:09:29,560 --> 01:09:33,600
plug insurance. 
You know, every platform has a 

1006
01:09:33,600 --> 01:09:38,279
marketplace. 
So it makes sense, but it's more

1007
01:09:38,279 --> 01:09:42,319
like a business decision. 
Yeah, I mean, I get a lot of 

1008
01:09:42,319 --> 01:09:46,080
clients. 
That are abandoning or hope to 

1009
01:09:46,080 --> 01:09:49,399
abandon like Shopify because 
there's just limitations and 

1010
01:09:49,399 --> 01:09:52,319
things they don't like and 
that's kind of what that's why 

1011
01:09:52,319 --> 01:09:56,120
I'm building out e-commerce 
piece right now is because 

1012
01:09:56,560 --> 01:10:00,480
actually I have two clients that
are not happy with Shopify so 

1013
01:10:00,480 --> 01:10:03,720
yeah so like. 
There's a big space. 

1014
01:10:03,720 --> 01:10:09,760
Here and I think, you know, 
Phoenix is it, it's a good, it's

1015
01:10:09,760 --> 01:10:13,640
a good use case for it, yeah. 
And you know. 

1016
01:10:14,200 --> 01:10:18,800
It's and again, it's about 
adoption, right, because you you

1017
01:10:18,800 --> 01:10:21,480
may have clients in shop 
Fireword pres and other 

1018
01:10:21,600 --> 01:10:26,520
semesters and platforms and we 
can bring those clients and you 

1019
01:10:26,520 --> 01:10:30,520
know, into Elixir and Phoenix. 
Yeah, right. 

1020
01:10:30,640 --> 01:10:35,560
That's that's a big deal for for
for Beacon, absolutely. 

1021
01:10:36,320 --> 01:10:42,760
And yeah, and you talk about 
Shopify, that's something, you 

1022
01:10:42,760 --> 01:10:46,440
know, that brings about about, 
about about another topic. 

1023
01:10:46,440 --> 01:10:50,680
Like people ask about the 
security because, you know, 

1024
01:10:50,680 --> 01:10:55,400
Shopify, we have the liquid 
template in keen that is safe. 

1025
01:10:56,160 --> 01:10:58,440
And people ask about, hey, what 
about beacon? 

1026
01:10:58,440 --> 01:11:03,200
Because Higgs you can is it 
killed Elixir called right. 

1027
01:11:04,840 --> 01:11:09,280
Well, we, we do have ways to 
solve this problem or to at 

1028
01:11:09,280 --> 01:11:11,760
least mitigate this problem, 
right? 

1029
01:11:11,760 --> 01:11:17,680
One is, you know, if you have 
admin interface that you manage,

1030
01:11:17,680 --> 01:11:22,960
you can like review all the 
changes, you are kind of safe if

1031
01:11:22,960 --> 01:11:25,800
you don't allow external 
contributions, for example, 

1032
01:11:26,280 --> 01:11:28,360
right? 
You can just use Higgs template.

1033
01:11:29,080 --> 01:11:33,320
Another another option is we do 
have a package and Mike Beans 

1034
01:11:33,320 --> 01:11:35,520
create this package is called 
safe code. 

1035
01:11:36,400 --> 01:11:40,440
It's it's a whitelist parser. 
Essentially, it's going to parse

1036
01:11:40,440 --> 01:11:46,600
the whole template and it's 
going to block the changes if 

1037
01:11:46,600 --> 01:11:50,320
there is a call to a function 
like assistant command function 

1038
01:11:50,320 --> 01:11:53,920
or whatever. 
And if you want to allow that 

1039
01:11:54,560 --> 01:11:59,480
function call, you just add into
the configuration like in my 

1040
01:11:59,480 --> 01:12:03,080
side, I'm going to allow this 
call to this function or this 

1041
01:12:03,080 --> 01:12:07,160
module, right? 
Do have we do have these options

1042
01:12:07,160 --> 01:12:10,600
as well. 
Other options are you can use 

1043
01:12:10,600 --> 01:12:15,840
Markdown, right? 
And Markdown you can, you can, 

1044
01:12:16,200 --> 01:12:20,280
you can have a really nice, you 
can build pages using Markdown, 

1045
01:12:20,480 --> 01:12:22,360
right? 
So that's another option. 

1046
01:12:23,280 --> 01:12:26,240
And this is good for static 
pages I would feel. 

1047
01:12:26,240 --> 01:12:29,560
Like, but you might run into 
more issues when if you want 

1048
01:12:29,560 --> 01:12:31,520
like a live view or something 
dynamic, right? 

1049
01:12:33,000 --> 01:12:38,600
Yeah, so. 
I'm working on allowing. 

1050
01:12:39,320 --> 01:12:41,560
I'm I'm I'm. 
I'm working on another library. 

1051
01:12:41,560 --> 01:12:47,400
It's called MDX, it's Markdown. 
It's a common mark compliant 

1052
01:12:47,400 --> 01:12:51,360
markdown for Elixir. 
It supports all GitHub features 

1053
01:12:51,760 --> 01:12:55,240
and extensions and EST parsing 
manipulation. 

1054
01:12:56,320 --> 01:13:02,640
And I we can't actually have 
Elixir code and fins components 

1055
01:13:03,000 --> 01:13:07,560
inside Markdown. 
So I'm working on that now. 

1056
01:13:09,200 --> 01:13:13,920
I'm working on this idea of 
enable live view inside 

1057
01:13:13,920 --> 01:13:18,120
Markdown. 
So if you so again, if you are 

1058
01:13:18,120 --> 01:13:22,520
OK with having Elixir and you 
know Elixir code into your 

1059
01:13:22,520 --> 01:13:25,920
pages, you can also use Markdown
with. 

1060
01:13:26,840 --> 01:13:29,680
You're going to be able to use 
Markdown with live components. 

1061
01:13:29,680 --> 01:13:33,800
That's not possible now, but I'm
working on that. 

1062
01:13:33,840 --> 01:13:35,880
I do have a prototype that 
works. 

1063
01:13:36,680 --> 01:13:42,000
And another option as as well is
you can have a custom template 

1064
01:13:42,000 --> 01:13:45,040
in Gheem. 
So if you want to have like 

1065
01:13:45,080 --> 01:13:49,920
liquid and that's special, 
that's really cool because if 

1066
01:13:49,920 --> 01:13:55,040
you're migrating from Shopify to
Beacon, for example, and you do 

1067
01:13:55,040 --> 01:14:01,000
have liquid templates or your 
customer is more, you know, 

1068
01:14:01,000 --> 01:14:06,360
comfortable with liquid 
templates, you can also render 

1069
01:14:06,360 --> 01:14:10,600
those in, in Beacon and keep 
using live view. 

1070
01:14:10,600 --> 01:14:14,320
The whole beacon system works 
with live view, but your 

1071
01:14:14,320 --> 01:14:16,240
template can be a liquid 
template. 

1072
01:14:16,840 --> 01:14:20,200
So you can have custom template 
in kines as well. 

1073
01:14:21,760 --> 01:14:25,360
That's awesome. 
Shahir, sorry if I'm butchering 

1074
01:14:25,360 --> 01:14:27,560
your name. 
Still, he said he effectively 

1075
01:14:27,560 --> 01:14:32,200
used your MDX Phoenix component 
in his blog post and he even 

1076
01:14:32,200 --> 01:14:34,240
wrote an article about it and 
then shared the links. 

1077
01:14:34,240 --> 01:14:36,800
So that's, that's pretty cool. 
Yeah, Yeah. 

1078
01:14:36,800 --> 01:14:42,040
That's kind of the 1st. 
Prototype of the of these idea. 

1079
01:14:42,080 --> 01:14:47,440
There are some improvements to 
be made, but I'd say it it 

1080
01:14:47,600 --> 01:14:52,440
works, it works essentially. 
Essentially, you can. 

1081
01:14:53,120 --> 01:14:58,120
You can have Elixir code and we 
can just parse that. 

1082
01:14:59,080 --> 01:15:00,480
That's cool. 
That's awesome. 

1083
01:15:02,760 --> 01:15:05,000
I mean, I'm. 
I'm excited about this project. 

1084
01:15:06,520 --> 01:15:09,360
Yeah, I mean, just to be. 
Clear, it's not possible now to 

1085
01:15:09,360 --> 01:15:14,480
use an Elixir in to like 
markdown files, markdown pages, 

1086
01:15:14,480 --> 01:15:17,080
but eventually that's something 
we are work on. 

1087
01:15:17,560 --> 01:15:22,920
So we want to improve the 
experience of writing pages 

1088
01:15:23,760 --> 01:15:27,720
because now if you go to if you 
go to the admin interface and 

1089
01:15:27,720 --> 01:15:31,280
create a new Markdown page, you 
have to write the markdown 

1090
01:15:31,320 --> 01:15:36,120
manually, which for us, you 
know, for developers that works 

1091
01:15:36,120 --> 01:15:40,640
well because we know markdown, 
but content creators, they don't

1092
01:15:40,640 --> 01:15:44,360
really, sometimes they don't 
really understand markdown, 

1093
01:15:45,080 --> 01:15:48,960
right. 
So we are working to you have a 

1094
01:15:49,520 --> 01:15:54,200
nice experience even for 
markdown like probably like a 

1095
01:15:54,440 --> 01:16:00,440
block adding block editor so you
can which is kind of user for 

1096
01:16:00,680 --> 01:16:04,360
other platforms as well. 
So that's another improvements. 

1097
01:16:04,360 --> 01:16:09,280
We are going to work eventually,
you know, just because we are 

1098
01:16:09,280 --> 01:16:13,800
really focused on improving the 
experience now and you know and 

1099
01:16:13,960 --> 01:16:17,400
work we are focused on the 
adoption now and having a better

1100
01:16:17,400 --> 01:16:21,920
experience for for users. 
Yeah, so everyone listening. 

1101
01:16:21,920 --> 01:16:24,880
Go check out the GitHub link, I 
believe I put it in the 

1102
01:16:24,880 --> 01:16:27,400
description. 
If I haven't I'll make sure I 

1103
01:16:27,400 --> 01:16:31,320
add it afterwards, but it's 
definitely worth checking out. 

1104
01:16:31,320 --> 01:16:35,000
I'm excited to dive deeper in it
today because that's going to be

1105
01:16:35,040 --> 01:16:36,840
my afternoon. 
Is playing with Beacon. 

1106
01:16:37,680 --> 01:16:39,440
That's nice, Yeah. 
And. 

1107
01:16:39,440 --> 01:16:42,360
I'll see if I can figure things.
Out I might have to re download 

1108
01:16:42,360 --> 01:16:45,960
slack. 
I've been an anti slack person I

1109
01:16:46,000 --> 01:16:51,800
I just use discord but it'd be 
cool to jump in on the elixir 

1110
01:16:52,280 --> 01:16:56,280
Elixir channels. 
Yeah, I mean I use both but. 

1111
01:16:56,280 --> 01:17:03,360
I'm always there in the Elixir 
Slack so you can send a message 

1112
01:17:03,800 --> 01:17:09,040
pretty much in time of the day. 
And we can we, we can help like 

1113
01:17:09,040 --> 01:17:11,880
we can help with bugs. 
We can help with, you know, 

1114
01:17:11,880 --> 01:17:16,800
discussing new features. 
And that's a really, it's really

1115
01:17:16,800 --> 01:17:20,280
nice to talk to other people and
learn how they, they're, you 

1116
01:17:20,280 --> 01:17:24,800
know, trying to use Beacon. 
Yeah, I'm, I'm kind of excited 

1117
01:17:24,800 --> 01:17:27,760
to. 
Kind of maybe try to intermix it

1118
01:17:27,760 --> 01:17:32,800
with my approach because I have 
a lot of like, like template 

1119
01:17:32,800 --> 01:17:35,800
generators that I created. 
So I'm creating a lot of static 

1120
01:17:35,800 --> 01:17:38,400
files. 
But I really love how 

1121
01:17:38,400 --> 01:17:42,480
everything's on a database for 
you versus creating, you know, 

1122
01:17:42,520 --> 01:17:46,760
static directories and things. 
And then now I have all these 

1123
01:17:46,760 --> 01:17:50,800
things in my head about how to 
clean up my architecture and my 

1124
01:17:50,800 --> 01:17:54,200
own project. 
I I think you wrote a blog post.

1125
01:17:54,200 --> 01:17:57,960
About the generators, right I, 
I. 

1126
01:17:57,960 --> 01:18:01,840
Did like a very short like video
of how how it was working and 

1127
01:18:01,840 --> 01:18:08,040
functioning because I. 
I to remember something about 

1128
01:18:08,040 --> 01:18:11,840
those, those generators. 
If I'm not mistaken, it was but 

1129
01:18:11,840 --> 01:18:15,160
like, yeah, we've been making. 
We'll make we have like a 

1130
01:18:15,160 --> 01:18:20,440
handful of templates and we can 
basically just pass in form data

1131
01:18:20,440 --> 01:18:24,120
so we can collect it from. 
It's just like Jason or a map, 

1132
01:18:24,120 --> 01:18:26,720
right? 
And we can pretty much generate 

1133
01:18:26,720 --> 01:18:32,720
an entire website pretty quickly
with like all the branding and 

1134
01:18:32,720 --> 01:18:36,560
everything required. 
But yeah, I, I, I think I saw. 

1135
01:18:36,560 --> 01:18:39,680
That I I was just, you know, 
mistaken about, you know, if it 

1136
01:18:39,680 --> 01:18:41,280
was a blog post or something 
else. 

1137
01:18:41,280 --> 01:18:45,200
But I think I, I think I saw 
that it's, it's really nice. 

1138
01:18:45,280 --> 01:18:48,840
Yeah. 
But like this is the importance.

1139
01:18:48,920 --> 01:18:52,160
So I have a lot of like new 
developers, or at least new to 

1140
01:18:52,160 --> 01:18:53,960
Elixir developers that follow 
me. 

1141
01:18:54,680 --> 01:19:00,240
And just me browsing through 
your code base has given me like

1142
01:19:00,240 --> 01:19:03,120
so many better ideas for 
architecting. 

1143
01:19:03,120 --> 01:19:06,720
And you gain you gain so much 
knowledge when you see other 

1144
01:19:06,720 --> 01:19:08,880
people and talk to other people 
about their projects. 

1145
01:19:08,880 --> 01:19:11,200
So I highly recommend doing 
that. 

1146
01:19:11,200 --> 01:19:14,720
And if you're new and a junior 
dev and you're scared to 

1147
01:19:15,600 --> 01:19:20,440
participate in like open source 
projects, a great way, like you 

1148
01:19:20,440 --> 01:19:23,440
were saying is jump on 
documentation and write 

1149
01:19:23,440 --> 01:19:27,760
documentation because projects 
always usually lack on the 

1150
01:19:27,760 --> 01:19:30,040
documentation side. 
It's hard to keep up on. 

1151
01:19:30,760 --> 01:19:32,800
That's that's very true. 
I. 

1152
01:19:33,560 --> 01:19:39,080
I give a presentation at Elixir 
Conf 2000 2020. 

1153
01:19:39,080 --> 01:19:42,240
One I get I, I don't remember 
now, but it was the online 

1154
01:19:42,240 --> 01:19:45,840
edition and this talk was about 
open source. 

1155
01:19:47,320 --> 01:19:52,200
And in this talk I, I had this 
idea of like the hello word of 

1156
01:19:52,200 --> 01:19:56,320
open source is documentation. 
You can start with documentation

1157
01:19:57,320 --> 01:20:01,960
and it's, it's people don't 
realize how useful the 

1158
01:20:01,960 --> 01:20:06,280
contributions are on, on, on the
documentation side, you know, 

1159
01:20:06,280 --> 01:20:10,280
because when you are writing the
documentation, you have a 

1160
01:20:10,280 --> 01:20:12,920
vision. 
About that feature or about that

1161
01:20:12,920 --> 01:20:16,520
function or whatever. 
But that vision is not the same 

1162
01:20:16,520 --> 01:20:20,480
as other people because you 
know, because you know the 

1163
01:20:20,480 --> 01:20:23,440
project, you, you, you're work 
on the project every day. 

1164
01:20:23,440 --> 01:20:25,960
So it's not the same as other 
people. 

1165
01:20:25,960 --> 01:20:29,400
So writing documentation is 
really hard, to be honest. 

1166
01:20:29,720 --> 01:20:34,080
And any contribution to 
documentation is really super 

1167
01:20:34,080 --> 01:20:39,160
useful. 
Yeah, no, I agree and. 

1168
01:20:39,240 --> 01:20:41,880
You don't have to feel like 
you're not contributing because 

1169
01:20:42,200 --> 01:20:46,680
it's a huge help because, yeah, 
a lot of times too, it's hard to

1170
01:20:46,680 --> 01:20:49,320
write detailed, good 
documentation, especially when 

1171
01:20:49,320 --> 01:20:53,640
you wrote it, because you might 
skip a few steps and not realize

1172
01:20:53,640 --> 01:20:57,280
you're not being as detailed as 
you should for a new adopter. 

1173
01:20:57,920 --> 01:20:59,920
Yeah, Yeah. 
And you know. 

1174
01:21:00,200 --> 01:21:04,880
I was on this 0.2 version. 
I was happy to you actually 

1175
01:21:04,880 --> 01:21:09,480
remove some of the documentation
because now that we have the 

1176
01:21:09,480 --> 01:21:14,360
United task, I was like, I can 
either keep the documentation, 

1177
01:21:14,960 --> 01:21:19,520
written documentation or I can 
just have the tasks, you know. 

1178
01:21:19,600 --> 01:21:25,320
And I was like, I don't know, it
may may not be the best 

1179
01:21:25,320 --> 01:21:29,360
approach. 
I'm trying that, but the idea is

1180
01:21:29,360 --> 01:21:34,200
for whatever the the generator 
is is doing, there is not much 

1181
01:21:34,200 --> 01:21:36,640
documentation about that. 
I mean, there's documentation 

1182
01:21:36,640 --> 01:21:40,400
about the the generator, what 
the outcome is, that kind of 

1183
01:21:40,400 --> 01:21:43,080
stuff. 
Or why did why the generator 

1184
01:21:43,080 --> 01:21:47,520
exists and you know the 
parameters and so on, but not 

1185
01:21:47,520 --> 01:21:52,920
the actual actions of the 
generator. 

1186
01:21:52,960 --> 01:21:56,480
Like I don't need to have a 
documentation asking you to 

1187
01:21:56,480 --> 01:21:59,520
create a migration because the 
generator does that for you. 

1188
01:22:00,680 --> 01:22:06,000
So I'm kind of using Igniter as 
a documentation to to as well. 

1189
01:22:06,000 --> 01:22:10,080
Zach's Zach has crushed it with.
Igniter, I feel like this is 

1190
01:22:10,080 --> 01:22:12,120
blowing up right now. 
Everyone's using it. 

1191
01:22:12,880 --> 01:22:15,040
Yeah, it's a really, really cool
project. 

1192
01:22:15,200 --> 01:22:18,320
It's really and really need it 
as well. 

1193
01:22:18,760 --> 01:22:24,480
For sure in, in my opinion, we 
we, I mean, we, we need that 

1194
01:22:24,480 --> 01:22:28,080
kind of documentation. 
It's just like there's not much 

1195
01:22:28,480 --> 01:22:30,640
justification, like we just need
that. 

1196
01:22:32,520 --> 01:22:34,680
Yeah, for sure. 
We have a big. 

1197
01:22:34,680 --> 01:22:39,160
Snacks said Hey, Leon's Rose saw
your most recent talk at Elixir 

1198
01:22:39,160 --> 01:22:41,320
Conf Beacon. 
Looks awesome. 

1199
01:22:43,880 --> 01:22:44,840
Thank you. 
Thank you. 

1200
01:22:44,840 --> 01:22:51,520
Yeah, the, the, the lexical 
talks are a way to, you know, 

1201
01:22:52,560 --> 01:22:56,440
you know, to talk, talk about 
Beacon and try to expose how 

1202
01:22:56,440 --> 01:23:02,960
Beacon works and, you know, 
trying to, yeah, usually trying 

1203
01:23:02,960 --> 01:23:08,360
to explain how Beacon works. 
And actually we are starting a 

1204
01:23:08,360 --> 01:23:12,360
new series of blog posts in the 
Dockyard blog. 

1205
01:23:12,880 --> 01:23:16,720
It's building Beacon. 
I'm serious. 

1206
01:23:17,120 --> 01:23:21,480
Oh, awesome. 
And the first one is going to be

1207
01:23:22,360 --> 01:23:26,800
talking about the configuration 
like how we use the Elixir 

1208
01:23:26,800 --> 01:23:33,480
registry to, you know, to start 
the, the configuration, that 

1209
01:23:33,480 --> 01:23:36,960
kind of stuff. 
The idea is to have like short 

1210
01:23:37,160 --> 01:23:41,600
blog posts explaining something,
you know, how Beacon works 

1211
01:23:41,600 --> 01:23:45,080
internally, because The thing is
we are doing some stuff in 

1212
01:23:45,080 --> 01:23:48,480
Beacon that is not very usual, 
right? 

1213
01:23:48,480 --> 01:23:52,000
Some, some stuff that you don't 
see in other projects, right, 

1214
01:23:52,040 --> 01:23:55,480
Some, right? 
And and the idea is to expose 

1215
01:23:55,480 --> 01:24:00,160
how we, you know, to like expose
how we are dynamically rendering

1216
01:24:00,160 --> 01:24:02,960
templates and. 
Dynamically routing like that's 

1217
01:24:02,960 --> 01:24:06,720
not a typical web project. 
No, no, it's, it's not. 

1218
01:24:07,240 --> 01:24:10,640
It's not some some people try to
contribute. 

1219
01:24:10,760 --> 01:24:13,760
I mean, some people are when 
they are starting with 

1220
01:24:14,240 --> 01:24:19,760
contributions to to Beacon. 
Usually I say that hey, it's a 

1221
01:24:19,760 --> 01:24:22,160
Phoenix project, but it's not a 
regular Phoenix project. 

1222
01:24:22,160 --> 01:24:25,960
So don't look at Beacon like the
if you're contributing to 

1223
01:24:25,960 --> 01:24:30,640
Beacon, don't look at Beacon as 
if regular Phoenix application 

1224
01:24:31,160 --> 01:24:34,680
and the and the admin interface 
is the same as the admin 

1225
01:24:34,680 --> 01:24:40,320
interface is more like live 
dashboard than regular Phoenix 

1226
01:24:40,320 --> 01:24:45,120
application, right. 
So there's a there's a lot to 

1227
01:24:45,120 --> 01:24:48,360
talk about the, you know, the 
design decisions, the the 

1228
01:24:48,360 --> 01:24:53,440
implementation, you know, and 
the so these these blog posts, 

1229
01:24:53,440 --> 01:24:57,560
these series of blog posts, the 
idea is to, you know, just talk 

1230
01:24:57,560 --> 01:25:01,000
about those implementations. 
Yeah, yeah, I love that. 

1231
01:25:01,000 --> 01:25:02,080
What? 
When can we? 

1232
01:25:02,080 --> 01:25:06,840
Expect those to start dropping I
think the next. 

1233
01:25:07,440 --> 01:25:09,480
It's going to be next week. 
The first one. 

1234
01:25:09,760 --> 01:25:15,880
OK, cool. 
I'm I, I won't promise like a 

1235
01:25:15,880 --> 01:25:20,840
frequence, but I'm trying to 
have at least one per month. 

1236
01:25:21,280 --> 01:25:23,680
OK, it's hard to promise 
content. 

1237
01:25:23,680 --> 01:25:27,960
Releases, that's for sure. 
I mean the quickest way to burn.

1238
01:25:27,960 --> 01:25:32,120
Yourself out is. 
Over promised content, yeah. 

1239
01:25:33,040 --> 01:25:35,480
And sometimes I. 
Promise features like, hey, I'm 

1240
01:25:35,480 --> 01:25:38,040
going to work on this feature 
and it'll be released soon and 

1241
01:25:38,040 --> 01:25:40,160
then I have to work on also some
other stuff. 

1242
01:25:40,160 --> 01:25:44,840
And I feel bad because you know,
there's someone waiting for for 

1243
01:25:45,280 --> 01:25:49,520
either a content or feature or 
bug fix or whatever and I have 

1244
01:25:49,520 --> 01:25:52,960
to work on something else that 
happens sometimes. 

1245
01:25:52,960 --> 01:25:58,720
And so I'm kind of avoiding 
promises now, like I'm gonna 

1246
01:25:58,720 --> 01:26:01,400
work on that. 
I don't know when, but I will. 

1247
01:26:01,400 --> 01:26:02,680
Yeah. 
No, I get it. 

1248
01:26:02,720 --> 01:26:05,600
I get it. 
I'm trying to be better about 

1249
01:26:05,600 --> 01:26:08,960
not over promising my time 
because when you work on 

1250
01:26:08,960 --> 01:26:13,160
projects and you also want to 
create content and help people, 

1251
01:26:13,560 --> 01:26:17,200
it's a hard balance. 
Yeah, exactly because. 

1252
01:26:17,640 --> 01:26:22,440
Adoption, it's not on code. 
Like I could be here the whole 

1253
01:26:22,440 --> 01:26:26,640
day just coding and forget about
everything else. 

1254
01:26:26,640 --> 01:26:30,080
But that's on how it work. 
That's not how it works, right? 

1255
01:26:30,080 --> 01:26:32,040
Yeah, unfortunately we prefer 
to. 

1256
01:26:32,040 --> 01:26:35,680
Build and code all day, but that
doesn't get a product used or 

1257
01:26:35,840 --> 01:26:39,520
out there, right? 
Yeah, but I I do like talking to

1258
01:26:39,520 --> 01:26:41,680
people. 
Like especially on our Slack 

1259
01:26:41,680 --> 01:26:44,360
channel, That's that's that's 
interesting. 

1260
01:26:44,920 --> 01:26:50,120
And it's, I was talking to, I 
was talking to Zach about that, 

1261
01:26:51,320 --> 01:26:54,560
you know, I, when I was at 
Elixir Conf, I was talking to 

1262
01:26:54,560 --> 01:26:58,600
Zach about, you know, open 
source, you know, maintenance, 

1263
01:26:58,600 --> 01:27:04,160
how you know how to handle all 
the requests on all the users 

1264
01:27:04,160 --> 01:27:07,280
and development, you know, all 
that stuff. 

1265
01:27:07,280 --> 01:27:12,920
Because the Ash framework has, 
you know, a much larger, larger 

1266
01:27:12,920 --> 01:27:16,440
community now. 
And Zach is maintaining a bunch 

1267
01:27:16,440 --> 01:27:21,680
of projects and the and he said 
something that was really 

1268
01:27:21,680 --> 01:27:26,640
interesting to me. 
Like the priority number one are

1269
01:27:26,640 --> 01:27:31,160
the users or is the community. 
If someone sends a message, 

1270
01:27:31,440 --> 01:27:38,200
either a feature requests or a 
bug bug report or whatever, just

1271
01:27:38,200 --> 01:27:41,200
drop everything we're doing and 
answer that person. 

1272
01:27:41,320 --> 01:27:45,080
Like it can be like, hey, I have
no idea what's happening. 

1273
01:27:45,080 --> 01:27:46,760
I'm going to take a look on that
later. 

1274
01:27:46,920 --> 01:27:50,920
It could be arranged and then 
reply like that or the actual 

1275
01:27:50,920 --> 01:27:53,920
solution to that point, if you 
can solve that. 

1276
01:27:54,920 --> 01:28:00,120
So being response responsive is 
important and and that's 

1277
01:28:00,120 --> 01:28:02,680
something we learned from Jose 
as well. 

1278
01:28:02,960 --> 01:28:08,560
Yeah, I will say like I. 
Was using Ash for a project and 

1279
01:28:09,000 --> 01:28:11,160
I had issue I couldn't figure 
out something with the multi 

1280
01:28:11,160 --> 01:28:16,520
tenancy like their context you 
know your own database schemas 

1281
01:28:16,520 --> 01:28:20,800
or prefixes whatever you would 
call that and Zach responded so 

1282
01:28:20,800 --> 01:28:25,800
quick with a solution and then 
everything so like yeah he he 

1283
01:28:25,800 --> 01:28:29,600
definitely lives by that and 
it's pretty awesome yeah and and

1284
01:28:29,600 --> 01:28:32,960
that's the same we. 
Chose that like and you know 

1285
01:28:33,440 --> 01:28:37,920
that that's what Zach told me 
like we can learn from example 

1286
01:28:37,920 --> 01:28:40,400
like Jose that does that on the 
community. 

1287
01:28:40,640 --> 01:28:44,480
If you have ever contributed to 
you like Elixir or Phoenix or 

1288
01:28:44,480 --> 01:28:50,160
any other project, usually Jose 
every replies in like 5 minutes.

1289
01:28:50,320 --> 01:28:52,760
Yeah that's amazing. 
He's everywhere too. 

1290
01:28:52,760 --> 01:28:55,280
He's on. 
Every platform, he's on Reddit, 

1291
01:28:55,280 --> 01:28:57,560
he's on Twitter, he's in the 
forums. 

1292
01:28:58,040 --> 01:29:00,120
It's, it's unbelievable. 
I I don't know how he. 

1293
01:29:00,200 --> 01:29:02,440
Does it? 
I have no idea either. 

1294
01:29:02,480 --> 01:29:03,560
Like it's. 
But. 

1295
01:29:03,880 --> 01:29:08,120
But it's really cool because 
like you are working on 

1296
01:29:08,120 --> 01:29:12,360
something and then you have a, a
reply to, you know, to help you 

1297
01:29:12,360 --> 01:29:16,360
keep moving forward. 
And that's how you, you know, 

1298
01:29:17,000 --> 01:29:18,920
and that's how you build your 
community. 

1299
01:29:19,640 --> 01:29:27,160
So, so that's, you know, that's 
one of the tasks, I'd say, of 

1300
01:29:27,160 --> 01:29:32,000
maintaining a, a project. 
And, you know, and that's 

1301
01:29:32,000 --> 01:29:35,080
really, really nice You, you 
know, to see the community 

1302
01:29:35,440 --> 01:29:36,720
growing. 
Yeah. 

1303
01:29:37,760 --> 01:29:39,640
And absolutely. 
It's probably awesome. 

1304
01:29:39,640 --> 01:29:43,360
To watch Beacon. 
Get adopted by others as well. 

1305
01:29:44,560 --> 01:29:50,160
Yeah, we do. 
I cannot share the others, but 

1306
01:29:50,600 --> 01:29:57,920
we do have other sites in 
development in using Beacon. 

1307
01:29:58,560 --> 01:30:02,800
So it's, it's really nice to see
people, especially because, you 

1308
01:30:02,800 --> 01:30:08,120
know, some people started using 
Beacon before 0.1, which is like

1309
01:30:08,360 --> 01:30:13,320
we were making a lot of breaking
changes and people are, you 

1310
01:30:13,320 --> 01:30:17,880
know, who are using Beacon. 
And now more people are starting

1311
01:30:17,880 --> 01:30:20,320
to use Beacon with the 0.1 
version. 

1312
01:30:20,480 --> 01:30:26,240
And today we're going to have 
0.2 and we are avoiding breaking

1313
01:30:26,240 --> 01:30:31,920
changes and trying to be more, 
you know, to be more. 

1314
01:30:32,600 --> 01:30:35,440
Yeah. 
Because to be, you know, 

1315
01:30:35,440 --> 01:30:37,680
breaking changes sometimes are 
required. 

1316
01:30:37,960 --> 01:30:42,000
There's especially at the 
beginning, like I feel like you.

1317
01:30:42,000 --> 01:30:45,080
Always think you have the right 
like data architecture and 

1318
01:30:45,080 --> 01:30:47,560
everything set up and then 
you're like, this isn't working 

1319
01:30:47,560 --> 01:30:50,080
and you sometimes you just are 
forced to break things. 

1320
01:30:50,480 --> 01:30:52,760
Yeah, sometimes it's it's 
needed. 

1321
01:30:53,040 --> 01:30:56,200
But no one likes breaking 
changes, right? 

1322
01:30:56,720 --> 01:31:01,880
So we we have 12 wide breaking 
changes as much as as possible, 

1323
01:31:02,640 --> 01:31:07,600
but that's where Igniter can 
help as well, right? 

1324
01:31:08,360 --> 01:31:12,840
That's that's one of the, you 
know, requests. 

1325
01:31:12,840 --> 01:31:17,920
I was talking to Zach like 
having a upgrade scripts or 

1326
01:31:17,920 --> 01:31:20,320
something. 
So people can, you know, from 

1327
01:31:20,320 --> 01:31:25,760
zero dot, let's say we have a 
breaking change from 0.3 to 0.4,

1328
01:31:26,480 --> 01:31:31,280
we can write a igniter task. 
So people can just execute that 

1329
01:31:31,640 --> 01:31:35,080
and fix the breaking changes if 
if possible. 

1330
01:31:36,360 --> 01:31:39,840
So, Oh yeah, there are many, 
many ways to improve the 

1331
01:31:39,840 --> 01:31:44,120
experience. 
We, we, we, we, we have been, 

1332
01:31:44,880 --> 01:31:48,040
you know, focused on the, on the
experience. 

1333
01:31:48,200 --> 01:31:52,160
And the admin interface is 
another area we need to improve.

1334
01:31:53,520 --> 01:31:59,640
It's not the experiences in my 
opinion is not the the best. 

1335
01:32:00,080 --> 01:32:05,680
And so we need to improve how 
you know how the admin interface

1336
01:32:06,160 --> 01:32:11,040
looks and you know how you you 
use the admin interface. 

1337
01:32:11,040 --> 01:32:14,560
That's something we are we are 
starting to work on that as 

1338
01:32:14,560 --> 01:32:17,000
well. 
The admin interfaces are always.

1339
01:32:17,200 --> 01:32:21,720
Ignored until last, aren't they?
I mean I. 

1340
01:32:21,880 --> 01:32:27,640
I start the admin interface. 
I mean, if you get back to day 

1341
01:32:27,640 --> 01:32:32,680
one, like Mike started the 
admin, but it was like just, you

1342
01:32:32,680 --> 01:32:38,560
know, the default Phoenix 
generator pages like and then I 

1343
01:32:38,560 --> 01:32:44,160
moved to a isolate application 
and then I kind of start from 

1344
01:32:44,160 --> 01:32:46,720
scratch. 
But I'm not a friend and 

1345
01:32:46,720 --> 01:32:49,440
designer. 
I'm not front end developer, 

1346
01:32:49,440 --> 01:32:53,000
right? 
So, so we had some help along 

1347
01:32:53,000 --> 01:32:58,360
the way, you know, some UX 
developers help from dog care 

1348
01:32:58,360 --> 01:33:03,560
help to make it look better. 
But we we still need to do like 

1349
01:33:04,040 --> 01:33:08,520
full work on the admin interface
to make it look, make it look 

1350
01:33:08,520 --> 01:33:13,480
better and more useful more, you
know, you, you can use it, but 

1351
01:33:13,480 --> 01:33:17,520
we need to make it look better. 
Yeah, well. 

1352
01:33:18,160 --> 01:33:21,520
Leandro, I appreciate you 
working on this project. 

1353
01:33:21,520 --> 01:33:25,160
I think it's awesome. 
And I like Brian and Dockyard 

1354
01:33:25,280 --> 01:33:28,480
are just amazing staples in the 
Elixir community. 

1355
01:33:28,480 --> 01:33:32,440
They're he's just all the 
projects that he's behind. 

1356
01:33:33,320 --> 01:33:35,800
It's awesome. 
So I appreciate you guys and I'm

1357
01:33:35,800 --> 01:33:41,240
excited to dive into this today.
Yeah, I mean it's. 

1358
01:33:42,240 --> 01:33:45,840
It's a big deal because the 
entire project is open source. 

1359
01:33:46,160 --> 01:33:48,960
So for for Docker is a huge 
investment. 

1360
01:33:49,240 --> 01:33:50,120
Yeah, it is. 
Right. 

1361
01:33:51,320 --> 01:33:54,760
So, yeah. 
So the idea is to fill that gap 

1362
01:33:54,760 --> 01:34:00,600
in the community and being open 
service is is important to, you 

1363
01:34:00,600 --> 01:34:04,240
know, reach that goal. 
And yeah. 

1364
01:34:04,240 --> 01:34:08,080
And this project would not be 
possible without the investment.

1365
01:34:08,760 --> 01:34:10,200
Yeah. 
Now it's amazing. 

1366
01:34:10,200 --> 01:34:13,720
So thank you. 
Dockyard for, you know, funding 

1367
01:34:13,720 --> 01:34:19,160
this project because it's 
amazing where should people. 

1368
01:34:19,160 --> 01:34:23,840
Find you if they want to follow.
You I think I linked your ex 

1369
01:34:24,200 --> 01:34:28,600
profile in the description, but 
probably Dockyard blog. 

1370
01:34:28,600 --> 01:34:34,320
Do you write blogs there I. 
Have just one blog post there by

1371
01:34:34,320 --> 01:34:37,720
now, but we've the Building 
Beacon series. 

1372
01:34:37,720 --> 01:34:39,320
I should have more in the 
future. 

1373
01:34:40,080 --> 01:34:43,880
So we can find my blog post 
there and we can find me on 

1374
01:34:43,880 --> 01:34:47,920
Twitter. 
It's maybe we can have a a link 

1375
01:34:47,920 --> 01:34:51,320
because it's Leandro Siski and 
it's really hard to pronounce. 

1376
01:34:51,400 --> 01:34:56,760
Yeah, yeah. 
So and I think there's a link on

1377
01:34:56,760 --> 01:34:58,960
my hacks profile. 
There's. 

1378
01:34:59,000 --> 01:35:01,440
OK, perfect. 
So I'll make sure. 

1379
01:35:01,440 --> 01:35:04,680
That your ex profile is 
LinkedIn, the description and 

1380
01:35:04,680 --> 01:35:06,600
definitely give Leandro a 
follow. 

1381
01:35:06,600 --> 01:35:10,120
He's doing cool stuff. 
And thank you so much for coming

1382
01:35:10,120 --> 01:35:14,600
on and giving us your time. 
Thank you for the opportunity to

1383
01:35:14,600 --> 01:35:17,280
talk about. 
Beacon and you know all that. 

1384
01:35:17,280 --> 01:35:19,800
So it's really, really cool. 
Yeah. 

1385
01:35:19,800 --> 01:35:23,480
And next week we have Miguel. 
Who you work pretty closely with

1386
01:35:23,560 --> 01:35:27,400
and he's the one that's behind 
the. 

1387
01:35:27,520 --> 01:35:31,320
The visual editor, right, the 
drag and drop interface, yeah, 

1388
01:35:31,320 --> 01:35:33,280
yeah, so the. 
Like I said, big. 

1389
01:35:33,600 --> 01:35:36,360
The visual editor is a big 
project inside inside the 

1390
01:35:36,360 --> 01:35:39,800
beacon. 
And so, yeah, the visual editor,

1391
01:35:40,320 --> 01:35:42,240
it's also really, really 
interesting. 

1392
01:35:42,240 --> 01:35:45,760
It's so I I'll be listening for 
sure. 

1393
01:35:45,760 --> 01:35:48,120
Yeah, it's impressive. 
I like I was. 

1394
01:35:48,120 --> 01:35:52,840
Looking at your demo where you 
demoed it, and I'm sure it's 

1395
01:35:52,840 --> 01:35:57,800
come even farther along since 
your talk in 2023, but it looks 

1396
01:35:57,800 --> 01:36:00,520
really amazing. 
Yeah, Yeah, we have. 

1397
01:36:01,240 --> 01:36:07,200
Plenty of new new, new features 
now and well, I'm not giving 

1398
01:36:07,200 --> 01:36:10,080
spoilers, so yeah, spoilers. 
Everyone's got to wait a week. 

1399
01:36:10,800 --> 01:36:14,360
Yeah, next week. 
Well everyone, I hope you guys. 

1400
01:36:14,360 --> 01:36:16,880
Have a good weekend. 
Thanks for tuning in and thank 

1401
01:36:16,880 --> 01:36:19,440
you so much for joining me 
today, Aleandro. 

1402
01:36:19,440 --> 01:36:22,000
I really appreciate it. 
Thank you. 

1403
01:36:22,000 --> 01:36:23,640
All right. 
See you guys. 

1404
01:36:24,440 --> 01:36:25,480
Hi. 
I'm Jacob. 

1405
01:36:25,480 --> 01:36:28,760
My YouTube channel and podcast 
reach thousands of engaged 

1406
01:36:28,760 --> 01:36:32,040
Elixir developers every month. 
If you're looking to promote 

1407
01:36:32,040 --> 01:36:35,800
your developer tools, services, 
or job opportunities to a 

1408
01:36:35,800 --> 01:36:38,400
focused audience of Elixir 
professionals, head to 

1409
01:36:38,400 --> 01:36:42,000
elixirmentor.com and let's 
discuss sponsorship options.

