Que sera, sera, whatever will be, will be, but first I need more coffee.

Category: General (Page 6 of 55)

I didn’t like Uncategorized so I changed it to General. A catch-all category.

Oh, the fun I am having

So I'm a web developer and mostly set up WordPress websites for individuals and small businesses. I help them to maintain them, but my clients manage their own content. It requires very little programming on my part. I'm in the process of working more with Django which is a web framework. However, it requires more programming on my part which is what I want to do. Django can be used to build WordPress like websites. It also gives me more flexibilty to build what I want.

In order to do this I need to change my development methodology. I'm currently working my way through Test Driven Development With Python (Using Django, Selenium, and JavaScript). I've done enough of it that I'm going to give a book review and demo to my local Python user group tomorrow. My presentation is more or less ready. I need to review my slide show, tweak it if necessary, and make sure all the development environments I've set up the demo at various stages works.

I'd like to be able to do a chapter a day in the book, but chapters vary greatly in length. I can sometimes do two or three chapters in a day or one chapter over two or three days. This is not a book to breeze through. It requires more patience than I'm giving it. It'll pay off in the end, just a little longer than I had planned for. By using the methodoligies and tools outlined in the book I can be more rigorous, document my projects better, and deploy them more easily. Also, as the projects are written in Python they'll be easier to read, maintain, and modify.

My goal is to convert my own WordPress website to Wagtail which is a content management system based on Django. It still requires programming, but it's a matter of assembling and testing all the pieces then moving my content. After, I see how that goes, I'll set up some starter Wagtail projects for future clients. In the meantime I'll keep plugging away at the book tutorials.

Winter Solstice

It's only a little thing. We used to go to a friend's house for a Winter Solstice party and one of the ceremonies was to write on a piece of paper things we'd like to get rid of and things we'd like to come in to our lives. Then we'd throw them in a small fire outdoors and make some kind of incantation. Of which I'd forgotten the words.

Those friends have moved away and we have moved away. Those parties are no more. So this year I thought about what I'd like to go and what I'd like to come in: resentment and forgiveness. I need to let go of my resentment that a different friendship was destroyed and that I need to forgive those that destroyed it. The friend who was lost has passed away, so there is no restoring it.

More CSS (Actually CSS3)

Cascading Style Sheets (CSS) have come along way since I started doing web development. I had to design a simple front page for a client and, boy, howdy, is that hard to do. Trying to be minimalist requires a lot of thought. Also the this front page has to be responsive (look good on all devices and adjust to their parameters) that is the same content has to look good for a mobile device such as an iPhone, a tablet such as an iPad, or a laptop such as a MacBook Pro. Alternately, you could say Android, Android tablet, and Windows 10 laptop.

I finally pulled down The Book of CSS3 off the shelf and started reading it (I purchased it last spring). I learned all about media queries which allows a single page to adjust to the device it’s being viewed on. Each release of CSS standards comes with a number. The first version was CSS then CSS 2 then CSS2.1 and now CSS3. So what is a cascading stylesheet. It tells the browser how to render a web page. It tells it what fonts to show and what size, whether it’s normal, bold, italics, underline, or strikethrough. Or a combination of all of them. It can do much much more.

I’ve got a deadline for this site. I can get it done, but it is mentally exhausting. Still, it beats delivering pizzas.

CSS

The image overlaying the thumbnail can be translucent which I don’t want. The overlaid image can be solid where it isn’t transparent but then you can’t click on the thumbnail. I’ve tried various rearrangements of the items in the templates for the page. I can have one desirable trait but not both. HTML doesn’t allowed nested links but I removed those.

Of course this was all to solve the problem of even being able to tap on the thumbnail so it would take you to a new page on a mobile device which has a touchscreen. It needs to be a double tap solution. Because on a computer where you have hover with a mouse the text appears over the image. On mobile you tap and no text just goes to the new page. You need to be able to tap once to see the text then tap again to see the page. There are themes that actually do this. I may have to switch to one of them.

« Older posts Newer posts »

© 2025 Christopher Merle

Theme by Anders NorenUp ↑