Skip to content

Instantly share code, notes, and snippets.

@phrawzty
Last active October 4, 2018 14:02
Show Gist options
  • Save phrawzty/3d6704a2c3ebd31b3da1b4066ae5e637 to your computer and use it in GitHub Desktop.
Save phrawzty/3d6704a2c3ebd31b3da1b4066ae5e637 to your computer and use it in GitHub Desktop.
Jahia days, day 1

Tech Barge

Live coding React-GraphQL app - Serge Huber, CTO of Jahia

  • Jahia is an enormous CMS, like Wordpress but massive.
  • Content, like a blog post, is accessible via an API.
  • If using GraphQL, for example, one can build out JSON files that describe the content object.
    • "Propoerties of the node."
  • Authorisation controls via cfg files.
    • Config files appear to be ini-style, key/value pairs, one per line.
    • Key hierarchy preserved in dotted format.
    • CORS
  • React!
  • Using React Material to modify the way the CMS renders content to the end user.
  • Using Apollo to connect the Reacy component via the GraphQIL API.
  • Geez I am not a front-end developer, haha. Wow.
  • Using a React / Apollo "app" to query the API and render the content on-demand using the components.
  • Possible to do this with a React module
    • So instead of running in NodeJS, running in React native
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment