kermix.com - home
on building ajax
(web)
1. First, build an old-fashioned website that uses hyperlinks and forms to pass information to the server. The server returns whole new pages with each request.
2. Now, use JavaScript to intercept those links and form submissions and pass the information via XMLHttpRequest instead. You can then select which parts of the page need to be updated instead of updating the whole page.
2. Now, use JavaScript to intercept those links and form submissions and pass the information via XMLHttpRequest instead. You can then select which parts of the page need to be updated instead of updating the whole page.
IOW, build the whole thing very cleanly by itself first.
thumbs up
(web)
Then it's on to PHP/MySQL: adding, removing, and updating features, and cleaning up code. Eugh.
stream 'o consciousness
(web)
upcoming things
(web)
Should also update the site to XHTML. Oh, and completely redesign the CSS to look more professional. Seriously.
brain idea
(web)
A "universal" edit form based on the fields and tables in the database. Pass in an update type, which is checked against a lookup table in the database to see which table is going to be affected, then use another lookup to get all the field names (and their "friendly names") that will be entered.
It could be really handy to have a single module for administration and updating any given portion of the site, even ones I haven't invented yet.
A Proposition
(QandA)
Even so, sometimes the payoff is way beyond the initial investment. Sure, there are good writers and bad writers, and even the good writers have bad days, but that doesn't mean that the form is to blame. It's the closest thing to improvisational comedy that the web has to offer.
What can we do to improve on this form and give it a chance? Innovate.
What I'd like to see is a forum where the same question can be answered by multiple writers — perhaps even an open forum — and the community can vote up the best responses, while still leaving all of them public. Think of it as a sort of, I don't know, Conversatron Idol. Then maybe we'll see the true diversity of comedy that the Interwebs have to offer.
operation overhaul
(web)
I also want the content to be managed in MySQL, which I realize would increase the workload on the MySQL server, but really. My site isn't exactly high-traffic.
This page © 2008 kermix.com