Send News. Want a reply? Read this. More in the FAQ.   News Forum - All Forums - Mobile - PDA - RSS Headlines  RSS Headlines   Twitter  Twitter
User Settings
LAN Parties
Upcoming one-time events:

Regularly scheduled events

Report this Comment
Use this form to report the selected comment to the moderators. Reporting should generally be used only if the comment breaks forum rules.

27. Re: Out of the Blue Nov 26, 2009, 04:41  Xymph 
You're thinking of just hiding stuff with javascript. The whole point of ajax is that you load information on demand. I.e., when you click on an ajax link, it generates an http request that goes to the server to fetch data, and when the data comes to the browser it shows it.
Two factors here:

1) I know that Ajax can do that, but don't know anything about writing Ajax stuff. While part of my motivation for working on all these site features is to learn new things, I don't want to spin off in completely new technological directions on this site, given the time I have available and the features I still need to build.

2) The frontpage is really a static .shtml file, dumped every minute from the database and replacing the previous file only if anything changed (even if it's just one comment count). This is done to prevent MySQL and general system overload, and I'm not comfortable with the idea of the static frontpage generating additional HTTP/MySQL requests, even if only on demand.
So the Continue links go to the Share (viewstory) pages which are fully dynamic, but mod_perl helps with that, and these are also the links we'd like to see used by other sites and search engines as the main place of entry when bringing up a single story. So there is an SEO-aspect to doing it this way as well.

So, thanks for everyone's suggestions, but Ajax is one area I'm unlikely to enter at this time.
Avatar 13939
-- Frans
Login Email   Password Remember Me
If you don't already have a Blue's News user account, you can sign up here.
Forgotten your password? Click here.


Blue's News logo