carlfoxmarten: (Default)
[personal profile] carlfoxmarten
So, that Link Tags system I'm in the process of writing is starting to show a bunch of bugs, and seemingly at random to boot!

Currently, if you include all lines in the source code (comments included), the whole script weighs in at around 1250 lines of code.

Up until now, I've been putting the stuff that manipulates the database directly at the top of the file, the stuff that reformats the stuff taken from the database into stuff that can be thrown at the browser in the middle, and the logic that browsers interact with directly at the bottom.

I think I need to start breaking it up into modules so I can keep better records of which is supposed to do what.
Three ought to do it, though I'd have to figure out how to use modules in PHP...

Today's issue was that it started to choke on labels, links that had names, but no descriptions or URLs.
I haven't figured out what went wrong yet, but I need to go to bed soon, so I'll probably fix it some time tomorrow.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

carlfoxmarten: (Default)
Carl Foxmarten

August 2023

S M T W T F S
  12 345
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 6th, 2025 04:52 pm
Powered by Dreamwidth Studios