Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Use Vue.js (or other framework) for front-end? #245

Open
pklebba opened this issue Aug 21, 2016 · 9 comments
Open

Use Vue.js (or other framework) for front-end? #245

pklebba opened this issue Aug 21, 2016 · 9 comments

Comments

@pklebba
Copy link

pklebba commented Aug 21, 2016

Hi!

As Laravel 5.3 are coming, it gives us better support of JavaScript frameworks. Laravel recommends Vue.js

So, maybe is a good time to use it in MyBB 2.0? I'm a very big fan of that solutions, it gives us optimized requests (Servers just loves it), faster and easier solutions than pure jQuery methods and more.

@pklebba pklebba changed the title Use Vue.js (or another framework) for front-end? Use Vue.js (or other framework) for front-end? Aug 21, 2016
@euantorano
Copy link
Member

Hi,

The JS is going to be rewritten (and using modern ES6 standards), but we've not yet settled on a framework. I've looked at Vue and it has some nice features, but is still quite young as a framework which could cause some problems should it stop being actively developed during 2.0's lifetime.

@coniurare
Copy link

Vue is used by Alibaba [0], Baidu, Tencent and Xiaomi. I wouldn't be surprised if they would jump in if the development should come to a halt.

[0] http://alibaba.github.io/weex/#subscriptionWeex

@euantorano
Copy link
Member

Thanks @coniurare, that's good to know. At the minute, I'm rewriting some of our core JS classes (Spinner, cookie handling, etc.) to use TypeScript. I'll look at Vue further and see if I can wrap my head around it.

@036
Copy link
Contributor

036 commented Nov 4, 2016

I'd strongly suggest using Vue or Angular they're both extremely strong frameworks with lots of documentation and a good development team behind them.

@QWp6t
Copy link

QWp6t commented Dec 10, 2016

Vue.js ships with Laravel 5.3+. It's not going anywhere anytime soon.

@euantorano
Copy link
Member

@QWp6t I'm aware of that, I still need to look into it, as I said 2 comments above 😉

@1e4
Copy link
Contributor

1e4 commented Dec 4, 2017

Did this ever make any progress?

@euantorano
Copy link
Member

euantorano commented Dec 4, 2017 via email

@1e4
Copy link
Contributor

1e4 commented Dec 6, 2017

Ok cool, well I guess I could add an opinion on the topic then?

I would advise against Vue for the frontend, it adds a lot of work for both you guys, the core team and the developers. Yes it's great, however by adding a JS framework such as Vue to MyBB you will cut out quite a lot of devs I reckon. Take Flarum for example, brilliant idea, but then they shoved a whole bunch of JS and made developing incredibly time consuming.

MyBB is a PHP forum software, please keep it that way. jQuery, Ajax etc sure. But please don't add a huge framework like Vue/React/Knockout.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants