Ember, Redis, Sidekiq and Discourse: Basic Tutorials

Very high level ember overview:

Next level down tutorial:

Good for beginners:

Ember Twiddle

1 Like

Update on studying ember to write discourse plugins:

Basically, ember is a lot like other JS web dev frameworks including VueJS; and I'm already familiar with VueJS because I redesigned the usercp experience in the old forums using VueJS a while back.

Since Discourse is based on ember, I started to learn the basics of ember so I could easily write plugins for Discourse. However, the documentation on this (on the Discourse side) is very sketchy, and their advise is "read the code".

So, being a cooperative team player (:sailboat:) , I have read a lot of Discourse plugin code (:school:)
, read all the tutorials on the meta site about plugins (:meat_on_bone:) , and have created a number of ember tutorial apps on my desktop (:desktop_computer:) .

Still, I am as confused (:confounded:) as ever as to exactly where "ember ends" and "discourse begins".

The answer to this problem at meta is "read the code", so I guess I will keep reading Discourse and discourse plugin source code until I finally can understand where the system interfaces are.

Working and studying more emberjs tutorials seems to be not the best use of my time at the moment, because whatever I create in the ember-cli framework does not work in the discourse framework.

:frowning:

See Also (staff only): Discourse Plugin Tutorial Rant

Excellent tutorial by Robin Ward (eviltrout), co-founder of Discourse on using the Chrome Ember Inspector:

How to debug an Ember.js application (2014)

Watch this video (especially the Q&A at the end) to understand more about Discourse:

https://youtu.be/2klSE6ZANW4

This Medium tutorial was OK:

However, I had to change this line in the tutorial:

gem “ember-cli-rails”

to this:

gem 'ember-cli-rails', '~> 0.10.0'

and I could not get this final "getting embers up and running" part to work after this line:

And finally let’s configure rails routes file,

Rails.application.routes.draw do   
  mount_ember_app :ember-frontend, to: "/"
end```

So, I'm still not "there" with this tutorial.

Still trying to understand this high level architecture better:

ror

Reference:

https://delftswa.gitbooks.io/desosa2016/content/ember.js/chapter.html

redis basics for dummies

Better ... sidekiq, redis, rails

More sidekiq, redis

See also: The Rails Command Line — Ruby on Rails Guides
See also: https://redis.io/docs/ui/cli/
See also: Commands | Redis

See Also: