All public logs
Combined display of all available logs of ElixirBlocks. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 08:52, 13 October 2023 Admin talk contribs created page What is the Difference Between Import, Alias and Use (Created page with "These are keywords that let you use code across modules. ==Alias== A shortcut to another module. The syntax lets you reference a function without typing out the entire module names/hierarchy. ==Import== Pulls all functions from a module into the current module. You use the imported module functions in the current module. ==Use== ?")
- 12:56, 12 October 2023 Admin talk contribs deleted page Elixir Phoenix HTML HEEx Quick Reference (content was: "{{In_progress}} ==Variable== ==Conditional== ==For Loop==", and the only contributor was "Admin" (talk))
- 10:32, 12 October 2023 Admin talk contribs moved page How to Move a Project fto a Different Development Server to How to Move a Project to a Different Development Server
- 10:15, 12 October 2023 Admin talk contribs created page Phoenix HEEx (HTML Template) Quick Reference Guide (Created page with "https://studioindie.co/blog/heex-guide/#logic")
- 08:34, 12 October 2023 Admin talk contribs deleted page File:Phoenix control flow.png
- 08:33, 12 October 2023 Admin talk contribs deleted page File:Phoenix Control Flow.png
- 21:20, 11 October 2023 Admin talk contribs deleted page Drawio:Phoenix Control Flow (content was: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABGEAAAHrCAYAAABvg4ArAAAAAXNSR0IArs4c6QAAKQ90RVh0bXhmaWxlACUzQ214ZmlsZSUyMGhvc3QlM0QlMjJlbWJlZC5kaWFncmFtcy5uZXQlMjIlMjBtb2RpZmllZCUzRCUyMjIwMjMtMTAtMTFUMTglM0E1NyUzQTAxLjEyM1olMjIlMjBhZ2VudCUzRCUyMk1vemlsbGElMkY1LjAlMjAoV2luZG93cyUyME5UJTIwMTAuMCUzQiUyMFdpbjY0JTNCJTIweDY0KSUyMEFwcGxlV2ViS2l0JTJGNTM3LjM2JTIwKEtIVE1MJTJDJTIwbGlrZSUyMEdlY2t...", and the only contributor was "Admin" (talk))
- 17:59, 11 October 2023 Admin talk contribs uploaded File:Phoenix control flow.png
- 17:59, 11 October 2023 Admin talk contribs created page File:Phoenix control flow.png
- 17:55, 11 October 2023 Admin talk contribs uploaded File:Phoenix Control Flow.png
- 17:55, 11 October 2023 Admin talk contribs created page File:Phoenix Control Flow.png
- 16:54, 11 October 2023 Admin talk contribs created page Drawio:Phoenix Control Flow (Created page with "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABJ0AAAFOCAYAAAAsImxhAAAAAXNSR0IArs4c6QAAJRx0RVh0bXhmaWxlACUzQ214ZmlsZSUyMGhvc3QlM0QlMjJlbWJlZC5kaWFncmFtcy5uZXQlMjIlMjBtb2RpZmllZCUzRCUyMjIwMjMtMTAtMTFUMTYlM0E1NCUzQTM1LjI4MlolMjIlMjBhZ2VudCUzRCUyMk1vemlsbGElMkY1LjAlMjAoV2luZG93cyUyME5UJTIwMTAuMCUzQiUyMFdpbjY0JTNCJTIweDY0KSUyMEFwcGxlV2ViS2l0JTJGNTM3LjM2JTIwKEtIVE1MJTJDJTIwbGlrZSUyMEdlY2tvKSUyMENocm9tZSUyRjExNy4wLjAuMCUyMFNhZmFyaSUyRjUzNy4zNiUyMiUyMHZlcnNpb24lM0QlMjIyMi4wLjQlM...")
- 11:22, 11 October 2023 Admin talk contribs created page Drawio:Test (Created page with "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAABWl0RVh0bXhmaWxlACUzQ214ZmlsZSUyMGhvc3QlM0QlMjJlbWJlZC5kaWFncmFtcy5uZXQlMjIlMjBtb2RpZmllZCUzRCUyMjIwMjMtMTAtMTFUMTElM0EyMiUzQTE1LjkwNVolMjIlMjBhZ2VudCUzRCUyMk1vemlsbGElMkY1LjAlMjAoWDExJTNCJTIwTGludXglMjB4ODZfNjQpJTIwQXBwbGVXZWJLaXQlMkY1MzcuMzYlMjAoS0hUTUwlMkMlMjBsaWtlJTIwR2Vja28pJTIwQ2hyb21lJTJGMTE3LjAuMC4wJTIwU2FmYXJpJTJGNTM3LjM2JTIyJTIwdmVyc2lvbiUzRCUyMjIyLjAuNCUyMiUyMGV0YWclM0QlMjJFd...")
- 18:57, 10 October 2023 Admin talk contribs created page Phoenix Control Flow and Mental Model (Created page with "{{In_progress}}")
- 17:18, 10 October 2023 Admin talk contribs created page Using Forms to Render Nested Association Data (How to render foreign key data (has_many, belongs_to))
- 19:46, 9 October 2023 Admin talk contribs created page How to Read Error Messages (Created page with "{{In_progress}}")
- 20:29, 8 October 2023 Admin talk contribs created page Ecto Changesets (Created page with "{{In_Progress}} Ecto.Repo.insert/2, update/2 and delete/2 require a changeset as their first parameter. The creating, updating or deleting of table data always requires a changeset.")
- 00:58, 6 October 2023 Admin talk contribs created page Create Foreign Key Relationship Between Ecto Tables (Created page with "{{In_progress}} My goal is to create two html generated tables in Phoenix. * Testbed(s) * Group(s) I want to create a relationship between these two tables so that: * A Group can have many Testbeds * Each Testbed can belong to 1 Group * I intend to write front end code that presents this relationship to the user. Steps In Phoenix I generated the two tables and related UI code using these commands: <source> mix phx.gen.html Testbeds Testbed testbeds name:string mi...")
- 17:49, 19 September 2023 Admin talk contribs created page Roll Back Last Migration (Created page with "<source> mix ecto.rollback </source>")
- 05:21, 2 September 2023 Admin talk contribs created page How to Convert Map to a List of Keys and Values (Created page with "<source> %{:en => 1, :jp => 4, :zip => 0} |> Enum.map(&Tuple.to_list/1) |> IO.inspect </source>")
- 04:58, 2 September 2023 Admin talk contribs created page How to Convert String to Key Value Map of Items and Count Number (Created page with "<source> words = "The world hello world to the world" list = String.split(words," ") Enum.map(list, fn(item)-> item end)|> Enum.frequencies()|> IO.inspect #%{"The" => 1, "hello" => 1, "the" => 1, "to" => 1, "world" => 3} </source>")
- 02:26, 2 September 2023 Admin talk contribs created page Elixir Pattern Matching Tutorial (Created page with " '''Use Pattern Matching as a Replacement for Conditional Statements''' In most programming languages conditional if/else statements are used to program branched actions in a program. In Elixir, it is considered "idiomatic" to use pattern patching in place of conditional statements. If you are learning Elixir after learning another programming language, you may be tempted to use if/else conditional statements. In Elixir, resist this temptation and instead default to...")
- 05:17, 30 July 2023 Admin talk contribs created page Toggle Show Hide on Client in Liveview (Created page with "This is a working example: <source> defmodule AppWeb.PageLive do use AppWeb, :live_view def mount(_params, _session, socket) do {:ok, socket} end def render(assigns) do ~H""" <div phx-click={JS.toggle(to: "#item")} > CLICK ME </div> <div id="item"> hi there </div> """ end end </source>")
- 08:04, 27 June 2023 Admin talk contribs created page Elixir Phoenix HTML HEEx Quick Reference (Created page with "{{In_progress}} ==Variable== ==Conditional== ==For Loop==")
- 18:46, 23 June 2023 Admin talk contribs created page Basic View Toggle of DOM Element Using JS in Elixir Phoenix LiveView (Created page with "<source> def render(assigns) do ~H""" <div id="item">My Item</div> <button phx-click={JS.toggle(to: "#item")}> toggle item! </button> """ end </source>")
- 16:05, 21 June 2023 Admin talk contribs created page How to Use Trix Editor With Phoenix LiveView (Created page with " {{In_progress}} To integrate Trix editor we use a JavaScript Hook ==JavaScript Hook == <source> let liveSocket = new LiveSocket("/live", Socket, {params: {_csrf_token: csrfToken}, hooks:{ TrixEditor:{ mounted(){ let element = document.querySelector("trix-editor"); this.ele = element this.ele.value = "data in the value attribute"; } } } }) </source> ==LiveView== <source> <div ph...")
- 14:23, 21 June 2023 Admin talk contribs deleted page How to Use BaseCamp Trix Editor With Phoenix LiveView (content was: "{{In_progress}} ==JavaScript Hook == <source> hooks: { TrixEditor: { mounted() { mounted() { const element = document.querySelector("trix-editor"); element.editor.element.addEventListener("trix-change", (e) => { this.el.dispatchEvent(new Event("change", { bubbles: true })); }); element.editor.element.addEventListener("trix-initialize...", and the only contributor was "Admin" (talk))
- 14:22, 21 June 2023 Admin talk contribs created page How to Use BaseCamp Trix Editor With Phoenix LiveView (Created page with "{{In_progress}} ==JavaScript Hook == <source> hooks: { TrixEditor: { mounted() { mounted() { const element = document.querySelector("trix-editor"); element.editor.element.addEventListener("trix-change", (e) => { this.el.dispatchEvent(new Event("change", { bubbles: true })); }); element.editor.element.addEventListener("trix-initialize", () => { element.editor.element.focus(); var length = element.editor.getDocu...")
- 14:15, 19 June 2023 Admin talk contribs deleted page Elixir Phoenix SImplified PubSub Chatroom Tutorial (content was: "{{In_progress}} __TOC__ <hr> This tutorial explains the basics of building a Phoenix PubSub chat app. The goal of this writing is to give you a solid comprehension of the code used, and to explain how it acts as connective tissue between the various parts for use in your own applications. The tutorial is divided into three parts, each part building on the completion of the previ...", and the only contributor was "Admin" (talk))
- 14:15, 19 June 2023 Admin talk contribs created page Elixir Phoenix PubSub Tutorial (Created page with "{{In_progress}} __TOC__ <hr> This tutorial explains the basics of building a Phoenix PubSub chat app. The goal of this writing is to give you a solid comprehension of the code used, and to explain how it acts as connective tissue between the various parts for use in your own applications. The tutorial is divided into three parts, each part building on the completion of the previous one. '''Project Description''' * '''Part 1''': We create a two route liveview app wi...")
- 14:07, 19 June 2023 Admin talk contribs deleted page Working with Forms in Elixir Phoenix (content was: "{{In_progress}} {{Phoenix-Installation-Required}} To begin, create a new basic working LiveView Page. Follow the tutorial here and then come back to this page when you are done. <source> defmodule AppWeb.PageLive do use AppWeb, :live_view def mount...", and the only contributor was "Admin" (talk))
- 14:07, 19 June 2023 Admin talk contribs created page Forms and Event Handlers in Elixir Phoenix (Created page with "{{In_progress}} {{Phoenix-Installation-Required}} To begin, create a new basic working LiveView Page. Follow the tutorial here and then come back to this page when you are done. <source> defmodule AppWeb.PageLive do use AppWeb, :live_view def mount(_params, _session, socket) do {:ok, socket} end def render(assigns) do ~...")
- 23:37, 18 June 2023 Admin talk contribs created page Working with Forms in Elixir Phoenix (Created page with "{{In_progress}} {{Phoenix-Installation-Required}}")
- 00:39, 18 June 2023 Admin talk contribs deleted page Simplified and Clear Elixir Phoenix Basic PubSub Websocket Chatroom Tutorial for the Frustrated and Discontent (content was: "{{In_progress}} __TOC__ This tutorial explains the basics of building a Phoenix PubSub chat app. The goal of this writing is to give you a solid comprehension of the code used, and to explain how it acts as connective tissue between the various parts for use in your own applications. The tutorial is divided into three parts, each part building on the completion of the previous o...", and the only contributor was "Admin" (talk))
- 00:39, 18 June 2023 Admin talk contribs created page Elixir Phoenix SImplified PubSub Chatroom Tutorial (Created page with "{{In_progress}} __TOC__ This tutorial explains the basics of building a Phoenix PubSub chat app. The goal of this writing is to give you a solid comprehension of the code used, and to explain how it acts as connective tissue between the various parts for use in your own applications. The tutorial is divided into three parts, each part building on the completion of the previous one. '''Project Description''' * '''Part 1''': We create a two route liveview app with ea...")
- 17:00, 17 June 2023 Admin talk contribs deleted page Elixir Phoenix Basic PubSub Websocket Chatroom Tutorial for the Frustrated and Discontent (content was: "{{In_progress}}", and the only contributor was "Admin" (talk))
- 16:59, 17 June 2023 Admin talk contribs created page Simplified and Clear Elixir Phoenix Basic PubSub Websocket Chatroom Tutorial for the Frustrated and Discontent (Created page with "{{In_progress}} The goal of this tutorial is develop your comprehension of how pieces interact and "talk" to one another in a basic LiveView PubSub application that retains state using a PostGres database.")
- 16:46, 17 June 2023 Admin talk contribs created page Elixir Phoenix Basic PubSub Websocket Chatroom Tutorial for the Frustrated and Discontent (Created page with "{{In_progress}}")
- 18:13, 15 June 2023 User account Tester talk contribs was created by Admin talk contribs
- 17:21, 15 June 2023 Admin talk contribs created page How to Use the Built In Generated Modal (Created page with "{{In_progress}}")
- 16:18, 4 June 2023 Admin talk contribs created page How to Check if a Repo (Table Collection) is Devoid of Entries (Created page with "Use exists? Example: <source> Repo.exists?(App.Testbeds.Testbed) </source>")
- 20:25, 2 June 2023 Admin talk contribs created page Get Last Record From Ecto (Created page with "<source> Repo.one(from x in MyApp.Model, order_by: [desc: x.id], limit: 1) </source> https://til.hashrocket.com/posts/388b0870c7-get-the-last-record-with-ecto")
- 19:53, 2 June 2023 Admin talk contribs created page Select all Table Entries based on a Field Value and Update Them (Created page with "'''Example''' <source> def reset_testbeds do items = from t in TestBed, where: t.status == "Taken" Repo.update_all(items, set: [status: "Available", developer: "None"]) |> broadcast_change([:testbed, :reset]) end </source>")
- 13:58, 2 June 2023 Admin talk contribs created page Working with Ecto (Created page with " {{In_progress}} https://brooklinmyers.medium.com/ecto-with-phoenix-in-4-minutes-9b7c447055c6")
- 19:35, 30 May 2023 Admin talk contribs created page How to Move a Project fto a Different Development Server (Created page with " Remove '''_build''' and '''deps''' directories. Make sure your migration files are available '''priv/repo/migrations''' If you have changed your tables you will need to manually update the migration files. In config/dev make sure your database credentials are set and set a new database if desired. run: mix deps.get + compile mix ecto.create mix ecto.migrate mix phx.server")
- 18:14, 30 May 2023 Admin talk contribs created page How to Fix Esbuild.start Error in Elixir Phoenix (Created page with "You start phoenix server mix phx.server and get this error: <source> ** (Mix) Could not start application esbuild: exited in: Esbuild.start(:normal, []) ** (EXIT) an exception was raised: ** (ErlangError) Erlang error: :eacces: </source> Delete the directories named '''_build''' and '''deps'''. Run: mix deps.get + compile When you move an Elixir Phoenix app to another machine you always delete those directories.")
- 04:47, 29 May 2023 Admin talk contribs created page How to Add a Field to a Generated Table Retroactively (Created page with "{{In_Progress}}")
- 09:30, 28 May 2023 Admin talk contribs created page How to Add New Item to App Made Using the phx.gen.html Generator (Created page with "This document explains how to retroactively add a new item to your app when your data was created using the phx.gen.html generator. First, you need data that is generated. An example is: <source> mix phx.gen.html Testbeds Testbed testbeds name:string </source> After the code is generated, the items are viewable in your app going to: <source> localhost://testbeds </source>")
- 06:06, 7 May 2023 Admin talk contribs created page How to Create a Basic PubSub Application (Created page with "{{In progress}}")
- 01:52, 1 May 2023 Admin talk contribs blocked AbbieDarley9765 talk contribs with an expiration time of 11 hours (account creation disabled)