Git Product home page Git Product logo

Comments (19)

fengmk2 avatar fengmk2 commented on March 29, 2024

好,今天在去南京的路上写一下。

from egg.

jtyjty99999 avatar jtyjty99999 commented on March 29, 2024

egg-mysql可用,有测试覆盖

from egg.

fengmk2 avatar fengmk2 commented on March 29, 2024

@jtyjty99999 嗯,说的就是将 README 完善了。

from egg.

popomore avatar popomore commented on March 29, 2024

恩,插件把 readme 完善详细,有些还是挺简单的。

from egg.

zhoudaqing avatar zhoudaqing commented on March 29, 2024

@jtyjty99999 @fengmk2 @popomore egg-mysql中只是test和fixtures,希望能有一个完整可以跑通的MVC标准例子,能体现层次结构、各层次调用关系、以及模板渲染,我们如果马上用这个开启一个新项目,在此基础上修改更快更容易上手。 辛苦了 谢谢 :)

from egg.

jtyjty99999 avatar jtyjty99999 commented on March 29, 2024

@atian25 他说的应该是我们昨晚说的那个framework的simple

from egg.

atian25 avatar atian25 commented on March 29, 2024

@jtyjty99999 framework 和 simple 这两个 boilerplate 不希望有太多内容, 这是一个骨架来着.

他的需求我们可以几种方案实现:

  • 直接 egg/example/mysql , 但是这样 egg 主库多了很多 devDeps
  • 做一个 boilerplate, 但不建议放到 egg-boilerplate-framework , 做个 egg-boilerplate-common ?
  • egg-init 支持选项, simple 的时候提供常用插件选择来生成

from egg.

jtyjty99999 avatar jtyjty99999 commented on March 29, 2024

@atian25 我觉得可以作为“快速开发一个应用框架”的实例,讲如何init一个框架模板,之后即成几个插件

from egg.

fengmk2 avatar fengmk2 commented on March 29, 2024

@zhoudaqing mysql 插件的使用文档完善了 https://github.com/eggjs/egg-mysql#egg-mysql

from egg.

zhoudaqing avatar zhoudaqing commented on March 29, 2024

@fengmk2 看到了,原来这个是基于ali-rds插件的;通过egg-init初始化创建项目能顺利运行起来,为何egg-boilerplate-simple、egg-boilerplate-framework在windows环境均无法启动呢?

from egg.

atian25 avatar atian25 commented on March 29, 2024

。。。 报错单独提个新 ISSUE 上来,我看看。

from egg.

zhoudaqing avatar zhoudaqing commented on March 29, 2024

@atian25

F:\bf\egg-boilerplate-simple>npm run dev
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\Program Files\nodejs\node.exe" "C:\Users\LangShu\AppData
\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "dev"
npm ERR! node v4.5.0
npm ERR! npm v3.10.6

npm ERR! missing script: dev
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! F:\bf\egg-boilerplate-simple\npm-debug.log

from egg.

jtyjty99999 avatar jtyjty99999 commented on March 29, 2024

这是个模板啊,本来就不是让你直接运行的。。egg-init会拉取这个进行渲染

from egg.

atian25 avatar atian25 commented on March 29, 2024

晚点加个说明吧。。。

from egg.

atian25 avatar atian25 commented on March 29, 2024

这个 issue 可以 close 了吧

from egg.

zhoudaqing avatar zhoudaqing commented on March 29, 2024

@fengmk2 @atian25 @jtyjty99999 @popomore 谢谢各位

from egg.

atian25 avatar atian25 commented on March 29, 2024

eggjs/egg-boilerplate-simple#10

加了

from egg.

junmaqiang avatar junmaqiang commented on March 29, 2024

同感觉得官方egg-mysql的例子太少了,mysql的查询方式多了个去!

from egg.

hongz1125 avatar hongz1125 commented on March 29, 2024

@zhoudaqing mysql 插件的使用文档完善了 https://github.com/eggjs/egg-mysql#egg-mysql

太简单了 比方 where 里面不等于怎么写呢

from egg.

Related Issues (20)

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.