All Projects → fuyunzhishang → VueAdmin

fuyunzhishang / VueAdmin

Licence: other
基于Vue.js的前后端分离Demo

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to VueAdmin

UMVC
UMVC - Model-View-Controller Generator built for Unity
Stars: ✭ 36 (+89.47%)
Mutual labels:  mvc
trac-nghiem-online
Xây dựng hệ thống trắc nghiệm online cho các trường THCS, THPT một cách nhanh chóng và dễ dàng. Không cần phải là lập trình viên
Stars: ✭ 64 (+236.84%)
Mutual labels:  mvc
Core-iOS-Application-Architecture
Core iOS Application Architecture - The development paradigm of clean, testable code and modular iOS applications. + Xcode templates
Stars: ✭ 123 (+547.37%)
Mutual labels:  mvc
KDInstagram
Instagram Clone built in Swift. Utilize three design patterns in three major modules.
Stars: ✭ 119 (+526.32%)
Mutual labels:  mvc
apostilas
Apostilas sobre diversos assuntos: PHP, PDO, MySQL, PHPOO, MVC, mobile, scratch, git, github, docker, vps, alpine linux, segurança na wev, servidores, etc
Stars: ✭ 49 (+157.89%)
Mutual labels:  mvc
spe
A series of PHP8 examples based around a super simple MVC framework (WIP)
Stars: ✭ 14 (-26.32%)
Mutual labels:  mvc
respo.cljs
A virtual DOM library built with ClojureScript, inspired by React and Reagent.
Stars: ✭ 232 (+1121.05%)
Mutual labels:  mvc
adminlte-aspnetcore2-version
Asp.Net Example version of famous and beautiful AdminLTE control panel themes and template.
Stars: ✭ 64 (+236.84%)
Mutual labels:  mvc
.NET-Core-Learning-Journey
Some of the projects i made when starting to learn .NET Core
Stars: ✭ 37 (+94.74%)
Mutual labels:  mvc
Simplify.Web
Moved to https://github.com/SimplifyNet. Simplify.Web is a lightweight and fast server-side .NET web-framework based on MVC and OWIN for building HTTP based web-applications, RESTful APIs etc.
Stars: ✭ 23 (+21.05%)
Mutual labels:  mvc
command-core
The MVC library of CLI development
Stars: ✭ 77 (+305.26%)
Mutual labels:  mvc
admin-base-tmpl
⚡️基于vite2构建的vue2+typescript+elementUI 的后台基础套件,预览地址
Stars: ✭ 52 (+173.68%)
Mutual labels:  elementui
YaNi
【毕设】基于Bmob第三方后端云+MVC框架模式的商城项目
Stars: ✭ 63 (+231.58%)
Mutual labels:  mvc
PersianDataAnnotations
PersianDataAnnotations is ASP.NET Core MVC & ASP.NET MVC Custom Localization DataAnnotations (Localized MVC Errors) for Persian(Farsi) language - فارسی سازی خطاهای اعتبارسنجی توکار ام.وی.سی. و کور.ام.وی.سی. برای نمایش اعتبار سنجی سمت کلاینت
Stars: ✭ 38 (+100%)
Mutual labels:  mvc
mvp-sample
一个简单的MVP示例,和传统不一样的是,我们把Activity/Fragment作为Presenter,把View单独提出来,扩展了Presenter的能力。
Stars: ✭ 41 (+115.79%)
Mutual labels:  mvc
MADE.NET
MADE.NET is a home to all of those bits of code that you know you'll reuse in another project. Making app development easier with .NET.
Stars: ✭ 75 (+294.74%)
Mutual labels:  mvc
ReaLocate
ASP.NET MVC 5 Real Estate Application
Stars: ✭ 18 (-5.26%)
Mutual labels:  mvc
go-iris-mv
No description or website provided.
Stars: ✭ 21 (+10.53%)
Mutual labels:  mvc
MvcSimplePager
Simple,lightweight,easy to expand pager for asp.net mvc and asp.net core,针对asp.net mvc 和 asp.net core 设计的通用、扩展性良好的轻量级分页扩展
Stars: ✭ 13 (-31.58%)
Mutual labels:  mvc
foodfy
MVC application to explore, manage recipes and chefs - built with Express, Nunjucks, and Postgres
Stars: ✭ 121 (+536.84%)
Mutual labels:  mvc

基于Vue.js的前后端分离Demo

1. 技术栈:

前端:

  • vue全家桶(vue.js, vueRouter, vue-loader, vue-cli, proxyTable),
  • ElementUI(Element,一套为开发者、设计师和产品经理准备的基于 Vue 2.0 的组件库,提供了配套设计资源,帮助你的网站快速成型。)
  • axios(基于 Promise 的 HTTP 请求客户端)
  • vodal(动画的vue模态)
  • toastr(是非阻塞通知的JavaScript库),

后端:

  • 基于.Net的WebAPI
  • Csla(数据访问层)
  • Linq to json(构造json数据)

初步了解vue.js

http://www.jianshu.com/p/02b4369e3177

vue基础概念介绍

http://www.jianshu.com/p/0dda680939ec

##2.为什么要前后端分离:

技术演进

  1. 静态网站 html+css+js --> 动态网站 --> asp + js/vbs --> asp.net (分层结构, 简单三层, Extjs) --> mvc (ORM + Bootstrap + Jquery) --> vue.js + webAPI(mvvm数据双向绑定,前端分层,模块化)
  • 前后端代码分离,提高代码复用
  • 前端结构(HTML)、样式(CSS)、行为(JS)分离
  • 请求响应,客户端发送请求,服务端响应请求
  • 一套 Service 可以支持多个客户端的业务体系
  • 彻底解放前端(前端不再需要向后台提供模板或是后台在前端html中嵌入后台代码)

code1

  • 提高工作效率,分工更加明确

前后端分离的工作流程可以使前端只关注前端的事,后台只关心后台的活,两者开发可以同时进行,在后台还没有时间提供接口的时候,前端可以先将数据写死或者调用本地的json文件即可,页面的增加和路由的修改也不必再去麻烦后台,开发更加灵活。

  • 局部性能提升

通过前端路由的配置,我们可以实现页面的按需加载,无需一开始加载首页便加载网站的所有的资源,服务器也不再需要解析前端页面,在页面交互及用户体验上有所提升。

  • 降低维护成本

通过目前主流的前端MVC框架,我们可以非常快速的定位及发现问题的所在,客户端的问题不再需要后台人员参与及调试,代码重构及可维护性增强。

我们不应该有前端后端之分,我们可以有专精之处,但是对于 web 开发这回事该懂的都应该要懂,否则你怎么可能打得赢?

架构演进

  • 简单明快的早期时代

  • 后端为主的 MVC 时代

  • Ajax 带来的 SPA 时代

  • 前端为主的 MV* 时代

  • Node 带来的全栈时代

3.如何进行前后端分离:

后台只需提供API接口,前端调用AJAX实现数据呈现。

vue开发环境搭建

http://www.jianshu.com/p/0038ef97ee56

ElementUI Demo

http://www.jianshu.com/p/320609733a44

参考文档:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].