lucasmontano / magic-link

Generate, send and validate a magic link.
MIT License
106 stars 13 forks source link

Choosing a proper framework #2

Closed ArthurFleischman closed 4 years ago

ArthurFleischman commented 4 years ago

i though in 2 options:

github-actions[bot] commented 4 years ago

Hooray! The first issue in a project we never forget ❤️

HenriqueDerosa commented 4 years ago

Django has a good cms automatically integrated, in the company I work they use django, and we've access to this cms, pretty helpful for FrontEnd Integration. I'm not sure but I think it has also an easy way to do a CRUD (or automatic, not sure). And we can improve the CRUD as well.

Not sure, of anything cause this is a stack que não domino as well 😝

ArthurFleischman commented 4 years ago

Django has a good cms automatically integrated, in the company I work they use django, and we've access to this cms, pretty helpful for FrontEnd Integration. I'm not sure but I think it has also an easy way to do a CRUD (or automatic, not sure). And we can improve the CRUD as well.

Not sure, of anything cause this is a stack que não domino as well stuck_out_tongue_closed_eyes

im not a python to web expert to hahha, but im not totally lost.... lets learn together !

luizfspjf commented 4 years ago

I recommend to use Flask I think it fits better with uma stack que não domino As the PEP 20 Simple is better than complex. https://www.python.org/dev/peps/pep-0020/

thiagobeppe commented 4 years ago

I recommend to use Flask too, because it is a microframework and we only will make a backend, so we can only put in the project what we want.

nataneb32 commented 4 years ago

Yep, flask is much simpler than Django.

ArthurFleischman commented 4 years ago

so, i think we need more "corum" but flash is pretty the reasonable option.... @lucasmontano your turn admin...

ArthurFleischman commented 4 years ago

@lucasmontano if you could, allow labels... it could help a lot

Wedz0ff commented 4 years ago

I think it's good to use Flask on this project, since it's much more simpler, as others said.

jbarbosaamancio commented 4 years ago

Flask is much simple, and surely ideal for this project in my opinion.

davioliveira-dev commented 4 years ago

Flask is the best option because Django is designed for more experienced python programmers. Not criticizing you Lucas, but it is better to start with the simplest, just like you did with Node.js using Express instead of Adonis.

lucasmontano commented 4 years ago

Let’s keep the requirements as simple as possible in this project. No frontend needed it. After delivering the APIs and the ranking algorithm. What do you think about fastAPI framework?

thiagobeppe commented 4 years ago

Bringing the discussion on discord from here. FastAPI when compared with Flask is a better choice because your asynchronous behavior and more clean framework. All of the features in flask is covered by fastAPI

lucasmontano commented 4 years ago

https://www.slant.co/versus/1398/34241/~flask_vs_fastapi

Flask is HTML-oriented, not API-oriented... I think fastAPI sounds like a better choice here indeed

thiagobeppe commented 4 years ago

https://www.quora.com/What-are-the-advantages-of-using-FastAPI-over-flask

thiagobeppe commented 4 years ago

Another link for aggregate infos in the discussion

ArthurFleischman commented 4 years ago

https://www.slant.co/versus/1398/34241/~flask_vs_fastapi

Flask is HTML-oriented, not API-oriented... I think fastAPI sounds like a better choice here indeed

By what a had seen, people use flask for apis

ArthurFleischman commented 4 years ago

@lucasmontano https://nordicapis.com/8-open-source-frameworks-for-building-apis-in-python

Above a list with the 8 most popular python framework for that..

lucasmontano commented 4 years ago

@lucasmontano https://nordicapis.com/8-open-source-frameworks-for-building-apis-in-python

Above a list with the 8 most popular python framework for that..

Thanks! My only concern with Flask is that it’s relying on WSGI. What do you think about WSGI limitations?

ArthurFleischman commented 4 years ago

For real, i just know that's not good for production, I never used it for real projects... just tried for fun...

joao-cabral commented 4 years ago

Flask is much simple, better choice for this project

Wedz0ff commented 4 years ago

Let’s keep the requirements as simple as possible in this project. No frontend needed it. After delivering the APIs and the ranking algorithm. What do you think about fastAPI framework?

Let's use it then, it's gonna be an awesome oportunity to learn it :)

ianfreitas1 commented 4 years ago

I work with Django building an api with Django Rest Framework. Never used Flask, but I think Django is really powerful and easy once you get the hang of it. With just few lines of code you can create a basic CRUD, you just have to do everything in the Django way and then it's just getting used to the same flow.

rpenna commented 4 years ago

As a dev who works with django, I think it's too complex for this project. I've never worked with flask or fastAPI, but I would say that they're more appropriated alternatives.

jbarbosaamancio commented 4 years ago

It seems that we're between FastAPI and Flask. Or already choice the framework?

rochacbruno commented 4 years ago

Flask ou FastAPI!

No meu canal tenho uma playlist de Flask https://YouTube.com/CodeShowBR

thiagobeppe commented 4 years ago

I did some tests in FastAPI and the swagger by default for our project will be good, because all the routes will be documented without much efforts

felipemarkson commented 4 years ago

Flask is simple and it has more examples and tutorials. I think it is the better choice for this project

lucasmontano commented 4 years ago

I did some tests in FastAPI and the swagger by default for our project will be good, because all the routes will be documented without much efforts

yeah, the default documentation will be super nice and will save a lot of time

thiagobeppe commented 4 years ago

It seems that we're between FastAPI and Flask. Or already choice the framework?

if you have any other framework to propose, please, post here. We will evaluate the pros and cons in live.

lucasmontano commented 4 years ago

we decided to go with FastAPI the main reason: FastAPI provide Swagger doc by default.