Finishing this guide you'll get:
- A running WordPress installation
- Nginx proxy with PHP and Fast CGI
- MySQL server accessible with phpMyAdmin
Specification of latest running installation:
- Date: 03.03.2014
Finishing this guide you'll get:
Specification of latest running installation:
| <?php | |
| //Rota de Paginaçnao | |
| /** | |
| * Rotina recebe o parametro $pagina para poder realizar a paginação | |
| **/ | |
| $application->get('/minharota/:pagina', function ($pagina) use ($twig_engine) { | |
| $registros_por_pagina=20; | |
| $meusdados = Capsule::table('minhatabela')->skip($registros_por_pagina*$pagina)->take($registros_por_pagina)->get(); | |
| server { | |
| listen 80; | |
| server_name CHANGEME.app; | |
| root /var/www/vhosts/CHANGEME.app/public; | |
| index index.html index.htm index.php; | |
| charset utf-8; | |
| location / { |
| // https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html | |
| // | |
| // grayscale ex: filter: grayscale(100%); | |
| // sepia ex: filter: sepia(100%); | |
| // saturate ex: filter: saturate(0%); | |
| // hue-rotate ex: filter: hue-rotate(45deg); | |
| // invert ex: filter: invert(100%); | |
| // brightness ex: filter: brightness(15%); | |
| // contrast ex: filter: contrast(200%); | |
| // blur ex: filter: blur(2px); |
While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.
Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.
lib/ is intended for code that can run as-issrc/ is intended for code that needs to be manipulated before it can be usedA simple App using Vue.js & Firebase with Auth.
See the DEMO.
| //: Playground - noun: a place where people can play | |
| import UIKit | |
| import PlaygroundSupport | |
| class Responder: NSObject { | |
| @objc func segmentedControlValueChanged(_ sender: UISegmentedControl) { | |
| UIView.animate(withDuration: 0.3) { | |
| buttonBar.frame.origin.x = (segmentedControl.frame.width / CGFloat(segmentedControl.numberOfSegments)) * CGFloat(segmentedControl.selectedSegmentIndex) | |
| } |
| <template> | |
| <div id="app"> | |
| <p> | |
| Pending: {{ $store.state.getInfoPending }} | |
| </p> | |
| <p> | |
| {{ $store.state.getInfoData }} | |
| </p> | |
| </div> | |
| </template> |
Se você quiser adicionar mais algum tópico deixe seu comentário, o objetico é facilitar para os iniciantes ou aqueles que buscam dominar JavaScript, quais tópicos são importantes para dominar JavaScript.
São tópicos para quem sabe o minimo de JavaScript (declarar variáveis), a ordem em que eles aparecem são por importância para o dominio como um todo. Mesmo que você já tenha experiência com JS, recomendo que leia os links de cada tópico para fortalecer suas bases teóricas e ter um comportamento mais profundo da linguagem.
Lista originalmente criada e compilada por Vinicius Reis