mishka-group / mishka_template_creator

Mishka Template Creator for Phoenix and Phoenix LiveView
9 stars 1 forks source link

Restructure Live module for big scale #67

Closed shahryarjb closed 1 year ago

shahryarjb commented 1 year ago

When I started making the project, I didn't think that the project would have such a small amount of work. Therefore, I did not feel the need for a structure at that time.

This should be a road map for better development

  def handle_event("create", params, socket) do
  end

  def handle_event("delete", params, socket) do
  end

  def handle_event("validate", params, socket) do
  end

  def handle_event("class", params, socket) do
  end

  def handle_event("element", params, socket) do
  end

  def handle_event("back", params, socket) do
  end

  def handle_event("reset", params, socket) do
  end

  def handle_event("order", params, socket) do
  end

  def handle_event("set", params, socket) do
  end

  def handle_info({"create", params}, socket) do
  end

  def handle_info({"delete", params}, socket) do
  end

  def handle_info({"validate", params}, socket) do
  end

  def handle_info({"class", params}, socket) do
  end

  def handle_info({"element", params}, socket) do
  end

  def handle_info({"reset", params}, socket) do
  end

  def handle_info({"order", params}, socket) do
  end

  def handle_info({"set", params}, socket) do
  end