Coder Social home page Coder Social logo

laravel-style-guide's People

Contributors

calc2te avatar dspaudio avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kim-munbeom

laravel-style-guide's Issues

paginate

api 다이어트 관점으로 paginate를 할 경우 나오는 정보를 다 쓸 일이 없음
forpage 사용에 대한 제안이 들어옴

route naming

REST API URI Naming Conventions and Best Practices 참조
https://restfulapi.net/resource-naming/

2.2. Consistency is the key

  • 가독성을 위해 하이픈 (-) 사용
  • 밑줄은 사용하지 않음
  • 소문자 사용

2.4. Never use CRUD function names in URIs

  • get, create, update, delete가 극명한 경우는 http method를 그에 맞게 쓴다
  • api 안에서 crud가 전체적으로 다 발생해도 메인 이벤트에 집중한다.
    • 캠프를 수정 -> 수정으로 인하여 다른 테이블에 생성/삭제가 생길 수 있어도 메인 이벤트는 수정이기에 수정으로 본다.

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.