Giter Site home page Giter Site logo

braziljs / js-the-right-way Goto Github PK

View Code? Open in Web Editor NEW
8.7K 307.0 940.0 3.82 MB

An easy-to-read, quick reference for JS best practices, accepted coding standards, and links around the Web

Home Page: http://jstherightway.org

License: Other

JavaScript 1.16% CSS 1.16% HTML 97.67%
javascript js best-practices guide

js-the-right-way's People

Contributors

alissonbovenzo avatar allanesquina avatar appleboy avatar atefbb avatar bestalign avatar bevacqua avatar caio-ribeiro-pereira avatar caiogondim avatar ellisonleao avatar felipenmoura avatar fintank avatar gabrielfurini avatar gnuwilliam avatar go7hic avatar heitortsergent avatar item4 avatar leobetosouza avatar luiztiago avatar mirmousaviii avatar mxstbr avatar netoabel avatar pyrax avatar rafaelstz avatar rmdias avatar ruanltbg avatar ryananthonydrake avatar seoh avatar vedovelli avatar yang-wei avatar zenorocha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

js-the-right-way's Issues

Fixar menu principal

Deixar o menu principal fixo é algo que pode ajudar na navegação do usuário sem ter que ficar rolando, com frequencia, o scroll.

Add Flux as design pattern

Hi, as far I know Flux is a design pattern, and I think it should be present on the list. I am right?

i18n support

Hello.

I find this repo from HN today. I look at it and I think "I must translate it. It will be nice work for my study and global js culture.".

I'm Korean. Although I can't English well, I think I can translate it with some reference from dictionaries and some advice from its contributer. And I think if you decide to i18n this page, there will be with many contributors.

Please reply your opinion.

Design Patters

