recentpopularlog in

racl101 : tounderstand   878

« earlier  
Event Handling — Vue.js
Use these modifiers (.prevent) to prevent forms from submitting or (.stop) to stop hyperlinks from changing page.
vue  vuejs  vue2  documentation  evens  modifiers  tutorial  guide  reference  preventdefault  submit  click  stop  tolearn  tounderstand 
5 days ago by racl101
Portable UTF-8 – A Lightweight Library for Unicode Handling in PHP — Page Config
This tutorial introduces the idea of using the PHP portable utf8 library to handle unicode encoded characters.
blog  tutorial  guide  reference  toread  tolearn  tounderstand  unicode  handling  character  encoding  totry 
5 days ago by racl101
voku/portable-utf8: Portable UTF-8 library for PHP
Library that is supposed to facilitate working with utf8 encoded characters. Uses iconv and mbstring under the hood. It is NOT, however, native PHP encoding.
github  php  library  portable  utf8  totry  tolearn  tounderstand  guide  reference  project  composer  character  encoding 
5 days ago by racl101
Mixins — Vue.js
Mixins are a good way to share / reuse component methods or computed (methods) between reusable components. Note, if you are creating methods for altering output from component data within mustache template strings like for example: converting decimal numbers into currency strings, then what you are looking for is Vue Filters instead which are globally declared methods for altering output that can be used between any Vue component.
vue  vuejs  vue2  reusable  methods  share  mixins  component  guide  reference  documentation  tutorial  toread  tolearn  tounderstand 
9 days ago by racl101
State Management — Vue.js
Use Vuex to handle state management in your application. That is, if you have a complicated application, such as a single application and you don't want one particular parent component to handle the state, i.e. be the source of truth, you can use Vuex which is Vue's implementation of Flux architecture, to manage state so that all your Vue components get its source of truth from one place. The official documentation (in English) for Vuex can be found here:
vuejs  vue  vue2  state  management  vuex  flux  between  components  single  ultimate  source  of  truth  guide  reference  documentation  tutorial  toread  tolearn  tounderstand 
9 days ago by racl101
Form Handling · Vuex
Shows how to use model binding to make form input fields reactive with your VueJS apps / components.
vue  vuejs  vue2  forms  handling  model  binding  tutorial  documentation  guide  reference  toread  tolearn  tounderstand 
9 days ago by racl101
lukehoban/es6features: Overview of ECMAScript 6 features
This a nice overview showcasing the parts of new JavaScript that are particular to the ES6 / ES2015 syntax so that you can recognize when you see it in projects like ReactJS, NPM, VueJS etc.
github  project  es6  es2015  javascript  overview  features  learning  resource  totry  tolearn  tounderstand  Tutorial 
9 days ago by racl101
Slots — Vue.js
Use slots in your component templates when you want to create reusable components where you want to be able to pass dynamic HTML (or even other reusable components) as child components within the tags of the parent components. Useful for when you don't know exactly what the child components or HTML nodes in your main component will be.
vue  vuejs  vue2  components  slots  documentation  guide  reference  tutorial  toread  tolearn  tounderstand 
9 days ago by racl101
Sass: Sass Basics
If using Laravel Mix then you want the SASS syntax
sass  css  compiler  documentation  guide  reference  toread  tolearn  totry  tounderstand 
9 days ago by racl101
JavaScript Array.splice() vs Array.slice() | TO THE NEW Blog
Use .splice method to remove a specific item or items at an index from a given array. Use .slice method to return a specific section consisting of one or more consecutive items from a given array.
blog  tutorial  javascript  splice  slice  methods  examples  totry  toread  tolearn  tounderstand  remove  item  return  section 
9 days ago by racl101
Git - gitattributes Documentation
Need to read and understand this. Supposedly, perhaps I can use gitattributes to get git diff output to not return output from certain paths. This would be helpful when using asset bundlers like Webpack and I don't want to have to look at thousands of lines of generated JavaScript.
git  gitbook  book  documentation  gitattributes  attributes  toread  tolearn  totry  tounderstand  tutorial 
9 days ago by racl101
Destructuring and Function Arguments
In essence this demonstrates the concept of using curly braces syntax to assign a given object's properties to variable without explicitly using var or let statements. Furthermore, to use this syntax in function calls.


// A sample object
const myObject = { x: 1, y: 2 };

// Destructuring
const { x, y } = myObject;
// x is 1, y is 2
blog  tutorial  davidwalsh  javascript  es6  es2015  destructuring  function  arguments  objects  babel  properties  toread  tolearn  tounderstand 
9 days ago by racl101
zloirock/core-js: Standard Library
Use this polyfill library to fill in Object.assign( ... functionality missing from older browsers.
github  project  javascript  core-js  polyfill  library  object  assign  es6  es2015  totry  tolearn  tounderstand 
9 days ago by racl101
Filters — Vue.js
You can use filter to modify text output via mustache interpolations within components and have these filters available globally where you use Vue. E.g.

create a currencyFilter or converting decimals into currency formatted strings. Refer to: for that solution.
vue  vuejs  vue2  documentation  guide  reference  howto  add  create  filter  function  global  toread  tolearn  tounderstand  totry 
10 days ago by racl101
Laravel 5.5 VueJs 2.0 CRUD Operations Application - iTech Empires
Really nice and fairly easy to understand tutorial demonstrating how to do an entire CRUD page demonstrating how to do a listing, create form page, update form page and delete functionality.
blog  tutorial  howto  crud  laravel  laravel5  vue  vuejs  vue2  bootstrap  bootstrap3  example  guide  reference  toread  tolearn  totry  tounderstand 
10 days ago by racl101
Intl.NumberFormat - JavaScript | MDN
This can be used to create number filtering functions to convert them to currency formatted strings.

Like so:
mozilla  mdn  documentation  guide  reference  international  number  format  currency  toread  tolearn  totry  tounderstand  string 
10 days ago by racl101
Force composer to require PHP Version between Version X and Version Y - Stack Overflow
Need to read and understand this, thought it doesn't address my immediate issues whereby, if provision a Ubuntu 16.04 server that runs PHP 7.0, but my local PHP version is PHP 7.1 or 7.2 it cause issues when I deploy the code that downloads well with composer install locally but not on the production server.
stackoverflow  explanation  bestpractices  best  practices  composer  require  php  version  between  toread  tounderstand 
19 days ago by racl101
npx - npm
Npx is used to run other NPM's packages' binaries, such as the webpack binary.
nodejs  npm  npx  package  execute  binaries  webpack  manual  guide  reference  toread  tolearn  tounderstand 
19 days ago by racl101
For VueJS 2 you might want to do something like this:

resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js'
webpack  documentation  guide  reference  tutorial  manual  path  resolver  npm  toread  tolearn  tounderstand  vue2  vuejs 
19 days ago by racl101
Installation — Vue.js
Really important sections explaining all types of NPM VueJS 2 builds that one could include with a software like Webpack.

In short, if you include the vue.esm.js version you'll need es2015 preset. You can't just include it standalone.
vuejs  vue2  installation  documentation  guide  reference  different  builds  npm  package  manager  es2015  commonjs  explanation  webpack  toread  tolearn  tounderstand 
19 days ago by racl101
OneWayTech/vue2-datatable: The best Datatable for Vue.js 2.x which never sucks. Give us a star 🌟 if you like it!
This looked promising but a bit over complicated so I went with the Vue Tables 2 component library instead which has a simpler API and appears to be more documented:
github  vue  vuejs  vue2  addon  plugin  data  table  datatable  totry  project  tolearn  tounderstand 
22 days ago by racl101
Why do I need underscores in swift? - Stack Overflow
Really good tutorial explaining optional function parameter names / labels. I.e. the underscores you sometimes see in function argument declarations and why sometimes you can use a function without naming or labelling the argument values you are passing.
stackoverflow  swift  swift4  guide  reference  explanation  underscores  external  internal  name  label  argument  parameter  ios11  xcode9  toread  tolearn  tounderstand 
4 weeks ago by racl101
Mastering Click: Writing Advanced Python Command-Line Apps –
Pretty good couple of tutorials explaining how to create a Python commandline script that uses the Click argument / option parsing library module.
blog  Tutorial  danbader  howto  example  commandline  script  python  python2.7  click  argument  option  parsing  module  library  guide  reference  toread  tolearn  tounderstand  totry  advanced 
4 weeks ago by racl101
« earlier      
per page:    204080120160

Copy this bookmark:

to read