kermix.com - home
Goodbye World
on building ajax
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
Then it's on to PHP/MySQL: adding, removing, and updating features, and cleaning up code. Eugh.
stream 'o consciousness
upcoming things
Should also update the site to XHTML. Oh, and completely redesign the CSS to look more professional. Seriously.
brain idea
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.
operation overhaul
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.
change is coming
Weak in the Geek
blah blah blah
/me dumps everything into /projects/
-_-;
Also, mental note: add "card game" to projects list.
This page © 2008 kermix.com