Git Product home page Git Product logo

maizuo's Introduction

模仿卖座网

使用vue/vuex/redux开发的卖座网

为什么要做这个项目?

最近在做技术选型,分别是vuejs和reactjs实现相同的逻辑,方便对比其开发效率,开发体验和代码维护难度.

该项目涉及的技术

vueMaizuo: webpack + vuejs + vue-resource + vue-router

vuexMaizuo: webpack + vuejs + vuex + vue-resource + vue-router

vuexMaizuo2: webpack + vuejs2.0 + vuex2.0 + vue-resource + vue-router2.0

reduxMaizuo: webpack + reactjs +redux + react-router-redux + fetch Api

个人感受

1.在大型项目中,建议使用vuex或者redux,不使用在状态管理上会很麻烦.

2.总体开发效率上,vue比较快,而且概念相对容易理解,开发文档也相对友好.

3.reactjs的好处就是,可以延伸到react-native还有他的生态比较好,第三方组件的完整度比较高.

##跨域问题

跨域可以使用谷歌的插件解决:https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi

或者谷歌开启允许跨域,参考 http://camnpr.com/archives/chrome-args-disable-web-security.html

##演示效果

maizuo's People

Watchers

James Cloos avatar

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.