Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Let the Campaign Edit Wars Begin 571

Hugh Pickens writes writes "Megan Garber writes that in high school, Paul Ryan's classmates voted him as his class's 'biggest brown noser,' a juicy tidbit that is a source of delight for his political opponents but considered an irrelevant piece of youthful trivia to his supporters. 'But it's also a tension that will play out, repeatedly, in the most comprehensive narrative we have about Paul Ryan as a person and a politician and a policy-maker: his Wikipedia page,' writes Garber. Late Friday night, just as news of the Ryan choice leaked in the political press — the first substantial edit to that page removed the 'brown noser' mention which had been on the page since June 16. The Wikipedia deletion has given rise to a whole discussion of whether the mention is a partisan attack, whether 'brown noser' is a pejorative, and whether an old high school opinion survey is notable or relevant. As of this writing, 'brown noser' stands as does a maybe-mitigating piece of Ryan-as-high-schooler trivia: that he was also voted prom king. But that equilibrium could change, again, in an instant. 'Today is the glory day for the Paul Ryan Wikipedia page,' writes Garber. 'Yesterday, it saw just 10 [edits]. Today, however — early on a Saturday morning, East Coast time — it's already received hundreds of revisions. And the official news of the Ryan selection, of course, is just over an hour old.' Now Ryan's page is ready to host debates about biographical details and their epistemological relevance. 'Like so many before it, will be a place of debate and dissent and derision. But it will also be a place where people can come together to discuss information and policy and the intersection between the two — a town square for the digital age.'"

Comment this is what I do (Score 1) 409

* implement an MVC pattern but use a servlet, really, don't fall into the struts / faces / sitemesh / tiles / spring ui / crap, it will backfire at you, use a simple templating engine (i.e. freemarker)
* don't use spring unless you plan to make your code available to everyone and plan to have multiple implementations of the integration tier (data tier), otherwise spring is useless spaghetti XML configuration and if you aren't careful enough you'll be coupling tiers anyway without noticing it, spring is not a silver bullet
* if you have to use sql use jdbc and/or persist your objects without mapping collections (don't use hibernate / jpa or use it carefully without mapping collections), just don't use SQL for everything, think ahead but not too far ahead. look for a nosql solution if you can.
* don't store info at the http session, if you absolutely have to make sure it is serializable
* make http content cacheable always, if you have a crud backend or a dynamic page based on user data use a separated folder for it, it is easier to manage an http reverse proxy to cache that way.
* use a cdn for static content (images, scripts, use versioning for scripts so you can have some level of control of what's in the user's browser cache)
* use sticky sessions just to optimize cache but be ready to failover/load balance, make your services stateless
* use a SOA architecture, doesn't matter if you are going to implement it using web services (i.e. soap, rest, other) or a home made socket/bin protocol make sure tiers are decoupled and that they can be reused, you'll probably want to expose a public API at some point
* don't build everything on a single .war deployable, divide the app by functionality, i.e. signing, validation etc on one .war web app, browsing / searching cacheable content at another, backend crud app at another .war, etc, use shared libraries to keep your entities model and .war consumer apps in sync
* log traffic at the balancer(s)
have fun!

Slashdot Top Deals

VMS is like a nightmare about RXS-11M.