GraftJS / graft

full-stack javascript through microservices
http://graft.io
MIT License
227 stars 15 forks source link

README with examples and APIs #6

Closed mcollina closed 9 years ago

mcollina commented 10 years ago

The current README is missing both the examples and the API. We have not really much to show, but still it's worth adding stuff.

AdrianRossouw commented 10 years ago

yup. need to be gone over. i don't think the current examples are appropriate for the front page. we need somehtiung better.

mcollina commented 10 years ago

Have you had a look at this: https://github.com/GraftJS/graft/tree/master/example/orchestration?

AdrianRossouw commented 10 years ago

how would i. you just added it 3 hours ago =)

AdrianRossouw commented 10 years ago

I like that, but based on feedback i've had, I think the example should be something
that can be done in 2-3 files. one for the client, one for the server, but maybe one more for a spdy service.

AdrianRossouw commented 10 years ago

How about an app that allows you to upload an image and it pops up on everybody's screen in thumbnail form?

Client:

Server:

Spdy server?:

Packages:

mcollina commented 10 years ago

@AdrianRossouw I agree. Also, have a look at https://www.npmjs.org/package/resizer.

The problem is that we need something that can be like 20-30 lines in total, and all of that is too big. (even my orchestration is).

How about:

1) ws client calling 2) orchestration server, --- with where() clause 3) actual microservice

We can do the resize thing in the actual microservice, it's cool and nice.

AdrianRossouw commented 9 years ago

i think this is done.