Tencent / Tencent/Biny

容许小弟问一下几个菜鸟问题?

Open
#101 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.7k
Forks
253
PR merge metrics
No merged PRs in 30d

Description

老师你好,我是PHP的初学者!
现在在学习你的框架,想提问几点?自身没有用过时下流行的PHP框架!对比之下,觉得学习Biny,更能全局性深入理解学习PHP编程。
A、controller分层是否可以再划分多一层Action层?
1、controller层用于处理多域问题,我大概的意思是如何处理多网站域名路由控制方案;
2、Action层用于管理动作路由的下层方案;
B、Service分层是否需要再划分多一层Logic层?
1、Service层用于定义用户相关的服务接口等;
2、Logic层相对于Service下层,用于相关的业务逻辑;
以上提议是否存在过度分层的思想??

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Biny's existing controller and Service layer structure, since no specific files or tests are named. Compare the proposed Action and Logic layers with the current routing and service responsibilities; done would require a decided architecture and an agreed implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.