Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
TRENDING TODAY
Home > News > Webmaster > Internet Life

September 6th, 2012, 12:51 GMT · By

4chan Gets an HTML5/CSS3 Makeover and Launches an API

SHARE:

Adjust text size:

4chan has gotten a major code revamp
Enlarge picture
An API is the hip thing to do, you can't expect anyone to take you seriously if you don't have one. In fact, it's so mainstream at this point that Twitter decided it was not cool anymore, so it's doing everything it can to drive away developers.

4chan though, which has been around a while longer than Twitter and may be around long after Twitter is gone, decided it was time to get with the youngsters and roll out an API as well.

That said, an API wasn't tacked on just for the hell of it, Moot, the site's founder, believes it will prove useful to developers and, more importantly, it wasn't much of a hassle.

Moot has been looking at ways of optimizing bandwidth, the site has millions of visitors but it is not a huge money maker. So he changed the way threads were transported, they're all now JSON objects which are then rendered locally.

"My second announcement is another first—the release of a read-only JSON API. '4chan' and 'API' are certainly two words I never thought I'd find in the same sentence, but alas, here we are," Moot announced.

The API was added mostly so that it could be used by the official Chrome and Firefox extensions. But, of course, any developer is free to use it as well.

Along with the API comes a major redesign of the site, the entire thing has been rewritten in "modern" HMTL5/CSS3 code, making it faster and more efficient.

"In May we launched a radical refactor of our frontend code, migrating 8 year old spaghetti HTML to code that validates HTML5/CSS3. The change was made to improve the rendering speed of large threads and consistency across browsers, and enable extension developers to more easily develop for the site," he explained.

"Today represents another radical change to our codebase, with the release of a full featured inline extension... Almost every feature from our official extension and other popular third-party extensions has been implemented natively into the site, and a handful have been enabled by default," he said.
FILED UNDER:
4chan
HTML5
CSS3
API
JSON


868 hits
Link to this article · Print article · Send to friend

MUST-READ RELATED ARTICLES:


Firefox OS Has a Big Chance of Challenging Android and iOS

Dissecting Firefox OS: Gonk, Gecko and Gaia - the Three Main Components

Google Chrome Will Be the Only Browser to Offer Full Flash Support in Metro Mode

Firefox 16 Aurora Comes with Unprefixed CSS3, IndexedDB and a New Developer Toolbar

Chrome 21 Beta Adds Native Webcam, Mic and Gamepad Support

READER COMMENTS:



No user comments yet.
Be the first to express your opinion!
Copyright © 2001-2013 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM