问题标签 [geddy]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
node.js - Geddy模型/控制器继承
是否可以使用 geddy 模型进行继承?我是这样想的:
模型/base.js
模型/model1.js
与 baseFrontend.js
前端和baseBackend.js
后端控制器等控制器相同。
提前谢谢各位。
node.js - 使用 geddyjs 连接中间件
我想在我的 geddy 应用程序中使用一些连接中间件。我的问题是,是否可以将连接中间件与 geddyjs 一起使用?
谢谢
node.js - geddy with socket.io error
I'm doing a realtime app with geddy framework (the basic chat example). But I get and error when the client tries to establish the connection.
here's the server-side code (on the init.js file):
and the client-side code:
When I try to connect to localhost:4004/ I get the next warn:
besides Chrome console gives this error:
I don't know what can cause these. Any ideas?
node.js - Geddy 无法读取属性“验证”
大家早上好。这是我的问题:
我是 Node.js 的新手,我决定尝试 Geddy 框架,因为它看起来非常强大。所以,我正在关注本教程。当我向 ToDo 模型添加一些验证时,它会抛出一个错误并且我无法启动服务器。
欢迎任何帮助。
这里的代码:
这是控制台输出
作为最终信息。我使用的是 Windows 7。我有 node.js v0.10.22 和 Geddy v0.11.8
node.js - 如何在同一个端口上运行 express 和 geddy 应用程序?
有一个使用 geddy 框架实现的现有 node.js 应用程序,它由 Heroku 的工头启动,如下所示:
我正在努力使其成为 Heroku 附加组件。Heroku 有一种方法可以自动生成附加组件所需的骨架代码,但它是使用 express 实现的。它由以下命令启动:
在内部,Heroku 只为每个应用程序分配 1 个端口(将外部流量路由到它)。有没有办法在同一个端口上同时启动现有的 geddy 应用程序和 add-on express 应用程序?或者有某种类型的应用程序级路由器,可以根据传入的请求路径转发到 geddy 或 express?
node.js - 我可以自定义 geddy 脚手架模板吗?
geddy 脚手架模板是否可定制?即我可以覆盖标准视图模板以自行添加内容或更改cruds 的显示方式吗?
node.js - Geddy 是否支持已经和属于许多协会?
我正在开发一个 Geddy 应用程序,我需要一个“拥有并属于许多”关联。这可能吗?文档中似乎只支持 hasOne、hasMany 和 belongsTo 关联。
javascript - Geddy 应用程序中脚本 src 属性的问题
我是 Geddy 的新手,我无法让 HTML 脚本标签拉入外部 .js 文件。我的文件层次结构如下所示:
- 应用
- 楷模
- 控制器
- 意见
- 外部JS
- 文件.js
在我的一个观点中,我想包含 file.js,所以我在它的 html 文件中有这个:
但是,这实际上并不能用于拉入文件。我怀疑它与 Geddy 的路由器有关。截至目前,前往
导致 404,因为路由器无法将该路由匹配到控制器/操作对。
我非常希望将 ExternalJS 文件夹保留在原处;我将来需要添加它。那么我该怎么做才能解决这个问题呢?是路由问题,src 的一些愚蠢错误,还是其他什么?
node.js - 在 Ubuntu 13.10 上运行 geddyjs
我想开始使用节点的 Geddy js 框架,并按照他们教程中提供的安装说明进行操作,但无法让它运行。我使用的是 Ubuntu 13.10,并且安装并运行了 NodeJS 0.10.15 版本、NPM 1.2.18 和 Jake 0.6.10。NPM 安装 geddy 时没有返回错误。
从终端运行 geddy 不会返回任何内容,没有错误,没有“找不到命令”,只会返回命令提示符...
我错过了什么明显的东西吗?我对 Ubuntu 有点陌生,对 Node 也很陌生,所以如果这是一个新手问题,我深表歉意。
干杯:)
node.js - Pass Post data to application.html.ejs in geddy nodejs
i m posting a form in geddy. i need to update my meta data according to posted data by the form, for this i have to pass post to
for the above implementation i need my 'post' data on application.html.ejs.
thanks