Dec. 21st, 2018

lillilah: (Default)
I have a bunch of webpages that in theory handle multiple users but in fact are just for me. That's fine. Someday, I'll release all this stuff on GitHub or something. Anyway, I was finding that I reused a lot of code over and over, so I've made libraries for a lot of that code. What I'm finding now is that as I try to standardize things like my login pages or the code that makes forms look nice, I have a crazy rat's nest of CSS that trips over itself constantly. Part of the problem is that I came late to CSS and don't understand it fully (although I understand it enough to do what I want to do). Another part of the problem is that I really don't care about CSS the way I care about PHP and making sure that my code is nice and clean. Lastly, I'm once again cutting and pasting code from one site to another, and it is making a big mess.

Finally, I have decided to do something about this, and it isn't really all that different from what I did with the libraries for other reused code. I am using this suggestion for how to include CSS in php pages and am making CSS libraries to go with different things that need to be formatted. Also, I'll be better about naming, so that there aren't conflicts. This isn't especially novel, but I think it will help clean up my code a lot and make reusing things (like the newer, better looking login page) easier.

Now that I think of it, it is also time to start moving my forms over to the automatic form writer and validator that I wrote for one of my sites. I think I had a plan to write up some documentation so that I would stop forgetting about the stuff that I wrote to make things easier. * sigh * Well, now that we have some time off from school, I'll see what I can do.

Profile

lillilah: (Default)
lillilah

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 2nd, 2026 11:07 am
Powered by Dreamwidth Studios