VueJs vs Angular, in your opinion, which is the best?

VueJs vs Angular, in your opinion, which is the best?

Upepo wa Pesa

JF-Expert Member
Joined
Aug 8, 2015
Posts
21,772
Reaction score
35,770
Hizi frameworks za Javascript ambazo zinatumika kwenye web and app development!!

Angular ilitengenezwa na google back then in 2010 na ikafanyiwa modifications mpaka sasa imefikia version 5!

Kwa upande mwingine, VueJs ilianzishwa na mtu ambaye anaaminika alikua mfanyakazi na moja ya developers walioshiriki kwenye kuanzisha angularjs! Mpaka sasa vue imefikia version 2.0!!

Kati ya hizo ni ipi unaona ni superior kushinda nyingine??
 
Hutakiwi kulinganisha Vue na Angular sababu ni vitu viwili tofauti kabisa.

Vue.js inadeal na View peke yake, unaweza ilinganisha labda na React.js
Angular on the other hand ni full featured framework, yaani kuanzia view, model, controller, vyote unafanya kwa kutumia Angular.

Binafsi ningetumia Vue kuliko Angular sababu yangu moja tu, sipendi complications za Angular, its too much na unnecessary kabisa, frontend most of the times hua ni view tu inatosha kabisa, all the data stuff zote zinakua handled at the backend na kuvuta tu kupitia API, Facebook wana pattern moja wanaita Flux inaelezea vizuri sana jinsi ya kutengeneza complicated front end apps, data inakua na unidirectional flow, directly to the view, basi, complications nyingine hakuna.

Angular.js kubwa mno, kubundle js file yake tu ni hundreds of KB when gzipped, ukiongeza na code yako mwenyewe unapata file kubwa mno. Tatizo jingine Angular ni bad for SEO, the only way una-interact na backend ni kupitia API, huwezi fanya server side rendering kuleta a complete HTML page, unaleta a single page with a huge js file kuhandle all the frontend stuff, google haitambui angularjs sites. Ila Vue.js na React.js zina isomorphic rendering, unaweza render kwenye server kirahisi mno na kusend a complete page ambayo ni nzuri for SEO. Angular unaweza cheat hii ila kuisetup itakutoa machozi.

Vue is just simple, you could literally learn it in 2 days ukaitumia bila shida, angular ni a completely new system of its own, inachukua muda sana kuisoma, na imebadilika ovyo version zake.

All in all niemtumia Vue, Angular, React na Polymer, mwisho wa siku nimesettle kwenye React, napenda ecosystem yake na napenda how its only focused on doing one thing best, just the view, complications nyingine zote zinafanyika on the back. Vue style yake inaniboa kidogo that's why ila React ingekua haipo ningetumia Vue, angular nisingegusa.
 
Maelezo mazuri mkuu Graph !! Katika maelezo yako naona unaongelea angular js na nnavyojua kuna major improvements kutoka angular js mpaka angular 5, je hizo complications hazija soviwa kwenye angular 5?

Nimejaribu pitia articles mbali mbali naona angular iko at the top ukilinganisha na libraries na frameworks nyingine za js!!

Sasa kama ina complications zote hizo why then iwe at the top??
 
Back
Top Bottom