Prev | Current Page 381 | Next

Frank Zammetti

"Practical DWR 2 Projects"


The main article content area follows, and here you??™ll notice there are actually a few different
s in play. The first is the loading message you see at various times when the
server is being called upon. The second is where an article is actually inserted. The third is
seen when you are editing an article. The fourth is where history is displayed, and the fifth is
where comments are displayed. I originally had intended to have only a single , and all
of this content would be overwritten whenever appropriate; but as it turns out, that was more
difficult to implement and would require more hits on the server, so this design made more
sense in terms of simplicity and performance, even though that seems, to me anyway, like the
opposite of what should be the case at first.
Things close out here with the footer section, and that??™s nothing but a link to the DWR
web site (credit where credit??™s due, right?). This content is overwritten when an article is
locked for editing so the time countdown can be shown, but it is immediately returned to
what you see here when the lock expires.
That covers the main markup of DWiki. The form and structure of the page is, I think,
pretty obvious, and there??™s nothing here that should be too surprising to you.


Pages:
369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393