I spent most of today making a Single Page App.
The content is loaded into the page using a low-level transport mechanism called HTTP (the great thing about using this protocol is that you get URL routing for free). I bucked the trend and decided not to encode the content in JSON. Instead it’s contained in a text format called HTML.
There is some asynchronous loading involved for the rich media; that’s accomplished using a feature of HTML known as the img
element.
I’m pretty pleased with the results. The whole thing is scrolling smoothly at sixty frames per second.
25 Likes
# Liked by Valeria Brigatti on Monday, May 4th, 2015 at 6:27pm
# Liked by za5 on Monday, May 4th, 2015 at 6:27pm
# Liked by Jan Skovgaard on Monday, May 4th, 2015 at 6:27pm
# Liked by Shane Hudson on Monday, May 4th, 2015 at 6:27pm
# Liked by ☆ Trevor Gerzen ☆ on Monday, May 4th, 2015 at 6:27pm
# Liked by Scott Vinkle on Monday, May 4th, 2015 at 6:45pm
# Liked by mobile fantastic on Monday, May 4th, 2015 at 6:45pm
# Liked by Lily Belle on Monday, May 4th, 2015 at 6:46pm
# Liked by Leroy Kirby on Monday, May 4th, 2015 at 6:57pm
# Liked by Jens Geiling on Monday, May 4th, 2015 at 7:13pm
# Liked by Steve Barnett on Monday, May 4th, 2015 at 7:41pm
# Liked by Ronnie on Monday, May 4th, 2015 at 7:42pm
# Liked by gn0me on Monday, May 4th, 2015 at 7:50pm
# Liked by robert meacher on Monday, May 4th, 2015 at 8:43pm
# Liked by joey on Monday, May 4th, 2015 at 9:26pm
# Liked by Marcus Tallberg on Monday, May 4th, 2015 at 9:26pm
# Liked by Andrea Giammarchi on Monday, May 4th, 2015 at 9:26pm
# Liked by Joshua Gross on Monday, May 4th, 2015 at 9:26pm
# Liked by litenjacob on Monday, May 4th, 2015 at 9:26pm
# Liked by João Mello on Monday, May 4th, 2015 at 9:45pm
# Liked by Bertrand Dufresne on Monday, May 4th, 2015 at 9:45pm
# Liked by Dan Griffey on Monday, May 4th, 2015 at 9:57pm
# Liked by valderama on Monday, May 4th, 2015 at 9:57pm
# Liked by Johannes Thorn on Tuesday, May 5th, 2015 at 7:58pm
# Liked by Christian Hamann on Wednesday, May 6th, 2015 at 10:18pm