教程

原文:https://gobuffalo.io/documentation/tutorials/

Tutorials 教程

Using Vue.js with Buffalo 使用 Vue.js 与 Buffalo

It doesn’t take much to get a JavaScript web framework like Vue.Js to work with a Buffalo backend.

​ 让像 Vue.Js 这样的 JavaScript Web 框架与 Buffalo 后端协同工作并不需要太多工作。

In this short video we’ll look at just how simple it is to hook up Vue.js to a Buffalo application that is serving JSON.

​ 在这个简短的视频中,我们将了解将 Vue.js 连接到提供 JSON 的 Buffalo 应用程序是多么简单。

Source: https://github.com/gobuffalo/vuerecipe

​ 资源:https://github.com/gobuffalo/vuerecipe

Buff.la - URL Shortner Buff.la - URL 缩短器

In this “real time” video we will build, test, and deploy a URL shortner application, https://buff.la.

​ 在这个“实时”视频中,我们将构建、测试和部署一个 URL 缩短器应用程序,https://buff.la。

This video will demonstrates the following:

​ 此视频将演示以下内容:

  • Creating a new Buffalo application. 创建一个新的 Buffalo 应用程序。
  • Generating resources, models, and migrations. 生成资源、模型和迁移。
  • Testing Buffalo applications. 测试 Buffalo 应用程序。
  • Authentication through FaceBook, Twitter, and GitHub, using Goth. 使用 Goth 通过 FaceBook、Twitter 和 GitHub 进行身份验证。
  • Deploying to Heroku. 部署到 Heroku。
  • More! 更多!

Source: https://github.com/markbates/buffla

​ 来源:https://github.com/markbates/buffla

Using Goth with Buffalo 将 Goth 与 Buffalo 一起使用

This video builds a Buffalo application that uses Goth to add authorization using GitHub.

​ 此视频构建了一个 Buffalo 应用程序,该应用程序使用 Goth 添加了使用 GitHub 的授权。

This video will demonstrates the following:

​ 此视频将演示以下内容:

  • Using Goth with Buffalo 将 Goth 与 Buffalo 一起使用
  • Writing Buffalo middleware 编写 Buffalo 中间件
  • Authentication/Authorization 身份验证/授权
  • Manipulating the middleware stack 操作中间件堆栈

Source: https://github.com/gobuffalo/gothrecipe.

​ 来源:https://github.com/gobuffalo/gothrecipe。

Using Password Authentication with Buffalo 使用 Buffalo 的密码身份验证

Source: https://github.com/gobuffalo/authrecipe

​ 来源:https://github.com/gobuffalo/authrecipe

GolangFlow.io

This open source application allows people to post their favorite Go related stories at http://golangflow.io.

​ 此开源应用程序允许人们在 http://golangflow.io 上发布他们最喜欢的 Go 相关故事。

Source: https://github.com/bscott/golangflow

​ 来源:https://github.com/bscott/golangflow

Gobular.com

This open source application allows people to test their Go regular expressions at http://gobular.com.

​ 这个开源应用程序允许人们在 http://gobular.com 上测试他们的 Go 正则表达式。

Source: https://github.com/markbates/gobular

​ 来源:https://github.com/markbates/gobular

Toodo

This obligatory todo application shows a simple app and is a good introduction for those looking for a simple, and understandable code base.

​ 这个强制性的 todo 应用程序展示了一个简单的应用程序,对于那些寻找简单且易于理解的代码库的人来说是一个很好的介绍。

Source: https://github.com/gobuffalo/toodo

​ 来源:https://github.com/gobuffalo/toodo

Business-card in GoBuffalo GoBuffalo 中的名片

Part 1 - templates, navigation 第 1 部分 - 模板、导航

Part 2 - i18n 第 2 部分 - i18n

Part 3 - database 第 3 部分 - 数据库

Part 4 - resources 第 4 部分 - 资源

[Part 5 - authentication 第 5 登录用户可以对博客文章发表评论。使用本地身份验证。

Source: https://github.com/mikaelm1/Blog-App-Buffalo

​ 来源:https://github.com/mikaelm1/Blog-App-Buffalo

Simple Ajax Example 简单的 Ajax 示例

This is an open source application demonstrates how to use the https://github.com/rails/jquery-ujs/wiki module that ships with Buffalo by default, to quickly add Ajax to a form.

​ 这是一个开源应用程序,演示了如何使用 Buffalo 默认附带的 https://github.com/rails/jquery-ujs/wiki 模块,以便快速将 Ajax 添加到表单中。

Source: https://github.com/gobuffalo/simple-ajax-recipe

​ 来源:https://github.com/gobuffalo/simple-ajax-recipe

Articles About Buffalo 关于 Buffalo 的文章

Podcasts About Buffalo 关于 Buffalo 的播客

Videos About Buffalo 关于 Buffalo 的视频


If you have an article, podcast, slideshow, video, etc… about Buffalo and want it listed here, please add an issue to https://github.com/gobuffalo/docs or better yet, why not open a PR?

​ 如果您有关于 Buffalo 的文章、播客、幻灯片、视频等,并希望在此处列出,请向 https://github.com/gobuffalo/docs 添加一个问题,或者更好的是,为什么不打开一个 PR?

More on the Blog 更多博客

New videos, tutorials, etc. are always being published to the official Buffalo blog, http://blog.gobuffalo.io. Please subscribe check out all of the great content that is being published there.

​ 新的视频、教程等内容始终会发布到官方 Buffalo 博客 http://blog.gobuffalo.io。请订阅并查看在那里发布的所有精彩内容。

最后修改 March 10, 2024: 更新 (ddf4687)