Your Choice JavaScript News

Vue News Friday, February 9

Vue News TLDR / Table of Contents

  • Drupal & Vue.js: how to work without jQuery –
    • Starting with the 5th version, Drupal has jQuery out of the box. It was an awesome tool for developers. But nowadays we face completely different problems that this library can not solve. Why do I…
    • Vue.js, completely different problems, Drupal user elements, party jQuery plugin, modern reactive user
  • Creating a Vue.js Serverless Checkout Form: Setup and Testing
    • There comes a time in any young app’s life when it will have to monetize. There are a number of ways to become profitable, but accepting cash is a surefire
    • serverless function, Serverless Function app, serverless concepts, API section, free trial
  • Learning Vue.js 2 | PACKT Books
    • Learn how to build amazing and complex reactive web applications easily with Vue.js
    • reusable components, interactive web interface, latest new frameworks, Ukraine Kyiv Polytechnic, complete reactive application
  • Creating and Animating a Modal Component as a Child Route Using Vue
    • As I work on side projects, I sometimes stumble upon a pattern that I really like. This is one of those times. Today, I’ll show you how to implement a detailed view of a list item as a modal using a…
    • modal component, modal renders, root App component, live demo,
  • Why we chose Vue.js over React
    • Why we chose Vue.js over React
    • react, JS world, code, React Native, real-world React app
  • 10 things I love about Vue – Duncan Grant –
    • I love Vue. When I first looked at it in 2016, perhaps I was coming from a perspective of JavaScript framework fatigue. I’d already had experience with Backbone, Angular, React, among others and I…
    • vue, single file components, Vue component, Vue CLI, virtual dom

Score: 471.4488353052319
URL: https://codeburst.io/drupal-vue-js-how-to-work-without-jquery-2837aaa1167f?gi=83e7b45fe28e
Tweeted At: Thu Feb 08 22:24:14 +0000 2018
Publish Date: 2018-02-06T05:38:41.945000+00:00
Author: ADCI Solutions

  • I suggest trying Vue.js to enhance some Drupal user elements.For example, we want to show the “Create new account” button only if “Email” and “Username” fields are not empty.Vue.js componentsEveryone knows that a typical developer doesn’t reinvent a wheel, but use ready-made solutions.
  • The Vue.js community can offer a lot of awesome components.
  • Let’s try to use one of them.I believe that user input data should be validated as on the back-end as on the front-end side.
  • So you have to add“vee-validate is a lightweight plugin for Vue.js that allows you to validate input fields, and display errors.”
  • ©Also, please change input elements:As you can see, using Vue.js and its components to enhance existing elements is very easy.

Tags: Vue.js, completely different problems, Drupal user elements, party jQuery plugin, modern reactive user

Score: 260.74485714285714
URL: https://css-tricks.com/creating-vue-js-serverless-checkout-part-one/
Tweeted At: Fri Jan 19 19:15:24 +0000 2018
Publish Date: 2018-01-16T08:19:55+00:00
Author: Sarah Drasner

  • In this four-part tutorial, we’ll go over how to set up a serverless function, make it talk to the Stripe API, and connect it to a checkout form that is setup as a Vue application.
  • First, we’ll head over to the portal, (or if you don’t already have an account, you can sign up for a free trial here) and select New > Serverless Function – – When we click on the Serverless Function app, we’ll be taken to a panel that asks for details…
  • As you can see in the screenshot above, it will autofill most of the fields just from the app name, but let’s go over some of these options quickly: – – This will bring you back to the main portal dashboard and let you know that your function is deploying….
  • If you’d like to play around with a serverless function and see it in action for yourself, you can create one with a free trial account.
  • Now that we have the base of our serverless function, let’s set up what we’ll need to communicate with Stripe!

Tags: serverless function, Serverless Function app, serverless concepts, API section, free trial

Score: 77.06225327510919
URL: https://www.packtpub.com/web-development/learning-vuejs-2
Tweeted At: Fri Feb 09 10:00:41 +0000 2018
Publish Date: 2016-12-13T00:00:00+00:00
Author:

  • This marked Olga’s main direction in tech: web development.
  • At the same time, she continued her teaching practice, giving a course of professional web development to the local professional education center in Coimbra.
  • This project’s name is EdEra and it has grown up from a small platform of online courses into a big player at the Ukrainian educational system scene.
  • In 2014, Olga, with her husband and daughter, moved from Portugal to Berlin, where she started working at Meetrics as a frontend engineer and, after a year, became the team lead of an amazing team of frontend software developers.
  • Rui studied with Olga at the university of Coimbra and worked with her at Feedzai.

Tags: reusable components, interactive web interface, latest new frameworks, Ukraine Kyiv Polytechnic, complete reactive application

