Phoenix 1.8.0-rc.0 released!

For a real blog with public pages, I’d start by doing the following:

  1. move the routes from phx.gen.live to an admin prefix, e.g. /admin/posts, /admin/posts/new, etc.
  2. add a new list_posts/0 function that does not require a scope and just returns all (published) posts
  3. create separate LiveViews for the public parts of the blog

To keep the generators simple, we offer either scoped resources or completely unscoped resources (passing --no-scope to the generators).

6 Likes