Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some suggestions on the overseas promotion of goframe #3969

Open
lingcoder opened this issue Nov 26, 2024 · 2 comments
Open

Some suggestions on the overseas promotion of goframe #3969

lingcoder opened this issue Nov 26, 2024 · 2 comments
Labels
awesome It's awesome! We keep watching. enhancement planned This issue/proposal is planned into our next steps.

Comments

@lingcoder
Copy link
Contributor

lingcoder commented Nov 26, 2024

Description

Goframe 虽然是一个强大的 Go Web 框架,但在面向海外用户时,可能存在以下几个方面的不足:

  1. 文档和翻译:英文文档相较于中文文档可能不够完善。
    相信这个不是什么大问题了,现在有了AI翻译,质量也不错。
  2. 默认设置:默认配置可能偏向于中国市场需求,缺乏国际化视角。
    (1)默认的镜像模板采用了东8区,由于海外的业务更多采用当地时区或UTC时区,这一默认配置具有明显的地域偏向性。而一般的web框架也不会去限定东8区。
    (2)CICD中多处强制了时区为东8区,同样具有明显的地域偏向性,甚至增加了不必要的复杂性。
    (3)默认的gtime.Time 的json序列化格式非行业广泛支持的ISO8601,RFC3339标准,而是采用了国内常用的
    2024-11-11 11:30:59格式,不属于任何标准. 这对于海外业务来说不常见。而海外的项目跨时区居多,默认保留时区是一个更常见的做法;如果框架层能支持设置默认的gtime.Time格式化+tag配置格式化就更完美了。具体可参考java jackson统一时间格式设置
    (4)一些格式的校验可能偏向中文用户,如电话号码phone. 其实不同国家的号码区别很大,phone这一通用的名称如果仅代表中国号码就有点小了,也影响海外用户的使用。
  3. 海外的社区: 目前的交流主要集中在微信,海外用户较少。可以扩展到discord,TG交流,在Stack Overflow创建gf问题专区,另外海外交流邮箱使用的也比较多。
  4. 集成对国际云服务的一些支持。
  5. 业务code的封装超除了web框架的职责。海外非国内团队,使用code,data,message这样通用响应的据我了解不是很多。

Additional

No response

@Issues-translate-bot Issues-translate-bot changed the title 关于goframe海外推广的一些建议 Some suggestions on the overseas promotion of goframe Nov 26, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Description

Although Goframe is a powerful Go Web framework, it may have the following shortcomings when facing overseas users:

  1. Documentation and translation: English documentation may be less complete than Chinese documentation.
    I believe this is not a big problem anymore. Now with AI translation, the quality is also good.
  2. Default settings: The default configuration may be biased towards the needs of the Chinese market and lack an international perspective.
    (1) The default mirror template uses the East 8 zone. Since overseas businesses mostly use local time zones or UTC time zones, this default configuration has obvious regional bias. And general web frameworks will not limit the East 8th District.
    (2) CICD forces the time zone to be East 8 in many places, which also has obvious regional bias and even adds unnecessary complexity.
    (3) The default json serialization format of gtime.Time is not the ISO8601 and RFC3339 standards widely supported by the industry, but adopts the commonly used domestic ones.
    (4) The verification of some formats may be biased towards Chinese users, such as the telephone number phone. In fact, the numbers in different countries are very different. If the general name phone only represents Chinese numbers, it is a bit small, and it will also affect the use of overseas users.
    2024-11-11 11:30:59 format, does not belong to any standard. This is unusual for overseas business. Most overseas projects span time zones, and it is a more common practice to retain the time zone by default; it would be perfect if the framework layer could support setting the default gtime.Time formatting + tag configuration formatting. For details, please refer to java jackson unified time format setting
  3. Overseas communities: Current communication is mainly concentrated on WeChat, and there are few overseas users. It can be extended to discord, TG communication, and create a gf question area on Stack Overflow. In addition, overseas communication email addresses are more commonly used.
  4. Integrate some support for international cloud services.
  5. The encapsulation of business code exceeds the responsibilities of the web framework. As far as I know, not many overseas and non-domestic teams use universal responses such as code, data, and message.

Additional

No response

@gqcn gqcn added awesome It's awesome! We keep watching. planned This issue/proposal is planned into our next steps. labels Nov 26, 2024
@gqcn
Copy link
Member

gqcn commented Nov 26, 2024

@lingcoder Thank you very much for your feedback! We will carefully consider it, and make improvements promptly!❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awesome It's awesome! We keep watching. enhancement planned This issue/proposal is planned into our next steps.
Projects
None yet
Development

No branches or pull requests

3 participants