Score: 61.47529548088064
URL: https://medium.com/@rmmmsy/creating-and-animating-a-modal-component-as-a-child-route-using-vue-41a275a51d0c
Tweeted At: Fri Feb 09 17:28:37 +0000 2018
Publish Date: 2018-02-08T15:19:52.432000+00:00
Author: Ramsay Lanier

  • Creating and Animating a Modal Component as a Child Route Using VueHere’s a link to the repo.Here’s a live demo.As I work on side projects, I sometimes stumble upon a pattern that I really like.
  • I’m using a separate route for rules, because eventually I’m going to let user’s create groups of rules called rulesets, and I would like to be able to separate that out as another route, eventually.Of note, the Game Rules route renders only one component for the page view (lines 24–26)…
  • This will make sense once you see the GameSingle component.Also of note, we’re leveraging router meta which will be used in the GameSingle component to determine if the modal should be shown.
  • Note that the modal component (shown below) will only be shown if showModal is true.
  • When a user clicks on a rule, the route changes causing the showModal value to be true, which in turn renders modal and its children.The Modal ComponentWe wrap the entire component in a transition and use custom functions to handle the enter and leave animation.

Tags: modal component, modal renders, root App component, live demo,

Score: 55.182695082873465
URL: http://pixeljets.com/blog/why-we-chose-vuejs-over-react/
Tweeted At: Thu Feb 08 17:05:00 +0000 2018
Publish Date: 2016-12-10T21:13:33+00:00
Author: Samara, Russia

  • Qwintry team recently started active migration to Vue.js as a frontend framework in all our legacy and new projects: – – In terms of project size Qwintry is used by around half a million of customers around the world, we run two warehouses (in US and in Germany) on our…
  • I think that React was a great step forward for JS world in terms of state-awareness, and it showed lots of people the real functional programming in a good, practical way.
  • Lots of developers (including me – but I am not there anymore) are thinking that this specific restriction on syntax will help you write more modular code because you have to put your chunks of code to smaller helper functions and use them inside your render() function like this guy…
  • Let me show you the quick-editor set of components I’ve built recently with Vue.js for our Drupal website (I beg your pardon for the design – it is a backend UI for our operators, and our designers are busy creating frontend interfaces for our customers so this piece is waiting…
  • Angular 1 was a great frontend framework that is located in the opposite corner (from React) of the imaginary JS map of purity and readability of codebases – it allows you to start quickly, it gives you some real fun for your first 1k lines of code, and then it…

Tags: react, JS world, code, React Native, real-world React app

Score: 31.661538461538463
URL: https://medium.com/@dalaidunc/10-things-i-love-about-vue-505886ddaff2
Tweeted At: Fri Feb 09 11:42:21 +0000 2018
Publish Date: 2018-01-31T09:01:01.632000+00:00
Author: Duncan Grant

  • Until that point, I had been relatively content with React — it is a good framework based on solid design principles centred around view templates, virtual DOM and reacting to state, and Vue also provides these great things.
  • For all that is good about JSX, there are some valid criticisms: by blurring the line between JavaScript and HTML, it makes it a bit too easy to start writing complex code in your template which should instead be separated out and written elsewhere in your JavaScript view code.Vue instead…
  • If the JavaScript, CSS and HTML for your component is taking up too many lines then it might be time to modularise further.When it comes to the style tag of a Vue component, we can add the ‘scoped’ attribute.
  • Easily extensibleAs mentioned, Vue uses standard HTML, JS and CSS to build its components as a default, but it is really easy to plug in other technologies.
  • Single file components support, babel, linting, testing and a sensible project structure can all be created with a single command in your terminal.There is one thing, however I miss from the CLI and that is the ‘vue build’.

Tags: vue, single file components, Vue component, Vue CLI, virtual dom

Vue JS 2: From Beginner to Professional (includes Vuex) (1,798 students enrolled)

By Bo Andersen
  • How to build advanced Vue.js applications
  • How to build single page applications (SPA)
  • Understand the theory and how Vue works under the hood
  • How to manage state in large applications with Vuex
  • Communicating with servers with HTTP
  • Use modern tools for developing and building applications (e.g. webpack)

Learn more.


Vue JS 2 - The Complete Guide (incl. Vue Router & Vuex) (38,295 students enrolled)

By Maximilian Schwarzmüller
  • Build amazing Vue.js Applications - all the Way from Small and Simple Ones up to Large Enterprise-level Ones
  • Understand the Theory behind Vue.js and use it in Real Projects
  • Leverage Vue.js in both Multi- and Single-Page-Applications (MPAs and SPAs)

Learn more.


The Ultimate Vue JS 2 Developers Course (3,882 students enrolled)

By Anthony Gore
  • Understand all Vue concepts from beginner to advanced
  • Build three real world applications using Vue.js utilising every Vue feature
  • Use the Vuex statement management library
  • Write basic Vue with ES5 and also modern Vue with ES6
  • Setup VueJS environment with development tools including Webpack
  • Create a universal application with server-side rendering
  • Use popular plugins from the Vue ecosystem like vue-router and vue-resource
  • Cutting-edge features like Single File Components, Render functions and Server-Side Rendering

Learn more.


Vue JS 2.0 - Mastering Web Apps (52,495 students enrolled)

By David Katz
  • Build entire Vue JS, VueRouter, and Vuex applications from scratch.
  • Develop apps that deal with APIs and web requests.
  • Create web apps with a full authentication service, and real-time database.

Learn more.


Learn by Doing: Vue JS 2.0 the Right Way (1,437 students enrolled)

By Dejan Stošić
  • Build your own VueJS application of any size
  • Plan and structure your project
  • Write maintainable code
  • Use smart development tools like vue-cli

Learn more.


Comments are closed, but trackbacks and pingbacks are open.