laravel-style-guide's People
Forkers
kim-munbeomlaravel-style-guide's Issues
paginate
api 다이어트 관점으로 paginate를 할 경우 나오는 정보를 다 쓸 일이 없음
forpage 사용에 대한 제안이 들어옴
abort 정리 지양
validate 정책
folder structure - model
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가 전체적으로 다 발생해도 메인 이벤트에 집중한다.
- 캠프를 수정 -> 수정으로 인하여 다른 테이블에 생성/삭제가 생길 수 있어도 메인 이벤트는 수정이기에 수정으로 본다.
route에서 컨트롤러 사용시 use 사용하기
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.