The three subheadings under "Design Patterns" all have a typo. (unless a patter is something I'm not familiar with)

Website down

The website is down :

"This Account Has Been Suspended.
Please contact the billing/support department as soon as possible."

What are the topics to contribute?

I'm confuse where i should put some informations, like, working with closures, responsive design.

Do we have a list of topics explain where i should put different kinds of content?

Add different linting tools

Add other linting tools that can breakdown like what on the frameworks section. An alternative would be JSLint, JSCS and ESLint.

Add description to "Good Parts" topics

We need to specify each "good part" of JavaScript.

There's a topic on JS: The Right Way called "Good Parts". Inside there, we have a list of highlights. We need to write a description for each one of that.

Update Singleton

Hi,

I think that it is worth removing Singleton from recommended design patterns. Even in the book there is a final word about it:

Whilst the Singleton has valid uses, often when we find ourselves needing it in JavaScript it's a sign that we may need to re-evaluate our design.

They're often an indication that modules in a system are either tightly coupled or that logic is overly spread across multiple parts of a codebase. Singletons can be more difficult to test due to issues ranging from hidden dependencies, the difficulty in creating multiple instances, difficulty in stubbing dependencies and so on.

They create a hidden (not explicit) global state and global state dependency. And this will make everyone's life miserable. In real world JS a module pattern can and should be used. It is a de-facto standard. And it gives all the benefits of a singleton without the downsides.

Page was not updated

Hi, my recently pull request was not updated in the home page.
Is there some problem updating the gh-pages?

thanks!

Versão PT-BR

Por se tratar de uma organização brasileira, feito por brasileiros. Acharia melhor ter uma versão traduzida para o website.

Sei que em inglês podemos alcançar mais pessoas ao redor do mundo. Mas uma versão em português é muito importante. Principalmente para iniciantes.

O que achas de começar uma tradução para este projeto?

Basic Programming Themes

Do you find it need to approach basic themes?

Examples:

1 - Lexical Structure
2 - Data types and values
3 - Others basic themes

Discussing these themes we can reach a greater number of benefit users.

Encoding issue of public german files

The generated index.html of the german translation seems to have some encoding issue as german umlauts (ü,ä,ö, ...) got replaced by question marks.
I think it's an issue of conversion/generation as the original files seem fine.

New Event Section

I would like create a new section with the Js Events separete by country.
I would use Lanyrd.

Divulgação do repositório

Acho legal começarmos a informar nas comunidade sobre js-the-right-way seria de muito últil para alguns. Pelo meu ponto de vista é um projeto não muito divulgado que poderia ser tornar popular nas comindades e ajudar mais pessoas. 👍

RTL Template

I started new translate for Persian in this repository, But I need rtl style for Persian language.
Can I edit main template for support rtl language?

Is JSHint really the "best" linter?

As far as I'm aware, ESLint provides all JSHint's functionality and then some, while being more configurable, more modular, and more extensible. I believe it is slightly slower, though I've never experienced serious performance issues.

I'd suggest recommending it rather than JSHint.

I'd at least tone down the claim that JSHint is the best to "JSHint is a good style checker".

Like button?

I saw that we have a tweet button on the page, what about a facebook like button?

Meteor not an MVC framework

Meteor is listed as an MVC framework which it most certainly isn't. Meteor is a combination of database, server and rendering engine with all the "glue" between them, which allows MVC frameworks to lean on it's infrastructure (angular for example). I'm not really sure where it should be located (at the top!) but listing it with the MVC frameworks is a bit confusing and might really annoy some people.

The definitive guide to Javascript is free from O'Reilly

Maybe the link should be in the Ebook section, here is the book:

ftp://91.193.236.10/pub/docs/linux-support/programming/JavaScript/%5BO%60Reilly%5D%20-%20JavaScript.%20The%20Definitive%20Guide,%206th%20ed.%20-%20%5BFlanagan%5D.pdf

William's Bio in Small Screens

When in a small screen William's bio section gets weird.
I plan to solve this issue soon, anyway, tought I should post if anyone wants to fix.

Page hangs in Firefox 17

When I hit the index page the script enters an infinite loop, adding a ton of elements at the bottom of the page until the script is forcibly stopped.

Notification

Às vezes acho este projeto meio parado, tem bastante PR encaminhado e nenhum aceito, este é um projeto legal da comunidades, podemos manter o mesmo em funcionamento e atualizado!

ES6 Section?

I am a novice JS programmer, and this project has been invaluable to me. At the the workspace, I am increasing encountering ES6 code which I struggle to understand. Unfortunately, js-the-right-way does not have a section dedicated to ES6.

Is it time to add a section for ES6? Or would that be beyond the scope of this project?

Many thanks for your excellent work. 👍

Add supported browsers

Many developers have limits on the technologies they can use based on the browsers they are targeting. Having a list of browsers supported or filterable is a quick way to narrow down their valid choices.

[i18n] Language selector

Hey guys, translate the project it's a good idea! Did you already think about a language selector? If you want, I'm able to help.

Please: explain events!!!

As a mainly server side web developer I write mainly server side code, and when it happens to me to write client side code generally it is related to AJAX calls, or to set the events that trigger those AJAX calls.

I really have a little perception about javascript events: I learned from experience that you can set one or more functions which are called f.e. when a link is clicked, or when a form is submitted. And my knowledge about JS events finishes here.

So I often ask to myself:

  • are events properties just of DOM elements, or they can be setted for every JS entity (variables, objects, ...)? If yes, how?
    • how many functions can be attached (I heard someone call it "binding") to an element? in which order are they called? are there any criteria behind this order?
    • can I see what functions are "bound" to a element? if yes, how?
    • can I create custom events? how? how can I manage them?
    • more generally, how does the JS event machine work?, what is events propagation? how to "tame the beast"?
    • are there resources on the web about this argument that are worthy of being read?

Hence, my sensation is that JS events working is an important part of javascript, but its knowledge is taken for granted.

Content too wide on desktop machines

The main content is too wide when viewed on larger screens, on my main desktop monitor (1920x1080) I have to reduce the size of the browser window to make the text readable. A hard limit should be set on how wide the text can go.

Create the section server

Lately Javascript entered in the world the servers with node.js. Actually in js: The Right Way haven't nothing about node.js. The only that I find was two link's. but it has nothing more!

pt-br revision

Hi @ruanltbg, good job, now I'm putting here some points to review: 👍
@ivanbanov

Todo

  • Some words need to be in original language for a better understanding. (e.g. engine)
  • Some words need to accent correction

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.