Welcome Guest, Not a member yet? Register   Sign In
CI with VueJS
#6

(07-08-2018, 05:50 PM)emiglobe Wrote:
(04-17-2017, 05:36 PM)darell Wrote: Will CI embrace vuejs in the future?
CI shouldn't embrace Vuejs or any frontend tools. CI is good as it is for backend. Vuejs being a simple and so far the best frontend js framework can be used seamlessly with Axios to speak to CI. hence you may not want to us php syntax in your html or frontend script and only uses CI return view('your_view') to load a page with a designated Controller. within the view you have Vuejs and other libraries like Vuex, Vue-router for a SPA app. CI can allow you to integrate V8js to do server-side rendering. Hence you don't need to use certain features of CI such as form helpers and let all your html and templating be handled with Vuejs. This is why it's said that Vuejs handles the view and CI can now be used for only backend. In fact this is how it ought to be but people misunderstood the possibilities PHP offered for working on browsers to use it as a frontend tool. it should never be used as a frontend tool and in fact i will be glad if CI can discard form helpers and html templating and further make it a core backend PHP framework.

form helpers, should not be discarded (just stupid idea), maybe sometimes is needed little applications, where u should not use microservices (froentend, backend, load balancers, nginx, dockers, kubernetes...) haha
Reply


Messages In This Thread
CI with VueJS - by darell - 04-17-2017, 05:36 PM
RE: CI with VueJS - by kilishan - 04-17-2017, 07:05 PM
RE: CI with VueJS - by orionstar - 04-17-2017, 07:58 PM
RE: CI with VueJS - by albertleao - 04-17-2017, 08:17 PM
RE: CI with VueJS - by emiglobe - 07-08-2018, 05:50 PM
RE: CI with VueJS - by brabus - 02-17-2021, 10:58 PM
RE: CI with VueJS - by Zworthkey - 03-03-2021, 10:01 PM
RE: CI with VueJS - by HugoC - 03-29-2021, 02:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB