Skip to content

Instantly share code, notes, and snippets.

View guilhermerodrigues680's full-sized avatar

Guilherme Rodrigues guilhermerodrigues680

View GitHub Profile
@guilhermerodrigues680
guilhermerodrigues680 / large-scale-vue.md
Created April 15, 2021 18:15
Large Scale Vue Application Structure

Large Scale Vue Application Structure

Application Structure LIFT Principle

  • Locating our code is easy
  • Identify code at a glance
  • Flat structure as long as we can
  • Try to stay DRY (Don’t Repeat Yourself) or T-DRY

"Folders-by-Feature" Structure

@guilhermerodrigues680
guilhermerodrigues680 / blog.md
Created March 7, 2021 00:13 — forked from JacobBennett/blog.md
Clean up your Vue modules with ES6 Arrow Functions

Recently when refactoring a Vue 1.0 application, I utilized ES6 arrow functions to clean up the code and make things a bit more consistent before updating to Vue 2.0. Along the way I made a few mistakes and wanted to share the lessons I learned as well as offer a few conventions that I will be using in my Vue applications moving forward.

The best way to explain this is with an example so lets start there. I'm going to throw a rather large block of code at you here, but stick with me and we will move through it a piece at a time.

<script>

// require vue-resource...

new Vue({
@guilhermerodrigues680
guilhermerodrigues680 / UsodaAPIdoSIU.md
Created March 3, 2021 19:58 — forked from brunoarmanelli/UsodaAPIdoSIU.md
Pesquisa e Documentação - SIU Mobile

Projeto ChatBUS - Uso da API do SIU Mobile

Muitas frustrações com o aplicativo oficial SIU Mobile me motivaram a escrever essa documentação. Toda a API foi especificada com o máximo de informações encontradas.

Nota do Autor

Este documento é totalmente privado e foi disponibilizado em link de Gist secreto para uso interno nas empresas que representam o SIU Mobile BH.

Todo o conteúdo foi observado através da transmissão de dados pela rede. Não foi utilizado nenhum código da aplicação.