Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API driven #23

Open
nblackburn opened this issue Dec 19, 2015 · 9 comments
Open

API driven #23

nblackburn opened this issue Dec 19, 2015 · 9 comments

Comments

@nblackburn
Copy link
Contributor

While in the early stages of development i would strongly consider moving to be api driven so you decouple the frontend and backend allowing for greater scalability and modularity.

If you need help with this at all, let me know and i will be glad to assist wherever i can.

@craigpearce5
Copy link

If you opened an API I could develop an iPhone app.

@drewhamlett
Copy link

Yea, lets go ahead and split everything out into 45 Go services, with Docker image deploy pipeline, React, Fluxed, front end Gulping the DOM, with asset deployed Relay mapping of Webpacked dependencies NPM module plugin GraphQL so the CLR main execution zone will fit in and keep the html object state hard and fast.

Or you know we could just do respond_to :json

@nblackburn
Copy link
Contributor Author

@drewhamlett A simple API to keep the frontend and backend separate and allow for easy expansion was more what i was going for.

@mecid
Copy link

mecid commented Dec 19, 2015

If you will open API I could develop android app.

@jacquescrocker
Copy link

couple separate threads here:

  1. Creating a public API

  2. possibly redo frontend in a technology and consume our own api, instead of standard rails generated pages

Both great discussions to have and worth considering.

@tomchinery
Copy link

In terms with decoupling I think it would be a great idea as it would allow for rapid UI prototyping, greater test coverage, and a consistent backend to consume. Not only that but it does naturally lead to a public API with the option of targeting multiple platforms.

@drewhamlett
Copy link

Since it's a content site that's literally a list of links, seems to me to make more sense to just spit out html views. Why bring in flavor of the month client side mvc to do that. It' easy to spit out json views also for other use cases.

@nblackburn
Copy link
Contributor Author

@drewhamlett Because it allows for a unified experience across the board where all clients work in the exact same manner from a single codebase.

@drewhamlett
Copy link

@nblackburn It never works like that in the real world anyway. Plus in Rails, json is just another view. You don't have to choose one or the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants