Git Product home page Git Product logo

Comments (3)

taogeT avatar taogeT commented on August 31, 2024

Hi @askz,

Sorry for replying you so late. (Iā€˜m on vacation)

In my opinion, both ways (split frontend/server or not) have specific difficulties. The case you choose depends on the product environment. For my project livetv_mining, it deploys on AWS Free Tier server and free server performance is poor. So I had to use split case(and other subplan) to save CPU work time.
In real life, many internet companies choose the popular solution: RESTAPI ļ¼‹ iOS ļ¼‹ Android ļ¼‹ Web and more traditional companies choose integration all on server.

So my suggestion is that: If you are a beginner about Flask, you can start from tutorial: flasky (py3 version). If you have use experience about Flask, you can learn how to split frontend/server immediately. The examples I refer to are vue-hackernews-2.0 webpack2.0, vuejs-templates webpack1.0 and webpack official document.

Would it help you to smooth learning curve ?

from flask-vue.

askz avatar askz commented on August 31, 2024

Thank you.
I was really wondering why you did that package (flask-vue) and on the other having a vue project with splitted front/back.

I will definitely check the split solution !

Cheers!

from flask-vue.

taogeT avatar taogeT commented on August 31, 2024

@askz

Simple put, I had a flask/vue project which should be deployed inner & outer net in the meantime.

When you visit website in outer net, the best way to save net flow is using CDN for scripts resource. When you visit website in inner net, the visitor can not get resource stored outer network. At the same time, the developers need to deploy project easy and configurable.

So I package the flask-vue and it can config project to use CDN or Local files.

from flask-vue.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.