3.19 Dynamic Routes in Sinatra and a JAMstack meetup.

11.5h I didn’t include the meetup time, but it really doesn’t matter. I went to a JAMstack meetup tonight. That stands for Javascript Apis and Markup, and it seems to essentially be a way to try to make more of your site live client-side and not have to deal with back end as much. I’m interested, but part of it also seems like a silly abstraction because someone will have to run those api points, and there is only so much one person can do with public apis before they want to generate new data. In short I’m still sorting it out. Tonight’s presentation was on using drupal to provide data for a gatsby server. That was a really interesting presentation. It seems that drupal is used as the cms for data entry, and the data is sucked out automatically by gatsby over a api, and then converted to graphQL my gatsby (?!) before finally being rendered into a partially static site with templates (that can include react!) Phew! there was a lot to unpack, but it was informative, I got some good pizza and I’m glad I went.

At Launch today we worked on accessing dynamic routes in sinatra, we did a roadmapping thing with a group of four people, and I did some pair programming. That was fun because my partner did all of the typing and I got to focus on higher level stuff. I also love pair programming because I get to talk about keyboard shortcuts a lot. I love any tiny little optimization I can get my hands on.

Our main project right now involves a sinatra site with multiple end points that uses a csv file as a database and allows user input. It also has a little bit of javaScript in it to do some dom manipulation and event handling. One cool feature about this app is that it’s the first time I’ve set up an api end point that returns json. Consider that box checked! Tomorrow I have a bunch of reading lined up, I’m going to work on styling the heck out of the aforementioned sinatra site, and I’m going to the mentor night for once! It’s pretty hard for me to stay late at Launch so it’s a treat to be able to check out one of these events.

17k keystrokes and a mile on the mouse. I like to think that’s because my pair programming partner used the mouse a lot, but I don’t know if it’s fair to blame it all on him…

Tell me what you think.

This site uses Akismet to reduce spam. Learn how your comment data is processed.