摘要:
1 An Introduction to Ajax 打开网页的的过程也叫:request response cycel。 JavaScript也可以request然后parse the response,还可以更新网页上的信息。 因此JS可以部分更新网页。这个技术称为Ajax. Rails默认使用C 阅读全文
摘要:
一个git使用教程 https://:.com/jlord/git-it-electron#what-to-install 一个在线Github的功能教学:https://lab.github.com/ 看刚才改变的文件的区别。 git diff: Add GitHub username to Gi 阅读全文
摘要:
git学习练习总资源链接: https://try.github.io/ (练习已通,有document) 本沙盒游戏教学:https://learngitbranching.js.org/?demo 自由沙盒模拟网页 : http://git-school.github.io/visualizin 阅读全文
摘要:
一个简单的HTTP和REST client for Ruby. 可以用它来发HTTP请求 基本用法: require 'rest-client' RestClient.get(url, headers={}) RestClient.post(url, payload, headers={}) 什么是 阅读全文
摘要:
API: application programming interface 在Ruby中特指调用某个对象的信息,如hash的方法库library中的方法,参数,回传值等。 视频:如何用Rails 建立api系列 https://gorails.com/series/how-to-build-api 阅读全文
摘要:
Rails Concepts Series: https://gorails.com/series/rails-concepts URL和parameter 的简单解析做一个app template使用 Ruby on Rails 的❌页面debugrails5的actioncable和websoc 阅读全文
摘要:
博客OAuth教程:https://i.cnblogs.com/EditPosts.aspx?postid=9531091 doorkeeper: (4000🌟)https://github.com/doorkeeper-gem/doorkeeper 什么是OAuth? OAuth是一个通信协定。 阅读全文
摘要:
FontAwesome::Sass(5.x版) https://fontawesome.com/icons?d=gallery&m=free 只能使用免费的。 在app/assets/stylesheets/application.scss中载入 Rails Helper usage: 三种格式的i 阅读全文
摘要:
✅, 如何移除simple_form 会在第一步自动删除: remove config/initializers/simple_form.rb remove config/locales/simple_form.en.yml remove lib/templates/slim/scaffold/_f 阅读全文
摘要:
用于代码瘦身。 老鸟建议:不要混写js 和 html,如果避免不了,当前文件可以改为erb格式,混用slim和erb不是什么问题。 git: https://github.com/slim-template/slim 不同编译器有不同的高亮等工具,在git最底部。 atom: 直接从设置里面搜索la 阅读全文