Dark Phoenix

For me, I’d love the idea of Chris exploring an alt-version which you could specify with a flag on project creation mix phx.new hello --dark-mode (or to not confuse newbies, could just call it the --experimental-mode), where…

  • LiveView is part of the project
  • A basic user/auth system is part of the project (I believe this could also help with reusable components that could be shared privately or publicly on Hex)
  • Slightly different file structure so the typical MVC’s are grouped by feature/component (I think @sasajuric and a few others are already experimenting with this idea, and I personally love the idea of building apps as a series of components… Having this in Phoenix could even mean those interested in the ReplaceableComponentArchitecure may not even need to go down PragDave’s route of building apps as a series of small individual components.)

I want to add that I think Phoenix is already amazing! The more I am reading about it the more I love it! :orange_heart: If you haven’t got the book, I highly recommend it! Not only will it show you how beautiful Phoenix is, I guarantee you will be left admiring and respecting Chris even more than you did before - because of all the work he (and his co authors) have put into the book; I haven’t even finished the book yet and they’ve already basically shown how you can create your own web framework, by meticulously breaking down how Phoenix works. Of course this also makes you feel like you know what’s going on in Phoenix… and that there really isn’t much confusing ‘magic’ that we find in other web frameworks. Go get the book now with your forum discount of 35% off - it’s worth every penny!!

1 Like