Navigating the Front End Wilderness Part 2

Today I ran into major problems trying to setup a React script to query JSON from a site and parse it into something usable. I’m new to this stuff and used an existing tutorial to mangle according to my needs. I ended up with the following code: var PlanetList = React.createClass({ getInitialState: function() { return {Planets: []}; }, componentDidMount: function() { this.serverRequest = $.getJSON(this.props.source, function (result) { var parray = result....

March 11, 2016 · James

Navigating the Front End Wilderness Part 1

Recently I’ve set myself a task of developing a web based game in order to get myself up to speed on modern development patterns and technologies… something I haven’t done since I worked with PHP over a decade ago. For my application I wanted to work in a MVC pattern and to carve off the view layer as client side. For this task I selected React. This is a challenge for me as the minimal amount of Javascript I know has been used to create Gluecode for automation tasks....

February 28, 2016 · James